.flip-card {
  background-color: transparent;
  width: 300px;
  height: 200px;
  perspective: 1000px;
  position: relative;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease-in-out;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-size: 18px;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
  background-size: cover;
  background-position: center;
  backface-visibility: hidden;
}

.flip-card-front {
  transform: rotateY(0deg);
  z-index: 2; /* La face avant doit être au-dessus par défaut */
  color: white; /* Texte en blanc pour la face avant */
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000; /* Contour noir */
}

.flip-card-back {
  transform: rotateY(180deg);
  z-index: 3; /* La face arrière doit être au-dessus après le flip */
}

.flip-card-button {
  display: inline-block;
  margin-top: 20px;
  padding: 7.5px 15px;
  background-color: #e69d2e; /* Couleur du bouton */
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
  z-index: 4; /* Assure que le bouton est cliquable et au-dessus de tout */
}

.flip-card-button:hover {
  color: white; /* Assure que le texte reste blanc */
}