:root {
    --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: hsl(14, 45%, 36%);
    --rose-800: hsl(332, 51%, 32%);
    --rose-50: hsl(330, 100%, 98%);
}

.young-serif-regular {
    font-family: "Young Serif", serif;
    font-weight: 400;
    font-style: normal;
}

.outfit-regular {
  font-family: "Outfit", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.outfit-semi-bold {
    font-family: "Outfit", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}

.outfit-bold {
    font-family: "Outfit", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

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

body {
    background-color: var(--stone-100);
    color: black;
    font-size: 16px; 
}

.main-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    margin: 150px 0;
}

.content-container {
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    width: 450px;
    padding: 25px;
    border-radius: 10px;
    overflow: hidden;
}

/* Hero Section */
.hero img {
    width: 100%;
    border-radius: 10px;
}

.hero h1 {
    font-family: Young Serif;
    letter-spacing: 0.025em;
    color: var(--stone-900);
    margin: 15px 0;
}

.hero p, .nutrition p {
    font-family: Outfit;
    font-weight: 400;
    font-size: 10px;
    color: var(--stone-600);
}

/* Prep Time */
.prep {
    background-color: var(--rose-50);
    width: 100%;
    margin: 15px 0;
    padding: 20px;
    border-radius: 10px;
}

.prep h2 {
    color: var(--rose-800);
    font-family: Outfit;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;
}

.prep ul{
    color: var(--stone-600);
    font-family: Outfit;
    font-size: 10px;
    padding-left: 15px;
}

.prep li {
    margin: 6px 0;
}

.prep li::marker {
    color: var(--rose-800);
    font-size: 8px;
}

.prep li::before {
    content: ''; 
    color: var(--rose-800); 
    font-size: 8px;
    margin-right: 10px;
} 

.prep span, .instructions span {
    color: var(--stone-600);
    font-weight: 600;
}

/* Headers */
.ingredients h2, .instructions h2, .nutrition h2 {
    color: var(--brown);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Ingredients */
.ingredients, .instructions {
    width: 100%;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--stone-150);
}

.ingredients ul{
    color: var(--stone-600);
    list-style-position: inside;
    font-family: Outfit;
    font-size: 10px;
    padding-left: 5px;
}

.ingredients li {
    margin: 6px 0;
}

.ingredients li::marker {
    color: var(--brown);
    font-size: 8px;
}

.ingredients li::before {
    content: ''; 
    color: var(--brown); 
    font-size: 8px;
    margin-right: 10px;
} 

/* Instructions */
.instructions {
    margin: 15px 0;
}

.instructions ol {
    color: var(--stone-600);
    padding-left: 15px; 
    font-family: Outfit;
    font-size: 10px;
}

.instructions li {
    position: relative; 
    padding-left: 10px; 
    margin: 6px 0; 
}

.instructions li::marker {
    color: var(--brown);
    font-weight: 600;
}

.instructions li::before {
    content: ''; 
    color: var(--brown);
    font-size: 8px;
    position: absolute; 
    left: 0; 
    top: 0; 
}

/* Nutrition */
.nutrition table {
    margin-top: 15px;
    text-align: left;
    border-collapse: collapse;
    width: 100%;
}

.row {
    border-bottom: 1px solid var(--stone-150);
}

tr {
    color: var(--stone-600);
    font-family: Outfit;
    font-size: 10px;
    font-weight: 400;
}

td {
    padding: 10px 20px;
}

.amount {
    color: var(--brown);
    font-weight: 600;
}

/* Footer */
footer {
    background-color: white;
    color: var(--brown);
    font-size: 12px;
    text-align: center;
    padding: 10px 0;
}

/* Media Queries */
@media screen and (max-width: 480px) {
    body {
        background-color: white;
    }
    .main-container {
        margin: 145px 0;
    }
    .content-container {
        border-radius: none;
    }
  }

