/*
COLOR PALLETE

- White: hsl(0, 0%, 100%)

- Stone 100: hsl(30, 54%, 90%)
- Stone 150: hsl(30, 18%, 87%)
- Stone 600: hsl(30, 10%, 34%)
- Stone 900: hsl(24, 5%, 18%)

- Brown 800: hsl(14, 45%, 36%)

- Rose 800: hsl(332, 51%, 32%)
- Rose 50: hsl(330, 100%, 98%)
*/

/*OVERALL
-------------------------------*/
html {
    box-sizing: border-box;
    font-size: 62.5%;
}

body {
    background-color: hsl(30, 54%, 90%);
    font-family: "Outfit", serif;
    font-weight: 400;
    font-style: normal;
    color: hsl(30, 10%, 34%);
    margin: 0;

}

h1 {
    font-family: "Young Serif", serif;
    font-weight: 400;
    font-size: 4rem;
    color: hsl(24, 5%, 18%);
    margin: 24px 0;
}

h2 {
    font-family: "Young Serif", serif;
    font-weight: 400;
    font-size: 2.8rem;
    color: hsl(14, 45%, 36%);
}

h3 {
    font-size: 2rem;
    color: hsl(332, 51%, 32%)
}

h6 {
    font-size: 1.6rem;
    color: hsl(14, 45%, 36%);
}

p {
    font-size: 1.6rem;
}

/*LIST
-------------------------------*/
ul, ol {
    padding-left: 10px;
}

li {
    font-size: 1.6rem;
    line-height: 2.4rem;
    margin: 1.4rem;
    padding-left: 15px;
}

li::marker {
    font-weight: bold;
    color: hsl(14, 45%, 36%);
}

/*CARD
-------------------------------*/
.wrapper {
    display: flex;
    max-width: 100vw;
    align-items: center;
    justify-content: center;
}

.page {
    max-width: 660px;
    background-color: white;
    margin: 100px;
    padding: 40px;
    border-radius: 20px;
}

figure {
    margin: 0;
}

figure img {
    width: 100%;
    border-radius: 10px;
}

/* Media queries for mobile */
@media screen and (max-width:768px) {
    h1 {
        font-size: 3.5rem;
        margin: 20px 0;
    }
    .page {
        width: 100vw;
        background-color: white;
        margin: 0;
        padding: 0;
        border-radius: 0;
    }
    figure img {
        width: 100vw;
        border-radius: 0px;
    }
    .text {
        padding: 10px 30px 30px;
    }
}

.preparation {
    background-color: hsl(330, 100%, 98%);
    border-radius: 10px;
    padding: 10px 30px;
    margin: 30px 0;
}

.instruction {
    margin-top: 30px;
    border-top: 1px solid hsl(30, 18%, 87%);
}
.nutrition {
    margin-top: 30px;
    border-top: 1px solid hsl(30, 18%, 87%);
}
.nutritrion-table {
    width: 100%;
    border-collapse: collapse;
}

.nutritrion-table td {
    font-size: 1.6rem;
    padding: 15px 30px;
}

.nutritrion-table strong {
    color: hsl(14, 45%, 36%);
    padding-left: 0;

}

.line-bottom td{
    border-bottom: 1px solid hsl(30, 18%, 87%);
}

/*FOOTER
-------------------------------*/
footer {
    font-size: 1.2rem;
    display: block;
    width: 100vw;
    margin: 0;
    text-align: center;
}

footer p {
    margin-bottom: 10px;
}

footer a {
    text-decoration: none;
    font-weight: 700;
    color: hsl(332, 51%, 32%);
}