html {
    font-family: Arial, sans-serif;
    background-color: rgb(249, 233, 198);
}

.top {
    text-align: right;
    margin: 1rem;
}

.nav a{
    color: black;
    margin: 1rem;
}

.top .branding {
    font-weight: bold;
    font-size: xx-large;
    text-align: left;
}

.top .branding a {
    color:black;
    text-decoration: none;
}

.welcome {
    border-style: solid;
    border-color: rgb(134, 134, 134);

    padding: 2rem;
    margin: 1rem;

    background-color: white;
    align-items: center;
}

.recipes {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.recipe-head {
    padding: 1rem;
}

.recipe-box {
    display: flex;
    flex-direction: column;
    width: 300px;

    margin: 1rem;
    padding: 2rem;

    border-style: solid;
    border-color: rgb(134, 134, 134);

    background-color: white;
}

/* style for recipe page */

.recipe-page {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.recipe-detail-card,
.comments-section {
    width: 100%;
    box-sizing: border-box;
    padding: 20px;
    border-style: solid;
    border-color: rgb(134, 134, 134);
    background-color: white;
}

.recipe-detail-card img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 16px 0;
}

.recipe-tag {
    display: inline-block;
    padding: 4px 8px;
    margin-right: 8px;
    margin-bottom: 8px;
}

.recipe-tags {
    margin: 12px 0;
}

.recipe-info {
    padding: 16px;
    margin: 20px 0;
}

.recipe-columns {
    display: flex;
    gap: 24px;
    margin-top: 20px;
}

.comments-section {
    margin-top: 24px;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.comment-form textarea {
    min-height: 100px;
    resize: vertical;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.comment-card {
    padding: 12px;
    border-style: solid;
    border-color: rgb(134, 134, 134);
    background-color: white;
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 0;
}

.comment-body {
    margin-bottom: 0;
}

.comment-empty {
    margin-bottom: 0;
}

@media (max-width: 700px) {
    .recipe-columns {
        flex-direction: column;
    }

    .comment-meta {
        flex-direction: column;
    }
}
