: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;
}

html, body {
    background-color: var(--eggshell);
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

h1, h2 {
    font-family: 'Young Serif', serif;
    font-weight: 400;
    line-height: 100%;
    font-style: normal;
}
h1 {
    color: var(--dark-charcoal);
    font-size: 2.5rem;
}
h2 {
    color: var(--nutmeg);
    font-size: 1.75rem;
}
h3, p, td {
    font-family: 'Outfit', serif;
}
h3 {
    color: var(--dark-raspberry);
    font-weight: 600;
    font-size: 1.25rem;
}
p {
    color: var(--wenge-brown);
    font-size: 1rem;
    line-height: 150%;
}
.card {
    padding: 2.5rem;
    border-radius: 24px;
    background-color: var(--white);
    display: flex;
    gap: 2.5rem;
    flex-flow: column nowrap;
    max-width: 736px;
    align-items: flex-start;
}

img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.text-content {
    display: flex;
    flex-flow: column nowrap;
    gap: 2rem;
}
.title, .ingredients, .instructions, .nutrition {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
    align-self: stretch;
}
.preparation {
    background-color: var(--rose-white);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.table {
    width: 100%;
    display: flex;
    flex-flow: column nowrap;
    gap: 0.75rem;
}
.table .row {
    display: flex;
    flex-flow: row nowrap;
    padding: 0 2rem;
    align-self: stretch;
}
.table .row p {
    width: 50%;
}
ol, ul {
    list-style-position: inside;
    display: flex;
    flex-flow: column nowrap;
    gap: 0.5rem;
}
ul li::marker {
    color: var(--nutmeg);
}
ol li::marker {
    font-family: 'Outfit',  serif;
    color: var(--nutmeg);
    font-size: 1rem;
    font-weight: 700;
    line-height: 150%;
}
li p {
    display: inline;
}

hr {
    border: 1px solid var(--light-grey);
}

@media (max-width: 576px) {
    html, body {
        padding: 0;
    }
    .card {
        padding: 0;
        border-radius: 0;
    }

    img {
        border-radius: 0;
    }
    .text-content {
        padding: 2.5rem 2rem;

    }
}