@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300&display=swap');

*{
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

body{
    color: #ededed;
    margin: 0;
    padding: 0;
    background-color: rgb(4, 4, 4);;
}



.background::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%; 
  background: linear-gradient(to bottom, rgba(4, 4, 4, 0), rgba(4, 4, 4, 2)); 
}




html {
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}
/* section {
    scroll-snap-align: start;
    scroll-snap-stop: always;
}*/ 


.accueil{
  width: 30%;
  margin-left: 200px;
  border-radius: 10px;
}


.header {
  position: relative;
  width: 70%;
  max-width: 1200px; 
  margin: 0 auto; 
  padding: 20px 0; 
  background-color: #0d0d0d64;
  -webkit-backdrop-filter: blur(10px); 
  backdrop-filter: blur(10px);
  border-radius: 50px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 100;
  margin-top: 40px;
}




.logo{
  font-size: 1.6rem;
  color: #ededed;
  text-decoration: none;
  font-weight: 600;
}


.navbar a {
  font-size: 1.1rem;
  color: #ededed;
  text-decoration: none;
  font-weight: 500;
  margin-left: 35px;
  transition: .3s;
}

.navbar a:hover,
.navbar a.active{
  color: #46b46e;
}



.home{
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
}


.home-content{
    max-width: 500px;
    position: relative;
    left: 150px;
    margin-bottom: 300px;
    
}




.home-content h1{
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0;

}


.home-content h2{
    margin-top: 0;
    font-size: 2rem;
    font-weight: 700;
    color: #46b46e;
}


.home-content p {
    font-size: 1rem;
    margin: 20px 0 40px;
    color: #ededed;;
}


.home-content .btn-box{
    display: flex;
    justify-content: space-between;
    width: 345px;
    height: 50px;
}


.btn-box a {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 100%;
    background: #46b46e;
    border: 2px solid #46b46e;
    border-radius: 8px;
    font-size: 1.1875rem;
    color: #081b29;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 1;
    overflow: hidden;
    transition: .5s;
}



.btn-box a:hover{
    color: #46b46e;
}



.btn-box a:nth-child(2) {
    background: transparent;
    color: #46b46e;
}   


.btn-box a:nth-child(2):hover {
    color: #081b29;
}



.btn-box a:nth-child(2)::before {
    background: #46b46e;
}

.btn-box a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: red;
    z-index: -1;
    transition: .5s;
    background: rgb(28, 62, 28);;
}


.btn-box a:hover::before{
    width: 100%;
}


.p1{
    height: 100vh;
    /*display: flex;*/
    align-items: center;
    padding: 0 10%;
    background-color: rgb(225, 225, 225);
}
 .p1 h1{
    position: relative;
    text-align: center;
    font-weight: 600;
    font-size: 3rem;
    top: 50px;
    color: #422708;
 }








.container {
    display: flex;
    align-items: center;
    background-color: transparent;
    margin-top: 150px;
    
    
}

.image-container {
    flex: 1;
    text-align: center;
    margin-left: 40px;
    margin-right: 40px;
    backdrop-filter: blur(5px);
    transition: transform 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
    transform: perspective(100rem) rotateY(18deg);
    border-radius: 40px;
}

.image-container:hover{
    transform: scale(1.1) rotateX(10deg);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 30px rgba(255, 255, 255, 0.6), 0 0 40px rgba(255, 255, 255, 0.4), 0 0 50px rgba(255, 255, 255, 0.2);
    border-radius: 40px;
}

.image-container img {
    max-height: 100%;
    max-width: 100%;
    border-radius: 8px; 
    border-radius: 25px;
}

.image-container p {
    margin-top: 10px;
    padding: 5px;
    font-size: 14px;
    color: #333; 
    
}


/* Activités populaires */


.activités{
  background-color: rgb(4, 4, 4);
  min-height: 100vh;
}


.center-text{
  text-align: center;
}

.center-text h2{
  font-size: 2.5rem;
  font-weight: 800;
  position: relative;
  margin-top: 0;
  top: 70px;
}


.activités-content{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  margin-top: 10rem;
  margin-bottom: 5rem; 

}



.box{
  position: relative;
}

.box img{
  width: 300px;
  object-fit: cover;
  border-radius: 10px;
  filter: brightness(70%);
  transition: all .3s cubic-bezier(.499,.05,.55,.95);
  will-change: filter;
  display: block;
  filter: brightness(50%);
}

