:root {
    --nutmeg: hsl(14, 45%, 36%);
    --dark-raspberry: hsl(332, 51%, 32%);
    --white: hsl(0, 0%, 100%);
    --rose-white: hsl(330, 100%, 98%);
    --eggshell: hsl(30, 54%, 90%);
    --light-grey: hsl(30, 18%, 87%);
    --wenge-brown: hsl(30, 10%, 34%);
    --dark-charcoal: hsl(24, 5%, 18%);
}

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

html,
body {
    width: 100%;
    height: 100%;
}

body {
    min-height: 1955px;
    display: flex;
    justify-content: center;
    font-family: "Outfit", sans-serif;
    background-color: var(--eggshell);
}

.container {
    width: 100%;
    max-width: 736px;
    height: fit-content;
    padding-bottom: 1.5rem;
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-top: 7.7rem;
    border-radius: 1.5rem;
    background-color: var(--white);
    transition: .3s;
}

.container figure {
    width: 100%;
    padding: 0 2.5rem;
    display: flex;
    justify-content: center;
}

.img-principal {
    width: 100%;
    max-width: 600px;
    border-radius: 0.8rem;
    display: block;
    margin-top: 2.5rem;
}

.img-principal {
    width: 100%;
    height: auto;
}


.main-content {
    width: 100%;
    padding: 0 2.5rem;
}

.content-title {
    margin-top: 2rem;
    font-size: 2.5rem;
    font-family: "Young serif", serif;
    font-weight: lighter;
    color: var(--dark-charcoal);
    transition: .2s;
}

p {
    font-weight: 300;
    letter-spacing: .001rem;
    color: var(--wenge-brown);
}

p:first-of-type {
    margin-top: .95rem;
    line-height: 1.5rem;
}

.preparation {
    width: 100%;
    margin-top: 2rem;
    padding: 1.55rem 1.75rem 1.15rem;
    background-color: var(--rose-white);
    border-radius: .6rem;
}

.preparation p {
    margin: 0;
    margin-left: 1rem;
}

.preparation h2 {
    margin-bottom: .8rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-raspberry);
}

.preparation ul {
    margin-left: 1.5rem;
}

.preparation li {
    margin-bottom: .5rem;
}

.ingredients li,
.instructions li {
    margin-bottom: .75rem;
    color: var(--wenge-brown);
}

.ingredients h2,
.instructions h2,
.nutrition h2 {
    margin-bottom: 1.3rem;
    margin-top: 1.65rem;
    font-family: "Young Serif", serif;
    font-size: 1.7rem;
    letter-spacing: .028rem;
    color: var(--nutmeg);
}

.ingredients ul {
    margin-left: .5rem;
}

.ingredients li {
    margin-left: 1rem;
}

.ingredients p {
    margin: 0 0 0 1rem;
    line-height: 1.2rem;
}

hr {
    margin-top: 2.1rem;
    opacity: .3;
}

.instructions ol li {
    display: flex;
    list-style: none;
}

.instructions ol li h4 {
    display: inline-block;
    margin-left: .5rem;
    color: var(--nutmeg);
}

.instructions div {
    margin-left: 1.2rem;
}

.instructions ol li:first-of-type div {
    margin-left: 1.31rem;
}

.instructions div p {
    margin: -.2rem 0 0 0;
}

.nutrition p:first-of-type {
    margin-bottom: 2rem;
}

.nutrition .row {
    margin-top: .8rem;
    padding-bottom: .8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.nutrition .row:last-of-type {
    border: none;
}

.nutrition .col-1 {
    width: 51%;
}

.nutrition .col-1 p {
    margin: 0 0 0 2rem;
}

.nutrition .col-2 {
    width: 49%;
}

.nutrition .col-2 {
    color: var(--nutmeg);
}

/* Responsividade */
@media screen and (max-width: 768px) {
    body {
        min-height: fit-content;
    }

    .container {
        max-width: none;
        margin: 0;
        border-radius: 0;
    }

    .container figure {
        padding: 0;
    }

    .header-img {
        margin: 0;
        border-radius: 0;
    }
}

@media screen and (max-width: 420px) {
    .main-content {
        padding: 0 1.9rem;
    }

    .content-title {
        font-size: 2rem;
        line-height: 2.3rem;
    }
}