body
{
  background-color: rgb(243, 230, 216);

}
p
{

  line-height: 23px;
  font-family: Outfit , Arial, Helvetica, sans-serif; 
  font-size: 16px;
  font-weight: 400;
  color:  hsl(30, 10%, 34%);
}



main
{
  display: flex;
  align-items: center;
  justify-content: center;
}

.recipe-image
{
  display: flex;
  align-items: center;
  justify-content: center;
  
} 


.recipe-image .omelette
{

  height: 370px;
  width: 620px;
  border-radius: 14px;
  object-fit: cover;
}


.recipe-page
{
  background-color: white;
  padding: 30px;
  width: 630px;
  height: 1750px;
  margin: 80px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
}

.recipe-content h1
{
  font-family: Young Serif, Arial, Helvetica, sans-serif;
  font-weight: 400;
}

.recipe-content h2
{
  font-family: Young Serif, Arial, Helvetica, sans-serif;
  margin-top: 20px;
  color:hsl(14, 45%, 36%);
  
}

.preparation
{

  background-color: hsl(330, 100%, 98%);
  padding: 10px;
  border-radius: 12px;
  margin-top: 25px;
}

li
{
  font-family: Outfit , Arial, Helvetica, sans-serif; 
  line-height: 23px;
  margin: 15px 0;
  color:  hsl(30, 10%, 34%);

 
}

.recipe-content h3
{

  font-family: Outfit , Arial, Helvetica, sans-serif; 
  color: hsl(332, 51%, 32%);
  margin-left: 18px;

}

td
{

  font-family: Outfit , Arial, Helvetica, sans-serif; 
  border-bottom: solid rgba(0, 0, 0, 0.233);
  border-width: 0.5px;
  padding: 10px;
  

}

hr
{
  margin-top: 25px;
  opacity: 0.5;
}

.nutrition div
{
  display: grid;
  grid-template-columns: 1fr 2fr; /* adjust as needed */
  gap: 0.5rem;
  margin-bottom: 10px;
  margin-left: 30px;
  margin-top: 10px;
  
}
.nutrition .measurements
{
  
  font-family: Outfit , Arial, Helvetica, sans-serif; 
  font-size: 16px;
  font-weight: 600;
  color:hsl(14, 45%, 36%);
  margin-left: 110px;
}
.nutrition span
{
  font-family: Outfit , Arial, Helvetica, sans-serif; 
  color:  hsl(30, 10%, 34%);

}

.nutrition hr{

  margin: 20px;
}

.recipe-content ol li::marker
{

  color:hsl(14, 45%, 36%);
  font-weight: 700;

}





@media(max-width:518px)
{
    body
    {
      background-color: white;
      font-size: 14px;
    }

    .recipe-page
    {
      width: 300px;
      margin: 0px;
      padding: 0px;
    }

    .recipe-image .omelette
    {

      width: 500px;
      border-radius: 0;
      object-fit: contain;

    }


}