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

main {
    background-color: var(--white);
    border-radius: 1.25rem;
    max-width: 70ch;
    margin-top: 10px;
}

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

body {
    font-family: "Outfit", sans-serif;
    display: grid;
    place-content: center;
    background-color: var(--eggshell);
    min-height: 100vh;
}

h1,
h2 {
    font-family: "Young Serif", serif;
    margin: 1.5rem 0 1rem;
}

h1 {
    font-size: 2em;
    font-weight: 700;
}

.image__container {
    display: flex;
    justify-content: center;
}

img {
    max-width: 95%;
    border-radius: 10px;
    margin-top: 15px;
}

.container {
    padding-inline: 2rem;
}

.section {
    padding-bottom: 1.5rem;
}

.section h2 {
    color: var(--nutmeg);
    font-weight: 500;
}

section .prep__titre {
    color: var(--dark-rasberry);
    margin: 0;
    margin-bottom: 1rem;
    font-size: 1.2em;
    font-weight: 900;
    font-family: "Outfit", sans-serif;
}

::marker {
    color: var(--nutmeg);
    font-weight: 900;
}

.section ul,
ol {
    padding: 0 1rem;
}

.section li {
    padding: 0.5rem;
}

.preparation {
    background-color: var(--rose-white);
    padding: 1.5rem;
    border-radius: 1rem;
}

.preparation ul {
    padding-left: 1.75rem;
}

.instructions,
.ingredients {
    border-bottom: 1px solid var(--light-gray);
}

.ingredients ul {
    list-style-type: square;
}

.instructions ol {
    padding-left: 1.5rem;
}

table {
    width: 100%;
    margin-top: 1rem;
}

td {
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid var(--light-gray);
}

td:nth-child(even) {
    color: var(--nutmeg);
    font-weight: 900;
}

tr:last-child td {
    border: none;
}

.attribution {
    font-size: 0.75rem;
    text-align: center;
    margin: 1rem 0;
}

.attribution a {
    color: hsl(228, 45%, 44%);
}

@media (max-width: 375px) {

    body {
        background-color: white;
    }

    img {
        max-width: 95%;
        margin-top: 0px;
    }
}