body {
  width: 100%;
  height: fit-content;
  background-color: #89C1BB;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 25px;
  line-height: 1.5;

}

.accueil-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  
}
/*                      introduction page accueil                       */
.head-accueil {

  width: 100%;
  background-color: #EAEAEA;
  display: flex;
 justify-content: center;
}
.head-accueil-slogan {
  color: #395569;
font-size: 16px;
margin: 1rem 3rem ;
  max-width: 600px;
  text-align: center;
  
}



/*                       gestion partie évènements                     */

.evenement-container {
 text-align: center;
background-color: #89C1BB;
 width: 100%;
 height: fit-content;
 padding: 3rem 0;
}

.evenement-container-title {
  margin: 2rem;
  font-weight: 600;
  color: #395569;
}

.evenement-accueil {
color: #395569;
  background-color: #EAEAEA;
  padding-bottom: 10px;
  border-radius: 3px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  font-size: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
 width: 320px;
 transition: 0.2s linear;

}


.evenement-accueil:hover {
/* scale: 1.05; */
  transform: scale(1.05);
  /* transition: 0.2s linear; */
  }





.list-evenements-accueil{
  display: none;

}

.evenement-accueil-title{
  margin-top: 1rem;
font-size: 23px;
 font-weight: 600;
}
.evenement-accueil-image{

  border-radius: 3px 3px 0 0;
}

.evenement-accueil-date {
  
  width: fit-content;
  padding: 5px;
margin: 5px;
  bottom: 30px;
  left: 50%;
}

.evenement-accueil-excerpt {
  width: 80%;
  text-align: left;
  font-size: 16px;
}

.swiper {
  width: 100%;
  height: fit-content;

}

.swiper-wrapper{
   padding: 30px 0;
   height: fit-content;
}
 
.swiper-slide {
  width: 90vw;
 display: flex;
 flex-direction: column;
 align-items: center;

}


.swiper-button-prev, .swiper-button-next {
  color: white !important;
  
  text-shadow: 1px 1px 5px rgba(0,0,0,1);
}



.swiper-slide-active h1 {
  animation: fadeInUp 1s;
}

.swiper-pagination {
  display: block !important;

}

.swiper-pagination-bullet {
  background-color: white;
  width: 16px;
  height: 16px;
}

.nav-events {
  display: flex;
  justify-content: center;

}
.link-evenements {
  height: 40px;
  width: fit-content;
 background-color: #EAEAEA;
 color: #395569;
 padding: 5px;
 text-decoration: none;
 display: flex;
 align-items: center;
 font-size: 16px;
 font-weight: 600;
 border-radius: 5px;
 transition: 0.2s linear;
 margin-top: 1rem;

}

.link-evenements:hover {
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  transform: scale(1.05);
  
}

.accueil-evenement-button {
  margin-top: 10px;
  background-color: #89C1BB;
  border: none;
  border-radius: 5px;
  padding: 0.5rem;
  font-size: 14px;
}

.accueil-evenement-button:hover {
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  
  color: #395569;
}

.accueil-evenement-button>a {
text-decoration: none;
color: #395569;
font-weight: 600;

}

/*                                           gestion des stages                 */


.stages-container {
  text-align: center;
 background-color: #89C1BB;
  width: 100%;
  height: fit-content;
  padding: 3rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
 

 }

 .stage_accueil_link {
  text-decoration: none;
  margin: 0 1rem;
 }
 
 .stages-container-title {
   margin: 2rem;
   font-weight: 600;
   color: #395569;
 
 }

 .post_accueil_link {
  text-decoration: none;
  margin: 0 1rem;
 }
 
 .stages-accueil {
  width: fit-content;
 color: #395569;
   background-color: #EAEAEA;
   padding-bottom: 10px;
   border-radius: 3px;
   box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
   font-size: 18px;
   display: flex;
   flex-direction: column;
   align-items: center;
 margin-top: 20px;
 transition: 0.2s linear;
 }

 .stages-accueil:hover {

  transform: scale(1.05);
  
  }


