/* Style général de la page */
body {
  background-color: #f7f1e8;
  font-family: Arial, sans-serif;
  margin: 0px;
  padding: 0px;
}

/* Conteneur principal de la recette */
main {
  font-family: Georgia, 'Times New Roman', Times, serif;
  width: 50%;
  max-width: 600px;
  margin: 0px auto;
  background-color: white;
  padding: 50px;
  border-radius: 50px;
  position: relative;
}

/* Image principale de la recette */
.recipe-image {
  display: block;
  width: 60%;
  max-width: 400px;
  margin: 0 auto 20px auto;
  border-radius: 10px;
}

/* Style du titre principal */
h1 {
  text-align: center;
  color: #6b3e26;
  border-bottom: 2px solid #8a4f2a;
  padding-bottom: 5px;
  margin-top: 0px;
}

/* Style des sous-titres */
h2 {
  color: #8a4f2a;
  border-bottom: 2px solid #8a4f2a;
  padding-bottom: 5px;
  margin-top: 0px;
}

/* Style des éléments de liste */
li {
  font-size: 16px;
  line-height: 1.6;
}

/* Centre le texte de description de la recette */
.description {
  text-align: center;
}

/* Encadré indiquant le temps total de préparation */
#cook-time {
  background-color: #ffe0b2;
  color: #5a331a;
  font-weight: bold;
  text-align: center;
  border-radius: 50px;
}

/* Style de la liste des ingrédients */
.ingredients {
  background-color: #fff7ec;
  padding: 20px 20px 20px 40px;
  border-radius: 50px;
}

/* Style de la liste des étapes de préparation */
ol {
  background-color: #fff7ec;
  padding: 20px 20px 20px 40px;
  border-radius: 50px;
}

/* Style des temps indiqués à côté des étapes */
.time {
  color: gray;
  font-style: italic;
  margin-left: 10px;
}

/* Style général des liens externes */
.external-link {
  display: block;
  width: fit-content;
  color: #b3541e;
  font-weight: bold;
  margin: auto;
  text-decoration: none;
}

/* Style des liens quand la souris passe dessus */
.external-link:hover {
  position: absolute;
  text-decoration: underline;
  color: black;
}