@import url("https://fonts.googleapis.com/css2?family=Young+Serif");
@import url("https://fonts.googleapis.com/css2?family=Outfit");

*{
    margin: 0;
    padding: 0;
}

body{
    background-color: hsl(30, 54%, 90%);
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    padding-top: 120px;
}

.main-container{
    height: 1740px;
    width: 780px;
    background-color: white;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
}

.design-container{
    height: 100%;
    width: 100%;
    background-color: white;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    padding: 0px 40px 0px 40px;
}

.recipe-image{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 36px 0px 0px 0px;
    border-radius: 20px;
    overflow: hidden;
}

.recipe-image img{
    height: 320px;
    width: 100%;
    object-fit: cover;
}

#recipe-name{
    font-family: 'Young Serif';
    font-size: 40px;
    font-weight: 500;
    margin-top: 36px;
    text-align: left;
    color: hsl(24, 5%, 18%);
}

#recipe-description{
    font-family: 'Outfit';
    font-size: 17px;
    font-weight: 400;
    margin-top: 20px;
    text-align: left;
    color: hsl(30, 10%, 34%);
}

.prep-time{
    margin: 24px 8px 0px 8px;
    background-color: hsl(330, 100%, 98%);
    border-radius: 10px;
    padding-bottom: 32px;
}

.section-heading{
    font-family: 'Young Serif';
    font-size: 28px;
    font-weight: 400;
    color: hsl(14, 45%, 36%);
    margin-bottom: 20px;
}

#prep-time-head{
    font-family: 'Outfit';
    font-size: 20px;
    color: hsl(330, 94%, 28%);
    font-weight: 600;
    margin-left: 24px;
    margin-top: 16px;
}

.prep-time ul{
    margin-left: 48px;
    font-family: 'Outfit';
    font-size: 18px;
    color: hsl(30, 10%, 34%);
}

.list-head{
    font-weight: 600;
    display: inline;
}

.prep-time li{
    margin-top: 12px;
}

.ingredients-desc{
    margin-top: 24px;
    margin-bottom: 24px;
}

.ingredients-desc ul{
    margin-left: 24px;
    font-family: 'Outfit';
    font-size: 18px;
    color: hsl(30, 10%, 34%);
    list-style-type: square;
}

.ingredients-desc li{
    margin-bottom: 12px;
}

.instructions{
    margin-top: 24px;
    margin-bottom: 24px;
}

.instructions ol{
    margin-left: 24px;
    font-family: 'Outfit';
    font-size: 18px;
    color: hsl(30, 10%, 34%);
}

.instructions li{
    margin-bottom: 12px;
}

.nutritional-info{
    margin-top: 24px;
    margin-bottom: 24px;   
}

#nutri-desc{
    font-family: 'Outfit';
    font-size: 17px;
    font-weight: 400;
    margin-top: 20px;
    text-align: left;
    color: hsl(30, 10%, 34%);
}

.nutritional-info table{
    width: 100%;
    margin-top: 18px;
}

.nutritional-info td{
    font-family: 'Outfit';
    font-size: 17px;
    font-weight: 400;
    margin-top: 20px;
    text-align: left;
    color: hsl(30, 10%, 34%);
    padding: 12px 0px 12px 24px;
    border-bottom: 1px solid hsl(30, 18%, 87%);
}

.nutritional-info td:last-child{
    font-family: 'Outfit';
    font-size: 17px;
    font-weight: 800;
    margin-top: 20px;
    text-align: left;
    color: hsl(14, 45%, 36%);
}