
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700&family=Young+Serif&display=swap');


:root {
  --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%);
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  background-color: var(--stone-100);
  color: var(--stone-900);
  line-height: 1.6;
  padding: 2rem;
}

img {
  max-width: 100%;
  border-radius: 1rem;
}


.container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 2rem;
  border-radius: 1.5rem;
  
}


.title h1 {
  font-family: 'Young Serif', serif;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--brown-800);
  text-align: center;
  
}

.description {
  color: var(--stone-600);
}


.prep-box {
  background-color: var(--rose-50);
  padding: 1rem;
  margin: 2rem 0;
  border-radius: 1rem;
}

.prep-heading {
  color: var(--rose-800);
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: center;
}

.prep-box ul {
  padding-left: 1.25rem;
  list-style-type: none;
  text-align: center;
}


.ingredients {
  padding-left: 1.25rem;
  margin: 1rem 0;
  

}

.ingredients li {
  margin-bottom: 0.5rem;
}



.instructions ol {
  padding-left: 1.25rem;
  counter-reset: step;
}

.instructions ol li {
  margin-bottom: 1rem;
  position: relative;
}

.instructions ol li::marker {
  font-weight: bold;
  color: var(--brown-800);
}


.nutrition h2 {
  font-family: 'Young Serif', serif;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.nutrition-list {
  list-style: none;
  padding: 0;
  color:var(--rose-800)
}

.nutrition-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--stone-150);
}

.nutrition-list li:last-child {
  border-bottom: none;
}


.attribution {
  text-align: center;
  font-size: 12px;
  margin-top: 2rem;
  color: var(--stone-600);
}

.attribution a {
  color: var(--brown-800);
  text-decoration: none;
}


@media (min-width: 768px) {
  .container {
    max-width: 700px;
  }

  .title h1 {
    font-size: 2.5rem;
  }
}
