.equipe-team-section{
    margin-bottom: 10px;
    background-color:#2ec0cf;

}

.equipe-team-section h2{
    margin-top: 15px;    
}

.candidate-text {
  flex: 1;
  margin-left: 10px;  
  max-width:50%;
}

.candidate-text h2 {
  color: #002b4b;
}

.candidate-text h3 {
  margin-bottom: 20px;
  color: #002b4b;
}

.candidate-text p {
  font-size: 18px;
  line-height: 1.6;
  color: #002b4b;
}

.message-candidate{
  background-color: white;
    padding: 0px;
}

.carte-beloeil{
width: 60vw;
height: auto;
}

.mairie-team-member {
  position: relative;
  width: 200px;
  height: 280px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.mairie-team-member img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: 0.3s ease-in-out;
}

.mairie-team-member .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  opacity: 0;
  display: flex;
  flex-direction:column;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease-in-out;
}

.team-member-featured {
  position: relative;
  width: 360px;
  height: 520px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.team-member-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: 0.3s ease-in-out;
}

.container-candidat {
  display: flex;
  width:100%;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0 0px;
  gap: 0px;
  flex-wrap: wrap;
}

#photo_equipe{
    width: 60%;
  height: auto;
}
@media (max-width: 1080px) {
   #photo_equipe{
    width:100vw;}

  .candidate-text{
    max-width: 100%;  
}

.mairie-team-member {
  position: relative;
  width: 180px;
  height: 260px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.carte-beloeil{
width: 95vw;
height: auto;
}

 }

.team-member-second{
    display:flex;
    align-items:center;
    flex-direction: column;
}


