
.card-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
   /* width: 80%;*/
    perspective: 1000px; /* Nécessaire pour l'effet flip */
}

.flip-card {
    background-color: transparent;
    width: 150px;
    height: 200px;
    margin: 0 10px;
    perspective: 1000px;
}
/* This container is needed to position the front and back side */
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
  }
  

/* Position the front and back side */
.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
    border-radius: 10px;
  }
  
  /* Style the front side (fallback if image is missing) */
  .flip-card-front {
    background-color: #bbb;
    color: black;
    border-radius: 10px;
  }
  
  /* Style the back side */
  .flip-card-back {
    background-color: dodgerblue;
   /* color: white;*/
    transform: rotateY(180deg);
    position: relative; /* Nécessaire pour positionner le bouton */
  }  

  .card-container2 {
    position: relative;
  /*  width: 1000px; */ /* Ajustez selon la taille des cartes */
    display: flex;
    justify-content: center;
    align-items: center;
}
.flip-card11 {
   /* display: flex;*/
  background-color: transparent;
  width: 200px;
  height: 286px;
 /* border: 1px solid #f1f1f1;*/
  perspective: 1000px; /* Remove this if you don't want the 3D effect */
  rotate: -25deg;
 margin-left: -10px;
 margin-right:-10px;
 margin-bottom:-120px;
 border-radius: 10px;

}
.flip-card11:hover .flip-card-inner {
  transform: rotateY(180deg);
}
.flip-card12 {
   /* display: flex;*/
  background-color: transparent;
  width: 200px;
  height: 286px;
 /* border: 1px solid #f1f1f1;*/
  perspective: 1000px; /* Remove this if you don't want the 3D effect */
  rotate: -15deg;
  margin-left: -10px;
 margin-right:-10px;
 margin-bottom:-0px;

}
.flip-card12:hover .flip-card-inner {
  transform: rotateY(180deg);
}
.flip-card13 {
   /* display: flex;*/
  background-color: transparent;
  width: 200px;
  height: 286px;
 /* border: 1px solid #f1f1f1;*/
  perspective: 1000px; /* Remove this if you don't want the 3D effect */
  margin: 0 -10px;
  margin-left: -10px;
 margin-right:-10px;
 margin-bottom:50px;

}
.flip-card13:hover .flip-card-inner {
  transform: rotateY(180deg);
}
.flip-card14 {
   /* display: flex;*/
  background-color: transparent;
  width: 200px;
  height: 286px;
 /* border: 1px solid #f1f1f1;*/
  perspective: 1000px; /* Remove this if you don't want the 3D effect */
  margin-left: -10px;
 margin-right:-10px;
 margin-bottom:0px;
  rotate: 15deg;

}
.flip-card14:hover .flip-card-inner {
  transform: rotateY(180deg);
}
.flip-card15 {
   /* display: flex;*/
  background-color: transparent;
  width: 200px;
  height: 286px;
 /* border: 1px solid #f1f1f1;*/
  perspective: 1000px; /* Remove this if you don't want the 3D effect */
  margin-left: -10px;
 margin-right:-10px;
 margin-bottom:-120px;
  rotate: 25deg;

}
.flip-card15:hover .flip-card-inner {
  transform: rotateY(180deg);
}
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    width: 60px;
    height: 60px;
    opacity: 0.8;
    transition: opacity 0.3s, transform 0.2s;
}
.play-button:hover {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button .play-icon {
    display: block;
}

.play-button .stop-icon {
    display: none;
}

/* Bouton en mode Stop */
.play-button.stop .play-icon {
    display: none;
}

.play-button.stop .stop-icon {
    display: block;
}