@import url('https://fonts.googleapis.com/css2?family=Saira+Extra+Condensed:wght@100;200;300;400;500;600;700;800;900&display=swap');
*{
    margin:0;
    padding:0;
    box-sizing: border-box;
}
:root{
    --couleur_btn:#6b9976;
    --couleur_btn_hover:#414141;
    --couleur_text_btn_hover:#fff;



}
html, body {
    max-width: 100%;
    overflow-x: hidden;
}
body, a{
    font-family: "Saira Extra Condensed", sans-serif;

}
.slider-container-slide{
--swiffy-slider-item-reveal:55rem;
}
@media(max-width:750px){
    .slider-container-slide{
--swiffy-slider-item-reveal:1rem;
}
}
@media(min-width:751px) and (max-width:1233px){
    .slider-container-slide{
--swiffy-slider-item-reveal:20rem;
}
}
@media(min-width:1234px) and (max-width:1600px){
    .slider-container-slide{
--swiffy-slider-item-reveal:30rem;
}
}
@media(min-width:1601px) {
    .slider-container-slide{
--swiffy-slider-item-reveal:55rem;
}
}
    .slider-nav-animation.slider-nav-animation-slideup .slider-container>*>*{
        transform:scale(.99);
    }


.swiffy-slider .slider-nav {
    left: -10px;
}


.swiffy-slider .slider-nav.slider-nav-next {
    right: -10px;
    left: auto; /
}

.bouton_date{
    background-color: #aa3f3f;
    padding:6px;
    border-radius: 0;
    color:white;
    font-weight: bold;
    border-top: solid 8px white;
    border-left: none;
  border-bottom: none;
  padding-right:8px
}
.bouton_date::after{
   content: "";
  position: absolute;
  top: -8px;
  right: -8px;
  bottom: 0;
  width: 10px;
  background-color: rgb(255, 255, 255);
}
.bouton_date:hover{
    background-color: #aa3f3f;
    padding:6px;
    border-radius: 0;
    color:white;
    font-weight: bold;
     border-top: solid 8px white;
    border-left: none;
  border-bottom: none;
  padding-right:8px
}
.p-3{
    padding:0 !important
}
.card-body{
    padding:0 !important
}
.titre_actus{
    font-size:1.6rem;font-weight:bold;width:80%;
    margin:auto;
    margin-bottom: 30px;
    margin-top: 25px;
}
.p-xl-5{
    padding:3rem !important
}
.les_btn_actu33{
    display:flex;
    justify-content: flex-end;
}
.card:hover{
    filter:grayscale()
}

.pastille {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
}

.pastille_1::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('../img/forme1.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s cubic-bezier(0.1, 0, 0.1, 0);
  transform: rotate(0deg) scale(1);
}
.pastille_1:hover::before {
  transform: rotate(180deg) scale(1);
}
.pastille_1:hover .pastillea{
    color:#6b9976
}
.pastille_2:hover .pastillea{
    color:#6b9976
}
.pastille_3:hover .pastillea{
    color:#6b9976
}
.pastille_4:hover .pastillea{
    color:#6b9976
}
.pastille_2::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('../img/forme2.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s cubic-bezier(0.1, 0, 0.1, 0);
  transform: rotate(0deg) scale(1);
}
.pastille_2:hover::before {
  transform: rotate(180deg) scale(1);
}
.pastille_3::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('../img/forme3.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s cubic-bezier(0.1, 0, 0.1, 0);
  transform: rotate(0deg) scale(1);
}
.pastille_3:hover::before {
  transform: rotate(180deg) scale(1);
}
.pastille_4::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('../img/forme4.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s cubic-bezier(0.1, 0, 0.1, 0);
  transform: rotate(0deg) scale(1);
}
.pastille_4:hover::before {
  transform: rotate(180deg) scale(1);
}


.pastille_5::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('../img/forme5.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s cubic-bezier(0.1, 0, 0.1, 0);
  transform: rotate(0deg) scale(1);
}
.pastille_5:hover::before {
  transform: rotate(180deg) scale(1);
}
.pastille_6::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('../img/forme6.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s cubic-bezier(0.1, 0, 0.1, 0);
  transform: rotate(0deg) scale(1);
}
.pastille_6:hover::before {
  transform: rotate(180deg) scale(1);
}
.centre_icone{
    display:flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    color:white;
    position:relative;
    font-size:1.5rem
}

