@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@600;800;900&family=Outfit:wght@400;700&family=Work+Sans:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@600;800;900&family=Outfit:wght@400;700&family=Work+Sans:wght@400;600;700&family=Young+Serif&display=swap');


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

body {
    font-family: 'outfit', sans-serif;
    background-color: hsl(30, 54%, 90%);
    font-size: 16px;
}


.center{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card{
    background-color: hsl(0, 0%, 100%);
    padding: 3rem 3rem ;
    border-radius: 1rem;
    width: 46rem;
    margin-top: 2rem;
    
}

/* .image{
    width: 45rem;

} */

img{
    object-fit: cover;
    width: 40rem;
    border-radius: 1rem;
}

h1{
    font-size: 2.5rem;
    font-family: 'Young Serif',sans-serif;
    margin: 1rem 1rem;

}

p{
    text-align: justify;
    color: hsl(20, 2%, 35%);
    margin-bottom: 1rem;   
}

.time{
    background-color: hsl(330, 100%, 98%);
    padding: 30px;
    border-radius: 1rem;
}

h3{
    margin-bottom: 1rem;
    color:  hsl(332, 54%, 36%);
}

ul {
    line-height: 1rem;
    color: hsl(14, 45%, 36%);
}

.list {
    color: black;
    margin-left: 0.5rem;
}

.ingredient{
    padding: 20px;
    line-height:1.5rem ;
    text-align: justify;
}

h2{
    color: hsl(14, 45%, 36%);
    font-family: 'Young Serif',sans-serif;
    font-size: 1.8rem;
    margin: 1.5rem 1rem 1.5rem 1rem;
}


.plist{
   margin-left: 1rem;
   line-height: 1.5rem;

}

hr{
    border-bottom: 0.5px solid rgb(245, 244, 244);

}

.instruction{
    text-align: justify;
    margin-bottom: 2rem;
}

ol{
    line-height: 1rem;
    color: hsl(14, 45%, 36%);
      
}

.nutrition{
    text-align: justify;
}

table {
    border-collapse: collapse;
    width: 92%;

}

.value {
    color: hsl(14, 45%, 36%);
    font-weight: bold;
    font-size: 0.8rem;
}

td {
    padding: 0.5rem;
}


tr{
    border-bottom: 1px solid gainsboro;
}
.attribution{
    text-align: center;
    font-size: 11px;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.attribution a{
    color: hsl(228, 45%, 44%);

}

@media only screen and (max-width: 375px) {
    
    .card{
       width: 25rem;
       padding: 0 15rem 0 -15rem; 
       border-radius: 0;
    
    }

    h1{
        font-size: 1.8rem;
    }
    img{
        width: 25rem;
        margin: -3rem 0 0.5rem -3rem;
        border-radius: 0;
    }
    .attribution{
        visibility: hidden;
    }
}









/* .center{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; */
    /* height: calc(100vh - 1px ); */
    
/* }

