body {
    background: hsl(30, 54%, 90%);
}

main {
    background: hsl(0, 0%, 100%);
    width: 400px;
    /* top: 0;
    right: 0;
    bottom: 0;
    left: 0; */
    margin: 40px auto 40px auto;
    border-radius: 12px;
}

header {
    padding: 16px;
}

header h1 {
    font-family: "Young Serif", serif;
    font-weight: 400;
    font-size: 22px;
}

header p {
    font-family: "Outfit", serif;
    font-size: 9px;
    color: hsl(30, 10%, 34%);
}

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

.preparation {
    padding: 16px;
    margin-top: -25px;
}

.preparation_content {
    background: hsl(330, 100%, 98%);
    border-radius: 8px;
    box-sizing: border-box;
    padding: 10px 10px 10px 16px;
}

.preparation_content h4 {
    font-size: 14px;
    font-family: "Outfit", serif;
    color: hsl(332, 51%, 32%);
    margin: 0;
}

.preparation_content ul {
    font-size: 10px;
    font-family: "Outfit", serif;
    color: hsl(30, 10%, 34%);
    margin: 0px;
    padding-left: 18px;
    padding-top: 6px;
}

.preparation_content ul li {
    padding-bottom: 6px;
}

.preparation_content ul li strong {
    margin-left: 10px;
}

.ingredients {
    padding: 16px;
    margin-top: -35px;
}

.ingredients_content {
    border-bottom: 1px solid hsl(30, 18%, 87%);
}

.ingredients_content h2 {
    font-family: "Young Serif", serif;
    color: hsl(14, 45%, 36%);
    font-weight: 400;
    font-size: 18px;
    margin-bottom: 0px;
}

.ingredients_content ul {
    font-family: "Outfit", serif;
    color: hsl(30, 10%, 34%);
    font-size: 10px;
    padding-left: 16px;
}

.ingredients_content ul li {
    padding-bottom: 6px;
}

.ingredients_content ul li span {
    margin-left: 10px;
}

.instructions {
    padding: 16px;
    margin-top: -35px;
}

.instructions_content {
    border-bottom: 1px solid hsl(30, 18%, 87%);
}

.instructions_content h2 {
    font-family: "Young Serif", serif;
    color: hsl(14, 45%, 36%);
    font-weight: 400;
    font-size: 18px;
}

.instructions_content ol {
    font-family: "Outfit", serif;
    color: hsl(30, 10%, 34%);
    font-size: 9px;
    padding-left: 16px;
}

.instructions_content ol li {
    padding-bottom: 6px;
}

.instructions_content ol li::marker {
    font-weight: bold;
    color: hsl(14, 45%, 36%);
}

.instructions_content ol li strong{
    margin-left: 10px;
}

.nutrition {
    padding: 16px;
    margin-top: -35px;
}

.nutrition_content h2 {
    font-family: "Young Serif", serif;
    color: hsl(14, 45%, 36%);
    font-weight: 400;
    font-size: 18px;
}

.nutrition_content p {
    font-family: "Outfit", serif;
    font-size: 10px;
    color: hsl(30, 10%, 34%);
}

.nutrition_table {
    width: 100%;
    font-family: "Outfit", serif;
    border-collapse: collapse;
}

.nutrition_table tr {
    font-size: 10px;
    border-bottom: 1px solid hsl(30, 18%, 87%);
}

.nutrition_table td {
    padding: 10px;
}

.nutrition_value {
    color: hsl(14, 45%, 36%);
    font-weight: 700;
}

.nutrition_table tr:last-child {
    font-size: 10px;
    border-bottom: none;
}

.nutrition_table .nutrition_label {
    padding-left: 18px;
}

@media (max-width: 375px) {
    main {
        margin: 0;
        width: 375px;
        border-radius: 0px;
    }
    header {
        width: 100%;
        padding: 0;
    }
    img {
        padding: 0px;
        border-radius: 0px;
    }
    header h1 {
        text-align: start;
        font-size: 34px;
        padding-left: 18px;
    }
    header p {
        font-size: 18px;
        padding: 16px;
    }
    .preparation_content h4 {
        font-size: 26px;
    }
    .preparation_content ul {
        font-size: 18px;
    }
    .ingredients_content h2 {
        font-size: 30px;
    }
    .ingredients_content ul {
        font-size: 18px;
    }
    .instructions_content h2 {
        font-size: 30px;
    }
    .instructions_content ol {
        font-size: 18px;
    }
    .nutrition_content h2 {
        font-size: 30px;
    }
    .nutrition_content p {
        font-size: 18px;
    }
    .nutrition_table tr {
        font-size: 18px;
    }
    .nutrition_table tr:last-child {
        font-size: 18px;
    }
    
}