/*---- ADM31SECURITE ----*\
/* ************** */
/*                */
/* PORTAILS - CSS */
/*                */
/* ************** */

/* FORMATAGE DU TEXTE */
	/* font-size ; font-family ; font-style ; font-weight ; text-decoration ; text-align ; list-style ; line-height ; float ; clear

/* COULEUR ET FOND */
	/* color ; background-'variable' ; opacity

/* BORDURES ET OMBRES */
	/* border ; box-shadow ; text-shadow

/* BLOC */
	/* width ; height ; padding ; margin ; overflow ; word-wrap ; box-sizing

/* POSITIONNEMENT */
	/* display ; vertical-align ; position ; z-index ; top/bottom/right/left ; transform
*/


/*------------------------------------*\
    BASE
\*------------------------------------*/
@import url("base.css");


/*------------------------------------*\
    SECTION PRINCIPALE
\*------------------------------------*/
section {
	/* POSITIONNEMENT */
	padding: 40px 12.5%;
}

a {
	color: #fff;
	text-decoration: none;
}


/* Style pour le modal */
.modal {
  display: none; /* Caché par défaut */
  position: fixed; /* Reste en place */
  z-index: 1001; /* Se situe au-dessus de tout */
  padding-top: 100px; /* Positionnement */
  left: 0;
  top: 0;
  width: 100%; /* Pleine largeur */
  height: 100%; /* Pleine hauteur */
  display: none; /* Utilisez flexbox pour centrer le contenu */
  align-items: center; /* Centre verticalement */
  justify-content: center; /* Centre horizontalement */
  background-color: rgba(0,0,0,0.9); /* Noir avec opacité */
}

/* Style pour l'image dans le modal */
.modal-content {
  margin: auto;
  display: block;
  max-width: 100%; /* Assurez-vous que la largeur de l'image ne dépasse pas l'écran */
  max-height: 80vh; /* Limite la hauteur de l'image à 80% de la hauteur de la fenêtre de visualisation */
  object-fit: contain; /* Maintient les proportions de l'image sans la tronquer */
}

/* Caption de l'image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Bouton fermer (x) */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}


/* Responsive image gallery rules begin*/
.image-gallery {
	/* Mobile first */
	display: flex;
	flex-direction: column;
	gap: 10px;

	vertical-align: center;
}

.image-gallery .column {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.image-item img {
	width: 100%;
	border-radius: 5px;
	height: 100%;
	object-fit: cover;
}

@media only screen and (min-width: 768px) {
	.image-gallery {
		flex-direction: row;
	}
}

.guide {
	color: white;
}