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

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

.card {
    position: relative;
}


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

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

#div_add_listeCourses {
    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_listeCourses i {
    color: var(--main-color-body);
}

.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;
}

/* Style de base pour le pop-up */
        .popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 1000;
        }

        .popup-content {
            background: var(--main-color-body);
            padding: 20px;
            border-radius: 8px;
            width: 400px;
            text-align: center;
        }

        .popup-content input {
            width: 100%;
            padding: 8px;
            margin: 10px 0;
        }

        .popup-buttons {
            display: flex;
            justify-content: space-between;
        }

        .popup-buttons button {
            padding: 10px 20px;
            border: none;
            cursor: pointer;
            border-radius: 4px;
        }

        .popup-buttons .cancel-btn {
            background-color: var(--red);
            color: var(--vanille);
        }

        .popup-buttons .confirm-btn {
            background-color: var(--green);
            color: var(--vanille);
        }



@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;
}
}
