:root {
    --rose-800: #7a284E;
    --rose-50:  #FFF7FB;

    --stone-900: #312E2C;
    --stone-600: #5F564D;
    --stone-150: #E3DDD7;
    --stone-100: #F3E5D7;

    --brown-800: #854632;

    --white: #FFFFFF;
}

html {
    font-size: 62.5%;
    box-sizing: border-box;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--white);
}

/* Media query for Tablets */
@media screen and (min-width: 768px) {
    body {
        background-color: var(--stone-100);
    }
}

.top-image {
    width: 37.5rem;
    height: 17.1rem;
    overflow: hidden;
}

.image-omelette {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Media query for Tablets */
@media screen and (min-width: 768px) {
    .top-image {
        display: none;
    }
}

.image-omelette-tablet {
    display: none;
}

/* Media query for Tablets */
@media screen and (min-width: 768px) {

    .image-container-tablet {
        width: 53.6rem;
        height: 30rem;
        overflow: hidden;
        border-radius: 1.2rem;
    }
    .image-omelette-tablet {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.container {
    padding: 4rem 3.2rem;
    display: flex;
    flex-direction: column;
    gap: 3.2rem;
}

/* Media query for Tablets */
@media screen and (min-width: 768px) {
    .container {
        display: flex;
        align-items: center;
    }

    .card {
        background-color: var(--white);
        width: 61.6rem;
        height: 184.4rem;
        padding: 4rem;
        border-radius: 2.4rem;
        opacity: 100%;
        display: flex;
        flex-direction: column;
        gap: 4rem;
    }
}

.title {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
}

h1 {
    font-size: 3.6rem;
    font-family: "Young Serif", sans-serif;
    font-weight: 400;
    color: var(--stone-900);
    letter-spacing: 0%;
    line-height: 100%;
}

/* Media query for Tablets */
@media screen and (min-width: 768px) {
    h1 {
        font-size: 4rem;
    }
}

.description {
    font-size: 1.6rem;
    font-family: "Outfit", sans-serif;
    color: var(--stone-600);
    line-height: 150%;
    letter-spacing: 0%;
    font-weight: 400;
}

.preparation {
    padding: 2.4rem;
    background-color: var(--rose-50);
    border-radius: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.subtitle {
    font-size: 2rem;
    font-family: "Outfit", sans-serif;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: 0%;
    color: var(--rose-800);
}

.group-list {
    display: flex;
    flex-direction: column;
    gap: .8rem;
}

.details {
    color: var(--stone-600);
    font-family: "Outfit", sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    margin-left: 2rem;
    padding-left: 1.6rem;
}

span {
    font-weight: 700;
}

.details::marker {
    color: var(--rose-800);
} 

.ingredients {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
}

.sub-heading {
    font-family: "Young Serif", sans-serif;
    font-weight: 400;
    line-height: 100%;
    font-size: 2.8rem;
    color: var(--brown-800);
}

.list-ingredients {
    display: flex;
    flex-direction: column;
    gap: .8rem;
}

.ingredient {
    font-family: "Outfit", sans-serif;
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 150%;
    color: var(--stone-600);
    margin-left: 1.6rem;
    padding-left: .8rem;
}

hr {
    background-color: var(--stone-150);
    border: none;
    border-top: 1px solid var(--stone-150);
}

.instructions {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
}

.list-instructions {
    display: flex;
    flex-direction: column;
    gap: .8rem;
}

.instruction {
    font-family: "Outfit", sans-serif;
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 150%;
    color: var(--stone-600);
    margin-left: 1.6rem;
    padding-left: 1.6rem;
    
}

.instruction::marker {
    color: var(--brown-800);
    font-weight: 700;
}

.bold {
    font-weight: 700;
}

.nutrition {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
    width: 31.1rem;
}

/* Media query for Tablets */
@media screen and (min-width: 768px) {
    .nutrition {
        width: 100%;
    }
}

.information {
    font-family: "Outfit", sans-serif;
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 150%;
    color: var(--stone-600);
}

table {
    border-collapse: collapse;
    font-family: "Outfit", sans-serif;
    font-size: 1.6rem;
    line-height: 150%;
    color: var(--stone-600);
}

td {
    border-bottom: 1px solid var(--stone-150);
    padding: 1.2rem 0;
}

tr:first-child td {
    padding-top: 0;
}

tr:last-child td {
    border-bottom: none;
    padding-bottom: 0;
}


.left {
    padding-left: 3.2rem;
}

.right {
    padding-right: 3.2rem;
    font-weight: 700;
    padding-left: 1.6rem;
}
