@import url(https://fr.allfont.net/allfont.css?fonts=book-antiqua);

h1, ul {
  margin : 0px;
}
body {
  border: 0px;
  margin: 0px;
  font-family: 'Book Antiqua';
  background-color: black;
}

a {
  color: white;
}
header {
  list-style-type: none;
  display: grid;
  grid-template-columns: 30% 70%;
  margin: 0px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999;
  background-color: black;
  color: #B2C1AA;
  font-size: 20px;
  height: 75px;
  margin: 0px;
}

header ul {
  list-style-type: none;
  display: grid;
  grid-template-columns: auto auto auto auto auto;
  text-align: center;
  color: #B2C1AA;
}

#menu {
  height: 75px;
}

header li {
  padding-top: 20px;
  padding-bottom: 20px;
}

header li:hover {
  animation-name: menu_switch_hover;
  animation-duration: 4s;
  animation-iteration-count: infinite;
}

header a {
  color: #B2C1AA;
  text-decoration: none;
}

@keyframes menu_switch_hover {
  0% {
    background-color: grey;
    color: black;
  }
  50% {
    background-color: black;
    color: grey;
  }
  100% {
    background-color: grey;
    color: black;
  }
}

/* Styles pour les écrans étroits (téléphones) */
@media (max-width: 767px) {
  header {
    text-align: center; /* Centre le contenu du header */
  }

  #menu-toggle {
    display: block;
    text-align: right;
    margin-right: 20px;
    color: white;
    background-color: transparent;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 10px; /* Ajustez la position verticale au besoin */
    right: 10px; /* Ajustez la position horizontale au besoin */
  }

  header ul {
    display: block;
    margin: 0;
    padding: 0;
    text-align: center; /* Centre les éléments du menu horizontalement */
  }

  header li {
    padding: 10px 0;
  }

  #menu {
    background-color: black;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    overflow: hidden; /* Cache le menu par défaut */
    height: 0; /* Initialise la hauteur à 0 */
    transition: height 0.5s ease; /* Ajoute une transition pour animer l'ouverture du menu */
  }

  /* Affiche le menu en poussant le reste du contenu vers le bas */
  #menu.active {
    height: 100%; /* Réglez la hauteur à 100% pour afficher le menu en entier */
  }
  #close-menu {
  position: absolute;
  top: 10px; /* Ajustez la position verticale au besoin */
  right: 10px; /* Ajustez la position horizontale au besoin */
  color: white;
  font-size: 24px;
  background-color: transparent;
  border: none;
  cursor: pointer;
}
}
@media (min-width: 768px) {
  #menu-toggle, #close-menu {
    display: none; /* Cache le bouton de menu sur les écrans larges */
  }
}
.carousel-container {
  width: 100%;
  height: 500px;
  overflow: hidden;
margin-top : 75px;
}

.carousel {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.carousel-inner {
  flex: 0 0 100%;
}

.carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
h1 {
  color: #B2C1AA; margin-left: 20px;
}

.box{
  border: 5px solid #B2C1AA; /* Bordure pour la box */
  border-radius: 20px;
  max-width: 800px; /* Définir la taille de la box ici */
  margin: 0 auto;
  margin-top: 20px;
  background-color: rgba(255, 255, 255, 0.3);
  color: white;
  z-index: 1
}

.box p, .box h2 {
  margin-left: 20px;
}



.image-box {
    display: flex;
    justify-content: space-between;
    padding: 20px; /* Espacement interne pour les images */
    padding-top: 0px;
}

.image-container {
    margin-right: 50px; /* Espacement entre les images */
}

.image-box img {
    width: 100%;
    height: auto;
}

/* Style de la fenêtre modale */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}

/* Style de l'image agrandie */
.modal-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80%;
}

/* Style du bouton de fermeture */
.close {
  position: absolute;
  top: 15px;
  right: 15px;
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
}


table {
    width: 100%;
}
.caption {
    text-align: center;
    margin-top: 5px; /* Espacement entre l'image et la légende */
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.clignote {
  animation: blink 1s infinite;
}


footer {
  margin-top: 30px;
  background-color:rgba(255, 255, 255, 0.5);
  text-align: center;
  padding: 20px;
}
