/* Réduction des doublons de code pour la police 'Kanit', sans-serif */
*{
    font-family: 'Kanit', sans-serif;
    margin: 0;
    padding: 0;
}

/* Ajoutez les styles communs à tous vos fichiers ici */

body {
    min-height: 100vh;
    margin: 0 auto;
    width: 1080px;
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 1;
}

.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 1;
}

.content h1 {
    font-size: 2.5em;
}

.content p {
    font-size: 1.5em;
}

.center-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.carousel {
    /* Ajoutez les styles de votre carousel ici */
}

.animated {
    font-size: 40px;
    font-weight: 900;
    text-decoration: none;
    background: linear-gradient(to right, #ccc 50%, #552583 50%, #FDB927);
    background-size: 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; 
    transition: 0.5s ease-out;
}

.animated:hover {
    background-position: -100%;
}

/* Styles pour le header */
header {
    width: 1080px;
    z-index: 10;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header img {
    width: 130px;
    height: auto;
}

nav ul {
    list-style-type: none;
    display: flex;
}

nav li {
    margin: 0 15px;
}

nav a {
    text-decoration: none;
    color: #552583;
    padding: 10px;
    font-size: 18px;
    font-weight: bold;
    position: relative;
}

nav .current a {
    color: #FDB927;
    text-decoration: none;
}

nav a:hover {
    color: #FDB927;
}

nav a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: transparent;
    bottom: -5px;
    left: 0;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

nav a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
    background-color: #552583;
}

/* Ajout d'une classe pour styliser la barre sur la page active sans changer la couleur du texte */
nav .current a::after {
    background-color: #552583; /* Couleur différente pour la barre sur la page active */
    transform: scaleX(1);
}

/* Styles pour le footer */
footer {
    margin-top: 250px;
    bottom: 0;
    width: 100%;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
}

footer a {
    color: #ffffff; /* Couleur du lien (blanc pour un meilleur contraste) */
    text-decoration: none;
    font-weight: bold;
    margin: 0 10px;
    position: relative;
    z-index: 1; /* Assure que le texte reste au-dessus du fond vidéo */
    text-shadow: -1px -1px 1px #552583, 1px -1px 1px #552583, -1px 1px 1px #552583, 1px 1px 1px #552583;
}

footer a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: transparent;
    bottom: -5px;
    left: 0;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

footer a:hover {
    color: #ffffff;
}

footer a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
    background-color: #ffffff;
    transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

footer img {
    width: 100px;
    height: 200px;
    display: block;
    margin: 10px 0;
}

footer p {
    color: #ffffff; /* Couleur du texte (blanc pour un meilleur contraste) */
    font-size: 18px;
    margin: 5px 0;
    position: relative;
    z-index: 1; /* Assure que le texte reste au-dessus du fond vidéo */
    text-shadow: -1px -1px 1px #552583, 1px -1px 1px #552583, -1px 1px 1px #552583, 1px 1px 1px #552583;
}


/* Styles pour le tableau */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 50px;
    margin-top: 50px;
}

table, th, td {
    border: 1px solid #552583;
}

th, td {
    padding: 10px;
    text-align: left;
}

th {
    background-color: #FDB927;
}

tr:nth-child(even) {
    background-color: #FDB927;
}

tr:hover td {
    background-color: #552583; /* Couleur de fond au survol de la ligne */
    color: #ffffff; /* Couleur du texte au survol de la ligne */
}



/* Styles pour la vidéo en background */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 1;
}

.content {
    position: relative;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 1;
}

.content h1 {
    font-size: 2.5em;
}

.content p {
    font-size: 1.5em;
}