.ul_service{color:white;}
.ul_service2{align-items:flex-start}

.map-home{
    width:80%
}
.map-home2{
    width:100%
}
.img_vie{
    width:40rem;
    height:25rem;
    transition:0.5s
}
.img_vie:hover{
    filter:contrast(1.3)
}
.img_vie img{
    width:100%;
    height:100%;
    object-fit: cover;
    border-radius: 8px;
}
.slider-container {
    scroll-snap-stop: always !important;
    scroll-behavior: auto !important;
}

.animate-me {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}
.animate-me.visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-me2 {
  opacity: 0;
  transform: translateX(-150px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}
.animate-me2.visible2 {
  opacity: 1;
  transform: translateX(0);
}
.animate-me3 {
  opacity: 0;
  transform: translateX(550px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}
.animate-me3.visible3 {
  opacity: 1;
  transform: translateX(0);
}
.animate-me4 {
  opacity: 0;
  transition: opacity 1.5s ease-out, transform 1s ease-out;
}
.animate-me4.visible4 {
  opacity: 1;
}
.tailleslide {
    position: relative;
    width: 100%;
    height: 30vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out; /
}

.slide.active {
    opacity: 1;
}
.vie_municipale{
    display:flex;flex-direction:row;justify-content: space-evenly;margin-top:30px
}
.lien_vie_municipale{
    display: flex;flex-direction: column;width: 40%;
}
@media (max-width:751px){
    .lien_vie_municipale{
   width: 100%;
}
.animate-me3{
    transform: translateX(0);
}
.vie_municipale{
flex-direction: column;

}
.slider-container-slide {
        --swiffy-slider-item-reveal: 0.1rem;
    }
}
@media (min-width:1428px) and (max-width:1708px){
.h2_vie{
   font-size: 2.5rem;
    margin-top: -30px;
}
.h_vie{
font-size: 4rem;
}
.lien_vie_municipale{
width:50%;
margin-left:35px
}

}
@media (min-width:1278px) and (max-width:1427px){
.lien_vie_municipale{
width:60%;
margin-left:35px
}
.img_vie{width:40%;margin-left:30px}
.h2_vie{
   font-size: 2.5rem;
    margin-top: -30px;
}
.h_vie{
font-size: 4rem;
}
.pp2{font-size: 1.2rem;}
}
.photo_carte{
    display:flex;
    flex-direction: row;
}
.taille_carte{
    width:70%
}
@media (max-width:1000px){
    .photo_carte{
    display:flex;
    flex-direction: column-reverse;
}
.taille_carte{
    width:100%
}
.map-home{
    width:100%
}
.map-home2{
    width:100%
}
#carte-home .flex-home2{
    width:100%
}
.carte-home-info .flex-home2{
    width:100%
}
#coin-entreprise-home{
    flex-direction: column-reverse;
    justify-content: center;
}
.lien_vie_municipale{
    width:100%
}
.img_vie{
    width:100%
}
.carte-home-info{
    flex-direction: column;
}
}
@media (min-width:1285px) and (max-width:1646px){
    .taille_carte{
        width:60%
    }
    #carte-home .flex-home2{
    width:40%
}
   .carte-home-info .flex-home2{
    width:40%
}
#carte-home{
    padding:2vh 4vh
}
.carte-home-info{
    padding:2vh 4vh
}
#coin-entreprise-home{
    padding:0
}
}
@media (min-width:1001px) and (max-width:1284px){
    .lien_vie_municipale{
width:60%;
margin-left:35px
}
.img_vie{width:40%;margin-left:30px}
    .taille_carte{
        width:60%
    }
    #carte-home .flex-home2{
    width:40%
}
  .carte-home-info .flex-home2{
    width:40%
}
#carte-home{
    padding:2vh 3vh
}
.carte-home-info{
    padding:2vh 3vh
}
.h2_vie{
   font-size: 2rem;
    margin-top: -20px;
}
.h_vie{
font-size: 3rem;
}
.carte-home-info > .flex-home1{
width:60%
}
}