@font-face {
    font-family: designer;
    src: url(Designer.otf);
}
*{
    margin: 0;
    scroll-behavior: smooth;
}
body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #000000;
    font-family: "Roboto", serif;
}
.fondindex{
    background-image: url("fond site.jpg");
    background-size: 100% auto;   
    background-repeat: repeat; 
    width: 100%;
    margin-top: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
#tableau {
    background-image: url("fond site.jpg");
    background-size: 100% ;   
    background-repeat: repeat; 
    color: rgb(255, 255, 255);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

#filmtable {
    margin-top: 35px;
    height: 600px;
    width: 1080px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}


header {
    font-family: designer,'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 80%;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: black;
    display: flex;
    justify-content: flex-end; /* Aligne les éléments sur la droite */
    align-items: center; /* Centre verticalement les éléments */
    padding-right: 100px; /* Ajoute un espace entre la nav et le bord droit */
    margin-top: 0px;
}

header a#logoheader-link {
    position: absolute;
    left: 20px; /* Décale l'image de 30px vers la gauche */
    height: 100px;
}

header a#logoheader-link img {
    margin-top: 10px;
    height: 80px; /* Ajuste la hauteur de l'image au header */
    display: block;
    transition: transform 0.3s ease-in-out; /* Ajoute une transition fluide */
}

header a#logoheader-link:hover img {
    transform: scale(1.025); /* Agrandit légèrement l'image au survol */
}

nav {
    display: flex;
    justify-content: center; /* Centre les boutons à l'intérieur de la nav */
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    margin: 0 10px; /* Ajoute un espace entre les boutons */
}

nav ul li a {
    background-color: white; /* Fond blanc pour les boutons */
    color: black; /* Texte en noir */
    text-decoration: none;
    padding: 10px 20px; /* Ajoute un padding pour agrandir les boutons */
    border-radius: 5px; /* Arrondi les coins des boutons */
    transition: all 0.3s ease; /* Ajoute une transition pour les effets de survol */
}

nav ul li a:hover {
    background-color: rgb(200, 200, 200); /* Change le fond au survol */
    color: black;
    text-decoration: none;
}
nav ul li:first-child a {
    background-color: green;
    color: white;
}

nav ul li a:visited {
    color: black; /* Texte en noir même après la visite */
}
footer {
    background-color: black; /* Fond noir */
    color: white; /* Texte blanc */
    text-align: center; /* Centre le texte */
    padding-bottom:60px; /* Ajoute de l'espace autour du texte */
    font-size: 14px; /* Taille du texte */
    padding-top: 40px;
    margin-top: -20px;
    width: 100%;
}

table {
    width: 1080px;
    margin: 20px auto; /* Centrer le tableau */
    border-collapse: collapse; /* Supprime les espaces entre les bordures */
    background-color: rgba(255, 255, 255, 0.8); /* Fond blanc avec transparence */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2); /* Ombre pour faire ressortir le tableau */
    border-radius: 10px; /* Coins arrondis */
    overflow: hidden; /* Assure que le contenu respecte les coins arrondis */
}

thead {
    background-color: rgba(240, 240, 240, 0.9); /* Fond clair pour l'en-tête */
    font-weight: bold;
}

thead th {
    color: black; /* Texte noir pour le contraste */
    padding: 15px;
    text-align: left; /* Aligne le texte de l'en-tête */
    border-bottom: 2px solid rgba(200, 200, 200, 0.5); /* Ligne sous l'en-tête */
}

tbody tr {
    border-bottom: 1px solid rgba(200, 200, 200, 0.5); /* Ligne de séparation des lignes */
}

tbody tr:nth-child(odd) {
    background-color: rgba(255, 255, 255, 0.9); /* Couleur légèrement différente pour les lignes impaires */
}

tbody tr:nth-child(even) {
    background-color: rgba(240, 240, 240, 0.8); /* Couleur légèrement différente pour les lignes paires */
}

tbody td {
    padding: 15px;
    color: black; /* Texte noir pour le contraste avec le fond clair */
    text-align: left; /* Aligne le texte des cellules */
}

tbody tr:hover {
    background-color: rgba(255, 255, 255, 1); /* Fond plus clair au survol */
    transition: background-color 0.3s ease; /* Animation de transition pour l'effet de survol */
}
.video-background {
    margin-top: -100px;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Place la vidéo derrière le contenu */
    overflow: hidden; /* Empêche les débordements */
    height: 800px;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* La vidéo couvre tout l'espace sans déformation */
}
a#Donnees {
    margin-top: -500px;
    display: inline-block;
    padding: 25px 35px;
    font-size: 30px;
    text-align: center;
    text-decoration: none;
    color: rgb(0, 0, 0);
    background-color: #ffffff;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-family: designer,'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

