body {
    text-align: center;
    justify-content: center;
    align-items: center;
    height: auto;
    margin: 0;
    background-image: url('../img/bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Espace entre sections */
.section-spacer {
  height: 80px;
}

.section-spacer--lg {
  height: 110px;
}

.section-spacer--xl {
  height: 140px;
}

@media (max-width: 480px) {
  .section-spacer {
    height: 60px;
  }
  .section-spacer--lg {
    height: 85px;
  }
  .section-spacer--xl {
    height: 105px;
  }
}

.flip-card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 50px;
    row-gap: 90px;
    
}

.flip-card {
    background-color: transparent;
    width: 180px;
    height: 150px;
    perspective: 1000px; 
    margin-right: 10px;
    margin-left: 10px;
    padding-bottom: 150px;
}

.flip-card, .evenement, .quete {
  flex: 0 0 auto;
}


.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.evenement:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.quete:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}


.flip-card-front {
  color: black;
}

.flip-card-back {
  transform: rotateY(180deg);
}

.evenement{
  display: flex;
  background-color: transparent;
  width: 150px;
  height: 80px;
  margin: 5px;
  perspective: 1000px; 
  padding-bottom: 10px;
  padding-left: 5px;
  align-items: center;
  justify-content: center;
}

.quete {
  background-color: transparent;
  width: 180px;
  height: 80px;
  perspective: 500px; 
  align-items: center;
  flex-wrap: wrap;
}

.equipement-card {
  width: 180px;
  height: 260px;
  padding-bottom: 70px; 
}

.equipement-card .description {
  padding: 0;
  margin-top: 20px;
}

.jeton-cookie, .jeton-pancake, .jeton-de-vie, .ressource {
  display: flex;
  justify-content: center;
  padding: 0 15px 0 15px;
  flex-wrap: wrap;
}

.jeton-cookie div, .jeton-pancake div, .jeton-de-vie div, .ressource div{
  margin-right: 10px;
  margin-left: 10px;
  padding-bottom: 30px;
}

.ressource div p {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 12.5px;
}
 

  h3, h5 {
    color: #211001;
    font-family: 'Stencil';
  }

  .tour p, .tour h4{
    font-family: 'Stencil';
    padding: 9px;
  }
  
  .tour p {
    font-size: 10px;
  }

  .tour h4 {
    font-size: 11px;
  }

  .tour {
    border: 2px solid rgb(0, 0, 0);
    margin: auto;
    width: 260px;
    height: 300px;
    -webkit-backface-visibility: visible;
    backface-visibility: visible;
    background-color: white;
    text-align: center;
  }


 

  .tour:hover,.tour:hover p{
    width: 310px;
    height: auto;
    font-size: 13px;
    padding-right: 15px;
    text-align: center;
    align-items: center;
    margin: auto;
  }

  .tour:hover h4 {
    font-size: 16px;
    text-align: center;
  }

  .flip-card .description, .quete .description {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 12px;
    padding: 75px 0 0 0;
    /*opacity: 0;
    transition: opacity 0.5s;*/
  }

  .quete .description {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 12px;
    padding: 27px 0 0 0;
    /*opacity: 0;
    transition: opacity 0.5s;*/
  }

  /*
  .flip-card:hover .description {
    opacity: 1;
  }*/

  .flip-card .description p:first-child {
    font-weight: bold;
    font-size: 13px;
  }

  .jeton-cookie p, .jeton-pancake p {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 12px;
  }

