
/* Importation des polices */
@import url('https://fonts.googleapis.com/css2?family=Coda:wght@400;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Coda:wght@400;800&display=swap');

/* Réinitialisation de base */
body {
    margin: 0;
    padding: 0;
    color: white;
    background-color: black;
    font-family: Arial, sans-serif;
}
header:hover * {
  transform: scale(1.15); /* Agrandit tous les éléments à l'intérieur du header de 15% */
  transition: transform 0.3s ease; /* Transition fluide */
}

/* En-tête (header) */
header {
  display: flex;
  align-items: center; /* Aligne verticalement le contenu */
  justify-content: center; /* Centre horizontalement le contenu */
  position: sticky; /* Fixe le header en haut lors du scroll */
  top: 0;
  height: 40%; /* Ajustez selon vos besoins */
  padding: 5%;
  background: black; /* Ajoutez une couleur de fond pour le contraste si nécessaire */
  z-index: 10; /* S'assurer que le header reste au-dessus */
}

/* Conteneur pour logo et texte */
header a {
  display: flex;
  align-items: center;
  gap: 20px; /* Espacement entre le logo et le texte */
  text-decoration: none;
}

/* Logo dans le header */
#logo {
  width: 115px;
  height: 107px;
  object-fit: cover; /* Garde les proportions */
}

/* Titre principal dans le header */
header h1 {
  font-size: 1.6rem;
  font-family: "Coda", system-ui;
  font-weight: 700;
  color: white;
  text-align: left; /* Aligne le texte à gauche */
  margin: 0; /* Supprime les marges */
  padding-top: 0; /* Supprime le décalage vertical */
}

/* Arrière-plan flou pour le header */
.arriere-flou {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url(img/head.jpg) center/cover no-repeat;
  filter: blur(4px); /* Effet flou */
  z-index: -1; /* Place le flou derrière le contenu */
}

/* Titre principal dans le header */
h1 {
    color: white;
    font-size: 1.6rem;
    padding-top: 70px;
    font-family: "Coda", system-ui;
    font-weight: 700;
    text-align: center;
}

/* Logo dans le header */
#logo {
    width: 115px;
    height: 107px;
    background-size: cover;
}

/* Arrière-plan flou pour le header */
.arriere-flou {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(img/head.jpg) center/cover no-repeat;
    filter: blur(4px); /* Effet flou */
    z-index: -1; /* Place le flou derrière le contenu */
}

/* Section titre "Contactez-Nous" */
#triso {
    background-color: rgb(63, 62, 62); /* Couleur d'arrière-plan */
    padding: 35px;
    margin: 0;
    text-align: center;
    font-size: 2rem;
}

/* Conteneur principal */
main {
    margin: 2em auto;
    max-width: 600px;
    padding: 1em;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #333;
}

/* Styles pour le formulaire */
form label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: bold;
}

form input,
form textarea {
    width: 100%;
    padding: 0.8em;
    margin-bottom: 1em;
    border: 1px solid #ccc;
    border-radius: 4px;
}

form button {
    background-color: #5cb85c;
    color: white;
    padding: 0.8em 1.5em;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    text-align: center;
}

form button:hover {
    background-color: #4cae4c;
}

/* Zone pour les messages de formulaire */
#formMessage {
    margin-top: 1em;
    font-weight: bold;
    text-align: center;
}
#petittriso{
text-align: center;
}


/* Pied de page */
footer {
    background-color: rgb(63, 62, 62); /* Même couleur que #triso */
    text-align: center;
    padding: 20px;
    font-family: "Bebas Neue", sans-serif;
    color: white;
}

footer p {
    margin: 0;
    font-size: 1.2rem;
}



* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.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;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}
.collaborators {
  display: flex;
  flex-wrap: wrap; /* Permet le retour à la ligne si nécessaire */
  justify-content: center; /* Centre les bulles horizontalement */
  gap: 10px; /* Espacement entre les bulles */
}

.bubble {
  background-color: #2e2e2e; /* Gris foncé */
  width: 100px; /* Taille du carré */
  height: 100px; /* Taille du carré */
  border-radius: 15px; /* Bords arrondis */
  display: flex;
  justify-content: center;
  align-items: center;
  color: white; /* Couleur du texte pour contraste */
  font-size: 24px;
  font-weight: bold;
  margin: 10px; /* Espacement entre les bulles */
}

/* Media query pour écrans plus petits */
@media (max-width: 768px) {
  .bubble {
      width: 90px; /* Réduction de la taille des bulles si nécessaire */
      height: 90px;
  }
}

/* Media query pour écrans très petits */
@media (max-width: 480px) {
  .collaborators {
      flex-direction: column; /* Les bulles s'alignent sur une seule colonne */
      align-items: center; /* Centre les bulles dans la colonne */
  }
  .bubble {
      width: 80px; /* Réduction supplémentaire de la taille des bulles */
      height: 80px;
  }
}
/* Pied de page */
footer {
  background-color: rgb(63, 62, 62); /* Même couleur que #triso */
  text-align: center;
  padding: 20px;
  margin-bottom:0;
  font-family: "Bebas Neue", sans-serif;
  color: white;
}

footer p {
  margin: 0;
  font-size: 1.2rem;
}
.mySlides img {
  max-width: 100%; /* Limite la largeur à 80% du conteneur */
  max-height: 300px; /* Limite la hauteur à 300px */
  object-fit: contain; /* Ajuste l'image pour qu'elle tienne dans les dimensions définies */
  margin: 0 auto; /* Centre les images */
  display: block; /* Assure un positionnement propre */
}
@media (max-width: 768px) {
    .mySlides img {
        max-width: 100%; /* Utilise toute la largeur disponible sur petits écrans */
        max-height: 200px; /* Réduit la hauteur pour les petits écrans */
    }
}