*{
    margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: white;  
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}


.container {
    width: 1080px;
    margin: 0 auto;
}


body {
    background-color: #009B24;
}

header { 
    background-color: black;
    color: #009B24;
    height: 140px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    border-bottom: 5px solid #009B24;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    color: #009B24;
    padding: 8px 20px;
    margin: 0 15px;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    border: 1px solid #009B24;
    border-radius: 8px;
}

nav li a:hover {
    color: #BDB00A;
    background-color: #000000;
    border-radius: 8px;
    border: 1px solid #BDB00A;
    box-shadow: 0 0 5px #ffee00;
    filter: grayscale(100%);
}

li {
    list-style-type: none;
}

body {
    background-color: #000000;
}

.banniere img {
    height: auto;
    width: 100%;
    display: flex;
    margin-top: 5px;    
}

.titre {
    font-size: 45px;
    color: rgb(255, 255, 255);
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    display: flex;
    justify-content: center;
}


.bloc1 {
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
}

footer {
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    justify-content: center;
    display: flex;
    padding: 5px;
    border-top: 5px solid #009B24;
}

table {
    color: #ffffff;
}

form {
  width: 400px;
  margin: 40px auto;
  padding: 20px;
  border: 1px solid var(--couleur-bordure);
  border-radius: 8px;
  font-family: Arial, sans-serif;
  background-color: #000000a2;
  color: #009B24;
  border: 4px solid #009B24;
}

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

input,
textarea {
  width: 100%;
  padding: 8px;
  margin-bottom: 15px;
  border: 1px solid #009B24;
  background-color: #000000a2;
  color: #009B24;
  border-radius: 4px;
  font-size: 14px;
}

input[type="submit"] {
  background-color: var(--couleur-principale);
  color: rgb(255, 255, 255);
  border: none;
  padding: 10px;
  width: 100%;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
}


input[type="submit"]:hover {
  background-color: #009B24;
}

.formulaire {
    position: relative;
}

.formulaire img {
    height: auto;
    width: 100%;
    display: block;
}

.formulaire form {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.imgalbum {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1px;
    padding: 30px 0px;
    background-color: #000;
}

.album {
    text-align: center;
}

.album a {
    text-decoration: none;
    color: white;
    display: block;
}

.album img {
    width: 100%;
    max-width: 260px;
    height: auto;
    border-radius: 8px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.album h3 {
    margin-top: 15px;
    font-size: 18px;
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: 2px;
    color: #ffffff;
}

.album:hover img {
    transform: scale(1.08);
}

.album:hover h3 {
    color: white;
}

h1 {
    text-align: center;
    color: #009B24;
    font-family: 'Trebuchet MS', Arial, sans-serif;
    letter-spacing: 4px;
    margin: 40px 0;
    text-shadow: 0 0 15px rgba(0, 155, 36, 0.7);
}

.dataTables_wrapper {
    width: 90%;
    margin: 0 auto 80px auto;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
}

#tableaulaylow {
    width: 100%;
    border-collapse: collapse;
    background-color: #000;
    border: 2px solid #009B24;
    box-shadow: 0 0 30px rgba(0, 155, 36, 0.4);
}

#tableaulaylow thead th {
    background: linear-gradient(180deg, #003b12, #000);
    color: #009B24;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    padding: 15px;
    border-bottom: 2px solid #009B24;
}

#tableaulaylow tbody td {
    padding: 12px;
    border-bottom: 1px solid rgba(0, 155, 36, 0.3);
    text-align: center;
}

#tableaulaylow tbody tr {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#tableaulaylow tbody tr:hover {
    background-color: rgba(0, 155, 36, 0.1);
    box-shadow: inset 0 0 20px rgba(0, 155, 36, 0.4);
}

.dataTables_paginate .paginate_button {
    color: #009B24 !important;
    border: 1px solid #009B24;
    background: transparent;
    margin: 5px;
    border-radius: 6px;
    transition: 0.3s;
}

.dataTables_paginate .paginate_button:hover {
    background: #009B24 !important;
    color: black !important;
}

.dataTables_paginate .paginate_button.current {
    background: #009B24 !important;
    color: black !important;
}

.dataTables_filter input {
    background-color: #000;
    border: 1px solid #009B24;
    color: #ffffff;
    padding: 6px 10px;
    border-radius: 6px;
}

.dataTables_length select {
    background-color: #000;
    color: #009B24;
    border: 1px solid #009B24;
    padding: 5px;
    border-radius: 6px;
}

.dataTables_info {
    color: #009B24;
}

.dt-buttons .dt-button {
    background: transparent;
    color: #009B24;
    border: 1px solid #009B24;
    border-radius: 8px;
    padding: 6px 12px;
    margin-right: 8px;
    transition: 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 155, 36, 0.4);
}

.dt-buttons .dt-button:hover {
    background: #009B24;
    color: black;
    box-shadow: 0 0 20px rgba(0, 155, 36, 0.8);
}


.galerie {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.galerie img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.4s ease;
    cursor: pointer;
    filter: grayscale(0%);
}

.galerie img:hover {
    transform: scale(1.05);
    filter: grayscale(100%);
}

.galerie img:active {
    transform: scale(1.2);
}

.partners-container {
   display: flex;
   flex-direction: column;
   gap: 3rem;
   margin: 2rem 0;
}


.partner-block {
   position: relative;
   width: 100%;
   max-width: 1080px;
   margin: 2rem auto;
   border: 3px solid #009B24;
   border-radius: 20px;
   overflow: hidden;
   box-shadow: 0 0 20px #009B24;
   height: 400px;
}




.partner-banner {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background-size: cover;
   background-position: center;
   z-index: 0;
}


.partner-photo {
   width: 120px;
   height: 120px;
   object-fit: cover;
   border-radius: 50%;
   border: 3px solid #009B24;
   position: relative; /* au-dessus de la bannière */
   top: 20px; /* décalage vertical */
   left: 50%;
   transform: translateX(-50%);
   z-index: 2;
}


.partner-info {
   background-color: rgba(255,255,255,0.8);
   padding: 80px ;
   text-align: center;
   position: relative;
   z-index: 1;
   margin-top: -60px;
   border-radius: 0 0 20px 20px;
}


.partner-info h2 {
   font-family: 'DynaPuff', sans-serif;
   margin: 0 0 0.3rem 0;
   font-size: 2rem;
   color: #222;
}


.partner-info h3 {
   font-size: 1rem;
   margin: 0 0 0.5rem 0;
   font-weight: 400;
   color: #555;
}


.partner-info p {
   font-size: 0.9rem;
   margin-bottom: 1rem;
   color: #333;
}


.partner-link {
   display: inline-block;
   padding: 0.5rem 1rem;
   background-color: #009B24;
   color: #ffffff;
   text-decoration: none;
   border-radius: 10px;
   font-weight: bold;
   transition: all 0.3s;
}


.partner-link:hover {
   background-color: #00721b;
   box-shadow: 0 0 10px #00ff3c;
}
