body {
  padding: 0;
  margin: 0;
  background-color: #ededed;
}
/* header */
.header {
  width: 100%;
  height: 667px;
  background-image: url("Asset/img-fond.jpeg");
  background-size: cover;
  background-position: center;
}
.logo-header {
  position: absolute;
  top: 51px;
  left: 69px;
}
.container-titre-header {
  width: 100%; /* on mais la meme width que l'img pour que la div sois au millieu*/
  height: 667px; /* on mais la meme height que l'img pour que la div sois au millieu*/
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.titre-header {
  font-size: 44px;
  font-weight: 400;
  font-family: "Anton", sans-serif;
  color: #ffd15b;
  text-align: center;
  width: 40%;
}
.container-input-header {
  width: 100%;
  display: flex;
  justify-content: center;
}
.input-header {
  width: 45%;
  height: 72px;
  border-radius: 10px;
  padding-left: 3%;
}
.input-header::placeholder {
  font-size: 16px;
  font-weight: 400;
  font-family: "Manrope", sans-serif;
  color: #7a7a7a;
}
.bouton-input-header {
  width: 51px;
  height: 52px;
  background-color: #1b1b1b;
  color: white;
  transform: translate(-65px, 25%);
  border-radius: 10px;
  font-size: 27px;
  transition: 0.7s;
  border: 0px;
  cursor: pointer;
}
.bouton-input-header:hover {
  background-color: #ffd15b;
  color: black;
}

/* body filtre */
.container-filtre-all-plus-nombre-recette {
  display: flex;
  flex-direction: row;
}
.container-filtre-all {
  display: flex;
  width: 50%;
  justify-content: space-around;
  margin-left: 5%;
  gap: 10%;
}
.container-filtre {
  position: relative;
  width: 179px;
  height: 20px;
  font-family: "Manrope", sans-serif;
  border-radius: 11px;
  padding: 17px 16px 17px 16px;
  border: solid 1px rgb(190, 190, 190);
  display: flex;
  justify-content: space-between;
  margin-top: 21px;
  background-color: white;
  display: flex;
  flex-direction: column;
  font-size: 16px;
  font-weight: 500;
}
.flecheSelect {
  position: absolute;
  right: 10%;
  color: rgb(190, 190, 190);
  cursor: pointer;
}
.div-modal-select {
  z-index: 1000;
  width: 211px;
  margin-left: -17px;
  height: auto;
  padding-top: 17px;
  padding-bottom: 17px;
  background-color: white;
  border: solid 1px rgb(190, 190, 190);
  border-top: 0;
  border-radius: 0 0 11px 11px;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s 0.3s;
  opacity: 0;
  transform: scaleY(0); 
  transform-origin: top; 
  visibility: hidden;
}
.div-modal-select.visible {
  opacity: 1;
  transform: scaleY(1); 
  visibility: visible;
  transition-delay: 0s;
}
.input-select {
  width: 85%;
  height: 30px;
  border: solid 1px rgb(190, 190, 190);
  margin-left: 5%;
}
.loupe-for-input {
  position: absolute;
  right: 15%;
  top: 10%;
  color: rgb(190, 190, 190);
  cursor: pointer;
}

.div-modal-select-ingredient,
.div-modal-select-ustensil,
.div-modal-select-appliance {
  overflow-y: auto;
  height: 200px;
  scrollbar-width: none; /* pour Firefox */
  -ms-overflow-style: none; /* pour Internet Explorer et Edge */
}

.div-modal-select-ingrediants::-webkit-scrollbar,
.div-modal-select-ustensiles::-webkit-scrollbar,
.div-modal-select-appliance::-webkit-scrollbar {
  display: none; /* pour Chrome, Safari et Opera */
}

.p-select-tag {  
  padding: 7px 0 7px 5%;
  cursor: pointer;
  font-weight: 400;
  font-size: 14px;
  font-family: "Manrope", sans-serif;
}
.p-select-tag:hover {
  background-color: #ffd15b;
}
/* les card de tag une fois selectionner */
.container-filtered-tag{
  display: flex;
  flex-direction: row;
  margin-top: 1%;
  margin-left: 5.5%;
  gap: 20px; 
}
.div-card-filtered-tag{
  position: relative;
  width: 179px;
  height: 20px;
  background-color: #ffd15b;
  padding:17px 16px 17px 16px;
  border-radius: 10px;
  display: flex;
  align-items: center; 
}
.p-card-filtered-tag{
  font-size: 14px;
  font-weight: 400;
  font-family: "Manrope", sans-serif;
}
.croix-card-filtered-tag{
  position: absolute;
  cursor: pointer;
  right: 20px;
  font-size: 18px;
  
}



.nombre-recette {
  text-align: end;
  width: 39%;
  font-family: "Anton", sans-serif;
  font-size: 21px;
  color: #1b1b1b;
  transform: translate(0px, 29%);
}
/* body recette */
.container-recette-all {
  margin-top: 55px;
  padding-left: 5.5%;
  padding-right: 5.5%;
  display: flex;
  flex-wrap: wrap;
  gap: 10%;
}
.container-recette-all > * {
  flex-basis: calc(
    33.33% - (66px * 2)
  ); /* Largeur de chaque élément (1/3 de l'espace disponible moins les espaces entre les éléments) */
}
.container-recette {
  position: relative;
  margin-bottom: 66px;
  width: 360px;
  height: 731px;
  border-radius: 21px;
  background-color: white;
}
.img-recette {
  width: 100%;
  height: 253px;
  object-fit: cover;
  border-radius: 21px 21px 0 0;
}
.timer-recette {
  position: absolute;
  top: 21px;
  right: 21px;
  width: 40px;
  padding: 5px 15px 5px 15px;
  border-radius: 14px;
  background-color: #ffd15b;
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 400;
  text-align: center;
}
.description-recette {
  padding: 25px;
}
.nom-de-recette {
  margin-top: -10px;
  font-size: 18px;
  font-weight: 400;
  font-family: "Anton", sans-serif;
}
.titre-recette {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: #7a7a7a;
  letter-spacing: 0.8px;
  margin-top: 30px;
}
.instruction-recette {
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #1b1b1b;
  margin-bottom: 40px;
  max-height: 100px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  text-overflow: ellipsis;
}

.container-ingredients-recette {
  padding: 25px;
  margin-top: -60px;
  display: grid;
  grid-template-columns: auto auto; /* Deux colonnes de largeur automatique */
  grid-template-rows: auto auto auto; /* Trois lignes de hauteur automatique */
}
.titre-ingredients {
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #1b1b1b;
  margin-bottom: -15px;
}
.ingredients {
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #7a7a7a;
}


.message-erreur{
  display: flex;
  justify-content: center;
  text-align: center;
  position: absolute;
  left: 0%;
  width: 100%;
  font-size: 18px;
  font-weight: 700;
  font-family: "Manrope", sans-serif;
}