body {
  background-color: hsl(330, 100%, 98%);
  font-family: "Outfit", sans-serif;
  font-weight: 400; /* Default body weight */
  margin: 0;
  color: hsl(24, 5%, 18%);
}
main {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh; /* Ensures vertical centering */
  padding: 20px; /* Prevents content from touching screen edges */
}
.container {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 0 10px hsla(0, 0%, 0%, 0.1);
  padding: 20px;
  margin: 40px auto;
  width: 90%;
  max-width: 600px;
}
.recipe-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block; /* Fixes extra spacing issue under images */
}
p {
    font-size: 14px;
    line-height: 1.6; /* Improves text readability */
}
.preparation-time {
  padding: 10px;
  background-color: hsl(330, 100%, 98%);
  font-size: 12px;
  border-radius: 5px;
}
span {
  font-weight: 700; /* Bold weight */
}
.preparation-time-title {
  font-size: 14px;
  font-weight: 700; /* Bold weight */
  color: hsl(332, 51%, 32%);
}
h1 {
  font-family: "Young Serif", serif;
  font-weight: 400; /* Regular weight */
}
h2 {
  font-family: "Young Serif", serif;
  font-weight: 400; /* Regular weight */
  color: hsl(14, 45%, 36%);
}
li {
    font-size: 14px;
    padding-left: 20px; /* Ensures better alignment */
    list-style-position:outside; /* Ensures markers display properly */
}

li::marker {
  color: hsl(14, 45%, 36%); /* This will change the color of the numbers */
  font-weight: bold; /* This will change the weight of the numbers */
}
hr {
  border: 0;
  border-top: 1px solid hsl(0, 0%, 90%);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px; /* Slightly larger text */
}
tr {
  border-bottom: 1px solid hsl(0, 0%, 90%);
}
tr:last-child {
  border-bottom: none;
}
th {
  text-align: left;
  padding-left: 25px;
  font-size: 13px;
  font-weight: lighter;
}
td {
  padding: 12px 8px;
  font-size: 13px;
  font-weight: bold;
  color: hsl(14, 45%, 36%);
}
.attribution {
  font-size: 11px;
  text-align: center;
  padding: 10px;
}
.attribution a {
  color: hsl(228, 45%, 44%);
}
