body{
max-width: 1600px;
margin:auto;
margin-top: 20px;
padding: 0;
font-family: 'Source Sans Pro', sans-serif;
}
.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;
}


/* Afficher la liste de navigation sur les écrans larges */
@media screen and (min-width: 768px) {
nav ul {
display: flex;
justify-content: center;
position: static; /* Rétablir la position statique sur les écrans larges */
width: auto; /* Rétablir la largeur automatique sur les écrans larges */
}


.banner-slidetoggle{
display: none;
}

}

body{
max-width: 1200px;
margin:auto;
margin-top: 20px;
padding: 0;
}


.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;
}
.container-competences{
display: flex;
flex-direction: row;
justify-content:center;
margin-top:40px;
}
.images-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}
.image-wrapper {
  width: 30%;
  height: 35vh;
  margin: 10px;
  overflow: hidden;
}
.image-couverture {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}
.skill {
margin-bottom: 30px;
text-align: center;

box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.08);
transition: box-shadow 0.3s ease-in-out;
margin: 10px;
border-radius: 20px;
padding: 10px;
cursor: pointer;

justify-content: center;
}

.skill img {

height: auto;
margin-bottom: 20px;
}

.skill h3 {
margin-bottom: 10px;
}

.skill a {
display: inline-block;
background-color: #007bff;
color: #fff;
padding: 10px 20px;
border-radius: 5px;
text-decoration: none;
}
.skill a:hover{
background-color: #3b9aff;
}
.devis {
background-color: #f7f7f7;
padding: 20px;
text-align: center;

border-radius: 20px;
font-size: 24px;
margin-top: 60px;
margin-left: 20px;
margin-right: 20px;
}

.devis p {
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;
}
img {
max-width: 100%;
}

h1 {
text-align: center;
margin-bottom: 30px;
color: #555;
}
.services{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.services-list {
list-style: none;
padding: 0;
display:flex;
flex-direction:column;
margin: 20px;
}

.services-list li {
margin-bottom: 10px;
background-color: #fff;
padding: 10px;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.services-list li:hover {
background-color: #f9f9f9;
}
.services-list li a {
color: #333;
text-decoration: none;
}

.services-list li a:hover {
color: #555;
}
section{
  width: 40%;
  margin: 10px;
}
.text {
flex: 1;
padding: 20px;
background-color: white;
border-radius: 5px;
}

.text h2 {
font-size: 24px;
margin-bottom: 10px;
}

.text p {
font-size: 16px;
line-height: 1.5;
}
.container-competences a{
  text-decoration: none;
  color: black;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  }
  .containers{
    display: flex;
  }
  
/* Media queries pour rendre le site responsive */
@media screen and (max-width: 767px) {
  .containers{
    display: flex;
    flex-direction: column;
  }

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

}

.slide-caption {
font-size: 30px;
width: 100%;
display: flex;
justify-content: center;
}

.slide-bottom-caption {
top: 12%;
font-size: 24px;
width: 100%;
display: flex;
justify-content: center;
}

.deroulement{
margin-left: 20px;
margin-right: 20px;
}
.timeline{
margin-bottom: 20px;
margin-left: 0;
margin-right: 0;
}
.point{
margin: 0;
padding: 0;
}
.content{
margin: 0;
}
.avis{
margin-left: 20px;
margin-right: 20px;
}
.title_city-intervention{
margin-left: 20px;
}
.container-titre{
margin-left: 20px;
margin-right: 20px;
}
.container .image{
display: none;
}
.container h2{
margin-left: 20px;
}

.container-details{
margin-left: 20px;
margin-right: 20px;
}
.container .text{
margin-right: 0;
}
section{
  width: 100%;
}
.container-competences{
  display: block;
}
.container {
  display: block;
}
}
/* Afficher la liste de navigation sur les écrans larges */
@media screen and (min-width: 768px) {
nav ul {
display: flex;
justify-content: center;
position: static; /* Rétablir la position statique sur les écrans larges */
width: auto; /* Rétablir la largeur automatique sur les écrans larges */
}


.banner-slidetoggle{
display: none;
}
}
#pageName{
text-align:center;
font-size:36px;
font-family: 'Source Sans Pro',sans-serif;
background-image: url(/images/commune/tuiles.jpg);
background-size: cover;
display: block;
padding-top: 100px;
padding-bottom: 100px;
color:white;
border-radius:20px;
}
#searchName{
font-size:36px;
font-family: 'Source Sans Pro',sans-serif;
border-bottom: 2px solid rgb(10, 141, 248);
}
#description{
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
}
#textDescription{
margin-right:40px;
width:50%;
font-family: 'Source Sans Pro',sans-serif;
font-size: 1.3em;
line-height: 1.42857143;

}
#textDescription p{
margin-top:10px;
margin-bottom:10px;
}
#sectionImage img{
width:500px;
height:450px;
border-radius:20px;
}


.content {
display: flex;
flex-direction: row;
align-items: center;
}

.text {
flex: 1;
padding-right: 20px;
}

.image {
flex: 1;
}

img {
max-width: 100%;
height: auto;
}

strong {
font-weight: bold;
}
.container .container-details h2{
  font-size: 1.2rem;
  color: #08f;
  text-decoration: underline;
}
.title-service{
  text-align: center;
  text-decoration: none;
  font-size: 1.5rem;
}
.skill {
    margin-bottom: 30px;
    text-align: left;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease-in-out;
    margin: 10px;
    border-radius: 20px;
    padding: 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-wrap: wrap;
    align-items:center;
    height: 100%; /* Définissez ici la hauteur souhaitée pour tous les éléments */
    box-sizing: border-box;
  }
  
  .skill img {
    width: 90px;
    height: 90px;
    margin-bottom: 20px;
  }
  
  .skill h3 {
    margin-bottom: 10px;
    text-align: center;
  }
  
  .skill a {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
  }
  .skill a:hover{
    background-color: #3b9aff;
  }
  .skill .button{
    background-color: #235D23;
    color: #fff;
    padding: 10px;
    border-radius: 20px;
  }

  .search-for{
    text-align: left;
    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;
    text-align: center;
  }
  .ville{
    column-count: 4;
  column-gap: 20px;
  }
  .title_city-intervention{
    display: flex;
    flex-direction: column;
    text-align: left;
}
.title_city-intervention h2{
    font-size: 36px;
    margin-bottom: 0;
}
.title_city-intervention h3{
    font-size:30px;
    display: flex;
    justify-content: left;
    font-weight: 400;
}

/* Media queries pour rendre le site responsive */
@media screen and (max-width: 767px) {
  .image-wrapper{
  width: 100%;
  }
.slider {
margin-top: 10px;
border-radius: 10px;

}

.slide-caption {
font-size: 30px;
width: 100%;
display: flex;
justify-content: center;
}

.slide-bottom-caption {
top: 12%;
font-size: 24px;
width: 100%;
display: flex;
justify-content: center;
}

.deroulement{
margin-left: 20px;
margin-right: 20px;
}
.timeline{
margin-bottom: 20px;
margin-left: 0;
margin-right: 0;
}
.point{
margin: 0;
padding: 0;
}
.content{
margin: 0;
}
.avis{
margin-left: 20px;
margin-right: 20px;
}
.title_city-intervention{
margin-left: 20px;
}
.container-titre{
margin-left: 20px;
margin-right: 20px;
}
.container .image{
display: none;
}
.container h2{
margin-left: 20px;
}
.container-details{
margin-left: 20px;
margin-right: 20px;
}
.container .text{
margin-right: 0;
}
}