body {
  font-family: 'Manrope', sans-serif;
  font-size: 1em;
  background-color: #1f2039;
  color: #f9f8ff;
  line-height: 1.6;
}

main {
 
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
  padding: 0.005rem 1.25rem;
  margin-bottom: 20px;
  opacity: 1;
  margin-top: 50px; /* Même hauteur que le header */
}

a {
  color: #6594dc;
}
a:visited {
  color: #6594dc;
}
a:hover {
  text-decoration: underline;
}

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

h1, h2 {
  font-family: 'Montserrat', sans-serif;
  color: #a5b4fc;
}
h1 {
  font-size: 2.2em;
}
h2 {
  font-size: 1.5em;
}

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

header, footer {
  background-color: black;
  color: white;
  width: 100%;
}


header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: black;
  color: white;
  padding: 5px 5%; /* Réduit le padding vertical */
  height: 50px; /* Réduit la hauteur */
  opacity: 1;
  z-index: 1000; ; /* Assure que le menu reste au-dessus des autres éléments */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
header nav {
  display: flex;
  align-items: center;
  height: 100%;
}

header a {
  font-size: 2em; /* Réduit la taille de la police */
  color: white;
  text-decoration: none;
  padding: 0 8px; /* Réduit le padding horizontal */
  cursor: pointer;
  transition: all 0.3s ease;
}


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


footer a: hover, header a:hover {
  color: #6594dc; /* Couleur de survol */
  text-decoration: underline; /* Soulignement au survol */
  border-radius: 4px; /* Coins arrondis */
}

p img {
  height: 170px;
}
header img, footer img {
  height: 40px; /* Réduit la taille du logo */
  margin-right: 10px;
}

.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;
}

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

/* Présentation et carrousel */

.presentation {
  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;
}


.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: 10%;
}

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

.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é */
  font-weight: normal; /* Poids normal */
}

#lien-actuel h3 {
  margin: 0; /* Supprime les marges par défaut */
  padding: 0; /* Supprime les paddings par défaut */
  display: inline; /* Permet un alignement fluide */
}




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

.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}
}















