* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
    margin: 0;
    padding: 0; 
    background-color: #dedede;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    display: block;
    padding: 1rem 0;
    background-color: #CC0000;
    width: 100%;
    margin-bottom: 2rem;
}

header h1 {
    text-align: center;
    font-size: 2.5rem;
    color: white;
    font-style: italic;
}

nav {
    width: 100%;
    max-width: 700px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: right;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
}

#my-info {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: .5rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 0.5rem rgba(0,0,0,0.1);
}

#my-info img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: solid 1px #cecece;
    background-color: #dedede;
}

#my-info a {
    color: blue;
    text-decoration: none;
}

#my-info a:hover{
    text-decoration: underline;
}

#my-info button {
    background-color: #CC0000;
    color: white;
    border: none;
    padding: 0.4rem 0.75rem;
    border-radius: 0.50rem;
    margin-left: auto;
}

#my-info button:hover {
    background-color: #8c0000;
}

/* Once the screen gets too small change the nav to display in columns */
@media (max-width: 620px) {
    nav {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0 .75rem;
    }

    #my-info {
        width: 100%;
    }
}

.content {
    width: 100%;
    display: flex;
    justify-content: center;
}

#howl-form {
    width: 100%;
    max-width: 670px;
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    margin-left: 1rem;
    margin-right: 1rem;
    margin-bottom: 2rem;
}

#howl-text {
    width: 100%;
    min-height: 80px;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    border-radius: 0.25rem;
    border: 1px solid #cecece;
    resize: vertical;
}

#howl-form button {
    align-self: flex-end;
    background-color: #CC0000;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

#howl-form button:hover {
    background-color: #8c0000;
}

.howls {
    width: 100%;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

h2 {
    text-align: center;
    margin-bottom: .5rem;
    color: gray;
    text-decoration: underline;
}

.howl {
    background-color: white;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 0.25rem 0.25rem rgba(0,0,0,0.1);
    margin-left: 1rem;
    margin-right: 1rem;
}

#howlInfo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

#howlProfilePicture {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: solid 1px #cecece;
    background-color: #dedede;
}

#howlName {
    margin: 0rem;
}

#howlUsername {
    margin: 0rem;
    color: blue;
    text-decoration: none;
    margin-left: 0.25rem;
}

#howlUsername:hover {
    text-decoration: underline;
}

#howlDate {
    margin: 0rem;
    margin-left: auto;
    font-size: 0.75rem;
}