@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,400..700,1,-50..200');


/*  ------------- REGLES GENERALES ------------- --------------------------------------------------------------*/
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  /*color: #e11f1f;*/
  /*text-align: center;*/
  background: #fff;
  scroll-behavior: smooth;
  background-color: #fff;
  /*
  background: radial-gradient(
    ellipse at center,
    #fffeea 0%,
    #fffeea 35%,
    #b7e8eb 100%
  );*/
}

nav {
  height: 90px;
}

img,
.navbar {
  padding: 0;
  margin: 0;
}

a {
  color: #204B9A;
  text-decoration: none;
}

/* ------------- STRUCTURE ------------------------------------------------------------------------------------------*/

a.nav-link {
  font-size: 1.1em;
  text-transform: uppercase;
  color: #204B9A !important;
  padding: 5px;
}

#logo {
  height: 85px;
  padding: 0;
  margin: 0 35px;
}

#blason {
  max-height: 55px;
  padding: 0;
  margin: 10px;
}

.navbar a {
  color: #204B9A !important;
  opacity: 1;
  white-space: nowrap;
  border-bottom: rgba(0, 0, 0, 0) solid 1px;
  border-top: rgba(0, 0, 0, 0) 1px;
}

#navbarCollapse a:hover {
  color: #FFCC33 !important;
}


#navbarCollapse {
  margin-top: 6px;
  margin-right: 200px;
}

.dropdown-toggle::after {
  content: none;
}

header {
  position: fixed;
  height: 90px;
  width: 100%;
  top: 0;
  padding: 0;
  margin: 0;
  background-color: white;
  color: black;
  /*text-align: center;*/
  vertical-align: center;
  z-index: 888;
}

#banderouge {
  position: Absolute;
  top: 90px;
  width: 100%;
  background: linear-gradient(to right,
      rgba(0, 0, 0, 0) 0%,
      #66B32F 30%,
      #FFCC33 50%,
      #66B32F 70%,
      rgba(0, 0, 0, 0) 100%);
  height: 2px;
  z-index: 888;
}

#banderouge2 {
  position: Absolute;
  bottom: 40px;
  width: 100%;
  background: linear-gradient(to right,
      rgba(0, 0, 0, 0) 0%,
      #66B32F 30%,
      #FFCC33 50%,
      #66B32F 70%,
      rgba(0, 0, 0, 0) 100%);
  height: 2px;
  z-index: 999;
}

footer {
  width: 100%;
  bottom: 0;
  height: 40px;
  background: #FFFFFF;
  padding-top: 5px;
  text-align: center;
  vertical-align: center;
  position: fixed;
  z-index: 888;
}


#main {
  position: relative;
  height: 100%;
  width: 100%;
  padding: 90px 0 40px 0;
  /* Header height and footer height */
  margin: 0 auto 0 auto;
  /* Center content */
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}


#contenu {
  min-height: 100%;
  margin: auto;
  padding: 0px;
  /*text-align: center;*/
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
  overflow: auto;
  background-color: #e9ecef;
}

#accueil,
#commerce,
#association,
#tourisme,
#panneauPocket,
#sante {
  width: 100%;
  height: 100%;
}

#article {
  width: 100%;
  padding: 0px;
}

#contact {
  width: 100%;
  height: 100%;
}

#accueil {
  background-color: #FFFFFF;
}

/*
#mentions {
  width: 100%;
  height: 100%;
  background: url(../design/fond.jpg)no-repeat center fixed;
  background-size: cover;
  overflow: auto;
}
*/


.textmentions {
  text-align: justify;
  position: relative;
  margin: auto;
  background-color: #fff;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25), 0 0 50px rgba(0, 0, 0, 0.15) inset, 0 0px 10px rgba(255, 153, 51, 0.4);
  padding: 25px;
  margin-top: 50px;
  margin-bottom: 50px;
  color: black;
}

