*, *::before, *::after {
    box-sizing: border-box;
    word-break: break-word;
}

/*donnees*/
/* Barre de recherche DataTables */
.dataTables_filter {
    margin-bottom: 20px; /* Espace entre la barre de recherche et le tableau */
    text-align: center; /* Centre la barre de recherche */
}

.dataTables_filter input {
    padding: 5px;
    border: 1px solid black;
    border-radius: 5px; /* Ajoute des coins arrondis */
    width: 300px; /* Largeur de la barre de recherche */
}

table {
    width: 70%; /* Limiter la largeur à 70% de son conteneur parent */
    max-width: 1080px; /* Limiter la largeur maximale du tableau */
    border: 1px solid black;
    border-collapse: collapse;
    background-color: #D09C63; /* Fond du tableau */
    margin: 0 auto; /* Centrer le tableau sur la page */
}

thead th {
    background-color: #333; /* Couleur pour l'en-tête */
    color: white; /* Texte en blanc pour contraster */
    padding: 10px;
    border: 1px solid black;
}

tbody td {
    padding: 10px;
    border: 1px solid black;
    text-align: center; /* Centrer le texte dans les cellules */
    background-color: #D09C63; /* Fond pour les cellules */
}

tbody tr:nth-child(even) {
    background-color: #E4B98C; /* Fond plus clair pour les lignes paires */
}

tbody tr:hover {
    background-color: #C58855; /* Fond au survol */
    cursor: pointer; /* Curseur au survol */
}

/*index*/
/* Styles généraux */

.gallery {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 20px;
    max-width: 1080px; /* Limite la largeur de la galerie */
    margin: 0 auto; /* Centre la galerie */
    white-space: nowrap;
    position: relative;
}

.track {
    display: flex;
    transition: transform 0.5s ease-in-out; /* Animation fluide pour le défilement */
}

.cover {
    width: 300px;
    text-align: center;
    flex: 0 0 auto; /* Empêche la réduction des éléments */

}

img {
    
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: 300px;
    max-height: 300px;
    border-radius: 8px; /* Ajoute des coins arrondis pour une meilleure esthétique */
}

audio {
    margin-top: 10px;
}

    
  
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #f5f5f5; /* Fond global pour la page */
}

/* Style pour le header */
header {
    background-color: #333;
    padding: 13px 0;
    text-align: center;
    display: flex;
    justify-content: space-between; 
    align-items: center; 
    padding:5px;
    
}
/* Logo */
header .logo img {
    height: 50px; 
}


header nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 8px;
    margin: 0;
}

header nav ul li a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-weight: bold;
    border-radius: 10px;
    padding: 5px 10px;
    margin: 0 15px;
    
}

nav ul li a.active {
    color: #D09C63; /* Couleur lorsqu'un lien est actif */
    font-weight: bold;
}
/* Styles du menu */
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

nav ul li {
    display: inline;
}

nav ul li a {
    text-decoration: none;
    color: black;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease;
}

/* Effet au survol */
.header-title {
    color: white; /* Couleur de base */
    transition: color 0.3s ease-in-out; /* Effet de transition fluide */
}

.header-title:hover {
    color: #D09C63; /* Couleur au survol */
}

nav ul li a:hover {

    color: #D09C63;
    text-decoration: none;
}
h1 {
    text-align: center;
    color: #ffffff;
    font-size: 36px;
    margin-bottom: 20px;
}
/* Style pour la bannière */
.banner {
    position: relative;
    width: 100%;
    height: 1068px; /* Hauteur de la bannière */
    background: url('../images/bruno_banniere.jpg') center center/cover;
}

/* Style pour le texte sur la bannière */
.banner-text {
    position: relative;
    top: 74%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 150px;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    text-align: center;
}


/* Style pour le contenu principal */
main {
    max-width: 1080px;
    background-color: #D09C63;
    padding: 40px;
    border-radius: 15px;
    margin: 20px auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 90%;
    text-align: center;
}

main h1 {
    color: #333;
}

/* Conteneur pour les box */
.box-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

/* Style pour chaque box */
.box {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: left;
    min-height: 150px; /* Assure un minimum de hauteur */
    display: flex;
    flex-direction: column;
}

/* Assure que l'image ne prend pas trop d'espace */
.box img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 10px;
}

/* Permet au texte d'être visible sans débordement */
.box-text {
    color: #333;
    word-wrap: break-word;
    white-space: normal;
    overflow: visible;
    flex-grow: 1; /* Permet au texte de remplir l'espace disponible */
}

.box-text h2 {
    margin-top: 0;
    font-size: 1.5em;
    color: #ba7832;
}

/* Effet hover sur les box */
.box {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.box:hover {
    transform: scale(1.05); /* Légèrement zoomé */
    box-shadow: 0 0 15px 5px rgba(255, 255, 255, 0.6); /* Box-shadow blanc */

}

/* Effet sur le texte */
.box:hover .box-text {
    color: #8a4b08;
}


/* Style pour le footer */
footer {
    position: relative;
    padding: 20px;
    background-color: #333;
    color: white;
    text-align: center;
}

#cred {
    color: white;
    text-decoration: none;
}

