/* GLOBAL RESET & FONTS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: hsl(30, 54%, 90%);
  color: hsl(24, 5%, 18%);
  line-height: 1.6;
  font-size: 16px;
  display: flex;
  justify-content: center;
  padding: 4rem 1rem;
}

/* MAIN CONTAINER */
.container {
  background-color: white;
  border-radius: 20px;
  max-width: 650px;
  overflow: hidden;
  padding: 2rem;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}

/* HERO IMAGE */
.hero-image img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

/* TITLE SECTION */
.title-section h1 {
  font-family: 'Young Serif', serif;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: hsl(24, 5%, 18%);
}

.title-section p {
  color: hsl(30, 10%, 34%);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

/* PREPARATION TIME */
.prep-time {
  background-color: hsl(330, 100%, 98%);
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 2rem;
}

.prep-time h2 {
  color: hsl(332, 51%, 32%);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.prep-time ul {
  list-style-type: disc;
  padding-left: 1.5rem;
}

.prep-time li {
  margin-bottom: 0.5rem;
  color: hsl(30, 10%, 34%);
}

.prep-time strong {
  color: hsl(24, 5%, 18%);
}

/* INGREDIENTS */
.ingredients {
  margin-bottom: 2rem;
}

.ingredients h2 {
  font-family: 'Young Serif', serif;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: hsl(14, 45%, 36%);
}

.ingredients ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  color: hsl(30, 10%, 34%);
}

.ingredients li {
  margin-bottom: 0.5rem;
}

/* INSTRUCTIONS */
.instructions {
  margin-bottom: 2rem;
}

.instructions h2 {
  font-family: 'Young Serif', serif;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: hsl(14, 45%, 36%);
}

.instructions ol {
  padding-left: 1.5rem;
  color: hsl(30, 10%, 34%);
}

.instructions li {
  margin-bottom: 1rem;
  line-height: 1.4;
}

.instructions li::marker {
  color: hsl(14, 45%, 36%);
  font-weight: bold;
}

/****NUTRITION****/
.nutrition {
  padding: 1.5rem;
  background-color: #fff;
  border-radius: 10px;
}

.nutrition h2 {
  color: hsl(14, 45%, 36%);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.nutrition p {
  color: hsl(30, 10%, 34%);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.nutrition-table {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nutrition-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid hsl(30, 18%, 87%);
}

.nutrition-row:last-child {
  border-bottom: none;
}

.nutrition-row span {
  font-size: 0.9rem;
  color: hsl(30, 10%, 34%);
}

.nutrition-row .value {
  color: hsl(332, 51%, 32%);
  font-weight: bold;
}

.attribution {
  margin-top: 2rem;
  padding: 0 1rem;
  text-align: center;
  font-size: 0.875rem;
  color: #5e4b4b;
}
