* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

@media (max-width: 450px) {
  .recipe-image {
    border-radius: 0;
    width: 100%;
    margin-bottom: 10px;
  }

  .div-container {
    width: 100%;
    /* margin: 30px auto; */
  }

  article div,
  section {
    padding: 20px;
  }

  .attribution {
    font-size: 10px;
    text-align: center;
  }
  .recipe-preparation {
    margin: 20px;
  }
}

@media (min-width: 451px) {
  body {
    background-color: hsl(30, 54%, 90%);
    min-height: 100dvh;
  }

  .recipe-container {
    background-color: hsl(0, 0%, 100%);
    width: fit-content;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 20px;
  }

  .div-container {
    width: 50%;
    margin: 30px auto;
  }

  .recipe-image {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
  }

  .attribution {
    font-size: 15px;
    text-align: center;
    font-weight: 600;
  }
}

p,
li,
td {
  color: hsl(30, 10%, 34%);
}

strong {
  color: hsla(30, 4%, 18%, 0.792);
  font-size: 12px;
}

h2 {
  font-family: Georgia, "Times New Roman", Times, serif;
  color: hsl(14, 45%, 36%);
}

.recipe-details {
  margin-bottom: 20px;
}

.recipe-details h1 {
  font-size: 20px;
  color: hsl(24, 5%, 18%);
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", Times, serif;
}

.recipe-details p {
  font-size: 12px;
}

.recipe-preparation {
  background-color: hsl(330, 100%, 98%);
  padding: 10px;
}

.recipe-preparation p {
  color: hsl(332, 51%, 32%);
  font-weight: 600;
}

.recipe-preparation ul {
  padding: 15px 30px;
}

.recipe-preparation li {
  margin-bottom: 10px;
  font-size: 12px;
}
.recipe-preparation li:last-child {
  margin-bottom: 0;
}

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

.recipe-ingredients,
.recipe-instructions {
  margin: 30px 0;
  border-bottom: 2px solid hsl(30, 18%, 87%);
}

.recipe-ingredients ul {
  padding: 15px 30px;
  font-size: 12px;
  list-style-type: square;
}

.recipe-ingredients ul:last-child {
  margin-bottom: 10px;
}

.recipe-instructions ol {
  padding: 30px;
  font-size: 12px;
}

.recipe-instructions ol li,
.recipe-ingredients ul li {
  padding: 5px;
}

.recipe-nutrition h2 {
  margin-bottom: 20px;
}

.recipe-nutrition p {
  font-size: 12px;
  margin-bottom: 10px;
}

table {
  width: 100%;
  font-size: 10px;
}

td {
  border-bottom: 1px hsl(30, 54%, 90%) solid;
  padding-left: 15px;
  padding-bottom: 5px;
}

.td-value {
  color: hsl(14, 45%, 36%);
  font-weight: 800;
}

.attribution a {
  color: hsl(14, 45%, 36%);
  text-decoration: none;
}

.attribution a:hover {
  text-decoration: underline;
  color: hsl(332, 51%, 32%);
}