.footer-icon img {
    font-size: 24px;
    height: auto;
    position: absolute;
    right: 10px;
    bottom: 10px;
}


/*Style galerie*/
form {
    margin-bottom: 20px; /* Ajoute un espace sous la zone de téléchargement */
}

.galerie {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Espace entre les images */
    justify-content: center; /* Centrage des images */
    margin-top: 20px; /* Ajoute un espace au-dessus des images */
}

.galerie img {
    width: calc(33.33% - 10px); /* 33.33% de largeur en soustrayant l’espace */
    height: auto; /* Hauteur automatique pour garder les proportions */
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    filter: grayscale(100%); /* Noir et blanc par défaut */
    transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
}

.galerie img:hover {
    filter: grayscale(0%); /* Retour en couleurs au survol */
    transform: scale(1.05); /* Légère augmentation de taille */
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.3); /* Ombre plus marquée */
}

/*contact*/
/* Styles généraux */



body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
}

/* Conteneur du formulaire */
.form-container {
    max-width: 300px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border: 2px solid #CCCCCC; /* Bordure grise */
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Titre */
form h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

/* Disposition des champs Nom et Prénom */
.form-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.form-group {
    width: 100%;
    margin-bottom: 15px;
}

/* Champs de saisie */
input, textarea {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #CCCCCC;
    border-radius: 5px;
    box-sizing: border-box;
}

input:focus, textarea:focus {
    border-color: #D09C63;
    outline: none;
}
.form-group div {
    display: flex;
    align-items: center;
    gap: 8px; /* Espacement entre le bouton radio et le texte */
    margin-bottom: 5px; /* Espacement entre chaque option */
}

.form-group input[type="radio"] {
    width: 16px;
    height: 16px;
}


/* Bouton d'envoi */
button {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    color: #fff;
    background-color: #D09C63;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #D09C63;
}

/* Texte obligatoire */
span {
    color: red;
}

#cred {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s ease
}

#cred:hover {
    color: #D09C63;
    cursor: pointer;
}

/*partenaires*/

.presentation1 {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: white;
  }
.presentation {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: white;
  }
  
  
  .presentation h2 {
    margin: 0;
    font-size: 2em;
    position: relative;
  }
  
  
  .presentation h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: white;
    transform: translateX(-50%); /* Centre l'élément */
    animation: underlineAnimation 2s ease-in-out infinite; /* Animation continue */
  }
  
  
  /* Animation de soulignement sous le texte */
  @keyframes underlineAnimation {
    0% {
      width: 10%;
    }
    50% {
      width: 25%;
    }
    100% {
      width: 10%;
    }
  }
  
  
  
  
  
  
  
  
  .presentation p {
    margin: 10px 0;
    font-size: 1.2em;
  }
  
  
  /* Conteneur des partenaires */
  .container-partenaire {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    flex-wrap: nowrap;
  }
  
  
  
  
  /* Bloc partenaire */
  .partner {
    background-color: #D09C63;
    padding: 15px;
    border-radius: 10px;
    width: 200px; /* Réduction de la largeur */
    text-align: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    transition: all 0.3s ease; /* Transition fluide */
  }
  
  
  /* Effet de survol */
  .partner:hover {
    transform: scale(1.05); /* Légèrement zoomé */
    box-shadow: 0 0 15px 5px #D09C63
  }
  
  
  .partner img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    max-height: 300px;
  }
  
  
  .partner h3 {
    margin-top: 8px;
    font-size: 1.2em;
    color: black;
  
  
  }
  
  
  .partner p {
    font-size: 0.9em;
    color: #333;
    margin: 8px 0;
    font-weight: bold;
  }
  
  
  .partner a {
    display: block;
    background-color: #333;
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
    margin-top: auto; /* Assure que le lien reste en bas */
  }
  
  
  .partner a:hover {
    background-color: #333;
    color: white;
  }
  
  
  /* Livrables */
  .livrables {
    margin: 20px auto;
    display: flex;
    justify-content: center;
    gap: 10px;
  }
  
  
  .livrables a {
    display: block;
    background-color: #333;
    color: white;
    padding: 10px;
    text-decoration: none;
    border-radius: 5px;
    width: 150px;
    text-align: center;
    font-weight: bold;
    transition: all 0.3s ease; /* Transition fluide */
  }
  
  
  /* Effet de survol pour les livrables */
  .livrables a:hover {
    transform: scale(1.05); /* Légèrement zoomé */
    box-shadow: 0 0 2px 2px #D09C63
  }

/*credits*/
.image-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.image-item {
    text-align: center;
    width: 200px; /* Taille uniforme pour toutes les images */
}

.image-item img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        border-radius: 10px;
        border: 4px solid white; /* Ajout de la bordure blanche */
        transition: transform 0.3s ease-in-out, border-color 0.3s ease-in-out;
}
.image-item:hover img {
    transform: scale(1.05);
    border-color: white; /* Changement de couleur au survol */
}

.image-caption {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px;
    border-radius: 5px;
    font-size: 14px;
    margin-top: 10px;
    transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.image-item:hover .image-caption {
    background-color: rgba(255, 215, 0, 0.8);
    color: black;
    transform: scale(1.1);
}

.livrables a:hover {
    color: #D09C63; /* Changer la couleur au survol */
}
