* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 18px;
    width: 100vw;
    height: 100vh;
    padding: 0rem 0.5rem;
}

header {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.header-1 {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
}

.profile-description {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    margin-bottom: 2rem;
}

.profile {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 0.25rem;
}

.featured-text {
    display: flex;
    flex-direction: column;
    padding: 0rem 1rem 0rem 1rem;
    gap: 0.25rem;
}

.header-2 {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
}

.header-2 .header-2-links {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    margin: 0;
    gap: 1rem;
}

.header-2 form {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 0.25rem;
    margin-top: 0.25rem;
}

.header-2 input {
    padding: 0.25rem;
}

form[action="login.html"] ul {
    list-style: none;
}

.heading-container form ul li {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

form ul li input {
    width: 80%;
    padding: 0.25rem;
    align-items: right;
}

form button {
    padding: 0.25rem 0rem 0.25rem 0rem;
    margin-left: 0.25rem;
}

.recipes {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0rem 0.5rem 0rem 1rem;
    gap: 0rem 1rem;
}

.recipe {
    width: calc((100% - 2rem) / 3);
    flex-grow: 1;
}

.recipes h3 {
    padding: 0.5rem 0.5rem 0rem 0.5rem;
}

.recipes h4 {
    padding: 0.5rem 0.5rem 0.5rem 0.5rem;
}

.recipe img {
    display: flex;
    flex-direction: row;
    padding: 0.5rem 0.5rem 0rem 0.5rem;
    max-width: 100%;
    height: auto;
}

.recipe div {
    display: flex;
    flex-direction: row;
    padding: 0rem 0rem 0.5rem 0.25rem;
}

.recipe_profile_name_date {
    display: flex;
    flex-direction: row;
    align-items: right;
    justify-content: right;
}

.recipe_profile_name_date a {
    margin-left: 0.25rem;
}

.recipe_profile_name_date .name {
    margin-left: 1rem;
}

.recipe_chicken_adobo {
    display: flex;
    flex-direction: row;
    padding: 1rem 1rem 1rem 1rem;
    gap: 1rem;
}

.recipe_chicken_adobo_time {
    display: flex;
    flex-direction: column;
    padding: 1rem 1rem 0rem 1rem;
    gap: 0.25rem;
}

.recipe_chicken_adobo_min {
    display: flex;
    flex-direction: row;
    padding: 0rem 0.5rem 0.5rem 0rem;
    gap: 0.5rem;
}

.recipe_chicken_adobo_min dt {
    width: calc(1/4 * (100% - 0.5rem));
}

.recipe_chicken_adobo_min dd {
    width: calc(75 * (100% - 0.5rem));
}

.login_button {
    display: flex;
    justify-content: center;
    width: 50%;
    min-width: 200px;
    margin: auto;
}

.login_button button {
    padding: 0.5rem;
    width: 100%;
}

.ingredients_and_steps {
    display: flex;
    flex-direction: row;
    text-indent: -1rem;
    padding: 1rem 1rem 1rem 1rem;
    gap: 1rem;
    align-items: flex-start;
}

.ingredients_and_steps section {
    width: calc(0.33 * (100% - 1rem));
}

.ingredients_and_steps section+section {
    width: calc(0.66 * (100% - 1rem));
}

.ingredients {
    display: flex;
    flex-direction: column;
    text-indent: -1rem;
    padding: 0rem 0rem 0rem 1rem;
}

.steps {
    display: flex;
    flex-direction: column;
    text-indent: -1rem;
    padding: 0rem 0rem 0rem 1rem;
}

.steps li {
    text-indent: 0rem;
}

.heading-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
}

.heading-container img {
    width: 5rem;
    height: 5rem;
}

.heading-container-description {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
}

.heading-container form {
    display: flex;
    flex-direction: column;
    padding: 2rem 0rem 0rem 0rem;
    width: 100%;
}

.heading-container input {
    padding: 0.25rem;
    width: 100%;
}

.heading-container-search {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1rem 2rem 1rem;
}

.heading-container-search form {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.heading-container-search input {
    padding: 0.25rem;
    width: 100%;
}

.login-input {
    padding: 0rem 0rem 2rem 2rem;
}

.links {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.tags {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    text-wrap: nowrap;
    padding: 0rem 0.5rem 0.5rem 0rem;
}

.tags_recipe_html {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    text-wrap: nowrap;
    padding: 0rem 0.5rem 0.5rem 0rem;
}

.tag {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    text-wrap: nowrap;
    padding: 0rem 0.5rem 0rem 0.5rem;
}

.tag_recipe_html {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    text-wrap: nowrap;
    padding: 0rem 0.5rem 0rem 0rem;
}

.button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
    padding: 0.25rem 0rem 1rem;
}

h1 {
    color: #8B5E34;
    font-size: 22.5px;
    font-family: "Playwrite US Trad", Times
}

h2 {
    color: #A8570C;
    font-size: 32.4px;
    font-family: "Playwrite US Trad", Times
}

h3 {
    color: #A8570C;
    font-size: 18.5px;
    font-family: "Playwrite US Trad", Times
}

h4 {
    padding: 1rem 0px;
    color: #A8570C;
    line-height: 1.25rem;
    font-size: 18px;
    font-family: "Playwrite US Trad", Times
}

a {
    color: #8B5E34;
    transition: all 0.4s linear;
    text-decoration: none;
}

.login {
    align-items: center;
    background-color: #8B5E34;
    color: #F7F1E8;
    padding: .5em 1em;
    border-radius: 20px;
}

.login:hover {
    background-color: #FFF9F1;
    color: #A8570C;
}

a:hover {
    color: #A8570C;
    text-decoration: underline;
}

.rotate {
    transform: rotate(2deg);
    border: 5px white;
    border-radius: 3px;
}

body {
    display: flex;
    flex-direction: column;
    background-color: #F7F1E8;
    font-size: 18px;
    font-family: "Nunito", serif;
    max-width: 700px;
    margin: auto;
}

main {
    background-color: #FFF9F1;
    border-style: solid;
    border-radius: 50px;
    border-width: 0.5px 0.5px 0.5px 0.5px;
    margin-top: 3rem;
    max-width: 700px;
}

article {
    background-color: #FFF;
    border-style: solid;
    border-radius: 2px;
    border-width: 0.5px 0.5px 0.5px 0.5px;
    margin-top: 20px;
    margin-bottom: 20px;
    max-width: 200px;
}

p {
    font-size: 18px;
}

dt {
    font-size: 18px;
    font-weight: 600px;
}

[action="login.html"] input {
    font-size: 22.5px;
}

[action="login.html"] button {
    font-size: 18px;
}

background-color {
    color: #F7F1E8;
}

hr.solid {
    border-top: 2px solid #8B5E34;
    margin-top: -2px;
}

.text {
    color: #8B5E34;
    margin-bottom: 0px;
}

.description {
    margin-top: 0px;
    margin-bottom: 0px;
}

.name {
    color: black;
    text-decoration: none;
}

.name:hover {
    color: black;
    text-decoration: none;
}

.hashtag {
    color: grey;
}

.hashtag_recipe_html {
    color: grey;
    padding-left: 0.5rem;
}

@media (max-width: 500px) {
    html {
        padding: 0rem;
    }

    main {
        border-left: none;
        border-right: none;
        padding: 0rem;
    }

    header {
        padding: 0rem 0.5rem;
    }

    .ingredients_and_steps {
        flex-direction: column;
        gap: 0rem;
    }

    section+section {
        flex-direction: column;
        gap: 2rem;
    }

    .recipe_chicken_adobo {
        flex-direction: column;
    }

    .recipe_chicken_adobo img {
        margin-bottom: 2rem;
    }

    .recipe_chicken_adobo_time {
        margin-bottom: 2rem;
    }

    p {
        margin-bottom: 2rem;
        margin-top: 0rem;
    }

    .ingredients {
        margin-bottom: 2rem;
    }

    .steps {
        margin-bottom: 0rem;
    }
}

@media (max-width: 600px) {
    .recipe {
        width: calc((100% - 1rem) / 2);
    }
}

@media (max-width: 700px) {
    form ul li {
        flex-direction: column;
        align-items: flex-start;
        gap: 0rem;
    }

    form ul li+li {
        margin-top: 1rem;
    }

    .login_button {
        width: 100%;
        min-width: 200px;
    }

    .heading-container form ul li {
        display: flex;
        flex-direction: column;
        align-items: baseline;
        margin-bottom: 1rem;
    }

    form ul li input {
        width: 80%;
        padding: 0.25rem;
        align-items: right;
    }

    .login_button {
        display: flex;
        justify-content: center;
        width: 100%;
        min-width: 200px;
        margin: auto;
    }

}

@media (max-width: 400px) {
    .recipe {
        width: calc((100% - 2rem) / 1);
    }
}