@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Young+Serif&display=swap');

:root {
    --layout-mobile: 375px;
    --layout-desktop: 1440px;

    --stone-100: hsl(30, 54%, 90%);
    --stone-150: hsl(30, 18%, 87%);
    --stone-600: hsl(30, 10%, 34%);
    --stone-900: hsl(24, 5%, 18%);
    --brown-800: hsl(14, 45%, 36%);
    --rose-800: hsl(332, 51%, 32%);
    --rose-50: hsl(330, 100%, 98%);

    --young-serif-400: 400;
    --outfit-400: 400;
    --outfit-600: 600;
    --outfit-700: 700;

    --font-size: 16px;
}

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

body {
    background-color: var(--stone-100);
    display: flex;
    justify-content: center;
}

/*IMAGEN*/
.main-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    max-width: 728px;
    background-color: #ffffff;
}

.img-om-container {
    width: 100%;
}

.img-om-container img {
    width: 100%;
}

/*DESCRIPTION*/
.description-container {
    width: 100%;
    padding: 35px 25px 0 25px;
}

.description-container h1 {
    color: var(--stone-900);
    font-family: "Young Serif", serif;
    font-weight: var(--young-serif-400);
    line-height: 32px;
    margin-bottom: 20px;
}

.description-container p {
    font-family: "Outfit", serif;
    font-size: var(--font-size);
    color: var(--stone-600);
    line-height: 25px;
}

/*PREPARATION*/
.preparation-container {
    width: 100%;
    padding: 25px 25px 0 25px;
}

.preparation {
    width: 100%;
    padding: 20px 50px;
    background-color: var(--rose-50);
    border-radius: 10px;
    color: var(--stone-600);
    font-family: "Outfit", serif;
}

.preparation li {
    padding-left: 15px;
}

.preparation h3 {
    position: relative;
    left: -24px;
    color: var(--rose-800);
}

.preparation li, .preparation h3 {
    margin-bottom: 15px;
}

.preparation span {
    color: var(--stone-600);
    font-weight: var(--outfit-700);
}

/*INGREDIENTS*/
.ingredients-container {
    width: 100%;
    padding: 25px 25px 0 25px;
}

.ingredients {
    padding: 25px 50px;
    border-bottom: 1px solid var(--stone-150);
}

.ingredients-container h2 {
    color: var(--brown-800);
    font-family: "Young Serif", serif;
    font-weight: var(--young-serif-400);
}

.ingredients ul {
    color: var(--stone-600);
    font-family: "Outfit", serif;
    line-height: 32px;
}

/*INGREDIENTS*/
.instructions-container {
    width: 100%;
    padding: 25px 25px 0 25px;
}

.instructions-container h2 {
    color: var(--brown-800);
    font-family: "Young Serif", serif;
    font-weight: var(--young-serif-400);
}

.instructions {
    padding: 25px 40px;
    border-bottom: 1px solid var(--stone-150);
    font-family: "Outfit", serif;
    color: var(--stone-600);
    line-height: 24px;

}

.instructions span {
    font-weight: var(--outfit-700);
}

.instructions ol li {
    margin-bottom: 10px;
}

/*NUTRITION*/
.nutrition-container {
    width: 100%;
    padding: 25px 25px 0 25px;
}

.nutrition-container h2 {
    color: var(--brown-800);
    font-family: "Young Serif", serif;
    font-weight: var(--young-serif-400);
    margin-bottom: 25px;
}

.nutrition-container p {
    font-family: "Outfit", serif;
    color: var(--stone-600);
    margin-bottom: 20px;
}

.nutrition-container .nutrition-table {
    width: 100%;
    border-collapse: collapse;
}

.nutrition-table tbody tr td {
    border-bottom: 1px solid var(--stone-150);
    padding: 15px;
    font-family: "Outfit", serif;
    color: var(--stone-600);
}

.nutrition-table tbody tr td:nth-child(2n) {
    color: var(--brown-800);
    font-weight: bold;
}

@media (min-width: 728px) {
    .main-container {
        padding: 30px;
        border-radius: 12px;
    }

    .img-om-container img {
        border-radius: 8px;
    }

    .description-container, .preparation-container, .ingredients-container, .instructions-container, .nutrition-container {
        padding: 25px 0 0 0;
    }

    body {
        padding: 25px 0;
    }
}