.box p{
  position: absolute;
  left: 25px;
  bottom: 95px;
  font-size: 1.1rem;
  font-weight: 500;
}

.box h2{
  position: absolute;
  left: 25px;
  bottom: 65px;
  font-size: 1.3rem;
  font-weight: 700;
}

.box img:hover{
  filter: brightness(90%);
  transform: scale(1.04);
  cursor: pointer;
}

.center-btn{
  text-align: center;
  margin-top: 2rem; 
  margin-bottom: 3rem; 
}



.button {
  display: inline-block;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  color: #ffffff;
  background-color: #2C632C;
  border: 2px solid #2C632C;
  border-radius: 5px;
  transition: transform 0.3s ease; 
  cursor: pointer;
  position: relative;
  top: 0px;
}

.button:hover {
  transform: scale(1.1); 
}




/* À propos */

.Page2 {
  min-height: 100vh;
  background-image: linear-gradient(to top, rgba(4, 4, 4, 0.75), rgba(4, 4, 4, 0)),
  linear-gradient(to bottom, rgba(4, 4, 4, 1), rgba(4, 4, 4, 0)),
  linear-gradient(to bottom, rgba(4, 4, 4, 0.75), rgba(4, 4, 4, 0)),
  url(medias/FondAPropos.jpg);
  background-size: cover;
  background-position: center top, center bottom;
  background-repeat: no-repeat;
}





.heading{
  width: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  margin:  auto;
  position: relative;
  top: 100px;
}

.heading h1{
  font-size: 3rem;
  color: #ededed;
  margin-bottom: 25px;
  position: relative;
}

.heading h1::after{
  content: "";
  position: absolute;
  width: 100%;
  height: 4px;
  display: block;
  margin: 0 auto;
  background-color: #3e8e41
}


.about1-container{
  width: 90%;
  margin: 0 auto;
  padding: 10px 20px;
}

.about1{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  top: 200px;
  margin-right: 90px;
  margin-left: 90px;
  background-color: #1414148a;
  padding: 20px;
  border-radius: 10px;
}

.about1-image{
  flex: 1;
  margin-right: 30px;
  overflow: hidden;
  position: relative;
}



.about1-image img{
  width: 90%;
  height: auto;
  display: block;
  transition: 0.5s ease;
  position: relative;
  border-radius: 10px;
  left: 10px;
}


.about1-content{
  flex: 1;
}

.about1-content h2{
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #ededed;
}

.about1-content p{
  font-size: 1rem;
  line-height: 1.5;
  color: #ededed;
}

.about1-content .read-more{
  display: inline-block;
  padding: 9px 10px;
  background-color: #2C632C;
  color: #fff;
  font-size: 1.1rem;
  text-decoration: none;
  border-radius: 10px;
  margin-top: 15px;
  transition: 0.3s ease;
}

.about1-content .read-more:hover{
  background-color: #3e8e41;
}


/* SLIDER SLIDER SLIDER */


.js-slider {
  position: relative;
  width: 500px;
  height: 300px;
  overflow: hidden;
  border-radius: 10px;
}
.js-photos {
  position: relative;
  display: flex;
  left: -500px;
  transition: left 0.3s ease;
  width: max-content;
}
.js-photo {
  color: white;
  flex-shrink: 0;
  position: relative;
  width: 500px;
  height: 300px;
}


.js-photo img{
  width: 490px;
  height: 300px;
}

/* .green {

}
.green-dark {

}
.green-darker {

} */

.js-navigation {
  position: absolute;
  width: 95%;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);

}
.js-btn-decale-droite, .js-btn-decale-gauche {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: beige;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  cursor: pointer;
}
.js-btn-decale-gauche {
  left: initial;
  right: 0;
}

.dots {
  margin-top: 100px;
  display: flex;
  gap: 25px;
  width: 500px;
  justify-content: center;
}
.dot {
  width: 100px;
  height: 100px;
  background-color: black;
}



:focus-visible {
  outline: 3px solid #005fcc;
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
  outline: 3px dashed #ffba08;
  outline-offset: 4px;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  border: 2px solid #00b5ad;
  outline: none;
  box-shadow: 0 0 3px 2px rgba(0, 181, 173, 0.75);
}

