* {
    margin: o;
    padding: o;
    box-sizing: border-box;

}

:root {
    --nutmeg:hsl(14, 45%, 36%);
    --dark-raspbery: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%);
}


body {
    background-color: var(--eggshell);
    color: var(--wenge-brown);
    min-height: 100vh;
    font-family: 'Outfit', sans-serif;
    line-height: 1.4;
    display: flex;
    place-content: center;
}

img{
    max-width: 100%;
    display: block;   
}

h1, h2 {
    font-family: 'Young Serif', serif;
    font-weight: 400;
}

h1 {
    color: var(--dark-charcoal);
    font-size: 2.8rem;
}

h2 {
    color: var(--nutmeg);
    margin-bottom: 1rem;
}

.recipe-step {
    margin: 1rem 0;
}

.nutrition-step {
    margin-top: 1rem;
}

ul {
    padding-left: 1.25rem;    
}

ul li::marker {
    color: var(--nutmeg);
    font-weight: bold;
}

ul li {
    margin-bottom: .5rem;
}

ul li span {
    color: var(--wenge-brown);
    margin-left: 1rem;
    font-weight: 700;
}

hr {
    margin: 1.5rem;
    border: 1px solid var(--light-grey);
}

.container {
    max-width: 800px;
    background-color: var(--white);
    margin: 2rem;
    border-radius: 1rem;
}

.container .recipe-img {
    padding: 2rem;
    border-radius: 1rem;
    overflow: hidden;
}

.container .recipe-img img {
    border-radius: 1rem;
}

.recipe-information {
    padding: 0rem 2rem 2rem 2rem;
}

.description {
    margin: 1.5rem;
}

.recipe-prep-time {
    background-color: var(--rose-white);
    padding: 1.25rem;
    border-radius: 1rem;
}

.recipe-prep-time h3 {
    color: var(--dark-raspbery);
    margin-bottom: .75rem;
}

.recipe-prep-time ul li::marker {
    color: var(--dark-raspbery);
}

.ingredients li {
    margin-bottom: .5rem;
}

.ingredients li span {
    font-weight: initial;
}

.instructions .item {
    padding-left: .5rem;
    margin-bottom: .5rem;
    display: flex;
}

.instructions .item .num {
    color: var(--nutmeg);
    margin-right: 1rem;
    font-weight: 700;
}

.instructions .item span {
    font-weight: 700;
}

.nutrition-step .values {
    margin-bottom: 1rem;
}

.nutrition-table .item {
    padding: .75rem 2rem;
    display: flex;
    transition: all 200ms ease;
    border-bottom: 1px solid var(--light-grey);
}

.nutrition-table .item:last-child {
    border-bottom: 0;
}

.nutrition-table .item p:nth-child(2) {
    color: var(--nutmeg);
    font-weight: 700;
}

.nutrition-table .item > * {
    width: 100px;
    margin-right: auto;
}

@media (max-width: 540px) {
    h1 {
        margin-top: 2rem;
    }

    .container {
        margin: 0;
    
    
    }
    .container .recipe-img {
        padding: 0;
        border-radius: 0;
    }
    
    .container .recipe-img img {
        border-radius: 0;
    }
}
