*, *::before, *::after {
	box-sizing: border-box;
	padding: 0;
	margin: 0;
}

html { 
	min-height: 100%;
	background-color: #7F1525;
}

body {
	height: 100%;
	font-family: 'Audiowide', sans-serif;
	background-color: #7F1525;
    color: #F5DDD2;
    margin: 0;
    padding: 0;
}


/* ---------------------------------------------------- */
/* --- Mise en forme des pages de mentions légales --- */
/* -------------------------------------------------- */

.section-mentions {
	display: flex;
    flex-direction: column;
	width: 100%;
	margin: 0 auto;
    padding: 100px 60px 20px 60px;
    max-width: 67%;
    margin: 0 auto;
}

.section-mentions h1 {
    margin-bottom: 80px;
	color: #F5DDD2;
	font-size: 2.5rem;
	text-align: center;
}

.section-mentions p {
    margin-bottom: 20px;
	color: #F5DDD2;
	font-family: verdana;
	text-align: justify;
}

.italik {
	font-style: italic;
}

.margehaute {
	padding-top: 40px;
}

.section-mentions h2 {
    margin-top: 20px;
	font-size: 2rem;
}

.section-mentions a {
    text-decoration: none;
	color: #F5DDD2;
	font-weight: bold;
	text-shadow: 1px 1px 2px black;
}

.section-mentions img {
	max-width: 50%;
	height: auto;
	margin: auto;
}

.section-mentions .centree p {
    text-align: center;
}

.section-mentions .centree img {
    display: block;
    margin: 0 auto;
}

.section-mentions .credits {
	font-size: 0.9rem;
	font-style: italic;
    color: #888;
	font-family: Verdana, sans-serif;
	top: -100px;
}

@media (max-width: 49em) {

	.section-mentions {
		max-width: 100%;
	}

}


/* --- Mise en forme du pop-up contenant l'image --- */	

.Image-pop-up {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
  max-width:50%
}

.Image-pop-up:hover {opacity: 0.7;}

/* Le popup (background) */
.popup {
  display: none; /* Caché par défaut */
  position: fixed; 
  z-index: 1;
  padding-top: 100px; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; /* Autoriser le dépassement si nécessaire */
  background-color: rgb(0,0,0); 
  background-color: rgba(0,0,0,0.9); 
}

/* Contenu du popup (image) */
.popup-contenu {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

/* Légende de l'image popup */
#legende {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  font-family: Verdana, sans-serif;
  font-style: italic;
  color: #888;
  padding: 10px 0;
  height: 150px;
}

/* Animation de l'ouverture du popup */
.popup-contenu, #legende {  
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {-webkit-transform:scale(0)} 
  to {-webkit-transform:scale(1)}
}

@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

/* Le bouton de fermeture */
.boutonfermer {
  position: absolute;
  top: 90px;
  right: 35px;
  color: #F5DDD2;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.boutonfermer:hover,
.boutonfermer:focus {
  color: #888;
  text-decoration: none;
  cursor: pointer;
}

/* Image à 100% de largeur sur les petits écrans */
@media only screen and (max-width: 700px){
  .popup-contenu {
    width: 100%;
  }
}