@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Young+Serif&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Outfit:wght@100..900&family=Young+Serif&display=swap');
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
h1, h2, h3, h4{
    line-height: 1.2rem;
}
ul, ol{
    padding: 0 1rem;
}
.container{
    background-color:hsl(30, 54%, 90%);
    display: grid;
    place-content: center;
    min-height: 100vh;
}
.card{
    background-color: white;
    max-width: 550px;
    padding: 30px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    min-height: 10vh;
    margin: 100px;
}
.title img{
    display: block;
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}
.title h1{
    font-family: Young-serif;
    color: hsl(24, 5%, 18%);
    font-size: 2rem;
    font-weight: 800;
}
.title p{
    font-family: outfit;
    font-size: 12.5px;
    margin-top: 15px;
    color: hsl(30, 10%, 34%);
}
.preparation-time{
    display: inline-block;
    width: 100%;
    background-color: hsl(330, 100%, 98%);
    padding: 15px; 
    margin: 20px;
    font-family: Outfit;
    font-size: 10px;
    font-weight: 400;
}
.preparation-time h2{
    padding-left: 10px;
    font-weight: 600;
    margin-bottom: 15px;
    color: hsl(332, 51%, 32%);
}
.preparation-time ul{
    font-size: 12.5px;
    padding-left: 30px;
    font-weight: 500;
    list-style: disc;
    line-height: 20px;
    color: hsl(30, 10%, 34%);
}
.heading {
    font-family: Young-serif;
    font-size: 1.5rem;
    color: hsl(14, 45%, 36%);
    font-weight: 900;
    margin-bottom: 15px;
}
.ingredients{
    width: 100%;
}
.ingredients ul{
    font-family: outfit;
    padding-left: 20px;
    line-height: 20px;
    font-size: 12.5px;
    font-weight: 500;
    margin-bottom: 15px;
    color: hsl(30, 10%, 34%);
}
.instructions ol{
    font-family: outfit;
    padding-left: 15px;
    font-size: 12.5px;
    font-weight: 500;
    margin-bottom: 15px;
    color: hsl(30, 10%, 34%);
}
.nutrition{
    width: 100%;
    font-family: outfit;
    font-size: 12.5px;
    font-weight: 800;
}
.nutrition p{
    color: hsl(30, 10%, 34%);
    margin: 20px 0;
}
span{
    color: black;
}
hr{
    margin: 1.5rem;
}
[data-cell="nutrients-value"]{
    color: hsl(14, 45%, 36%);
}
[data-cell="nutrients"]{
    color: hsl(30, 10%, 34%);;
}
li::marker{
    color: hsl(14, 45%, 36%);
}
table{
    border-collapse: collapse;
    width: 100%;
}
tr{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 1rem;
    border-bottom: 1px solid hsl(30, 10%, 34%);
}
@media(max-width:500px){
    .card{
        border-radius: 0;
        margin: 0;
        padding: 0;
    }
}