/* test */
.animated a{
    height: 300px;

}
.animated {
    font-size: 35px;
    font-weight: 900;
    text-decoration: none;
    background: linear-gradient(to right, #ccc 50%, #552583 50%, #FDB927);
    background-size: 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; 
    transition: 0.5s ease-out;
    text-align: left;
    padding-left: 20px;
}

.animated:hover {
    background-position: -100%;
}

.center-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.slider{
    min-height: 300px;
    width: 500px;
    overflow: hidden; 
    height: 800px;
}
.slides{
    width: calc(500px*10);
    animation: glisse 30s infinite;
}
.slide{
    float: left;
}

.groupe{
    display: flex;
    text-align: left;
    margin-top: 400px;
}
h3{
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: 'Kanit', sans-serif;
    color: #ffffff;
    width: 70%;
    margin: 0 auto;
}
h2 {
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left; /* Aligner le texte à gauche */
    font-family: 'Kanit', sans-serif;
    color: #552583;
    width: 70%;
    margin: 0 auto; /* Pour centrer horizontalement */
    width: 400px;
}


@keyframes glisse {
0% {
    transform: translateX(0);
}
5% {
    transform: translateX(0);
}
10% {
    transform: translateX(-500px);
}
15% {
    transform: translateX(-500px);
}
20% {
    transform: translateX(-1000px);
}
25% {
    transform: translateX(-1000px);
}
30% {
    transform: translateX(-1500px);
}
35% {
    transform: translateX(-1500px);
}
40% {
    transform: translateX(-2000px);
}
45% {
    transform: translateX(-2000px);
}
50% {
    transform: translateX(-2500px);
}
55% {
    transform: translateX(-2500px);
}
60% {
    transform: translateX(-3000px);
}
65% {
    transform: translateX(-3000px);
}
70% {
    transform: translateX(-3500px);
}
75% {
    transform: translateX(-3500px);
}
80% {
    transform: translateX(-4000px);
}
85% {
    transform: translateX(-4000px);
}
90% {
    transform: translateX(-4500px);
}
95% {
    transform: translateX(-4500px);
}
100% {
    transform: translateX(0px);
}
}

#en-tete {
    width: 500px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    margin-top: 50px;
    color: #FDB927;
  }

  #en-tete label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
  }

  #en-tete input, #en-tete textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 2px solid #552583;
    border-radius: 5px;
    box-sizing: border-box;
  }

  #en-tete input[type="submit"] {
    background-color: #552583;
    color: #ffffff;
    padding: 20px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
  }

  #en-tete input[type="submit"]:hover {
    background-color: #FDB927;
  }

  #en-tete input[type="submit"]:focus {
    outline: none;
  }

  #en-tete input[type="text"], #en-tete input[type="email"] {
    margin-bottom: 20px;
  }

  #en-tete input[type="text"]::placeholder, #en-tete input[type="email"]::placeholder {
    color: #6a6a6a;
  }

  #en-tete textarea::placeholder {
    color: #6a6a6a;
  }

  #en-tete label span {
    color: #6a6a6a;
    font-size: 12px;
    font-weight: normal;
  }

  .vertical-image {
    transform: rotate(90deg);
    transform-origin: left top;
    width: 177px;
    height: 57px;
}
.logo2{
    position: absolute;
    top: 0px; 
    left: 100px;
    }
    .logo1{
        position: absolute;
        top: 180px; 
        left: 100px;
        }
        .logo3{
            position: absolute;
            top: 360px; 
            left: 100px;
            }
            .logo4{
                position: absolute;
                top: 540px; 
                left: 100px;
                }
                .logo5{
                    position: absolute;
                    top: 720px; 
                    left: 100px;
                    }
                    .upload {
                        width: 300px;
                        margin: 20px auto;
                    }
                    
                    .upload input[type="file"] {
                        width: 100%;
                        padding: 10px;
                        margin-bottom: 10px;
                        border: 2px solid #552583;
                        border-radius: 5px;
                        box-sizing: border-box;
                    }
                    
                    .upload input[type="submit"] {
                        background-color: #552583;
                        color: #ffffff;
                        padding: 15px;
                        border: none;
                        border-radius: 5px;
                        cursor: pointer;
                        transition: background-color 0.3s;
                    }
                    
                    .upload input[type="submit"]:hover {
                        background-color: #FDB927;
                    }
                    
                    .upload input[type="submit"]:focus {
                        outline: none;
                    }


/* Style pour les images dans la galerie */
.main-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 20px;
}

.image-container-galerie {
    max-width: 301px; /* ou la largeur souhaitée pour vos images */
    max-height: 181px;
    margin: 10px;
    text-align: center;
    overflow: hidden; /* Masque le débordement pour éviter des problèmes de mise en page */
    transition: filter 0.3s ease-in-out; /* Ajoute une transition fluide pour l'effet de survol */
}

.image-container-galerie img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.image-container-galerie:hover img {
    filter: grayscale(100%); /* Applique l'effet de nuances de gris lors du survol */
}

/*style pour boutons radio*/
main {
    text-align: center;
}

form {
    max-width: 400px;
    margin: 0 auto;
}

label {
    display: block;
    margin-bottom: 8px;
}

