body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #000; /* Fond noir */
  color: #fff; /* Texte blanc */
}

.container {
  display: flex;
  justify-content: space-around;
  padding: 1em;
}

/* style="height: 60px !important;width: 217px !important;" */
#buymeacoffee{
  height: 60px !important;
  width: 217px !important;
}

.main-title {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.main-title h1 {
  text-align: center;
  font-size: 3em;
  font-weight: bold;
  margin-bottom: 2;
  margin-top: 2;
  color: #feda4a; /* Jaune Star Wars */
}

.recettes-liste {
  width: 20%;
  background-color: #1f1f1f; /* Fond gris foncé */
  box-shadow: 0 0 10px rgba(255, 223, 0, 0.1); /* Ombre jaune Star Wars */
  border-radius: 10px;
  padding: 1em;
  overflow-y: auto;
  max-height: 80vh;
}

.recette {
  border: 1px solid #5d5d5d; /* Bordure gris clair */
  background-color: #383838; /* Fond gris foncé */
  padding: 1em;
  margin: 1em;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.recette:hover {
  background-color: #595959; /* Fond gris moyen au survol */
}

.recette-detail {
  width: 60%;
  background-color: #1f1f1f; /* Fond gris foncé */
  box-shadow: 0 0 10px rgba(255, 223, 0, 0.1); /* Ombre jaune Star Wars */
  border-radius: 10px;
  text-align: center;
  padding: 2em;
  color: #feda4a; /* Texte jaune Star Wars */
}

.ingredients {
  margin-top: 1em;
}

h2 {
  font-weight: bold;
  color: #ffffff; /* Texte jaune Star Wars */
}

.ingredients p {
  font-weight: bold;
  color: #ffffff; /* Texte jaune Star Wars */
}

.ingredients ul {
  list-style: none;
  padding: 0;
}

.ingredients li {
  margin-bottom: 0.5em;
}

.search-container {
  margin-bottom: 1em;
}

label {
  display: block;
  margin-bottom: 0.5em;
  color: #feda4a; /* Texte jaune Star Wars */
}

#searchInput {
  width: 98%;
  padding: 0.5em;
  border: 1px solid #5d5d5d; /* Bordure gris clair */
  border-radius: 5px;
  color: #000; /* Texte noir */
}

.quantite-container {
  width: 90%;
  border: 1px solid #5d5d5d; /* Bordure gris clair */
  background-color: #1f1f1f; /* Fond gris foncé */
  box-shadow: 0 0 10px rgba(255, 223, 0, 0.1); /* Ombre jaune Star Wars */
  border-radius: 10px;
  padding: 1em;
  margin-bottom: 1em;
}

#quantiteInput {
  padding: 0.5em;
  border: 1px solid #5d5d5d; /* Bordure gris clair */
  border-radius: 5px;
  margin-top: 0.5em;
  padding: 1em
}

.recette-container img {
  max-width: 5%;
  height: auto;
  margin-bottom: 5px;
}

.recap-container {
  /* width: 15%; */
  background-color: #1f1f1f; /* Gris foncé */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 0.5em;
  overflow-y: auto;
  max-height: 580vh;
  position: fixed;
  right: 0;
  top: 80;
  margin-right: 2.2%;
  margin-top: 12%;
}

.recap-ingredients {
  color: #ffcc00; /* Jaune */
}

.recap-ingredients p {
  font-weight: bold;
}

.recap-ingredients ul {
  list-style: none;
  padding: 0;
}

.recap-ingredients li {
  margin-bottom: 0.5em;
}


/* Style général pour les boutons */
button {
  background-color: #1e1e1e; /* Couleur de fond des boutons (noir) */
  color: #ffe81f; /* Couleur du texte (jaune) */
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* Espacement entre les boutons */
button + button {
  margin-left: 10px;
}

/* Style pour l'image du drapeau */
button img {
  width: 20px; /* Ajustez la taille selon vos besoins */
  height: auto;
  border-radius: 50%; /* Pour rendre l'image du drapeau circulaire */
  margin-right: 5px; /* Espacement entre l'image et le texte */
}

/* Media queries pour rendre le site responsive */
@media (max-width: 768px) {
  .main-title h1 {
    font-size: 1em;
    padding: 0.5em;
  }
  .container {
    flex-direction: column;
  }

  .search-container {
    margin-bottom: 1em;
    text-align: center;
    width: 100%;
  }

  .quantite-container {
    width: 94%;
    border: 1px solid #5d5d5d; /* Bordure gris clair */
    background-color: #1f1f1f; /* Fond gris foncé */
    box-shadow: 0 0 10px rgba(255, 223, 0, 0.1); /* Ombre jaune Star Wars */
    border-radius: 10px;
    /* padding: 0.5em; */
    text-align: center;
    margin-bottom: 1em;
  }

  #quantiteInput {
    padding: 0.5em;
    border: 1px solid #5d5d5d; /* Bordure gris clair */
    border-radius: 5px;
    margin-top: 0.5em;
    padding: 1em;
    width: 90%;
    text-align: center;
  }

  label {
    text-align: center;
  }

  #buymeacoffee{
    height: 40% !important;
    /* width: 217px !important; */
    width: 80% !important;
    /* text-align: center; */
    padding-bottom: 1em;
    margin: auto;
    display: block;
    
    
  }

  .recettes-liste {
    width: 95%;
    padding: 1em;
    max-height: 25vh;
    margin-bottom: 1em;
  }
  .recette-container img{
    display: none;
  }
  .recette-detail {
    width: 95%;
    background-color: #1f1f1f; /* Fond gris foncé */
    box-shadow: 0 0 10px rgba(255, 223, 0, 0.1); /* Ombre jaune Star Wars */
    border-radius: 10px;
    text-align: center;
    padding: 1em;
    color: #feda4a; /* Texte jaune Star Wars */
  }
  .recap-container {
    color: #ffcc00; /* Jaune */
    display: none;
  }
  button {
    width: 100%; /* Prend la largeur complète sur les petits écrans */
    margin: 10px auto; /* Centrer les boutons horizontalement */
  }
  button + button {
  /* margin-left: 10px; */
    margin: 0px;
    margin-bottom: 13px;
  }
}
