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

:root {
    --white: hsl(0, 0%, 100%);
    --stone100: hsl(30, 54%, 90%);
    --stone150: hsl(30, 18%, 87%);
    --stone600: hsl(30, 10%, 34%);
    --stone900: hsl(24, 5%, 18%);

    --brown800: hsl(14, 45%, 36%);

    --rose800: hsl(332, 51%, 32%);
    --rose50: hsl(330, 100%, 98%);
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    margin: 0;
}

.container {
    width: 100%;
    display: flex;
    flex-direction: column;
}

figure {
    height: auto;
    margin: 0;
    padding: 0;
}

figure img {
    max-height: 100%;
    width: 100%;
}

.recipe-content {
    padding: 0 3rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 0;
}

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: Outfit;
    gap: 1rem;
}

header h1 {
    font-family: Young Serif, sans-serif;
    font-weight: 400;
    color: var(--stone900);
    margin-bottom: 0;
}

header p {
    color: var(--stone600);
    font-weight: 400;
    margin: 0;
}

.bold {
    font-weight: 700;
}

.preparation-time {
    width: 100%;
    max-width: 34rem;
    margin: 0;
    padding: 1rem;
    padding-right: 2rem;
    background-color: var(--rose50);
    border-radius: 12px;
}

.preparation-time h3 {
    margin: 0;
    color: var(--rose800);
}

.preparation-time ul {
    padding: 0 1rem;
    font-weight: 400;
    color: var(--stone600);
}
.preparation-time ul li {
    padding-left: 1.5rem;
    line-height: 150%;
}
.preparation-time ul li::marker {
    text-align: left;
    color: var(--rose800);
}
.preparation-time ul li::marker, .ingredients ul li::marker {
    font-size: 10px;
}

section {
    width: 100%;
    border-bottom: 1px solid var(--stone150);
}

section h2 {
    color: var(--brown800);
    font-family: Young Serif;
    font-weight: 400;
}

section ul, section ol {
    padding: 0 0.8rem;
    font-family: Outfit;
    font-weight: 400;
    color: var(--stone600);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

section ul li, section ol li {
    padding-left: 1.5rem;
    line-height: 150%;
}
section ul li::marker, section ol li::marker {
    color: var(--brown800);
}

.nutrition {
    display: flex;
    flex-direction: column;
    border-bottom: 0;
    padding-bottom: 1.5rem;
}
.nutrition p {
    font-family: Outfit;
    font-weight: 400;
    color: var(--stone600);
    margin-top: 0;

}
.nutrition-values {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.nutrition-values .nutrient {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    padding-right: 2.2rem;
    width: 100%;
    border-bottom: 1px solid var(--stone150);
    margin: 0;
}
.nutrition-values .nutrient:last-child{
    border: 0;
}
.nutrient p {
    margin: 0;
}
.nutrition-values .value {
    min-width: 60px;
    color: var(--brown800);
    font-weight: 600;
    margin: 0;
}

@media (min-width: 768px) {
    body {
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: var(--stone150);
    }
    .container {
        border-radius: 2rem;
        width: 80%;
        max-width: 650px;
        margin: 4rem auto;
        background-color: var(--white);
    }
    figure {
        padding: 2rem;
        height: 18rem;
    }
    figure img {
        border-radius: 2rem;
    }
}
