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

:root{
    --White: hsl(0, 0%, 100%);
    --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%);
}

*, *::before, *::after{
    box-sizing: border-box;
}
body{
    background-color: var(--Stone100);
}

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

.main-container{
    background-color: var(--White);
    width: 50%;
    margin: 0 auto;
    margin-top: 80px;
    margin-bottom: 50px;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1{
    font-family: 'Young Serif', sans-serif;
    font-weight: 400;
    color: var(--Stone900);
    margin-bottom: 20px;
}

.info{
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    color: var(--Stone600);
    margin-bottom: 20px;
}

.time{
    background-color: var(--Rose50);
    padding: 10px;
    border-radius: 8px;
}

.prepare{
    color: var(--Rose800);
    font-weight: 800;
    font-size: larger;
    font-family: 'Outfit', sans-serif;
    padding-left: 10px;
}

ul{
    padding-left: 24px;
    line-height: 1.5;
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    color: var(--Stone600);
}

h2{
    font-family: 'Young Serif', sans-serif;
    font-weight: 400;
    color: var(--Brown800);
    margin-bottom: 20px;
}

.ingredients{
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    color: var(--Stone600);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--Stone150);
    padding-bottom: 20px;
}

li{
    padding-left: 20px;
    line-height: 2;
}

li::marker{
    color: var(--Rose800);
}

ol{
    padding-left: 24px;
    line-height: 2;
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    color: var(--Stone600);
}

.instructions{
    border-bottom: 2px solid var(--Stone150);
    padding-bottom: 20px;
}

span{
    font-weight: 600;
}

.nutrition{
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    color: var(--Stone600);
    margin-bottom: 20px;
}

table{
    width: 100%;
    border-collapse: collapse;
}

td{
    border-bottom: 1px solid var(--Stone150);
    padding: 10px 0;
}

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

tr td:last-child{
    color: var(--Rose800);
    font-weight: 600;
}

footer{
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    color: var(--Stone600);
    text-align: center;
    margin-top: 20px;
}

/* Mobile */
@media (max-width: 768px){
    .main-container{
        width: 100%;
    }
}
