* {
    box-sizing: border-box;

    font-family: "Nunito", Helvetica, Arial, sans-serif;
}

body {
    margin: 0;

    background-color: #6698F5;
}

nav {
    display: flex;
    justify-content: space-between;

    padding: 0.5em;

    background-color: #B4CDFC;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
}

h2 {
    margin: 0 0 1em 0;
}

a,
a:visited {
    color: #146EA5;
}

button {
    background-color: #948EE1;
    border: none;
    border-radius: 10px;
    color: #fff;
    padding: 0.75em 1.25em;
    cursor: pointer;
}

button:hover {
    background-color: #7d74d6;
}

.recipes {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.recipe-box,
.recipe-metadata,
.recipe-info,
.recipe-columns {
    margin: 1em;
    border: 10px solid #A95BBD;
    border-radius: 20px 0;
    padding: 1em;

    background-color: #B4CDFC;
}

.recipe-box {
    width: 40%;
    min-width: 20em;

    text-align: left;
}

.recipe-metadata {
    width: 90%;
}

.recipe-info {
    width: 50%;
}

.recipe-columns {
    display: flex;
    flex-wrap: wrap;
}

.recipe-columns div {
    width: 20em;

    text-align: left;
}

span.tag {
    margin: 0.25em;
    border-radius: 5px;
    background-color: #948EE1;
    padding: 0 0.5em;
}

.comments {
    width: 90%;
}

.comments,
.comment,
.comment-form {
    margin: 1em;
    padding: 1em;
    border: 10px solid #A95BBD;
    border-radius: 20px 0;
    background-color: #B4CDFC;
    max-width: 40em;
    text-align: left;
}

.comment,
.comment-form {
    width: auto;
}

.comments-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.comments-list {
    display: flex;
    flex-direction: column;
}

.comment-list.reverse {
    display: flex;
    flex-direction: column-reverse;
}

.comment-date {
    color: #555;
    font-size: 0.9rem;
}

.comment-form textarea {
    width: 100%;
    min-height: 8em;
    margin: 0.5em 0;
    padding: 0.75em;
    border: 2px solid #A95BBD;
    border-radius: 10px;
    resize: vertical;
}