body {
    font-family: Arial, sans-serif;
    background-color: rgb(152, 152, 152);
    margin: 0; 
}

header {
    background-color: rgba(255, 255, 255, 0.815);
    color: rgb(145, 24, 24);
    text-align: center;
    width: 100%;
    height: 118px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
    display: table-row;
     
}
nav {
    display: table;
    width: 40%;
    margin: auto;
    height: 50px;

}

nav li {
    display: table-cell; 
    margin: 0 10px; 
}

nav a {
    text-decoration: none;
    color: rgb(255, 255, 255);
}



.footer {
    bottom: 2;
    width: 100%;
    text-align: left;
    padding: 0px;
    background-color: #747070;
    color: white;
    z-index: -6;
    
    

}

.references {
    background-color: #000000; 
    color: #fff; 
    padding: 10px 20px; 
    text-decoration: none;
    border-radius: 5px; 
    font-weight: bold; 
    margin-right: 200px;

}


.images{
    width: 23%; 
    height: 10%; 
    display: 10%; 
    margin: 23px ; 
    margin-top: 4px; 
    margin-bottom: 10px; 
}

.mainTitle {
    text-align: center;
    font-family: 'Impact', sans-serif;
    color: rgb(140, 24, 24);
    text-transform: uppercase;
    margin-top: 25px;
    font-size: 44px;
}

.subTitle {
    text-align: center;
    font-family: 'Impact', sans-serif;
    color: rgb(140, 24, 24);
    margin-top: 35px;
    font-size: 44px;
}
P1 {
    margin-top: 70px;
    margin-bottom: 40px; 
    padding-right: 10%;
    color: #000000;
    
}
P2 {
    margin-top: 60px;
    margin-bottom: 30px; 
    padding-right: 10%;
    color: #000000;
}

P3 {
    margin-top: 60px;
    margin-bottom: 30px; 
    padding-right: 10%;
    color: #000000;

    
}

p4 {
    font-size: 42px;
    color: rgb(145, 24, 24);
}

p5 {
    font-size: 32px;
    color: #000;
    margin-top: 100px;
}

a {
    display: inline-block;
    margin: 30px;
    padding: 20px 30px;
  text-decoration: none;
    color: #ffffff;
    background-color: #78040b;
    border-radius: 6px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a:hover {
    background-color: #4f4c4c;
    color: #ffffff;
    font-weight: bold;
}



table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    color: #000000;
}

th, td {
    border: 1px solid #000000;
    text-align: left;
    padding: 8px;
    background-color: #70707060;
}

th {
    background-color: #5a5556;
    color: rgb(0, 0, 0);
}

tr:hover {
    background-color: #f5f5f5;
}

h1 {
    text-align: center;
    color: rgb(140, 24, 24);
    margin-top: 10px;
    font-family: 'Impact', sans-serif;
    position: absolute;
    top: 130px;
    right: 575px;
    transform: translate(-50%, -50%);


}
h2 {
    text-align: center;
    font-family: 'Impact', sans-serif;
    color: rgb(140, 24, 24);  
    font-weight: bold; 
    font-size: 44px;


}

h3 {
    text-align: center;
    font-family: 'Impact', sans-serif;
    color: rgb(140, 24, 24);
    margin-top: 35px;
    font-size: 44px;

}


#logo-floyd {
    width: 12%;
    position: absolute;
    top: 0.4%;
    left: 1%;

}

#logo-gants {
    width: 10%;
    position: absolute;
    bottom: 70%;
    right: 0.6%;

}



#images-paqui {
    width: 75%; 
    height: auto;
    border-radius: 5%;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.img-container {
    position: relative;
    display: inline-block;
    margin: 20px;
    overflow: hidden;
}
.tyson-images {
    width: 300px;
    height: auto;
    transition: transform 0.5s ease;
    border: 2px solid #000; 
    border-radius: 10px;
}

.ali-images {
    width: 310px;
    height: auto;
    transition: transform 0.5s ease;
    border: 2px solid #000; 
    border-radius: 10px;
}

.ray-images {
    width: 300px;
    height: auto;
    transition: transform 0.5s ease;
    border: 2px solid #000; 
    border-radius: 10px;
}

.evender-images {
    width: 300px;
    height: auto;
    transition: transform 0.5s ease;
    border: 2px solid #000000; 
    border-radius: 10px;
}


.boxer-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px;
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.img-container:hover .boxer-image {
    transform: rotate(15deg);
}

.img-container:hover .boxer-text {
    opacity: 1;
}


footer p {
    margin-top: 0;
    margin-bottom: 0px; 
}

section {
    text-align: center; 
}

#monFormulaire {
    width: 70%; 
    max-width: 700px; 
    margin: 60px auto;
    background-color: #841c1c;
    padding: 20px; 
    border-radius: 10px;
}

