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

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

:root {

    --young:"Young Serif", serif;
    --outfit: "Outfit", sans-serif;

    --White: hsl(0, 0%, 100%);
    --Stone-100: hsl(30, 54%, 90%);
    --Stone-50: 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%);
}


body {
    background: var(--Stone-100);
}

li {
    font-family: var(--outfit);
    font-weight: 300;
    font-size: 12px;
    color: var(--Stone-600);
}

b {
    color: var(--Stone-900);
    font-weight: 500;
}


.container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 80px;
}


.card {
    background: var(--White);
    width: 450px;
    padding: 24px;
    border-radius: 10px;
}


.hero img {
    width: 100%;
    border-radius: 5px;
}

.hero h1 {
    font-family: var(--young);
    font-weight: 400;
    font-size: 22px;
    margin: 10px 0;
}

.hero p {
    font-size: 10px;
    font-family: var(--outfit);
    color: var(--Stone-600);
    font-weight: 400;
    margin: 10px 0;
}


.preparation{
    background-color: var(--Rose-50);
    padding: 18px;
    border-radius: 5px;
    font-family: var(--outfit);
    display: flex;
    flex-direction:column ;
    gap: 5px;
    margin: 16px 0;
}

.preparation h3 {
    color: var(--Rose-800);
    font-size: 14px;
}

.preparation ul {
    font-size: 12px;
    margin-left: 24px;
}

.preparation ul li {
    padding: 4px;
}


.section-title {
    font-family: var(--young);
    font-weight: 500;
    color: var(--Brown-800);
}

.ingredients {
    display: flex;
    flex-direction:column ;
    gap: 10px;
    padding: 14px 0;
    border-bottom: 1px solid var(--Stone-50);
}

.ingredients ul {
    margin-left: 18px;
}


.ingredients ul li {
    padding: 4px;
}


.instructions {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 14px 0;
    border-bottom: 1px solid var(--Stone-50);
}

.instructions ol {
    margin-left: 14px;
}
.instructions ol li {
    padding: 4px;
}

.instructions ol li::marker  {
    color: var(--Rose-800);
    font-weight: bold;
}

.nutrition {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.nutrition p {
    font-size: 12px;
    color: var(--Stone-600);
}


.table {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--Stone-50);
    
}

.table p {
    font-weight: bold;
    font-family: var(--outfit);
    color: var(--Rose-800);
    margin-right: 35%;
}

.table h4 {
    font-weight: normal;
    font-family: var(--outfit);
    font-size: 12px;
    color: var(--Stone-600);
    margin-left: 12px;

}
