body {
  font-family: "Outfit", sans-serif;
  background: hsl(30, 54%, 90%);
  color: hsl(24, 5%, 18%);
  line-height: 1.6;
  margin: 0;
}


.page {
  display: flex;
  justify-content: center;
  padding: 24px;
}

.card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  max-width: 375px;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

.hero-img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.container {
  max-width: 327px;
  margin: 0 auto;
  padding: 24px;
  background: transparent;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.title {
  font-family: "Young Serif", serif;
  font-size: 32px;
  margin: 24px 0 16px;
  line-height: 1;
}

.description {
  margin-bottom: 24px;
  color: hsl(30, 10%, 34%);
}

.prep-box {
  background: hsl(330, 100%, 98%);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 32px;
}

.prep-title {
  color: hsl(332, 51%, 32%);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.prep-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: hsl(30, 10%, 34%);
}

.prep-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: hsl(332, 51%, 32%);
  border-radius: 50%;
  position: absolute;
  left: 6px;
  top: 8px;
}

.prep-list span {
  font-weight: 700;
  color: hsl(24, 5%, 18%);
}

.section-title {
  font-family: "Young Serif", serif;
  font-size: 24px;
  margin-bottom: 16px;
  color: hsl(14, 45%, 36%);
}

.ingredients-list {
  border-bottom: 1px solid hsl(30, 18%, 87%);
}

.ingredients-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
}

.ingredients-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: hsl(14, 45%, 36%);
  border-radius: 50%;
  position: absolute;
  left: 6px;
  top: 8px;
}

.instructions-list {
  list-style: decimal;
  border-bottom: 1px solid hsl(30, 18%, 87%);
}

.instructions-list li {
  color: hsl(24, 5%, 18%); 
  margin-bottom: 16px;
  padding-left: 4px;
}

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

.instructions-list span {
  font-weight: 700;
  color: hsl(24, 5%, 18%); 
}

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

.nutrition-table td {
  padding: 12px 0;
  border-bottom: 1px solid hsl(30, 18%, 87%);
}

.nutrition-table td:last-child {
  font-weight: 700;
  color: hsl(14, 45%, 36%);
}

@media (min-width: 1440px) {

  body {
    padding: 80px 0;
  }

  .card {
    max-width: 736px;
    border-radius: 32px;
  }

  .container {
    max-width: 656px;
    padding: 48px;
  }

  .title {
    font-size: 40px;
    margin: 32px 0 24px;
  }

  .description {
    font-size: 18px;
    margin-bottom: 32px;
  }

  .prep-box {
    padding: 28px;
    margin-bottom: 40px;
  }

  .section-title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .ingredients-list li,
  .instructions-list li {
    font-size: 18px;
    margin-bottom: 14px;
  }

  .nutrition-table td {
    padding: 16px 0;
    font-size: 18px;
  }
}
