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

@media (max-width: 500px) {
    #descriptions {
        display: none;
    }
    html {
        gap: 0 0 0 0;
        padding: 0 0 0 0;
    }
    body {
        padding-right: 0;
    }
    header {
        margin: 0.5rem 0.5rem 0.5rem 0.5rem;
    }
    .login-area {
        width: 80%;
        padding: 1rem;
        align-items: baseline;
    }
}
@media (max-width: 600px) {
    .recipe-items {
        width: calc(100% / 2);
    }
}

@media (max-width: 400px) {
    .recipe-items {
        width: calc(100% / 1);
    }
}

html {
    font-size: 18px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem 0rem 0rem 0.5rem;
    padding: 0.5rem 0rem 0rem 0.5rem;
}

body {
    font-size: 18px;
    font-family: "Nunito", sans-serif;
    display: flex;
    flex-direction: column;
    background-color: #f7f1e8;
    color: #8b5e34;
    padding-right: 1rem;
}

header {
    display: flex;
    flex-direction: column;
    margin-bottom: 3rem;
    padding-right: 1rem;
}

.metadata-author {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.tag-dl {
    display: flex;
    gap: 0.5rem;
}

#descriptions {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 2rem;
}

.header-top-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-bottom: 0.2em solid #8b5e34;
}

.recipe-search-bar {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.recipe-search-bar input {
    height: 30px;
}
.bottom-header {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
}

.profile-links {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 0.5rem;
}

.login-area {
    display: flex;
    flex-direction: column;
    justify-conent: center;
    gap: 0.5rem;
}

#signin {
    width: 25%;
    height: 50%;
    align-self: center;
    min-width: 200px;
}

main {
    border: 0.1em solid #2e261c;
    border-radius: 2em 2em;
    background-color: #fff9f1;
    gap: 1rem;
    padding: 1rem 1rem;
}

article {
    display: flex;
    flex-direction: column;
    padding: 1em 1em;
    border: 0.1em thin #2e261c;
    border-radius: 1em 1em;
    box-shadow: 1px 2px 1px 1px #888;
    background-color: #fff;
}

.dishbook-description {
    text-wrap: wrap;
}

a {
    font-size: 18px;
    font-family: "Nunito", sans-serif;
    background-color: #f7f1e8;
    color: #8b5e34;
    text-decoration: none;
}

a:hover {
    background-color: #fff9f1;
    color: #a8570c;
    text-decoration: underline;
}

main h1 {
    font-family: "Playwrite US Trad", san-serif;
    font-style: cursive;
    font-size: 1.25rem;
    color: #a8570c;
    gap: 2rem;
}

nav li {
    list-style: none;
}

p {
    color: #2e261c;
}

article li {
    list-style: none;
}

.ing-and-steps {
    padding-top: 2rem;
    display: flex;
    flex-direction: row;
    gap: 2rem;
}

dl {
    color: #2e261c;
}
.dt-dd-container {
    display: flex;
    flex-direction: row;
    padding-bottom: 0.25rem;
}
.recipe-dl {
    color: #2e261c;
    padding-bottom:;
}

dt {
    padding: 0 0.5rem 0 0;
}

.ingredients-list {
    padding-left: 1rem;
    text-indent: -1rem;
}

.step-list {
    padding-left: 1em;
}

input[type="text"].recipe-name {
    font-family: "Playwrite US Trad", san-serif;
    font-style: cursive;
    font-size: 1.25rem;
    color: #a8570c;
}

.recipe-photo-img {
    padding: 0rem 0.5rem 0rem;
}
#search-recipe-section {
    padding-bottom: 2rem;
}
.author-info {
    padding: 0.5rem 0 0 0;
}

.index-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem 1rem;
}

.search-page-search-box {
    padding: 0.25rem;
}

.pfp {
    width: 5rem;
    height: 5rem;
}
.profile-info-section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 0 1rem 0;
}

.profile-info {
    gap: 1rem;
}

.recipe-grid {
    padding-top: 2rem;
}

.login-button-padding {
    padding: 1rem 1rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: start;
}

.search-form {
    padding: 0.1rem;
    gap: 1rem;
}

.search-form input {
    height: 25px;
    width: 160px;
}
.search-form button {
    height: 25px;
}
.b-dt {
    font-weight: 600;
}

.login-links {
    padding: 0.5em 1em;
    background-color: #8b5e34;
    color: #f7f1e8;
    text-decoration: none;
    border-radius: 1em 1em;
}

.top-links {
    display: flex;
    flex-direction: row;
    align-content: flex-start;
    gap: 1rem;
}

.login-links:hover {
    padding: 0.5em 1em;
    background-color: #a8570c;
    color: #fff9f1;
}

.index-ul {
    list-style: none;
    color: #2e261c;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
}

.ing-ul {
    list-style: none;
    color: #2e261c;
    line-height: 1.25;
    padding-left: 1rem;
    text-indent: -1rem;
}

.ing-ul2 {
    list-style: none;
    color: #2e261c;
    line-height: 1.25;
    padding-left: 1rem;
    text-indent: -1rem;
}

.ing-ol {
    color: #2e261c;
    line-height: 1.25;
    padding-left: 1em;
}

.ing-ol2 {
    color: #2e261c;
    line-height: 1.25;
    padding: 0 0.25rem 0 0.25rem;
}

.recipe-sidebar {
    display: flex;
    align-items: start;
    justify-content: space-between;

}
.text-area-steps {
    vertical-align: top;
    margin-top: 1rem;
}

textarea {
    resize: vertical;
}

input[type="number"][size] {
    width: calc(attr(size number) * 1ch + 2rem);
}

.recipe-main {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.recipe-items {
    list-style: none;
    padding: 0.5em 0.5em;
    border-radius: 1em 1em;
    width: calc(100% / 3);
}

.tag-link {
    font-family: "Nunito", sans-serif;
    background-color: #fff;
    color: #8b5e34;
    text-decoration: none;
}

.tag-link:hover {
    font-family: "Nunito", sans-serif;
    color: #a8570c;
}

.errors {
    color: red;
    border-color: red;
}

.input-label{
    display: none;
}

.dd-link {
    font-family: "Nunito", sans-serif;
    color: #8b5e34;
    text-decoration: none;
}
.login-form {
    font-size: 22.5px;
}

.prep-time {
    font-weight: 600;
}

.l-inc {
    line-height: 1.25rem;
}

.recipe-name {
    font-size: 32.4px;
}

.visually-hidden {
    display: none;
}

.div-line {
    border-bottom: 0.2em solid #8b5e34;
}

.dishbook {
    font-family: "Playwrite US Trad", san-serif;
    font-weight: 1000;
    font-style: cursive;
    font-size: 1.25rem;
}

.recipe-img {
    width: 250px;
    transform: rotate(2deg);
    border: 5px solid #fff;
    border-top-right-radius: 3px;
    padding-bottom: 0.5rem;
}

.profile {
    color: #8b5e34;
    background-color: #fff9f1;
}

#ingredients-list {
    gap: 2rem;
}
