body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: white;
    margin: 0;
}

.top {
    display: flex;
    flex-direction: row;
    padding: 0.5rem;
    justify-content: space-between;
    background-color: lightseagreen;
    align-items: center;
}

.homeTitle {
    font-size: 30px;
}

.top a, .nav a, .authorProfile{
    text-decoration: none;
    color: black;
    font-weight: bold;
}

.top a:hover, .nav a:hover, .authorProfile:hover {
    color: blue;
    text-decoration: underline;
}

.nav {
    display: flex;
    flex-direction: row;
    padding: 0.5rem;
    border-bottom: 2px solid #ccc;
    gap: 1.5rem;
    background-color: white;
}

h1, h2{
    padding: 0rem 1rem;
}

body p, .search-block{
    padding-left: 1rem;
}

.recipes, .recipes-list, .cards-area {
    display: grid;
    grid-template-columns: 1f;
    gap: 1rem;
}

.recipe-box {
    background-color: rgb(172, 243, 239);
    border: 1px solid black;
    padding: 1rem;
    margin-left: 1rem;
    display: flex;
    flex-direction: column;
}

.recipe-box:hover a {
    color: blue;
    text-decoration: underline;
}

.recipe-box a {
    text-decoration: none;
    color: black;
    font-weight: bold;
}

.recipe-box h2 {
    margin: 0rem 0rem 0rem 0rem;
    padding: 0rem;
}

.recipe-box div {
    display: flex;
    justify-content: right;
    gap: 1rem;
    font-weight: bold;
}

p span {
    padding-right: 1rem;
}

@media (max-width: 700px) {
    .recipes, .recipes-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

.recipe-info {
    border: 2px solid #ddd;
    margin: 1rem;
    padding: -0.5rem 1rem 0rem 1rem;
}

.recipe-columns {
    border: 2px solid #ddd;
    margin: 1rem;
    padding: 0rem 1rem 0rem 1rem;
}

.recipe-columns li {
    padding-bottom: 1rem;
}

.recipe-columns div h2, .recipe-box p {
    padding: 0rem;
}

button, .addComment {
    margin-left: 1rem;
}

.commentControls, .certionCommentConrols {
    display: flex;
        flex-direction: row;
        justify-content: right;
}

.comment {
    border: 1px solid black;
    margin-left: 1rem;
    display: flex;
    flex-direction: column;
}

.comment p {
    margin-top: 1rem;
    margin-bottom: 0rem;
}

.addComment {
    margin: 1rem;
}