@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;
}
body {
  background: hsl(30, 54%, 90%);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Outfit", serif;
}

.container {
  background: hsl(0, 0%, 100%);
  border-radius: 15px;
  max-width: 800px;
  padding: 50px;
  margin: 50px auto;
}
h2 {
  font-family: "Young Serif", serif;
}
.section1 img {
  width: 100%;
  height: 100%;
  border-radius: 7px;
  margin: -20px 10px 20px -2px;
}
.section2 h2 {
  margin-bottom: 10px;
  font-weight: 400;
  font-size: 40px;
}
.section2 p {
  margin-bottom: 30px;
  line-height: 25px;
  font-size: 700;
  color: hsl(30, 10%, 34%);
}
.preparation-time {
  line-height: 35px;
  margin-bottom: 30px;
  background: hsl(332, 36%, 84%);
  border-radius: 7px;
  padding: 20px;
}
.preparation-time h2 {
  color: hsl(332, 51%, 32%);
  font-weight: 400;
}
.preparation-time li,
.instructions li,
.ingredients li {
  color: hsl(30, 10%, 34%);
  padding-left: 20px;
}
.preparation-time ul {
  padding-left: 40px;
}
.ingredients ul {
  padding-left: 25px;
}
.instructions ul {
  padding-left: -20px;
}
.instructions ol li {
  counter-increment: list;
  list-style-type: none;
  position: relative;
}
.instructions ol li::before {
  color: hsl(14, 45%, 36%);
  content: counter(list) ".";
  padding-right: 10px;
}
.ingredients li::marker {
  color: hsl(14, 45%, 36%);
}
.preparation-time li::marker {
  color: hsl(332, 51%, 32%);
}
.ingredients,
.instructions,
.nutrition {
  line-height: 40px;
  padding-bottom: 30px;
}
.ingredients h2,
.instructions h2,
.nutrition h2 {
  color: hsl(14, 45%, 36%);
  font-weight: 400;
}
hr {
  margin-top: 20px;
}
.nutrition1 {
  display: flex;
  color: hsl(30, 10%, 34%);
  /*justify-content: space-between;*/
}

.nutrition2 {
  padding-left: 270px;
}
.nutrition3 {
  padding-left: 290px;
}
.nutrition4 {
  padding-left: 280px;
}
.nutrition5 {
  padding-left: 310px;
}
