@font-face {
    font-family: outfit;
    src: url(/assets/fonts/outfit/static/Outfit-Regular.ttf);
}
@font-face {
    font-family: youngserif;
    src: url(/assets/fonts/young-serif/static/YoungSerif-Regular.ttf);
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: outfit;
}
img{
    max-width: 100%;
}
h1, h2{
    font-family: youngserif;
    color: hsl(14, 45%, 36%);
    letter-spacing: 0.05rem;
}
p li{
    line-height: 1.6;
    color: hsl(30, 10%, 34%);
}
ul, ol{
    padding-left: 20px;
}
li{
    margin-top: 0.5rem;
}

body{
   background-color:  hsl(30, 54%, 90%);
}
.container{
    max-width: 900px;
    margin-inline: auto;
    background-color: white;
    
}

.container div:not(first-child){
    padding: 1.5rem;
}
.food h1{
    color: hsl(24, 5%, 18%);
    margin-bottom: 1rem;
}
.food article{
    background-color: hsl(330, 100%, 98%);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-top: 1.5rem;
}
.food article h3{
    color: hsl(332, 51%, 32%);
    margin-bottom: 0.5rem;
}
.instructions{
    border-top: 1px solid hsl(30, 18%, 87%);
    border-bottom: 1px solid hsl(30, 18%, 87%);
}
.nutrition p{
    margin-top: 1rem;
}
.nutrition ul li{
    display: flex;
    align-items: center;
    justify-content: space-around;
    border-bottom: 1px solid hsl(30, 18%, 87%);
    padding: 0.5rem 0;

}
.nutrition ul li:last-child{
    border-bottom: none;
}


.attribution { 
    font-size: 13px;
     text-align: center;
      margin-bottom: 5rem;
      margin-top: 1rem;
     }
    
.attribution a { color: hsl(228, 45%, 44%); }

@media (min-width: 768px){
    
    .container{
        margin: 5rem auto 0;
        padding: 2rem;
        border-radius: 1rem;
    }
    img{
        border-radius: 1rem;
    }
    .food h1{
        font-size: 48px;
    }
}