/* Style pour les boutons radio */
.radio-group {
    display: flex;
    justify-content: space-around;
    margin-bottom: 16px;
}

.radio-option {
    display: flex;
    align-items: center;
}

.radio-option input[type="radio"] {
    margin-right: 4px;
}

.radio-option label {
    cursor: pointer;
}

/*style upload*/


.image_upload img {
    width: 300px;
    height: 180px;
    margin-bottom: 10px;
    filter: grayscale(100%); /* Initially set images to black and white */
    transition: filter 0.3s ease; /* Add a smooth transition effect */
}

.image_upload img:hover {
    filter: grayscale(0%); /* Change to color on hover */
}

.image_upload {
    text-align: center;
}

.references_img {
    margin: 10px;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around; /* Ajustez ceci en fonction de vos besoins */
}

.references_img figure {
    width: 30%; /* Chaque image prendra 30% de la largeur du conteneur */
    margin: 10px; /* Espace entre les images */
}

.references_img img {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: filter 0.3s ease;
}

.references_img figcaption {
    margin-top: 8px;
    font-style: italic;
    font-size: 14px;
    color: #666;
}

.references_img a {
    display: inline-block;
    padding: 10px 15px;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.references_img a:hover img {
    filter: grayscale(100%);
}
/* style partenaires*/
.line{
    width: 100%;
    height: 5px;
    max-width: 79%;
    clear: right;
    background-color: #FDB927;
    border-radius: 100rem;
    order: 0;
    top: 50%;
    bottom: auto;
    left: auto;
    right: 35px;

}

.principal h1{
    font-family: 'kanit', sans-serif;
    font-size: 80px;
    text-align: center;
    color: #FDB927;
}

.texte5{
    font-family: 'Kanit', sans-serif;
    color: #552583;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 700;
    line-height: 15px;
    border-radius: 5px;
    border: 2px solid #FDB927;
    padding: 10px;
    display: flex;
}

.jean_Michel {
    display: flex;
    align-items: center;
}

.image-container {
    flex: 0 0 auto; /* Ne pas faire grossir */
    margin-right: 20px; /* Ajoute une marge entre l'image et le contenu */
}

.image-container img {
    width: 300px;
    border-radius: 10%; /* Bordure arrondie pour l'image (50% pour un cercle) */
}

.content-container {
    flex: 1; /* Fait prendre autant d'espace que possible */
}

#Titre {
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 5px 0;
    text-align: left;
}

#texte4 {
    font-size: 16px;
    margin: 0 0 5px 0;
    text-align: left;
}

.block_container{
    width: 100%;
    max-width: 1510px;
    justify-content: flex-start;
    align-items: center;
    margin-top: 100px;
    margin-bottom: 100px;
    padding-left: 35px;
    padding-right: 35px;
    margin: 25px 0 25px 0;
    display: flex;
}
.block_container2{
    width: 100%;
    max-width: 1510px;
    justify-content: flex-start;
    align-items: center;
    margin-top: 100px;
    margin-bottom: 100px;
    padding-left: 35px;
    padding-right: 35px;
    margin: 25px 0 25px 0;
    display: flex;
    flex-direction: row-reverse;
}
.button {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid #007BFF;
    border-radius: 25px;
    text-decoration: none;
    color: #007BFF;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #007BFF;
    color: #fff;
}

.texte6{
    margin: 0 25px 0 0;
    font-family: 'Kanit', sans-serif;
    color: #552583;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 700;
    line-height: 15px;
    border-radius: 5px;
    border: 2px solid #FDB927;
    padding: 10px;
    display: flex;
    flex-direction: row-reverse;
    width: 400px;

}
.Titouan {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    margin: 10px 0 10px 0;
}

.image-container1 {
    flex: 0 0 auto; /* Ne pas faire grossir */
    margin-right: 20px; /* Ajoute une marge entre l'image et le contenu */
}

.image-container1 img {
    width: 300px;
    border-radius: 5%; /* Bordure arrondie pour l'image (50% pour un cercle) */
}

.content-container1 {
    flex: 1; /* Fait prendre autant d'espace que possible */
}

#Titre1 {
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 5px 0;
    text-align: right;
    padding: 0 30px 0 0;
}
#texte1{
    text-align: right;
    padding: 0 30px 0 0;
}

.content-container p {
    font-size: 16px;
    margin: 0 0 5px 0;
}