.custom-focus:focus-visible {
  outline: 2px dashed #f39c12;
  outline-offset: 3px;
}





/* Responsive */

@media screen and (max-width: 1000px) {
  .about1-image {
    display: none;
  }
  
  .about1-content {
    flex: 1;
    margin-right: 40px; 
  }

  .home-content{
    left: 50px;
    
}


.logo{
  margin-right: 50px;
}

.box img{
  width: 200px;
}

}

@media screen and (max-width: 750px) {
  .cut {
    display: none;
  }
  .about1{
    margin-right: 10px;
    margin-left: 10px;
    top: 150px;
  }

  .searchTerm{
    display: none;
  }

  .mute-icon{
    display: none;
  }

  .home-content{
    left: 20px;
  }
}


@media screen and (max-width: 500px) {
  .home-content p {
    display: none;
  }
  .home-content{
    left: 0px;
    margin-bottom: 170px;
  }


  .logo{
    display: none;
  }

  .footer{
    overflow-x: hidden;
  }

  .home-content h1{
    font-size: 3.5rem;
}

.about1{
  top: 150px;
}

.home{
  padding: 15px;

}

.home-content h2{
    font-size: 1.5rem;

}

.header{
  display: none;
}


}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}


/* Animation scroll */

.reveal {
  opacity: 0;
  transform: translateY(-30px);
}

.reveal-visible{
  opacity: 1;
  transform: translateY(0);
  transition: 1s cubic-bezier(.5, 0, 0, 1);
}







/* SONG */
.mute-icon img {
  width: 30px;
  height: 30px;
  margin-top: 5px;
  margin-right: 15px;
  cursor: pointer;
}



/* Scroll to top */

/* Bouton retour accueil */


#scrollToTopBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: #46b46e;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 10px;
  font-size: 1rem;
  cursor: pointer;
  width: 30px;
}

#scrollToTopBtn:hover {
  background-color: #006600;
}





.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
}




/* Style de la barre de recherche */

.search-form {
  display: flex;
  align-items: center;

}

.searchTerm {
  max-width: 150px;
  border: 1px solid #ccc;
  padding: 15px;
  height: 20px;
  border-radius: 10px;
  outline: none;
  color: #333;
  margin-right: 10px;
  box-shadow: 0 0 5px 2px rgba(255, 255, 255, 0.2); 
}

/* POP UP */

/* Styles pour le pop-up */
.popup {
  display: none; 
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5); 
}

.popup-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 600px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  animation: fadeIn 0.3s;
  color: #1b1b1b;
}

