body{
  background-image: url('../media/bg.png') ;
  background-repeat: repeat;
  background-attachment: fixed !important;
  background-size: 100%;
  text-align: justify;
  
}



.background-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../image/home_bkg.png");
  background-size: cover;
  background-position: center;
  
  filter: brightness(0.55);
  z-index: 1;
}
.apropos {
  text-align: justify;
  
}
.title-h2{
color: #000;
font-style: bold;

}
#icon{
  color: #000;
}

.background-image .content {
  padding: 5% 2%; /* Use percentages for responsive padding */
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1900px; /* Limit max width for better readability */
  margin-top: 130px
}
.upcoming-event {
  font-size: 0.5rem;
  margin-top: 50px;
}

h1 {
  font-size: 8vw;
  /* Taille ajustée en fonction de la largeur de la fenêtre */
  color: #c89a58;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: bold;
}
.mt-500 {
  margin-top: 500px;
}

/* Pour les écrans de petite taille (téléphones) */
@media (max-width: 400px) {
  .container {
    margin: 20px;
  }
  
  .upcoming-event {
    font-size: 0.5rem;
    margin-top: 50px;
  }
  
  .container div {
    font-size: 0.5rem;
  }
}
element.style {
  font-size: 1.7rem;
  margin-top: 350px;
}


.container1 {
  display: block; /* Permet au lien de se comporter comme un bloc */
  text-decoration: none; /* Supprime le soulignement des liens */
  color: inherit; /* Hérite de la couleur du texte */
  border: 2px solid transparent; /* Bordure transparente pour le survol */
  border-radius: 10px; /* Coins arrondis */
  transition: border-color 0.3s, box-shadow 0.3s; /* Transition pour effet de survol */
}

.container1:hover {
  border-color: #c89a58; /* Change la couleur de la bordure au survol */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); 
}

.image img {
  width: 100%; 
  border-radius: 10px 10px 0 0; 
}

.content {
  padding: 15px; 
}


.custom-paragraph {
  color: white;
  font-size: 2vw;
  width: 70%;
  margin: 20px auto;
  line-height: 1.6;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: bold;
  align-items: center;
}


@media (min-width: 992px) {
  h1 {
    font-size: 6vw;
  }

  .custom-paragraph {
    font-size: 1.5vw;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  h1 {
    font-size: 5vw;
  }

  .custom-paragraph {
    font-size: 1.8vw;
  }
}

@media (max-width: 767px) {
  h1 {
    font-size: 10vw;
  }

  .custom-paragraph {
    width: 90%;
    font-size: 4vw;
  }
}

.btn-logo,
.btn-contact,
.btn-custom {
  background-color: transparent;
  color: #c89a58;
  border: 1.5px solid #c89a58;
  border-radius: 20px;
  padding: 0px 50px;
  font-size: 18px;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
  display: inline-flex;
  align-items: center;
  margin: 10px;
}

.btn-logo:hover,
.btn-contact:hover,
.btn-custom:hover {
  background-color: #c89a58;
  color: rgb(0, 0, 0);
}

.navbar {
  position: absolute;
  top: 0;
  width: 100%;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 3;
}

.navbar-logo {
  display: inline-block;
}

.logo-image {
  width: 150px;
  height: auto;
}

.btn-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.styled-paragraph {
  color: #000;
  font-size: 1em;
  line-height: 1.8;
  margin: 20px auto;
  padding: 15px;
  width: 80%;
  background-color: transparent;
  border-radius: 10px;
  font-weight: bold;
}

.event-text-container {
  text-align: center;
  margin-top: 7cm;
  /* Espace de 7 cm sous le premier bouton */
}

.event-text {
  display: block;
  font-size: 16px;
  /* Taille du texte */
  color: #c89a58;
  /* Couleur du texte */
  margin-top: 10px;
  /* Espace au-dessus du texte */
}

.upcoming-container {
  margin-top: 150px;
  /* Espace entre les boutons et "Événement à venir" */
  margin-bottom: 60px;
}

.upcoming-event {
  font-size: 3em;
  /* Ajuster la taille du texte */
  color: #000;
  margin-bottom: 20px;
  text-align: left;
  font-weight: bold;
}

/* Conteneur pour l'image et le contenu */
.container1 {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #c89a58;
  /* Bordure de 1.5 px autour du conteneur */
  border-radius: 10px;
  /* Bordure arrondie */
  padding: 20px;
  margin: 20px auto;
  max-width: 1200px;
  /* Limite la largeur du conteneur */
}

.image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.image img {
  max-width: 100%;
  /* Assure que l'image ne dépasse pas le conteneur */
  height: auto;
  /* Garde les proportions de l'image */
  border-radius: 5px;
  /* Bordure arrondie pour l'image */
}

.content {
  flex: 2;
  margin-left: 3px;
  /* Espace entre l'image et le texte */
}

h1 {
  font-size: 2em;
  /* Taille du titre dans le conteneur */
  color: #c89a58;
  /* Couleur du texte */
  margin: 0 0 10px;
  /* Marges autour du titre */
}

p {
  font-size: 16px;
  /* Taille du texte */
  color: #333;
  /* Couleur du texte */
  line-height: 1.6;
  /* Hauteur de ligne pour une meilleure lisibilité */
}

.event-info {
  display: flex;
  /* Aligne les éléments en ligne */
  gap: 20px;
  /* Espace entre les deux paragraphes */
  justify-content: center;
  /* Centre le contenu horizontalement */
  align-items: center;
  /* Aligne les icônes et le texte verticalement */
  margin-top: 20px;
  /* Ajoute un espace au-dessus si nécessaire */
}

.event-info p {
  margin: 0;
  /* Supprime la marge par défaut autour des paragraphes */
  font-size: 14px;
  /* Taille du texte */
  color: #c89a58;
  /* Couleur du texte */
}

.icon i {
  margin-right: 5px;
  /* Espace entre l'icône et le texte */
  color: #c89a58;
  /* Couleur de l'icône */
  font-size: 18px;
  /* Taille des icônes */
}

.title-h2 {
  font-size: 2.5em;
  color: #c89a58;
  margin-bottom: 20px;
  text-align: center;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
}

.h3 p {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 40px;
  font-size: 50px;
  font-weight: bold;
}

.carousel {
  padding: 40px;
  background-color: #000000;
  height: 200px;
}

.carousel-cell {
  height: 100%;
  margin-left: 60px;
  margin-right: 60px;
}

.carousel-cell img {
  height: 100%;
}


button{
  padding: 5px 20px 5px 20px;
  border-radius: 50px;
  border: 1px solid rgba(200, 154, 88, 1);
  margin-left: 15px;
}

#anav{
  text-decoration: none;
  color: rgba(200, 154, 88, 1)
}

