.my-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px; /* Espacement entre les images */
  }
  
  .flip-box {
    height: 300px; /* Ajuste la hauteur selon tes préférences */
    perspective: 1000px;
    width: 300px;
  }
  
  .flip-box img {
    border: 1px solid red;
    height: 300px;
    width: 300px;
  }

  .flip-box-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
  }
  
  .flip-box:hover .flip-box-inner {
    transform: rotateY(180deg);
  }
  
  .flip-box-front, .flip-box-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
  }
  
  .flip-box-front {
    background-color: #fff;
    color: black;
  }
  
  .flip-box-back {
    background-color: #424648; /* Couleur de fond pour le dos */
    color: white;
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  #fliprow2 {
    padding-top: 15px;
  }