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

body {
    font-family: "Outfit", sans-serif;
    font-optical-sizing: auto;
    background-color: hsl(30, 54%, 90%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    min-height: 100dvh;
}

.main {
    background-color: hsl(0, 0%, 100%);
    border-radius: 1rem;
    width: 32rem;
    margin: 4rem 0;
    padding: 1.8rem 2rem;
}

.omelette {
    width: 28rem;
    border-radius: .5rem;
}

.title, .sub-heading {
    font-family: "Young Serif", serif;
    margin: 1rem 0;
}

.title {
    color: hsl(24, 5%, 18%);
    font-size: clamp(2.1rem, 5vw, 1rem);
}

.title, li::marker, .nutrient-value  {
    font-weight: 600;
}

.prep-time {
    background-color: hsl(330, 100%, 98%);
    border-radius: .4rem;
    margin: 1rem 0;
    padding: 1rem;
}

.prep-time-title, .prep-time-title::marker {
    color: hsl(332, 51%, 32%);
    font-size: .85rem;
    font-weight: 600;
}

.sub-heading, li::marker, .nutrient-value {
    color: hsl(14, 45%, 36%);
}

.sub-heading{
    font-size: 1.3rem;
}

.bullet-space {
    margin: .4rem;
}

p {
    line-height: 1.1rem;
}

p, li, .nutrient {
    color: hsl(30, 10%, 34%);
    font-size: .7rem;
    list-style-position: inside;
    margin: .5rem 0;
}

ol li {
    line-height: 1.1rem;
    list-style-position: outside;
    margin: .5rem 0 .5rem 1.1rem;
}

li::marker {
    margin-right: 5rem;
}
    
ul li, ol li {
    padding-left: .4rem;
}

.hr, table {
    border-collapse: collapse;
    width: 100%;
    margin-top: 1rem;
}

.hr, table td {
    padding-bottom: .45rem;
    margin: 1rem 0;
}

.divider-row, .hr {
    border-top: 1px solid #DDD;
}

td:nth-child(odd) {
    padding-left: 1.5rem;
}

td:nth-child(even) {
    padding-left: 5rem;
}

.nutrient-value {
    font-size: .6rem;
}

@media (width <= 557px) {
    .main {
        border-radius: 0;
        width: 100%;
        margin: 0;

        overflow: visible;
        position: relative;
        padding-top: 45%;
    }

    .omelette {
        position: absolute;
        top: -2rem;
        left: -2rem;
        width: calc(100% + 32px);
        height: auto;
    }
}

/* .attribution { font-size: 11px; text-align: center; }
.attribution a { color: hsl(228, 45%, 44%); } */