.act{
  background-color:rgba(200, 154, 88, 1) ;
  color : white;
  
}
.aclink{
  color : white;
}
h1,h2{
  color:rgba(200, 154, 88, 1) ;
}
#th{
  color: white ;
  background-color: rgba(200, 154, 88, 1) ;
  text-align: center;
  padding: 5px 0 5px 0;
  margin-top: 10px;
}
#td{
  border: solid 1px rgba(200, 154, 88, 1);
  margin-top: 15px;
  padding: 5px;
  
}
.pourquoi{
  font-size: 24px;
}

.link{
  color : black ;
  text-decoration: none;
}
.link2{
  color:rgba(200, 154, 88, 1) ;
  font-size: 20px;
  text-decoration: none;

}
.link:hover{
  color:rgba(200, 154, 88, 1) ;
  font-size: 20px;
}
.Contact{
  width: 90%;
  background-color:rgba(200, 154, 88, 1)  ;
  color: white;

}
textarea{
  width:100%;
  border: solid 1px rgba(200, 154, 88, 1)  ;
}
form{
  position: relative;
  background-image: url('../media/pop-des.png');
  background-repeat: no-repeat;
  background-position: right center; 
  background-size: contain; 
 
  
}
footer{
  background-color: rgba(239, 240, 242, 1);
  
}
@media (max-width:1080px){
  .pourquoi{
    font-size:medium;
  }
}

@media (max-width: 600px) {
  .prev,
  .next {
    padding: 10px;
  }
}

@media (min-width: 992px) {
  h1 {
    font-size: 8.5em;
  }

  .logo-image {
    width: 200px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  h1 {
    font-size: 6em;
  }

  .logo-image {
    width: 150px;
  }
}

@media (max-width: 767px) {
  h1 {
    font-size: 3em;
    text-align: center;
  }

  .custom-paragraph {
    width: 90%;
  }

  .btn-logo,
  .btn-contact,
  .btn-custom {
    font-size: 16px;
    padding: 8px 15px;
  }

  .logo-image {
    width: 100px;
  }

  .container1 {
    flex-direction: column;
  }

  .image {
    margin-bottom: 20px;
  }
}
@media (max-width:1000px) {
  .background-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background-image: url("../image/home_bkg.png");
    filter: brightness(0.55);
    height: 70vh;
    z-index: 1;
  }
  .upcoming-event{
    margin-top: 40px;
  }
}