.stage-accueil-title {
  font-weight: 600;
}
 
 .stage-accueil-image{
   
   border-radius: 3px 3px 0 0;
 }
 
 .stage-accueil-date {
  
   width: fit-content;
   
   padding: 5px;
 margin: 5px;
   bottom: 30px;
   left: 50%;
 }


/*                                  cours reguliers */


.cours-regulier-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
   gap: 2rem;
   flex-wrap: wrap;
}

.cours-regulier-card {
  background-color: #EAEAEA;
  width: 320px;
  height: fit-content;
  margin: 2rem 0;
  border-radius: 3px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  transition: 0.2s linear;
}

.cours-regulier-card:hover {

  transform: scale(1.05);
 
  }



.cours-regulier-image-container-taiji{
  background-image: url("../img/PhotoBernard\ 020\ \(1\).jpg");
  background-position: center;
  background-repeat: no-repeat;
  height: 235px;
  width: 100%;
  border-radius: 3px 3px 0 0;
}

.cours-regulier-image-container-qigong{
  background-image: url("../img/DSC_2279.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 235px;
  width: 100%;
  border-radius: 3px 3px 0 0;

}


.cours-regulier-image-container-tarifs{
  background-image: url("../img/Image-traditionnelle-de-Qi-Gong-web.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  
  height: 235px;
  width: 100%;
}

.cours-regulier-texte {
  text-align: center;
  font-size: 18px;
  color: #395569;
  font-weight: 600;
}

.cours-regulier-link {
  text-decoration: none;
}

/*                                            localisation                         */
.localisation {
 
  height: fit-content;
  width: 100%;
 background-image: url(../img/background-paris.jpg);
 box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}


.localisation-fader {
  height: 100%;

  background-color: rgba(250, 235, 215, 0.733);
  display: flex;
  align-items: center;
}

.localisation-left {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
align-items: center;

}

.localisation-title {
margin: 10px;
font-weight: 600;
color: #395569;
font-size: 20px;

}

.localisation-link {
  height: 40px;
  width: fit-content;
 background-color: #395569;
 color: antiquewhite;
 padding: 5px;
 display: flex;
 align-items: center;
 font-size: 18px;
 font-weight: 600;
 border-radius: 5px;
 margin-top: 1rem;
 transition: 0.2s linear;
 margin-bottom: 1rem;
}

.localisation-link:hover {
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  transform: scale(1.05);

}

.localisation-link>img {
  height: 80%;
  margin-right: 10px;

}

.localisation-a {
  text-decoration: none;
}




.localisation-right  {

  display: none;
padding: 2rem;
flex-wrap: wrap;
  gap: 10px;

}

.localisation-photo {

  width: 30%;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
border-radius: 3px;
cursor: pointer;
}


/* ... Votre code CSS existant ... */

/* Styles pour la modale */
.modal {
  display: none;

  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  overflow: auto;
}

#modal-img {

  display: block;
  margin: 0 50;
  max-width: 90%;
  max-height: 90%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%)
}



.close {
  color: #fff;
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
}

/* ... Autres styles ... */


#backToTopButton {
  display: none; /* Masquer le bouton par défaut */
  position: fixed;
  bottom: 20px;
  right: 00px;
  padding: 10px;
  background-color: #00000000;
  color: #fff;
  border: none;
  cursor: pointer;
  z-index: 999;
}

.arrow-picture {

  height: 40px;
}







@media (min-width: 821px) {

  .list-evenements-accueil{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 10px 0;
    flex-wrap: wrap;
    gap: 20px 10px;

  }

  .swiper {
    display: none;
  }

  .head-accueil-slogan {
  font-size: 25px;
  }

  .list-stages-accueil{

    width: 100%;
    display: flex;
    justify-content: center;
    
    padding: 10px 0;
    flex-wrap: wrap;
    gap: 20px 10px;
  }

  .cours-regulier-container {
    flex-direction: row;
  }

  .localisation-left  {

    width: 50%;

    
  
  }

  .localisation-right  {
    height: 100%;
    width: 50%;
    display: flex;
 
    align-items: center;
    justify-content: center;
  
  }

  .localisation-link {
    width: fit-content;
  }
}


