:root{
    --White: hsl(0, 0%, 100%);
    --Stone-100: hsl(30, 54%, 90%);
    --Stone-150: hsl(30, 18%, 87%);
    --Stone-600: hsl(30, 10%, 34%);
    --Stone-900: hsl(24, 5%, 18%);
    --Brown-800: hsl(14, 45%, 36%);
    --Rose-800: hsl(332, 51%, 32%);
    --Rose-50: hsl(330, 100%, 98%);
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.75rem;
}

html, body{
    width: 100%;
}

body{
    background-color: #F3E6D8;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
}

#container{
    width: 45rem;
    height: auto;
    background-color: var(--White);
    padding: 2rem;
    border-radius: 0.9rem;
    margin: 5% 0%;
}

.banner img{
    width: 100%;
    border-radius: 1rem;
    margin-bottom: 0.5rem;
}

h1, h2{
    font-family: 'Young Serif', serif;
    font-weight: 400;
}

p, li, td, h3{
    font-family: "Outfit";
    font-weight: 400;
    color: var(--Stone-600);
}

.description{
    margin: 1rem 0rem;
}
.description h1{
    padding: 1rem 0rem;
    color: var(--Stone-900);
}


.preparation{
    background-color: var(--Rose-50);
    border-radius: 0.5rem;
    padding: 1.37rem 1.75rem;
    margin: 2.12rem 0 1.37rem 0;
}

.preparation h3{
    color: var(--Rose-800);
    font-weight: 600;
    padding-bottom: 0.25rem;
}


.preparation  li{
    margin-left: 1.25rem;
    text-indent: 1.25rem;
    padding: 0.25rem 0rem;
}

span{
    font-weight: 800;
}

h2{
    color: var(--Brown-800);
    padding: 1.25rem 0rem;
}

.ingredients, .instructions{
    padding-bottom: 1.25rem;
}

.ingredients li, .instructions li{
    margin-left: 1.25rem;
}

.ingredients ul li{
    text-indent: 1.25rem;
}

hr{
    border-top: 0px solid var(--Stone-100);
}
.instructions ol {
    counter-reset: item;
    margin-left: 0;
    padding-left: 0;
}
.instructions li{
    display: block;
    margin-bottom: .5em;
    margin-left: 2em;
}

.instructions li::before{
    display: inline-block;
    content: counter(item) ".";
    counter-increment: item;
    width: 2em;
    margin-left: -2em;
}

.nutrition p{
    padding-bottom: 1rem;
}
.nutrition span{
    color: var(--Brown-800);
    font-weight: 700;
}

table{
    width: 100%;
}

td{
    border-bottom: 1px solid var(--Stone-100); 
    vertical-align: middle;
    padding: 0.5rem 0rem;
    text-indent: 1.5rem;
}

.last-row{
    border: none;
}

@media(max-width:375px){
    /* *{
        margin: 0;
        padding: 0;
    } */
    body{
        background-color: #F3E6D8;
        width: 100%; 
        height: auto;
        
    }

    #container{
      padding: 0rem;
      margin: 0;
    }

    .banner img{
        border-radius: 0rem;
    }

    h1{
        margin: 0;
        padding: 0;
        font-weight: 800;
        font-size: 2rem;
        line-height: 1;
    }
    h2{
        margin: 0;
    }

    .description{
        margin: 0rem 1.7rem;
    }

    .preparation{
        border-radius: 0.5rem;
        padding: 1rem 1.7rem;
        margin: 1.2rem 1.37rem;
    }
    .ingredients, .nutrition, .instructions{
        margin: 0 2rem;
    }
    hr{
        margin: 0.5rem 2rem;
    }
    .ingredients li{
        padding: 0.2rem 0rem;
    }

    .nutrition{
        margin-bottom: 2rem;
    }
}