.bottom-buttons {
  margin: 0;
  padding: 0;
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  max-width: 100%;
  overflow: hidden;

}


.bottom-buttons > * {
  margin-right: 40px;  
}
@media screen and (max-width: 500px) {
  .bottom-buttons > * {
    margin-right: 10px;
  }
}

.bottom-buttons button {
  background-color: rgb(255, 255, 255);
  border: none;
  font-size: 16px;
  cursor: pointer;
  border-radius: 50px;/*
  display: flex;
  align-items: center;
  justify-content: center;*/
  width: 80px;
  height: 80px;
  position: relative;
}

.bottom-buttons button::before {
  content: "";  /* Nécessaire pour insérer un pseudo-élément */
  position: absolute;
  top: 0;
  left: 0;
  margin-top: -3px;
  width: 104%;
  height: 104%;
  background-image: url('../INTERFACE/bt.png');  /* Remplacez par l'image que vous souhaitez */
  background-size: cover;  /* L'image couvre tout le bouton */
  background-position: center;  /* Centrer l'image */
  z-index: 1;  /* Place l'image derrière le contenu du bouton */
}

button img {
  position: relative;
  z-index: 1;  
  width: 40px; 
  height: 40px;
  margin: 0;
  padding: 0;
}

.list-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(255, 255, 255, 1);
  background-color: rgb(228, 231, 224);
  padding: 20px;
  border-radius: 20px;
  display: flex;
  flex-wrap: wrap;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  width: auto; /* Laisse la largeur ajustée au contenu */
  height: auto; /* Ajuste la hauteur selon le contenu */
  width: 96%;
  max-height: 80%; /* Limite la hauteur maximale à 80% */
  overflow-y: auto; /* Ajoute une barre de défilement verticale si nécessaire */
  box-sizing: border-box; /* Inclut les paddings dans le calcul de la taille */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.list-overlay {
  
  position: fixed; /* Couvre toute la page */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 9999;
}

  .hidden {
    display: none;
  }
  
 
  
  .list-item {
    width: 90px; /* Augmente la largeur des items pour correspondre à une liste plus large */
    height: 90px; /* Augmente la hauteur des items */
    border-radius: 24px; /* Enlève les coins arrondis */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none; /* Enlève la bordure */
    background-color: rgb(255, 254, 245);
    box-shadow: 12px 12px 12px rgba(0, 0, 0, 0.3); /* Ombre plus grande et plus diffuse */

    margin: 12px;
    padding: 4px;
}

  .list-itemColor {
    width: 50px; /* Augmente la largeur des items pour correspondre à une liste plus large */
    height: 50px; /* Augmente la hauteur des items */
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 4px;
    padding: 4px;

  }
  
  .list-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  
