body {
  display: flex; 
  align-items: center; 
  justify-content: center;
  margin: 0;
  padding: 0;
  background-color: hsl(30, 54%, 90%);
}

.main {
  display: flex;
  flex-direction: column;
  margin: 10rem; 
  width: 50%; 
  padding: 2rem;
  background-color: hsl(0, 0%, 100%);
  border-radius: 20px;
}

img {
  width: 100%;
  border-radius: 10px;

}

h1, h2 {
  font-family: "Young Serif", serif;
  font-weight: 400;
  font-style: normal;
}

h1 {
  font-size: 2.4rem;
  margin-bottom: 0;
}

h2 {
  color: hsl(14, 45%, 36%);
  margin-bottom: 0;
}

h3 {
  font-family: "Outfit", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  color: hsl(332, 51%, 32%)
}

p, li, td {
  font-size: 16px;
  font-family: "Outfit", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: hsl(30, 10%, 34%)
}

ul, ol  {
  padding: 1rem;
  margin: 0;
  margin-left: 0.5rem;
}

li {
  padding-block: 0.4rem;
  padding-left: 1rem;
}

li span {
  font-weight: 700;
}

li::marker {
  font-size: 12px;
  color: hsl(332, 51%, 32%)
}

ol li::marker {
  font-size: 16px;
  font-weight: 700;
  color: hsl(332, 51%, 32%)
}

td {
  border-bottom: 1px solid hsl(30, 18%, 87%); 
  padding: 1rem;
}

td:nth-child(2) {
  color: hsl(14, 45%, 36%);
  font-weight: 700;
}

hr {
  border: none;
  border-top: 1px solid hsl(30, 18%, 87%); 
  overflow: visible;
  text-align: center;
  height: 1px;
}

a {
  padding-left: 0.5rem;
  color: hsl(330, 100%, 98%);
  text-decoration: underline;
}

.title {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  margin-bottom: 1rem;
}

.prepTime {
  background-color: hsl(330, 100%, 98%);
  border-radius: 10px;
  padding: 1rem;
}

.attribution {
  font-family: "Young Serif", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 20rem;
  color: hsl(330, 100%, 98%);
  background-color: hsl(332, 51%, 32%);
  padding: 0;
  margin: -2rem;
  margin-top: 2rem;
}

@media (min-width: 300px) and (max-width: 600px){
  .main {  
    margin: 0;
    padding: 0;
    width: 100%;       
  }

  .title, .prepTime, .instruction, .ingredients, .nutrition {
    margin-inline: 1.5rem;
  }
  
  img {
    border-radius: 0;
  }

  table {
    margin-inline: 2.5rem;
  }

  .attribution {
    font-size: 0.7rem;
    margin: 0;
  }
  
}




