body{
  max-width: 1400px;
  margin:auto;
padding: 0;
font-family: 'Source Sans Pro', sans-serif;
margin: 0 auto;
}

.dropdown:hover .dropdown-content {
visibility: visible;
opacity: 1;
text-align: center;
align-items: center;
justify-content: center;
border-radius: 10px;
}

.dropdown {
position: relative;
}

.dropdown-content {
visibility: hidden;
opacity: 0;
position: absolute;
top: 60px;
left: 0;
background-color: #ffffff;
box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.1);
min-width: 160px;
z-index: 1;
transition: all 0.2s ease;

}

.dropdown-content a {
color: #4a4a4a;
font-size: 14px;
padding: 10px;
white-space: nowrap;
font-size: 16px;
}

.dropdown-content a:hover {
background-color: #f1f1f1;
color: #4a4a4a;
border-radius: 10px;
}
#select{
border: 1px solid black;
border-radius: 20px;
}
.images-container {
display: flex;
justify-content: center;
flex-wrap: wrap;
margin-top: 20px;
}
.image-top-couverture {
width: 500px;
height: auto;
border-radius: 20px;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
margin: 10px;
transition: transform 0.3s ease-in-out;
}
.image-couverture {
  width: 500px;
  height: 400px;
border-radius: 8px;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
margin: 10px;
transition: transform 0.3s ease-in-out;
}



.image-couverture:hover {
transform: rotate(0deg) skewX(0deg) scale(1);
}
.image-top-couverture {
width: 500px;
height: auto;
border-radius: 20px;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
margin: 10px;
transition: transform 0.3s ease-in-out;
}
.image-top{
display: flex;
justify-content: space-evenly;
align-items: center;
}
.image-top img{
width: 500px;
height: 500px;
border-radius: 20px;
}
td{
width: 50%;
}
.titre{
  font-size: 44px;
  text-align: center;
  background-color: rgb(155, 129, 24);
  border-radius: 20px;
  color: white;
  padding: 20px;
}
.container .text h1{
  font-size: 38px;
  text-align: center;
}

.container {
  display: flex;
  flex-direction: column;
  margin-top: 40px;
}
.container h2{
  text-align: center;
  font-size: 30px;
  border-bottom: 2px solid rgb(10, 141, 248);
}
.container-details{
  display: flex;
  flex-direction: row;
  align-items:center;
}
.text {
  flex: 1;
  margin-right: 20px;
  margin-left: 20px;
  font-size: 20px;
  font-weight:500;
  text-align: justify;
}

.image {
  flex: 1;
  
}
.container .image img{
  border-radius: 20px;
}
img {
  max-width: 100%;
  display: flex;
}

.devis {
  background-color: #f7f7f7;
  padding: 20px;
  text-align: center;
  border-radius: 20px;
  font-size: 24px;
  margin-top: 60px;
}

.devis p {text-align:center;
  font-size: 18px;
  margin-bottom: 10px;
  font-size: 34px;
  font-weight: 400;
}

.btn {
  display: inline-block;
  background-color: #006114;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #3e8e41;
}

.socials{
  margin-top: 50px;
  display: flex;
  flex-direction: row;
  justify-content: center;
}


footer{
  display: flex;
  justify-content: space-around;
  margin-top: 40px;
  margin-bottom: 40px;
}
footer img{
  width: 70px;
  height: 70px;
  cursor: pointer;
}
@media screen and (max-width: 767px) {

  .slider {
    margin-top: 10px;
    border-radius: 10px;
  }

  .slide-caption {
    top: 5%;
    font-size: 30px;
  }

  .slide-bottom-caption {
    top: 12%;
    font-size: 24px;
  }
  body{
    margin-left: 20px;
    margin-right: 20px;
  }
  .container.right .container-details{
    flex-direction: column;
  }
  .container-details{
    flex-direction: column-reverse;
  }
}

.container-details {
font-family: Arial, sans-serif;
padding: 20px;
border-radius: 5px;
}

.container-details .text {
color: #333333;
}

.container-details p {
margin-bottom: 20px;
line-height: 1.5;
font-size: 20px;
}

.container-details strong {
font-weight: bold;
}

.container-details .button {
display: inline-block;
padding: 10px 20px;
background-color: #4caf50;
color: #ffffff;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s;
}

.container-details .button:hover {
background-color: #45a049;
}

@media screen and (max-width: 768px) {
.container-details {
  padding: 10px;
}
}

.title{
color:orangered;
font-size: 22px;
box-shadow: 0 2px 6px rgba(255, 0, 0, 0.41);
padding: 10px;
border-radius: 20px;
text-align: center;
}
.search-for{
text-align: left;
margin-top: 40px;
margin-bottom: 40px;
font-size: 24px;
}


.lien-container a {
display: block;
text-align: center;
text-decoration: none;
text-align: left;
color: #000000;
}
.villes{
display: flex;
flex-direction: column;
}
.villes h2{
font-size: 16px;
}
.ville{
column-count: 4;
column-gap: 20px;
}

  /* Styles pour la galerie d'images */
  #galerie {
    text-align: center;
    padding: 20px;
    max-width: 2000px;
  
  }
  .image{
    display: flex;
    justify-content: center;
    margin: 0 auto;
  }
  .images-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .images-container img {
    width: 300px; /* Ajustez la largeur selon vos besoins */
    height: 200px; /* Ajustez la hauteur selon vos besoins */
    object-fit: cover;
    border: 2px solid #fff;
    border-radius: 8px;
    margin: 10px;
    transition: transform 0.3s ease-in-out;
  }
  
  .images-container img:hover {
    transform: scale(1.6);
  }
/* Styles pour la galerie d'images */
#galerie {
  text-align: center;
  padding: 20px;
  max-width: 2000px;

}
.image{
  display: flex;
  justify-content: center;
  margin: 0 auto;
}
.images-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.images-container img {
  width: 400px; /* Ajustez la largeur selon vos besoins */
  height: 300px; /* Ajustez la hauteur selon vos besoins */
  object-fit: cover;
  border: 2px solid #fff;
  border-radius: 8px;
  margin: 10px;
  transition: transform 0.3s ease-in-out;
}

.images-container img:hover {
  transform: scale(1.3);
}
#nos-services h2, #a-propos-de-nous h2 {
  color: #4CAF50;
  text-align: center;
  font-size: 2.6rem;
  margin-bottom: 30px;
  position: relative;
}

#nos-services h2::after, #a-propos-de-nous h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background-color: #4CAF50;
  margin: 10px auto;
}
.point-fort h3, .service h3 {
  color: #4E8BFF;
  font-size: 1.5em;
  margin-bottom: 15px;
  position: relative;
}
p{
  font-size: 1.4rem;
}