body{
    width: 100%;
    background-color: rgb(255, 255, 255);
    color: black;
}
main{
  width: 1080px;
  margin: auto;

}

header{
    display :flex ;
    justify-content: center;
    background-color: black;
    width: 100%;
}

nav ul {
   list-style: none;
   display: flex;
   align-items: center;
   gap: 50px;
   font-size: 35px;
} 
nav a {
    text-decoration: none;
    color: black;
}

.menu{
  list-style: none;

}
.menu a{
  display: block;
  color: rgb(255, 255, 255);
  transition: background-color 0.3s ease;

}

.menu a:hover{
  background-color: rgb(90, 89, 89);
  border-radius: 10px 10px 10px 10px ;
}

#tt{
    background-color: rgb(0, 0, 0);
    color: white;
    display: flex;
    justify-content: center;
    width: 100%;
}
.image-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}
.image-grid img {

    width: 100%;
    height: auto;
}

h1{
    display: flex;
    justify-content: center;
    align-items: center;
}
section {
    display: flex;
  }
  
  section div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }
  
  section div div {
    position: relative;
    width: 30%;
  }
  
  img {
    width: 100%;
  }



table{
  width: 100%;
  border-collapse: collapse;
  
}


#béta img {
  width: 400px;
  height: 400px;
  position: absolute;
  left: 53%;
  border-radius: 50%;

}
#béta img, #béta p{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  
}

#béta h4{
  margin: 0;

}

#alf img{
  width: 400px;
  height: 400px;
  position: absolute;
  left: 53%;
  top:1775px;
  border-radius: 50%;
  
}
#alf img, #alf p{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  
}

#alf h4{
  margin: 0;

}


form {
  width: 300px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-left: auto;
  margin-right: auto;
}

#en-tete {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-left: auto;
  margin-right: auto;
}



label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
  text-transform: uppercase;

}


input[type="text"], input[type="email"], textarea {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #b81515;
  border-radius: 4px;
  box-sizing: border-box; 

}

textarea {
  height: 100px;
  resize: none;
}

input[type="submit"] {
  background-color: #ff0000;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin-left: auto;
  margin-right: auto;
  width: 300px;
}

input[type="submit"]:hover {
  background-color: #740e0e;
  transform: translateY(-2px);
  width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.galerie {
  width: 1080px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 10px;
  margin: auto;
}

.element-galerie {
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-galerie {
  width: 100%;
  height: 250px; 
  object-fit: cover; 
  border-radius: 10px;
  filter: grayscale(100%);
  transition: filter 0.5s ease-in-out;
}

.image-galerie:hover {
  filter: grayscale(0%);
}


.menu a.active {
  color: #740e0e;
  font-weight: bold;
}

footer {
  background-color: rgb(0, 0, 0);
  height: 150px;
  font-size: 20px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


#tmu{
  color: white;
  list-style: none;

  display: flex;
}
#ptdr{
  display:flex ;
  align-items: flex-start;
  flex-direction: column;
  color: rgb(255, 255, 255);
  font-size: 15px;
}

.lenis.lenis-smooth { scroll-behavior: hidden;
}
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain;
}
.lenis.lenis-stopped { overflow:hidden;
}
.lenis.lenis-smooth iframe { pointer-events: auto;
}

.partenaire-container {
  width: 1080px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  gap: 20px;
  padding: 20px;
}

.partenaire {
  background-color: #f5f5f5;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  transition: transform 0.5s ease-in-out;
  cursor: pointer;
  overflow: hidden;
}

.partenaire:hover img {
  transform: scale(1.05); 

}

.partenaire img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.5s ease-in-out;


}

.partenaire h2 {
  font-size: 20px;
  margin-top: 10px;
  text-decoration: none;  

}

a{
  text-decoration: none;  
color: black;
}

.partenaire p {
  font-size: 16px;
  color: #5f5f5f;
  display:flex;
  align-items: center;
  text-decoration: none; 

}

.partenaire a {
  text-decoration: none;
  color: #d32f2f;
  font-weight: bold;
}


.radio-group {
  display: flex;
  align-items: center;

}

.radio-group label {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.radio-group input {
  margin-right: 10px;  
  cursor: pointer;
}

#echec {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  width: 100%;
}

.echec-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: calc(33.33% - 30px); 
  max-width: 300px;
}

#echec img {
  object-fit: cover; 
  width: 100%;
  height: 200px; 
  border-radius: 10px; 
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out;
}

#echec img:hover {
  transform: scale(1.05);
}


.echec-item p {
  margin-top: 5px;
  font-size: 14px;
}

.echec-item a {
  color: #007BFF;
  text-decoration: none;
}

.echec-item a:hover {
  text-decoration: underline;
}

.pdf-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 40px auto;
  padding: 20px;
  max-width: 1200px;
}

.pdf-box {
  width: 30%;
  height: 500px;
  border-radius: 10px;
  overflow: hidden;
  background-color: #f4f4f4;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out;
}

.pdf-box h3 {
  text-align: center;
  font-size: 18px;
  padding: 10px;
  background-color: #333;
  color: white;
  margin: 0;
}


.pdf-frame {
  width: 100%;
  height: calc(100% - 40px);
  border: none;
}


.pdf-box:hover {
  transform: scale(1.05);
}


#tableVehicule thead tr {
  background-color: #000000;
  color: white;
}

/* Style pour les autres lignes du tableau */
#tableVehicule tbody tr {
  background-color: white; 
}


#tableVehicule th, #tableVehicule td {
  padding: 10px;
  text-align: left;
  border: 1px solid #ddd; 
}

#tableVehicule tbody tr:hover {
  background-color: #f2f2f2; 
}
