


body {
  font-family: 'Manrope', sans-serif;
  font-size: 1em;
  color: #f9f8ff;
  line-height: 1.6;
  background-image: url("images/textures/Saignon_pierres_brutes.jpg"); 

}

main {
 
  max-width: 1200px;
  width: 90%;
  margin: auto auto;
  padding: 0.001% 30px;
  margin-bottom: 20px;
  opacity: 1;
  margin-top: 40px; /* Même hauteur que le header */
  background-color: #66a161;
  border-radius: 30px;

}

a {
border : 1px solid grey;
  color: #002865;
}
a:visited {
  color: #002865;;
}
a:hover {
  text-decoration: underline;
}

em {
  color: #a5b4fc;
  font-style: normal;
}



h1, h2 {
  font-family: 'Montserrat', sans-serif;
  color: #feffff;
}
h1 {
margin : auto;
width : 1000px;
height :100px;
text-align : center;
vertical-align : middle;
font-size: 3.3em;
color : #feffff;

}
h2 {
  font-size: 1.5em;
}

p, li {
  text-align: justify;
  font-size: 1.1em;
  text-justify: auto;
}
strong {
  color: #f9f8ff;
}


header {
  position: absolute;
  top: 0;
  width: 100%;
  height  : 400px;
  color: white;
  opacity: 1;
 
  background-image: url("images/logo/entete.png");
  background-repeat : no-repeat;
  background-position: left top;
  left : 7%;
}
header nav {
width : 1000px;
margin : auto;
}

header img
{
width: 50px;
}


footer {
  position: relative;
  padding: 10px;
  text-align: center;
}




.cta {
  background: linear-gradient(#8e86b5, #acaeed);
  color: white;
  border-radius: 50px;
  padding: 0.5rem 1rem;
  text-decoration: none;
  display: inline-block;
}
.cta:hover {
  background: linear-gradient(#696484, #8788ba);
  text-decoration: none;
}
.lien-icone:hover {
  opacity: 0.5;
}

.lien-icone img {
  height: 100px;
}
.lien-icone-texte img {
  height: 35px;
}

.carre-contenu {
  border-right: 1px solid #8e86b5;
  border-bottom: 1px solid #8e86b5;
}

/* Présentation et carrousel */

.presentation {
  max-width: 800px;
  margin: 20px auto; /* Réduit la marge supérieure */
  padding: 10px; /* Réduit le padding */
  background-color: rgba(0, 0, 0, 0.15);
margin-top: 120px;
  border-radius: 10px;
  border: 1px solid #8e86b5;
}


.caroussel {
    width: 100%;
    margin-bottom: 0;
}

.date {
    width: 95%;
    padding: 0 20px;
    color: #f9f8ff;
    font-size: 1.1em;
    text-align: left;
    /*border-left: 3px solid #a5b4fc; /* Ligne de liaison visuelle */
    padding-left: 15px;
}

.date h2 {
    color: #a5b4fc;
    margin-top: 0;
    font-size: 1.8em;
}
/* Présentation et carrousel */


/*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!





/* Slideshow */
.slideshow-container {
  max-width: 100%;
  position: relative;
  margin: auto;
  text-align: center;
  overflow: hidden; /* Empêche les flèches de dépasser */
}

.slideshow-container img {
  max-height : 500px;
  max-width: 100%;
  height: auto;
  margin: 0 auto; /* Supprime la marge inférieure */
  display: block;
}


.mySlides {
  display: none;
  padding: 0px; /* Supprime le padding */
  margin: 0; /* Supprime la marge */
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  padding: 10px;
  color: white;
  font-weight: bold;
  font-size: 24px;
  transition: 0.3s ease;
  border-radius: 50%;
  user-select: none;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.prev {
top : 450px;
  left: 18%;
}

.next {
top : 450px;
  right: 18%;
}

.prev:hover, .next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.slide-caption {

  color: #f9f8ff;
  font-size: 14px;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 5px;
  margin-top: 10px;
  text-align: left;
  max-height: 100px;
  overflow-y: auto; /* Ajoute une barre de défilement si le texte est trop long */
}


#titre-actuel {
  margin : -0.2em;
  font-size: 2em;
  color: #a5b4fc;
  text-align: center;
  font-weight: bold;
}


#lien-actuel {
  text-align: right; /* Aligne le contenu à droite */
  font-size: 0.9em; /* Taille de police plus petite */
}

#lien-actuel a {
  color: #6594dc; /* Couleur du lien */
  text-decoration: underline; /* Souligné */

}





/*************************/

.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 3px 37px;
  position: absolute;
  top: 0;
}
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}
.active, .dot:hover {
  background-color: #717171;
}
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}
@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}


/********Txte dépliable**************/


.conte-depliable {
 /*margin: 20px 0;*/
  font-family: Georgia, serif; /* Police proche de celle du site */
  color: #5a4a3a; /* Brun doux, comme le texte du site */
  max-width: 800px;
}

.bouton-deplier {
  margin-left: 2%;
  color: #002865;
  /*background-color: #d4c3a1;*/
  /*color: #310500;
  /*border: 1.5px solid #a89a80;*/
  /*border-radius: 1px;
  padding: 12px 20px; /* Augmentation du padding pour une meilleure cible tactile */
  font-size: 1.2em;
  cursor: pointer;
  transition: all 0.3s ease;
  /*display: block;
  text-align: center; /* Alignement du texte à gauche pour plus de lisibilité */
  /*box-sizing: border-box; /* Pour que le padding ne fasse pas déborder */
  /*box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Ombre légère pour un effet 3D */
  text-decoration : underline;
}

.bouton-deplier:hover {
  
  background-color: #c1b399;
  border-color: #8f7f68;
  
  
}

.contenu-depliable {
  max-width: 800px;
  margin: 10px auto; /* Réduit la marge supérieure */
  padding: 10px; /* Réduit le padding */
  background-color: rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  border: 1px solid #8e86b5;
}

/* Adaptation spécifique pour mobile */
@media (max-width: 1350px) {
  .bouton-deplier {
    width: 100%; /* Prend toute la largeur disponible sur mobile */
    padding: 4px 5px; /* Padding vertical augmenté pour une meilleure cible tactile */
    font-size: 1.1em; /* Légèrement plus gros pour une meilleure lisibilité */
      margin-left: auto;
      margin-right: auto;
   }
main{
  padding: 0px 8px;
width: 98%;
}
header
{
  background-image: url("images/logo/entete_mini.png");
}



  
}