.textmentions h1 {
  font-family: arial;
  color: #990000;
  font-size: 1.5em;
  font-style: normal;
  font-Weight: bold;
  text-decoration: none;
  text-align: center;
}

#menu2 {
  margin: auto;
  text-align: center;
  position: relative;
  height: 30px;
  top: 1px;
  pointer-events: auto;
}

#menu2 img {
  padding: 0px 5px 0px 5px;
  margin-top: -2px;
}

#menu2 li {
  display: inline;
  list-style: none;
}

#menu2 a {
  text-align: center;
  display: inline-block;
}

#menu2 a:hover {
  transform: scale(0.9);
}

.fin {
  padding-bottom: 75px;
}

/*---------------------------------------------- CONTACT ---------------------------------*/

#contact {
  width: 100%;
  height: 100%;
  background-size: cover;
}


/*--------------------------------------------------Accueil----------------------------*/
#fondPhoto {
  position: relative;
}

#fondColleret {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 500px;
  overflow: hidden;
}

#fondColleret video#videoFond {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

#contourColleret {
  background-image: url(../design/contour_colleret.svg);
  background-size: contain;
  position: absolute;
  margin-bottom: 50px;
}

#fondColleret,
#contourColleret {
  object-fit: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fond {
  bottom: -1px;
  height: auto;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  width: 100%;
  z-index: 3;
}

#fondPhoto2 {
  background-image: url(../design/Fond2.svg);
  background-size: cover;
  object-fit: cover;
  background-repeat: no-repeat;
  min-height: 750px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 25px;
  margin-bottom: 50px;
}

.horaire {
  z-index: 1;
  white-space: nowrap;
}

#vague {
  width: 500px;
  height: 39px;
  background-image: url(../design/vague.svg);
  background-size: cover;
  background-repeat: no-repeat;
  object-fit: cover;
  position: absolute;
  z-index: -1;
  margin-top: 52px;
}

#vague2 {
  width: 399px;
  height: 39px;
  background-image: url(../design/vague2.svg);
  background-size: cover;
  background-repeat: no-repeat;
  object-fit: cover;
  position: absolute;
  z-index: -1;
  margin-top: 52px;
}

.titre {
  font-weight: 600;
  text-transform: uppercase;
  color: #204B9A !important;
}

h3 {
  color: #204B9A !important;
}

.titre2 {
  font-weight: 600;
  text-transform: uppercase;
  text-align: center;
}

#rando,
#divCircuit,
#lieux,
#marche,
#asso,
#lPresident,
#creationAsso,
#article,
#panneauPocket,
#sante,
#piscine,
#poste,
#dechet,
#agenda,
#page,
.contact,
#actu,
#mentions {
  width: 100%;
  margin: 0;
}

#carouselExampleControls {
  width: 90%;
  margin: 0 5%;
}

.carousel-inner {
  margin: 0 0 0 17.5px;
}

/*
#actu,
#horaire {

}*/

#divHoraire {
  width: 90%;
  margin: 5% auto;
  padding-bottom: 50px;
}

.couleur {
  margin: auto 0px 6px 11px;
}

#horaire {
  margin-top: 25px;
}

#rando,
#labelPanneauPocket,
#santeLabel,
#piscineInter,
#posteLabel,
#dechetVert,
#labelPage {
  margin-top: 5px;
}

.horaire h4 {
  font-weight: 600;
  white-space: nowrap;
}

.cadre {
  background-color: rgba(32, 75, 154, 0.3);
}

.btn {
  padding: 12px;
}

.notif {
  width: calc(100% - 2rem);
  top: 3%;
  margin-left: calc(2.5% + 1rem);
  z-index: 1;
}

.btnArrow {
  width: 5%;
}

.santePro {
  margin-bottom: 20px;
}

.menuRapide {
  width: 65px;
  height: 65px;
  margin: auto;
  background-color: #F5C81A;
  border-radius: 50%;
}

.menuRapide img {
  width: 30px;
  height: 30px;
  margin: auto;
}

