/* Styles généraux */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #99be98;
    min-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f5f9f6;
    position: relative; /* Assurez-vous que le conteneur a une position définie */
    z-index: 1; /* Place le conteneur en arrière-plan */
    
}






  /* SLIDER DES EVENEMENTS- */ 
  .EVENEMENT{
    position: relative;
    top: 750px;
     background-color:#cbeba5;
    
  }
    
  .sliderr {
    width: 100%;
    height: 500px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.slidee {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slidee img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slidee .text {
    position: absolute;
    bottom: 20px;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-align: center;
    width: auto;
    max-width: 80%;
    margin-left: 120px;
    font-family: 'Times New Roman', Times, serif;
}

/* Media queries pour la responsivité */
@media (max-width: 768px) {
    .sliderr {
        height: 300px;
    }
    
    .slidee .text {
        font-size: 1.2rem;
        padding: 8px 15px;
    }
}

@media (max-width: 480px) {
    .sliderr {
        height: 200px;
    }
    
    .slidee .text {
        font-size: 1rem;
        padding: 5px 10px;
    }
}

/* Pour les petits écrans */
@media (max-width: 1025px) {
  
  .slidee .text {
    position: absolute;
    bottom: 70px;
    left: 350px;
    width: 600px;
    height: 150px;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 2.2rem;
  }

}

/* Pour les écrans moyens */
@media (min-width: 601px) and (max-width: 1024px) {
 
  .slidee .text {
    position: absolute;
    bottom: 70px;
    left: 350px;
    width: 600px;
    height: 150px;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 2.2rem;
  }
}

/* Pour les grands écrans */
@media (min-width: 375px) {
  
  .slidee .text {
    position: absolute;
    bottom: 100px;
    left: 150px;
    width: 300px;
    height: 150px;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 20px;
    font-size: 1.2rem;
  }
 

}
@media (min-width: 360px) {
  
  .slidee .text {
    position: absolute;
    bottom: 70px;
    left: 20px;
    width: 300px;
    height: 100px;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    font-size: 1.2rem;
  }


}
@media (max-width:344px) {
  
  .slidee .text {
    position: absolute;
    bottom: 70px;
    left: 150px;
    width: 300px;
    height: 100px;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    font-size: 1.2rem;
  }
}

  .slidee.active {
    opacity: 1;
    z-index: 1;
  }
  /* Boutons de navigation */
  .nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    background: rgba(255, 255, 255, 0.7);
    color: #000;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 2;
  }
  .nav-button:hover {
    background: #fff;
  }
  .preve {
    left: 15px;
  }
  .nexte {
    right: 15px;
  }


.resto-contenu { 
  background-color: #dffad2;
  padding: 30px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 20px;
  text-decoration: none;

}
.missions {
 font-weight: bold;

}
.resto-contenu h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: bold;
  background-color: orange;
  border-radius: 20px;
}
.resto-contenu ul li {
  position: relative;
left: 50px;
}

.pavillo {
  font-weight: bold;
  color: #2c3e50;
  text-align: center;
}
.center-img {
 
  margin-top: 20px;
}
.info{

  font-family: 'Arial', sans-serif;
  font-size: 20px;
  color: #249f02;
  margin-top: 15px;
  text-align: center;
  font-weight: bold;
}
.carte-container {
  max-width: 500px;
  margin: auto;
  background: #f4f4f2;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.carte-container h2 {
  text-align: center;
  color: #2c3e50;
}

.carte-container ul {
  margin-top: 20px;
}

.carte-container li {
  margin: 10px 0;
}

.note {
  margin-top: 20px;
  font-size: 14px;
  color: #555;
}

.note strong {
  color: #000;
}

.icon {
  font-size: 50px;
  text-align: center;
  display: block;
  color: #2c3e50;
  transition: color 0.3s ease;

}

.icon i {
  font-size: 50px;
  color: #2c3e50;
  transition: color 0.3s ease;
}

.icon i:hover {
  color: #fb490e;
  cursor: pointer;
}

.logo-service {

  position: relative;
  width: 100px;
  height: auto;
}
.demad {
  background-color: #dffad2;
  padding: 30px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 20px;
  background-color: orange;
  border-radius: 30px;
  margin: 20px auto;
  font-weight: bold;
  
}
.demad a {
  text-decoration: none;
  color: #2c3e50;
  font-weight: bold;
}
.demad a:hover {
  color: #fb490e;
}