#en-tete {
    margin-bottom: 20px; 
}

.float {
    float: left;
    padding: 5px;
    text-align: left; 
}

.clear {
    clear: both;
}


label {
    display: block; 
    margin-bottom: 5px;
    color: #fff; 
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%; 
    padding: 8px;
    margin-bottom: 10px;
    box-sizing: border-box; 
}
input[type="file"] {
    margin-bottom: 0px;
    padding-top: 70px;
}

input[type="submit"] {
    background-color: #fff; 
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

footer{height:100px;}
footer ul { text-decoration: none; list-style: none; }
footer ul li {float:left; text-decoration: none; padding: 10px;}
.references{margin:-10px 0 0 0;}


#upload_images {
  padding-top: 50px;
  margin: 0 auto;
  width: 350px;
}

#form_upload {
  text-align: center;
}

#form_upload label {
  padding: 0;
}

#form_upload #file {
  display: flex;
  align-content: center;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 18px;
  padding: 20px;
  margin: 0 auto;
}

#form_upload #download {
  padding: 10px;
  border-radius: 5px;
  border: 0;
  color: black;
  text-decoration: none;
  transition: 0.3s;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 18px;
}

#form_upload #download:hover {
  background-color: rgb(235, 235, 235);
  color: rgb(249 42 42);
}
#galerie {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 100px 0;
}

.galerie_img {
  padding: 20px;
  width: 29%;
  height: auto;
  filter: saturate(0%);
  transition: 0.5s;
}

.galerie_img:hover {
  filter: none;
}


.main {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
  }
  
  form {
    margin-bottom: 20px;
  }
  
  label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
  }
  
  input[type="file"] {
    margin-bottom: 10px;
  }
  
  input[type="submit"] {
    background-color: #000000;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  input[type="submit"]:hover {
    background-color: #70707060;
  }
  

  .galerie {
    margin: 0 auto;
    width: 1080px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Pour centrer les images horizontalement */
}

.img_gal {
    width: 250px; /* Taille fixe pour toutes les images */
    height: 200px; /* Taille fixe pour toutes les images */
    object-fit: cover; /* Pour conserver le ratio d'aspect */
    margin: 5px;
    border-radius: 5px; /* Pour arrondir les coins des images */
    filter: grayscale(100%); /* Convertit les images en noir et blanc par défaut */
    transition: filter 0.3s ease; /* Animation de transition */
}

.img_gal:hover {
    filter: grayscale(0%); /* Annule le filtre noir et blanc au survol */
}

.container {
    display: flex;
    align-items: center; /* Aligner verticalement */
}


.p6 {
    margin-top: 60px;
    margin-bottom: 0;
    padding-right: 10%;
    color: #000000;
    font-size: 15px;
    margin-left: 260px;
    margin-right: 100px;
}

#imagelien {
    display: inline-block;
    height: 60%;
    margin-top: 90px;
    margin-left: 470px;
    padding: 0 10px;
    text-decoration: none;
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.25);
    border-radius: 6px;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center;
}

#imagelien:hover {
    background-color: #a7a1a1;
    color: #ffffff;
    font-weight: bold;
    text-align: center;
}

/*partenaires*/

h2{
    color: white;
}

.h3{
    width: 850px;
    margin: 0 auto;
    margin-bottom: 60px;
    margin-top: 80px;
}

.h3 h3{
    color: black;
    font-size: 20px;
    font-family: Arial, sans-serif;
}

.partenaires{
    display: flex;
    font-size: 20px;
    justify-content: center;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    backdrop-filter: blur(40px);
    background-color: #841c1c;
    margin-bottom: 100px;
}

.partenaires img{
    border-radius: 10px;
    margin-right: 20px;
    width: 1000px;
    width: 25%;
}

.partenaires img:hover{
    scale: 1.05;
    cursor: pointer;
}

.textepartenaires{
    display: flex;
    flex-direction: column;
    padding: 20px;
    border-radius: 10px;
    border: 1px;
}

.textepartenaires h2{
    margin: 0;
    color: black;
}

.textepartenaires h3{
    color: rgb(192, 190, 190);
    margin-top: 0;
}

.textepartenaires p{
    color: white;
}

.textepartenaires a{
    text-decoration: none;
    background-color: black;
    width: 109px;
    padding: 10px 20px;
    border-radius: 50px;
    color: white;
    justify-self: end;
    align-self: flex-end;
}

.textepartenaires a:hover{
    background-color: white;
    color: black;
}

.textepartenaires a:hover{
    scale: 1.05;
}

.textepartenaires a:active{
    scale: 0.95;
}

.documents{
    display: flex;
    justify-content: center;
}

.documents a{
    text-decoration: none;
    background-color: black;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
}

.documents a:hover{
    position: relative;
    top: -5px;
}