.popup-content img{
  width: 30%;
  float: left;
  margin-right: 15px;
  margin-top: 20px;
  border-radius: 10px;
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

.close {
  color: #aaa;
  float: right;
  font-size: 1.8rem;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}


.skip {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip:focus {
  position: static;
  width: auto;
  height: auto;
}


/* FOOTER FOOTER FOOTER */
.footer {
  position: relative;
  background-color: #333;
  color: #fff;
  padding: 30px 0;
  font-size: 0.9rem;
}

.footer .footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.footer .footer-content .footer-section {
  width: 30%;
}

.footer .footer-content .footer-section h2 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: white;
}

.footer .footer-content .footer-section p {
  line-height: 1.6;
}

.footer .footer-content .footer-section ul {
  list-style: none;
  padding: 0;
}

.footer .footer-content .footer-section ul li {
  margin-bottom: 5px;
}

.footer .footer-content .footer-section ul li a {
  text-decoration: none;
  color: #fff;
  transition: color 0.3s;
}

.footer .footer-content .footer-section ul li a:hover {
  color: #ffd700;
}

.footer .footer-bottom {
  background-color: #222;
  padding: 10px 0;
  text-align: center;
  font-size: 0.8rem;
}




@keyframes move {
  100% {
      transform: translate3d(0, 0, 1px) rotate(360deg);
  }
}

.background {
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url(medias/fondtrop2.jpg);
  overflow-x: hidden;
  overflow-y: hidden;
  height: 100vh;
}

.background span {
  width: 1vmin;
  height: 1vmin;
  border-radius: 1vmin;
  backface-visibility: hidden;
  position: absolute;
  animation: move;
  animation-duration: 45;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}


.background span:nth-child(0) {
  color: #fffdd1;
  top: 69%;
  left: 58%;
  animation-duration: 30s;
  animation-delay: -44s;
  transform-origin: -8vw 18vh;
  box-shadow: -2vmin 0 0.7119334925562231vmin currentColor;
}
.background span:nth-child(1) {
  color: #ffffff;
  top: 60%;
  left: 13%;
  animation-duration: 12s;
  animation-delay: -1s;
  transform-origin: 12vw 17vh;
  box-shadow: 2vmin 0 0.4784414716719083vmin currentColor;
}
.background span:nth-child(2) {
  color: #fffdd1;
  top: 20%;
  left: 82%;
  animation-duration: 37s;
  animation-delay: -10s;
  transform-origin: 3vw 0vh;
  box-shadow: -2vmin 0 1.0559593726496257vmin currentColor;
}
.background span:nth-child(3) {
  color: #e6dfb3;
  top: 99%;
  left: 1%;
  animation-duration: 25s;
  animation-delay: -23s;
  transform-origin: 18vw -17vh;
  box-shadow: 2vmin 0 1.0925417140948488vmin currentColor;
}
.background span:nth-child(4) {
  color: #ffffff;
  top: 40%;
  left: 86%;
  animation-duration: 48s;
  animation-delay: -16s;
  transform-origin: -2vw 4vh;
  box-shadow: -2vmin 0 1.075792574104807vmin currentColor;
}
.background span:nth-child(5) {
  color: #fffdd1;
  top: 82%;
  left: 70%;
  animation-duration: 49s;
  animation-delay: -49s;
  transform-origin: 12vw -12vh;
  box-shadow: -2vmin 0 0.5313651334296292vmin currentColor;
}
.background span:nth-child(6) {
  color: #fffdd1;
  top: 80%;
  left: 10%;
  animation-duration: 39s;
  animation-delay: -7s;
  transform-origin: 3vw -11vh;
  box-shadow: 2vmin 0 1.2430706275021801vmin currentColor;
}
.background span:nth-child(7) {
  color: #e6dfb3;
  top: 68%;
  left: 54%;
  animation-duration: 25s;
  animation-delay: -5s;
  transform-origin: 12vw -11vh;
  box-shadow: 2vmin 0 0.3732639423902384vmin currentColor;
}
.background span:nth-child(8) {
  color: #fffdd1;
  top: 84%;
  left: 28%;
  animation-duration: 33s;
  animation-delay: -35s;
  transform-origin: -18vw -14vh;
  box-shadow: 2vmin 0 0.804037878343981vmin currentColor;
}
.background span:nth-child(9) {
  color: #e6dfb3;
  top: 97%;
  left: 51%;
  animation-duration: 27s;
  animation-delay: -47s;
  transform-origin: -21vw -13vh;
  box-shadow: -2vmin 0 0.9523475881744339vmin currentColor;
}
.background span:nth-child(10) {
  color: #fffdd1;
  top: 24%;
  left: 5%;
  animation-duration: 52s;
  animation-delay: -18s;
  transform-origin: -23vw -10vh;
  box-shadow: 2vmin 0 0.7592452472394151vmin currentColor;
}
.background span:nth-child(11) {
  color: #fffdd1;
  top: 2%;
  left: 55%;
  animation-duration: 43s;
  animation-delay: -7s;
  transform-origin: 25vw 16vh;
  box-shadow: -2vmin 0 0.9901531443089786vmin currentColor;
}
.background span:nth-child(12) {
  color: #ffffff;
  top: 5%;
  left: 91%;
  animation-duration: 7s;
  animation-delay: -3s;
  transform-origin: -9vw -13vh;
  box-shadow: -2vmin 0 0.4230276776814943vmin currentColor;
}
.background span:nth-child(13) {
  color: #ffffff;
  top: 48%;
  left: 55%;
  animation-duration: 16s;
  animation-delay: -24s;
  transform-origin: -18vw -24vh;
  box-shadow: 2vmin 0 1.2393350444065327vmin currentColor;
}
.background span:nth-child(14) {
  color: #e6dfb3;
  top: 97%;
  left: 70%;
  animation-duration: 47s;
  animation-delay: -12s;
  transform-origin: 5vw 9vh;
  box-shadow: 2vmin 0 1.155123337833821vmin currentColor;
}
.background span:nth-child(15) {
  color: #fffdd1;
  top: 75%;
  left: 65%;
  animation-duration: 39s;
  animation-delay: -5s;
  transform-origin: 2vw 6vh;
  box-shadow: -2vmin 0 0.7595796091997422vmin currentColor;
}
.background span:nth-child(16) {
  color: #ffffff;
  top: 88%;
  left: 95%;
  animation-duration: 46s;
  animation-delay: -17s;
  transform-origin: -21vw 21vh;
  box-shadow: -2vmin 0 0.3954860996863756vmin currentColor;
}
.background span:nth-child(17) {
  color: #e6dfb3;
  top: 100%;
  left: 71%;
  animation-duration: 25s;
  animation-delay: -13s;
  transform-origin: 19vw -3vh;
  box-shadow: -2vmin 0 0.44121310088641996vmin currentColor;
}
.background span:nth-child(18) {
  color: #fffdd1;
  top: 8%;
  left: 76%;
  animation-duration: 46s;
  animation-delay: -4s;
  transform-origin: -20vw -2vh;
  box-shadow: -2vmin 0 1.066478814513198vmin currentColor;
}
.background span:nth-child(19) {
  color: #fffdd1;
  top: 89%;
  left: 58%;
  animation-duration: 15s;
  animation-delay: -32s;
  transform-origin: -20vw 15vh;
  box-shadow: -2vmin 0 1.2120694113213661vmin currentColor;
}
.background span:nth-child(20) {
  color: #ffffff;
  top: 60%;
  left: 48%;
  animation-duration: 15s;
  animation-delay: -28s;
  transform-origin: -9vw 14vh;
  box-shadow: 2vmin 0 0.576711756824466vmin currentColor;
}
.background span:nth-child(21) {
  color: #ffffff;
  top: 72%;
  left: 55%;
  animation-duration: 49s;
  animation-delay: -46s;
  transform-origin: 20vw -9vh;
  box-shadow: 2vmin 0 1.1917922914310697vmin currentColor;
}
.background span:nth-child(22) {
  color: #fffdd1;
  top: 42%;
  left: 69%;
  animation-duration: 17s;
  animation-delay: -42s;
  transform-origin: 22vw -5vh;
  box-shadow: -2vmin 0 0.6882983309464814vmin currentColor;
}
.background span:nth-child(23) {
  color: #fffdd1;
  top: 59%;
  left: 94%;
  animation-duration: 21s;
  animation-delay: -20s;
  transform-origin: -9vw 20vh;
  box-shadow: -2vmin 0 0.6262615705613255vmin currentColor;
}
.background span:nth-child(24) {
  color: #fffdd1;
  top: 14%;
  left: 74%;
  animation-duration: 55s;
  animation-delay: -1s;
  transform-origin: 9vw 20vh;
  box-shadow: -2vmin 0 1.1208735220124vmin currentColor;
}
.background span:nth-child(25) {
  color: #ffffff;
  top: 4%;
  left: 80%;
  animation-duration: 39s;
  animation-delay: -2s;
  transform-origin: -16vw 8vh;
  box-shadow: 2vmin 0 0.589938504008553vmin currentColor;
}
.background span:nth-child(26) {
  color: #e6dfb3;
  top: 59%;
  left: 42%;
  animation-duration: 54s;
  animation-delay: -6s;
  transform-origin: -22vw -15vh;
  box-shadow: 2vmin 0 0.8578291709203092vmin currentColor;
}
.background span:nth-child(27) {
  color: #e6dfb3;
  top: 49%;
  left: 3%;
  animation-duration: 52s;
  animation-delay: -8s;
  transform-origin: -16vw -8vh;
  box-shadow: -2vmin 0 0.877636178197081vmin currentColor;
}
.background span:nth-child(28) {
  color: #ffffff;
  top: 75%;
  left: 36%;
  animation-duration: 30s;
  animation-delay: -22s;
  transform-origin: 1vw -23vh;
  box-shadow: 2vmin 0 0.2771423461561737vmin currentColor;
}
.background span:nth-child(29) {
  color: #fffdd1;
  top: 41%;
  left: 42%;
  animation-duration: 12s;
  animation-delay: -36s;
  transform-origin: 14vw 6vh;
  box-shadow: -2vmin 0 0.5255738615304082vmin currentColor;
}
