.card_taille {
    width: 20%;
    margin: 15px;
}

.box {
  width: 100%;
  max-width: 900px;
}

.card {
    position: relative;
}


#commandes{
  width: 90%;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
}

.inBox{
  text-align: center;
  justify-content: space-between;
  height: 100%;
}

#div_add_commande {
    display: flex;
    position: fixed;
    width: 70px;
    height: 70px;
    bottom: 20px;
    border-radius: 100%;
    background-color: var(--main-color-principale);
    justify-content: center;
    align-items: center;
    z-index: 5;
    left: 30px;
    cursor: pointer;
}

#div_add_commande i {
    color: var(--main-color-body);
}

#container-form-commande {
    padding: 5px;
    text-align: center;
    width: 100%;

}


.image-container {
    display: inline-block;
    position: relative;
}



.delete-button {
  position: absolute;
  top: 0px;
  right: 0px;
  background: var(--main-color-secondaire);
  color: var(--main-color-body);
  border: none;
  border-radius: 1em;
  cursor: pointer;
  height: 20px;
  width: 20px;
  font-size: x-small;
  text-align: center;
}


/* Styles pour la pop-up */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8); /* Fond sombre */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background: var(--vanille);
    border-radius: 8px;
    max-width: 90%;
    max-height: 90%;
    padding: 20px;
    overflow-y: auto; /* Ajouter un défilement si le contenu est trop grand */
    position: relative;
    font-size: 18px;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.close-popup i {
    font-size: 24px;
}




@media screen and (max-width: 950px) {



}

@media screen and (min-width: 950px) {
  .box{
    width: 30%;
    height: auto;
    margin: 20px auto;
    border-radius: 1em;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
}
