* {
    box-sizing: border-box;
}

img {
    max-inline-size: 100%;
    display: block;
    border-radius: 10px;
}

@font-face {
    font-family: 'young-serif';
    src: url(recipe-page-main/assets/fonts/young-serif/YoungSerif-Regular.ttf) format('truetype');
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: 'outfit';
    src: url(recipe-page-main/assets/fonts/outfit/Outfit-VariableFont_wght.ttf) format('truetype');
    font-weight: 100 900;
    font-display: swap;
}

@media (max-width: 480px) {
    .recipe-page{
        padding: 1rem;
    }
    h1 {
        font-size: 1.2rem;
    }
    h2{
        font-size: 1.1rem;
    }
    p {
        font-size: 0.9rem;
    }
    li {
        font-size: 0.9rem;
    }
}


body {
    line-height: 1.7;
    background-color: hsl(30, 18%, 87%);
    font-family:  sans-serif;

    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.recipe-page{
    background-color: #fff;
    inline-size: 100%;
    inline-size: 600px;
    padding: 2rem;
    border-radius: 10px;
}

h1 {
    font-family: 'young-serif';
    color: hsl(24, 5%, 18%);
}

p {
    font-size: 1rem;
    color: hsl(30, 10%, 34%);
    font-weight: 400;
}

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

h3 {
    color: hsl(332, 51%, 32%);
    margin-bottom: 0.5rem;
}


.preparation-time li::marker {
    color: hsl(332, 51%, 32%);
}
.preparation-time ul {
    margin-top: 0;
    padding-left: 1rem;
    list-style: disc;

}

.preparation-time li{
    color: hsl(30, 10%, 34%);
    margin: 0.3rem;
    padding-left: 1.5rem;
}
.preparation-time span {
    font-weight: 600;
}

h2 {
    color: hsl(14, 45%, 36%);
    font-family: 'young-serif';
    margin-bottom: 0.5rem;
}

ul {
    padding-left: 1rem;
    margin-top: 0;
    list-style: square;
}

li::marker{
    color: hsl(14, 45%, 36%);
}

li {
    color: hsl(30, 10%, 34%);
    margin: 0.3rem;
    padding-left: 1rem;


}
ol {
    padding-left: 1rem;
    margin-top: 0;
}
span {
    font-weight: 600;
}

.nutrition ul{
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 2px solid hsla(30, 10%, 34%, 0.1);
}
 .nutrition span {
    color: hsl(14, 45%, 36%);
    font-weight: 600;
}

.ingredients {
    border-bottom: 2px solid hsla(30, 10%, 34%, 0.1);
}

.instructions {
    border-bottom: 2px solid hsla(30, 10%, 34%, 0.1);
}