a#Donnees:hover {
    background-color: #000000;
    transform: scale(1.1);
    color: #ffffff;
    text-align: center;
}
.content {
    margin-top: 25px;
    margin-bottom: 25px;
    width: 1080px;
    display: flex;
    position: relative;
    z-index: 1; /* Le contenu doit être au-dessus de la vidéo */
    padding: 20px;
    color: rgb(0, 0, 0);
    text-align: center;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    font-size: large;
    flex-direction: column;
}
h1{
    font-size: 45px;
}
#fondcontact {
    background-image: url("fond site.jpg");
    background-size: 100% auto;   
    background-repeat: repeat; 
    margin-top: -13px;
    color: rgb(0, 0, 0);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 700px;
}
#formgal{
    color: #000000;
}
form {
    max-width: 700px;
    margin: auto;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 40px;
    border-radius: 8px;
    margin-top: 100px;
    margin-bottom: 50px;
}

form label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

form input, form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #000000;
}

form button {
    padding: 10px 20px;
    width: 622px;
    background-color: #000000;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}
form button:hover {
    background-color: #ffffff;
    color: black;
}
#messerreur{
    color: red;
    padding-top: 10px;
}
form p {
    font-weight: bold;
    margin-bottom: 5px;
}
h2{
    margin-bottom: 10px;
}
.mosaique{
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    width: 1080px;
}
.mosaique img {
    width: calc(33.33% - 10px);
    position: relative;
    text-align: center;
    margin-bottom: 10px;
    z-index: 1;
    display: block;
    filter: grayscale(100%);
    transition: filter 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out;
}

.mosaique img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}
.carousel-container {
    display: inline-flex;
    flex-direction: column;
    text-align: center;
    width: 450px;
    height: 670px;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
}
h2{
    margin-top: 5px;
}
.carousel {
    display: flex;
    width: 1000%;
    animation: slide 30s infinite linear;
}

.carousel img {
    width: 450px;
    height: 620px;
    object-fit: cover;
    flex-shrink: 0;
}

@keyframes slide {
    0% { transform: translateX(0); }
    5% { transform: translateX(0); }
    10% { transform: translateX(-450px); }
    15% { transform: translateX(-450px); }
    20% { transform: translateX(-900px); }
    25% { transform: translateX(-900px); }
    30% { transform: translateX(-1350px); }
    35% { transform: translateX(-1350px); }
    40% { transform: translateX(-1800px); }
    45% { transform: translateX(-1800px); }
    50% { transform: translateX(-2250px); }
    55% { transform: translateX(-2250px); }
    60% { transform: translateX(-2700px); }
    65% { transform: translateX(-2700px); }
    70% { transform: translateX(-3150px); }
    75% { transform: translateX(-3150px); }
    80% { transform: translateX(-3600px); }
    85% { transform: translateX(-3600px); }
    90% { transform: translateX(-4050px); }
    95% { transform: translateX(-4050px); }
    100% { transform: translateX(0); }
}
.credit {
    margin-top: 50px;
    border-radius: 8px;
    margin-bottom: 20px;
    width: 100%;
    color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centre le contenu de la div */
    align-items: center; /* Centre le contenu de la div horizontalement */
    text-align: center;
    max-width: 800px;
    background-color: rgba(0, 0, 0, 0.8);
}

/* Style du titre principal */
.credit h1 {
    font-size: 2.5em;
    color: #fff;
    margin-bottom: 20px;
}

/* Style des sous-titres (h2) */
.credit h2 {
    font-size: 1.8em;
    color: #fff;
    margin: 20px 0;
    text-transform: uppercase;
}

/* Style des paragraphes */
.credit p {
    font-size: 1.1em;
    line-height: 1.7;
    color: #fff;
    margin-bottom: 15px;
}

/* Mise en forme des sections */
.credit section {
    margin-bottom: 30px;
}
#jsp-la {
    text-decoration: underline;
    margin-bottom: 30px;
    margin-top: 10px;
  }
  
  
  #partenaire {
    display: grid;
    row-gap: 15px;
    column-gap: 4vh;
    justify-content: center;
    grid-template-columns: repeat(2, 1fr);
    width: 1080px;
  }
  
  
  .sae106 {
    display: flex;
    color: #000;
    font-size: 15px;
    border-radius: 20px ;
    text-decoration: none;
    background-color: #ffffff;
    transition-duration: 0.5s;
  }
  
  
  .sae106:hover{
    transform: scale(1.1);
    transition-duration: 0.5s;
  }
  
  
  .groupe {
    display: flex;
  }
  
  
  .groupe p {
    width: 90%;
    margin: auto;
    border-radius: 10px;
    background-color: white;
  }
  
  
  .photo-grp {
    margin: auto;
    max-width: 50%;
    max-height: 50%;
    border-radius: 50%;
    padding: 5px;
  }
  
  
  #plan {
    display: flex;
    margin: 10px auto;
    width: 15%;
    padding: 5px;
    color: white;
    text-decoration: none;
    justify-content: center;
    border-radius: 10px;
    transition-duration: 0.5s;
    font-weight: bold;
    margin-bottom: 30px;
  }
  
  
  #plan:hover {
    padding: 5px;
    color: #000;
    background-color: white;
    transition-duration: 0.5s;
  }
  