* {
  font-family: "police_custom", "Arial";
}

body {
  margin: 0;
}


#div_description p
{
  margin-bottom: 1rem;
}

#div_principale {
  max-width: min(99vw, 1200px);

  margin: auto;

  padding: 10px;
}

#div_description {
  font-size: 2vmin;
}

.bandeau_label {
  width: 100%;

  height: 40px;

  background-color: var(--param_couleur3);

  border-radius: 10px;

  margin-bottom: 10px;

  display: flex;

  align-items: center;

  text-transform: uppercase;

  color: var(--param_couleur1);

  font-weight: bold;

  font-size: 3vmin;

  padding: 10px;
}

#div_image {
  width: 100%;

  height: 60vh;

  background-color: black;

  background-image: url("../custom/param_header.jpg");

  background-repeat: no-repeat;

  background-size: cover;

  border-radius: 20px;
}

.bloc_title {
  color: var(--param_couleur1);

  font-weight: bold;
}

#div_image .swiper {
  border-radius: 20px;

  background-size: cover;
}

#div_image .swiper-slide {
  background-size: cover;
}

#div_avant_apres_fullscreen {
  width: 100%;

  height: 100vh;

  background-color: black;

  background-repeat: no-repeat;

  background-size: 100% auto;

  background-position: center center;

  position: fixed;

  top: 0;

  left: 0;

  z-index: 1000;

  display: none;

  text-align: center;
}

#div_photo_fullscreen {
  width: 100%;

  height: 100vh;

  background-color: black;

  background-repeat: no-repeat;

  background-size: 100% auto;

  background-position: center center;

  position: fixed;

  top: 0;

  left: 0;

  z-index: 1000;

  display: none;
}

#liste_poi_fille_container {
  width: 100%; /* Largeur fixe */

  overflow-x: auto; /* Scroll horizontal */

  white-space: nowrap; /* Empêche le retour à la ligne */
}

#liste_poi_fille {
  display: inline-flex; /* Affichage en ligne flexible */

  gap: 10px; /* Espacement entre les éléments */
}

.icone_typeVignette_td_image {
  padding: 5px;

  border-radius: 10px 10px 10px 10px;

  background-image: url(../css/transparent2.png);

  background-size: cover;

  background-position: center center;

  background-repeat: no-repeat;

  border: 0 px;
}

.icone_typeVignette {
  border-radius: 20px;

  margin: 0;

  margin-right: 20px;

  width: 200px;

  height: 200px;

  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;

  color: white;

  background-color: gray;

  display: none;

  border: 0px;

  border-spacing: 0;

  font-weight: normal;

  background-size: 150%;

  background-position: center center;

  transition: background-size 0.3s ease;

  overflow: hidden;
}

.icone_typeVignette:hover {
  background-size: 160%;

  cursor: pointer;
}

.container_block {
  max-width: min(99vw, 1200px);

  margin: auto; /* Centre le conteneur */

  display: flex;

  flex-wrap: wrap;

  gap: 10px; /* Espacement entre les blocs */

  justify-content: left; /* Centre les éléments si la largeur est inférieure à 2 blocs */
}

.block {
  background-color: var(--param_couleur3);

  padding: 20px;

  flex: 0 1 calc(50% - 10px); /* Empêche les blocs de s'étirer si l'espace est trop petit */

  box-sizing: border-box;

  text-align: left;

  min-width: 200px; /* Empêche les blocs de devenir trop petits */

  display: none;

  border-radius: 10px;
}

/* Pour les petits écrans (moins de 600px), on force une largeur de 100% */

.swiper-credit {
  text-align: center;
}

#div_image .swiper-credit {
  text-align: right;
}

#barre_media {
  margin: 10px;

  width: 100%;

  display: flex;

  justify-content: center;
}

.bouton_media {
  display: none;

  width: 50px;

  margin-left: 20px;

  margin-right: 20px;
}

#div_description {
  margin-top: 2vh;
}

h1 {
  color: var(--param_couleur1);

  font-size: 5vmin;
}

h2 {
  color: var(--param_couleur1);

  font-size: 3vmin;
}

.swiper-slide {
  background-repeat: no-repeat;

  background-size: auto 100%;

  background-position: center center;

  background-color: black;
}

.swiper-slide_bandeau {
  background-repeat: no-repeat;

  background-size: cover;

  background-position: center center;

  background-color: black;
}

.swiper-button-prev,
.swiper-button-next {
  color: white !important; /* Change la couleur des flèches */
}

#div_image .swiper-button-prev,
#div_image .swiper-button-next {
  color: transparent !important; /* Change la couleur des flèches */
}

#div_image {
}

.swiper {
  width: 100%;

  height: 100%;
}

.swiper-slide {
  text-align: center;

  font-size: 18px;

  display: flex;

  justify-content: center;

  align-items: center;
}

.swiper-slide img {
  display: block;

  width: 100%;

  height: 100%;

  object-fit: cover;
}

.swiper {
  margin-left: auto;

  margin-right: auto;
}

/* Customize bullets */

.swiper-pagination-bullet {
  background: #00000055; /* Inactive bullet color */

  opacity: 1; /* Make bullets fully visible */
}

.swiper-pagination-bullet-active {
  background: var(--param_couleur1); /* Active bullet color */
}

.swiper-pagination-bullet {
  width: 1.5vmin; /* largeur des bullets */

  height: 1.5vmin; /* hauteur des bullets */
}

.swiper_credit {
  position: absolute;
}

/* Styles pour les liens */

a {
  color: black;

  text-decoration: underline;
}

a:hover {
  text-decoration: none;
}

@media (max-width: 600px) {
  .block {
    flex: 1 1 100%;
  }

  #div_description {
    font-size: 4vmin;
  }

  #div_image {
    height: 30vh;
  }

  h1 {
    font-size: 8vmin;
  }

  h2 {
    font-size: 6vmin;
  }

  .icone_typeVignette {
    width: 150px;

    height: 150px;
  }
}