.menu h6 {
  text-align: center;
}

.cards-wrapper {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.card {
  width: 300px;
}

#actuBtn {
  position: relative;
  background-color: #FFFFFF;

}

.carousel-control-prev,
.carousel-control-next {
  background-color: #F5C81A;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 30px;
}

.test {
  width: fit-content;
  background-color: #fff;
  border-radius: 15px;
  -webkit-box-shadow: 2px 2px 15px 1px #656565;
  -moz-box-shadow: 2px 2px 15px 1px #656565;
  filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=2, OffY=2, Color='#656565', Positive='true');
  zoom: 1;
  box-shadow: 2px 2px 15px 1px #656565;
  -moz-border-radius: 15px;
  -webkit-border-radius: 15px;
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 20px;
}

.icon {
  font-size: 40px;
  color: #fff;
}

/* Init couleur */
.vert {
  background-color: #66B32F;
  color: #fff;
}

.jaune {
  background-color: #F5C81A;
  color: #fff;
}

.bleu {
  background-color: #204B9A;
  color: #fff;
}

.monContenu {
  background-color: white;
  box-shadow: 0 10px 16px rgba(0, 0, 0, 0.1);
  /* Ombre avec flou et étendue doublés */
  border-radius: 12px;
  /* Bordures légèrement arrondies */
  padding: 2rem;
  margin: -90px auto 2rem auto;
  /* Remonte la div de 50px pour chevaucher l'image */
  position: relative;
  z-index: 10;
  /* Assure que le contenu est au-dessus de l'image */
}


@media (min-width: 1720px) {
  .carousel-inner {
    display: flex;
  }

  .carousel-item {
    margin-right: 0;
    flex: 0 0 20%;
    display: block;
  }
}

@media (max-width: 1720px) {
  .carousel-inner {
    display: flex;
  }

  .carousel-item {
    margin-right: 0;
    flex: 0 0 25%;
    display: block;
  }
}

@media (max-width: 1390px) {
  .carousel-inner {
    display: flex;
  }

  .carousel-item {
    margin-right: 0;
    flex: 0 0 33.3333333%;
    display: block;
  }
}

@media (max-width: 1040px) {
  .carousel-inner {
    display: flex;
  }

  .carousel-item {
    margin-right: 0;
    flex: 0 0 50%;
    display: block;
  }
}

@media (max-width: 700px) {
  .carousel-inner {
    margin: 0;
    display: flex;
  }

  .carousel-item {
    margin-right: 0;
    flex: 0 0 100%;
    display: block;
  }

  .first {
    margin-left: calc(50% - 150px);
  }
}

@media (max-width: 992px) {

  #navbarCollapse.show,
  #navbarCollapse.collapsing {
    background-color: white;
    padding: 1rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 0.5rem 0.5rem;
  }

  #logo {
    margin-bottom: 8px;
  }

  #navbarCollapse {
    margin: 0;
  }

  #test {
    margin-right: 25px;
  }
}

.hero-image {
  width: 100%;
  height: calc((100vh - 60px) / 3);
  /* 1/3 de la hauteur disponible */
  object-fit: cover;
  object-position: center;
  box-shadow: 0 16px 16px rgba(0, 0, 0, 0.2);
  /* Ombre extérieure en bas */
}

.hrperso {
  border: none;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right,
      rgba(0, 0, 0, 0) 0%,
      #66B32F 30%,
      #204B9A 50%,
      #66B32F 70%,
      rgba(0, 0, 0, 0) 100%);
  margin: 1rem 0;
}

.monContenu img {
  position: relative;
  border-radius: 15px;
  max-width: 100%;
}

.carte {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 40px;
  border-radius: 5px;
}

.carte a {
  color: rgba(102, 179, 47, 1);
  text-decoration: none;
}

.carte a:hover {
  text-decoration: underline;
}

.carte h2 {
  font-size: 1.5em;
}
.mini {
  max-height: 150px;
}