@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
*{
  margin:0 ;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Open Sans', sans-serif;
}
/* HEADER */
body {
    margin: 0;
    padding: 0;
}


.navbar {
    background-color: rgba(255, 255, 255, 0.7); /* Opacité définie ici */
    position: fixed;
    width: 100%;
    z-index: 1000; 
    font-family: 'CodecPro', sans-serif;
    font-size: 17px;
}



.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}


.navbar li {
    display: inline-block;
    margin-right: 100px;
}


.navbar a {
    text-decoration: none;
    color: black;
    padding: 10px;
}

.logo{
  width: 100px;
  height: 100px;
 }


.submenu ul {
    display: none;
    position: absolute;
    background-color: white;
    padding: 10px;
}


.submenu:hover ul {
    display: block;
}
.logo-shadow {
  position: absolute; /* Position absolue par rapport au parent (.logo) */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* S'assurer que l'ombre est en arrière du logo */
  box-shadow: 0 0 20px 10px rgba(255, 255, 255, 0.5); /* Ombre blanche avec une taille et un flou */
}


.content {
    margin-top: 50px; /* Pour décaler le contenu en dessous de la navbar */
    padding: 20px;
}






/* PAGE COMMENT VENIR ? ET UNE QUESTION ? */

.banniere{
    width: 100%;
}
.titre_des_pages{
    font-weight: lighter;
    text-transform:uppercase;
    position:absolute;
    margin-top:12%;
    left: 34%;
    width:31%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    z-index: 999;
    color: #fff;
    font-size:300%;
    border-radius: 3px;
}
.titre_faq{
    font-weight: lighter;
    text-transform:uppercase;
    color: #000;
    justify-content: center;
}
.carte_acces{
  display: flex;
  width: 100%;
  justify-content: center;
  list-style-type: none;
  margin-top: 30px;
  margin-bottom: 30px;
}
.contact_imgparking{
  display: flex;
  width: 100%;
  justify-content: center;
  list-style-type: none;
  margin-top: 30px;
  margin-bottom: 30px;
}
.leaflet-popup-content{
  width:250px;
  height:250px;
}
.img_leaflet{
  width:100%;
  height:65%;
}


/* PAGE GROUPES */
.banniere2 {
    width: 100%;
    height: fit-content;
}

/* This pen */
body {
  font-size: 16px;
  color: #ffffff;
  text-rendering: optimizeLegibility;
  font-weight: initial;
}

.dark {
  background: #110f16;
}


a, a:hover {
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}

#pageHeaderTitle {
  margin: 2rem 0;
  text-transform: uppercase;
  text-align: center;
  font-size: 2.5rem;
}

/* Cards */
.postcard {
  flex-wrap: wrap;
  display: flex;
  
  box-shadow: 0 4px 21px -12px rgba(0, 0, 0, 0.66);
  border-radius: 10px;
  margin: 0 0 2rem 0;
  overflow: hidden;
  position: relative;
  color: #ffffff;

  &.dark {
    background-color: #18151f;
  }
  &.light {
    background-color: #e1e5ea;
  }
  
  .t-dark {
    color: #18151f;
  }
  
  a {
    color: inherit;
  }
  
  h1, .h1 {
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
  }
  
  .small {
    font-size: 80%;
  }

  .postcard__title {
    font-size: 1.75rem;
  }

  .postcard__img {
    max-height: 180px;
    width: 100%;
    object-fit: cover;
    position: relative;
  }

  .postcard__img_link {
    display: contents;
  }

  .postcard__bar {
    width: 50px;
    height: 10px;
    margin: 10px 0;
    border-radius: 5px;
    background-color: #424242;
    transition: width 0.2s ease;
  }

  .postcard__text {
    padding: 1.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
  }

  .postcard__preview-txt {
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: justify;
    height: 100%;
  }

  .postcard__tagbox {
    display: flex;
    flex-flow: row wrap;
    font-size: 14px;
    margin: 20px 0 0 0;
    padding: 0;
    justify-content: center;

    .tag__item {
      display: inline-block;
      background: #fff;
      border-radius: 3px;
      padding: 2.5px 10px;
      margin: 0 5px 5px 0;
      cursor: default;
      user-select: none;
      transition: background-color 0.3s;

      &:hover {
        background: #269CCA;
      }
    }
  }

  &:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 1;
    border-radius: 10px;
  }

  &:hover .postcard__bar {
    width: 100px;
  }
}

@media screen and (min-width: 769px) {
  .postcard {
    flex-wrap: inherit;

    .postcard__title {
      font-size: 2rem;
    }

    .postcard__tagbox {
      justify-content: start;
    }

    .postcard__img {
      max-width: 300px;
      max-height: 100%;
      transition: transform 0.3s ease;
    }

    .postcard__text {
      padding: 3rem;
      width: 100%;
    }

    .media.postcard__text:before {
      content: "";
      position: absolute;
      display: block;
      background: #18151f;
      top: -20%;
      height: 130%;
      width: 55px;
    }

    &:hover .postcard__img {
      transform: scale(1.1);
    }

    &:nth-child(2n+1) {
      flex-direction: row;
    }

    &:nth-child(2n+0) {
      flex-direction: row-reverse;
    }

    &:nth-child(2n+1) .postcard__text::before {
      left: -12px !important;
      transform: rotate(4deg);
    }

    &:nth-child(2n+0) .postcard__text::before {
      right: -12px !important;
      transform: rotate(-4deg);
    }
  }
}
@media screen and (min-width: 1024px){
    .postcard__text {
      padding: 2rem 3.5rem;
    }
    
    .postcard__text:before {
      content: "";
      position: absolute;
      display: block;
      
      top: -20%;
      height: 130%;
      width: 55px;
    }
  
  .postcard.dark {
    .postcard__text:before {
      background: #18151f;
    }
  }
  .postcard.light {
    .postcard__text:before {
      background: #e1e5ea;
    }
  }
}

/* PAGE HIVER */



.card{
  margin-top: 30px;
  margin-right: 30px;
  margin-bottom: 30px;
  background-color: #269CCA;
  width: 100%; 
}

.card-body{
  background-color: #269CCA;
}

.custom-card-group .card {
    max-width: 400px; /* Ajustez cette valeur en fonction de vos besoins */
    margin: 0 auto; }









/* PAGE ETE */


.activite-item {
  display: flex;
  flex-direction: row; /* Organiser les éléments horizontalement */
  align-items: center; /* Centrer verticalement le contenu */
}

.activite-item img {
  margin-top: 30px;
  width: 500px;
  height: 300px;
  object-fit: cover;
  border-radius: 4px ;
}

.activite-content {
  padding: 15px;
  text-align: left; /* Aligner le texte à gauche */
  color: black;
  text-align: justify;
}


.activite.odd .activite-item {
  flex-direction: row-reverse;
}
.activite-item-vertical {
  flex-direction: column; /* Organiser les éléments verticalement */
  margin-top: 20px; /* Ajouter un espace entre les activités */
}


.activite.odd .activite-item {
  flex-direction: row; /* Réinitialiser la direction par défaut */
}
.activite-content h2 {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
}



/* DEBUT FOOTER */

footer {
  text-decoration: none;
}

.marge_avant_footer {
  margin-bottom: 40px;
}

.background_footer {
  background-color: #1a5b96;
  width: 100%;
}
.footer ul {
  list-style-type: none; /* Remove bullet points from all lists within the footer */
  padding: 0; /* Remove default list padding */
}
.text-white{
  text-decoration: none;
}