.button1 {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid #FDB927;
    border-radius: 25px;
    text-decoration: none;
    color: #552583;
    transition: background-color 0.3s ease;
    position: relative;
    top: 10px;
    right: -280px; /* Ajustez la position horizontale selon vos besoins */
}

.button1:hover {
    background-color: #552583;
    color: #fff;
    border: 2px solid #552583;
}

.texte7{
    font-family: 'Kanit', sans-serif;
    color: #552583;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 700;
    line-height: 15px;
    border-radius: 5px;
    border: 2px solid #FDB927;
    padding: 10px;
}
.Valentin {
    display: flex;
    align-items: center;
    margin: 10px 0 10px 0;
}

.image-container2 {
    flex: 0 0 auto; /* Ne pas faire grossir */
    margin-right: 20px; /* Ajoute une marge entre l'image et le contenu */
}

.image-container2 img {
    width: 300px;
    border-radius: 5%; /* Bordure arrondie pour l'image (50% pour un cercle) */
}

.content-container2 {
    flex: 1; /* Fait prendre autant d'espace que possible */
}

#Titre2 {
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 5px 0;

}


.content-container2 {
    text-align: left; /* Aligner le texte à droite */
}

.button {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid #FDB927;
    border-radius: 25px;
    text-decoration: none;
    color: #552583;
    transition: background-color 0.3s ease, color 0.3s ease;
    position: relative; /* Ajouter la position relative */
    top: 10px;
    right: -70px; /* Déplacer le bouton de moitié de la largeur du conteneur parent */
    transform: translateX(-50%); /* Centrer le bouton */
}

.button:hover {
    background-color: #FDB927;
    color: #fff;
}

.button-jm {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid #FDB927;
    border-radius: 25px;
    text-decoration: none;
    color: #552583;
    transition: background-color 0.3s ease, color 0.3s ease;
    position: relative; /* Ajouter la position relative */
    top: 10px;
    right: 235px; /* Déplacer le bouton de moitié de la largeur du conteneur parent */
    transform: translateX(-50%); /* Centrer le bouton */
}

.button-jm:hover {
    background-color: #FDB927;
    color: #fff;
}
.texte8{
    margin: 0 25px 0 0;
    font-family: 'Kanit', sans-serif;
    color: #552583;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 700;
    line-height: 15px;
    border-radius: 5px;
    border: 2px solid #FDB927;
    padding: 10px;
    width: 500px;
}
.Thomas {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    margin: 10px 0 10px 0;
}

.image-container3 {
    flex: 0 0 auto; /* Ne pas faire grossir */
    margin-right: 20px; /* Ajoute une marge entre l'image et le contenu */
}

.image-container3 img {
    width: 300px; /* Assure que l'image ne dépasse pas la largeur du conteneur */
    border-radius: 5%; /* Bordure arrondie pour l'image (50% pour un cercle) */
}

.content-container3 {
    flex: 1; /* Fait prendre autant d'espace que possible */
}

#Titre3 {
    font-size: 24px;
    font-weight: bold;
    text-align: right;
    padding: 0 30px 0 0;

}
#texte3{
    text-align: right;
    padding: 0 30px 0 0;
}

.content-container p {
    font-size: 16px;
}

.button2 {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid #FDB927;
    border-radius: 25px;
    text-decoration: none;
    color: #552583;
    transition: background-color 0.3s ease, color 0.3s ease; /* Ajoute une transition pour l'effet d'animation */
    position: relative;
    top: 10px;
    right: -280px;
}

.button2:hover {
    background-color: #552583;
    color: #fff;
    border: 2px solid #552583;
}

.liens{
    height: 240px;
    width: 100%;
    margin-top: 50px;
    display: flex;
    align-items: center;
}
.container-liens{
    width: 1080px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}
.liens-txt{
    width: 500px;
    color: #552583;
}
.liens-txt p{
    margin-top: 8px;
    text-align: justify;
    width: 400px;
    margin-left: 50px;
}
.sae106{
    display: flex;
    justify-content: center;
    align-items: center;
}
.sae106 a{
    text-decoration: none;
    color: #fff;
}
.liens-txt h2{
    font-size: 1.8rem;
}
.sae-button{
    background-color: #FDB927;
    padding: 12px 16px;
    margin-left: 35px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 2px solid white;
}
.sae-button:hover{
    border: 2px solid #552583;
    color: #552583;
}

.presentation{
    display: flex;
    text-align: center;
    font-family: 'Kanit', sans-serif;
    font-size: 17px;
    margin-top: 20px;
}