@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&family=Young+Serif&display=swap');


:root {
    --Stone100: hsl(30, 54%, 90%);
    --Stone150: hsl(30, 18%, 87%);
    --Stone600: hsl(30, 10%, 34%);
    --Stone900: hsl(24, 5%, 18%);
    --Brown800: hsl(14, 45%, 36%);
    --Rose800: hsl(332, 51%, 32%);
    --Rose50: hsl(330, 100%, 98%);
    --White: hsl(0, 0%, 100%);
    --FontPrimary: 'Young Serif', serif;
    --FontSecondary: 'Outfit', sans-serif;
}

* {
    margin: 0px;
    padding: 0px;
}

body {
    background-color: var(--Stone100);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

#container {
    max-width: 44rem;
    width: 100%;
    min-height: 100%;
    border-radius: 25px;
    background-color: var(--White);
    padding: 2.5rem;
    margin: 7rem;
    font-family: var(--FontSecondary);
    color: var(--Stone600);
}

img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

h1 {
    font-size: 2.7rem;
    color: var(--Stone900);
    font-family: var(--FontPrimary);
    font-weight: 400;
    margin-bottom: 15px;
}

h2 {
    color: var(--Brown800);
    font-family: var(--FontPrimary);
    font-weight: 400;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
    font-size: 1rem;
}

section {
    border-bottom: solid var(--Stone150) 1px;
    margin-bottom: 20px;
}

ul, ol {
    margin-left: 1.7rem;
    margin-bottom: 40px;
}


ul > li::marker {
    color: var(--Brown800);
    font-size: smaller;
}

ol > li::marker {
    color: var(--Brown800);
    font-weight: bold;

}

li{
    margin-bottom: 13px;
    padding-left: 15px;
    font-size: 1rem;
}

table {
    border-collapse: collapse;
    width: 100%;
    font-size: 0.9rem;
}

th, td{
    border-bottom: solid rgba(128, 128, 128, 0.24) 1px;
    padding: 0.8rem;
    text-align: left;  
}

th {
    font-weight: 400;
}

td {
    color: var(--Brown800);
    font-weight: 700;
}

tr:last-child td, tr:last-child th {
    border-bottom: none;
}

#preparation-time {
    background-color: var(--Rose50);
    height: 125px;
    border-radius: 10px;
    padding: 1rem 1rem 2.5rem 1rem;
    border-bottom: none;
    margin-top: 35px;
    margin-bottom: 35px;
}

#preparation-time > h2 {
    color: var(--Rose800);
    font-size: 20px;
    padding-bottom: 10px;
    font-weight: 700;
    font-family: var(--FontSecondary);
    margin-left: -0.1rem;
    margin-bottom: 6px;
}

@media (max-width: 600px) {
    #container {
        margin: 1rem;
        padding: 1.1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    th, td {
        width: 100%;
        padding: 0.5rem;
    }

    table {
        font-size: 0.85rem;
    }
}
