*,
*::after,
*::before {
   box-sizing: border-box;
}

html {
   scroll-behavior: smooth;
}

header {
   width: 100%;
   display: flex;
   align-items: center;
   justify-content: space-between;
   padding: 10px 20px;
   background-color: transparent;
   gap: 50px;
}

header img {
   width: 70px;
   height: auto;
   object-fit: contain;
   transition: transform 0.3s ease-in-out;
   margin-top: 20px;
}

header img:hover {
   transform: scale(1.1);

}

nav {
   margin-left: 20px;

}

nav ul {
   list-style-type: none;
   display: flex;
   margin: 0;
   padding: 0;
   margin-right: 50px;
}

nav li {
   margin: 0 15px;
}

nav a {
   text-decoration: none;
   font-family: 'Inter', sans-serif;
   color: #ffffff;
   padding: 10px;
   font-size: 18px;
   font-weight: lighter;
   position: relative;

}

nav a:hover {
   color: #d098df;
}

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;
}


.h1 {
   font-family: 'Inter', sans-serif;
   text-align: center;

}

.bloch1 {
   margin-top: 10px;
}

body {
   background-color: #000;
   /*  color: #fff;*/
   font-family: 'Inter', sans-serif;
   margin: 0;
   padding: 0;
   display: flex;
   justify-content: center;
   align-items: center;
   min-height: 100vh;
   box-sizing: border-box;

}

.donnees {
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   width: 100%;
   max-width: 1200px;
   padding: 20px;
   box-sizing: border-box;
}

h1 {
   text-align: center;
   margin-bottom: 20px;
   font-family: 'Inter', sans-serif;
   color: #fff;
   font-weight: lighter;
   display: flex;

}

table {
   width: 100%;
   border-collapse: collapse;
   background-color: #121212;
   color: #e6e6e6;
   font-size: 16px;
   border: 1px solid #333;
   font-family: 'Inter', sans-serif;
}

label {
   color: white;
}


#TablPNL thead th {

   padding: 10px;
   text-align: center;
   vertical-align: middle;
   background-color: #d2a6de;
   color: #fff;
   font-size: small;
   font-family: 'Inter', sans-serif;
   margin-right: 30px;
}



table tbody td {
   padding: 10px;
   text-align: center;
   border-bottom: 1px solid #333;
}

table tbody tr {
   transition: background-color 0.3s ease;
}

table tbody tr:hover {
   background-color: #d2a6de;
   color: white;
}

.dataTables_wrapper {
   color: #d2a6de;

}

.dataTables_wrapper .dataTables_length select {
   border: 1px solid #aaa;
   border-radius: 3px;
   padding: 5px;
   background-color: black;
   color: inherit;
   padding: 4px;
}



.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;
}

.center-image {
   display: flex;
   justify-content: center;
   align-items: center;
   margin-top: 100px;
}

.center-image img {
   width: 400px;
   height: auto;
   transition: transform 0.3s ease-in-out;

}

.center-image img:hover {
   transform: scale(1.1);
}


.bloc1 {
   margin-top: 5vh;
   padding: 20px;
   width: 100%;
   box-sizing: border-box;
}

h2 {
   text-decoration: none;
   font-family: 'Inter', sans-serif;
   color: #ffffff;
   font-size: 15px;
   font-weight: lighter;
   position: relative;
   text-align: center;
}

.img01 {
   margin-top: 20vh
}

.img02 {
   text-align: center;
}

.img02 img {
   display: inline-block;
   max-width: 100%;
   height: auto;
   margin: auto;
}



.footer {

   color: #fff;
   padding: 20px 0;
   text-align: center;
   font-family: Arial, sans-serif;
   position: relative;
   bottom: 0;
   width: 100%;
}

.footer-content {
   max-width: 1200px;
   margin: 0 auto;
}

.footer a {
   color: #fff;
   text-decoration: none;
   margin: 0 10px;
}

.footer a:hover {
   text-decoration: underline;
}

.footer p {
   margin: 10px 0;
   font-size: 14px;
   /* Taille de police plus petite */
}

/* Style général pour le body et html */
html,
body {
   margin: 0;
   padding: 0;
   min-height: 100%;
   /* Assure que le body prend toute la hauteur de la fenêtre */
}

/* Conteneur principal */
body {
   display: flex;
   flex-direction: column;
   /* Organise les éléments en colonne */
}

/* Contenu principal (exclut le footer) */
main {
   flex: 1;
   /* Prend tout l'espace disponible */
}

/* Footer */
footer {

   color: #fff;
   /* Texte blanc */
   text-align: center;
   /* Centre le texte */
   padding: 10px 0;
   /* Espacement vertical */
}

.form-group {
   margin-bottom: 15px;
}

.form-group.inline {
   display: flex;
   gap: 10px;
}

.form-group label {
   display: block;
   margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
   width: 100%;
   padding: 8px;
   box-sizing: border-box;
}

.form-group textarea {
   resize: vertical;
   height: 100px;
}

.form-group button {
   padding: 10px 20px;
   background-color: #d2a6de;
   color: white;
   border: none;
   cursor: pointer;
}

.form-group button:hover {
   background-color: #d2a6de;
}

label span {
   color: #d2a6de;
}

form {
   margin-top: 100px;
   /* Ajuste selon l'espace souhaité */
}

/* Conteneur pour les images */

.upload-container {
   display: flex;
   align-items: center;     /* Centre horizontalement */
   justify-content: center; /* Centre verticalement */
   gap: 10px;               /* Ajoute un écart entre les éléments */
   margin-top: 20px;        /* Un peu d'espace en haut du formulaire */
}
/* Galerie en Flexbox */
.gallery {
   display: flex;
   flex-wrap: wrap;  /* Permet aux éléments de se répartir sur plusieurs lignes */
   justify-content: space-between;  /* Espacement entre les éléments */
   gap: 10px;  /* Petit écart entre les images */
   margin-top: 20px;
}

/* Chaque image dans la galerie */
.gallery img {
   width: 32%; /* 3 images par ligne (100% / 3 = 33.33%, mais on laisse un peu de marge) */
   height: auto; /* Conserve les proportions */
   border-radius: 8px; /* Coins arrondis */
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Ombre portée */
   transition: transform 0.3s ease; /* Animation au survol */
}

/* Effet au survol de l'image */
.gallery img:hover {
   transform: scale(1.05); /* Légère augmentation de la taille au survol */
   cursor: pointer; /* Changer le curseur au survol */
}
