/*
	galleryresponse.css
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700;800&display=swap');


*{
	box-sizing: border-box;
	text-decoration: none;
	list-style-type: none;
	margin: 0;
	padding: 0;
	font-family: 'Poppins', sans-serif;
}
body{
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 10px;
	min-height: 150vh;
}
.wapper{
	max-width: 1100px;
}
.wapper h1{
	font-size: 128px;
	font-weight: 900;
	text-align: center;
	background: url('inc/images/titre/paysage_montagne_001-petite.jpg'); 
	background-position: center;
	background-clip:text;
	-webkit-background-clip:text;
	color: transparent;
	margin-bottom: 20px;
}
.wapper h2{
	font-size: 50px;
	font-weight: 900;
	text-align: center;
	background: url('inc/images/titre/paysage_montagne_001-petite.jpg');
	background-position: center;
	background-clip: text;
	-webkit-background-clip:text;
	color: transparent;
	margin-bottom: 15px;
}
.wapper .gallery{
	display: flex;
	flex-wrap: wrap;
}
.wapper .gallery span{
	display: flex;
	width: 100%;
	overflow: hidden;
}
.wapper .gallery .image{
	padding: 7px;
	width: calc(100% / 3);
	cursor: pointer;
	border: 1px solid #fff;
	border-radius: 4px;
	-webkit-border-radius: 4px;
}
.wapper .gallery .image:hover{
	border: 1px solid #00bcff;
	background-color: #acf7ff;
}
.wapper .gallery .image img{
	width: 100%;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	vertical-align: middle;
	transition: all 0.3s ease;
}
.wapper .gallery .image:hover img{
	border-radius: 4px;
	-webkit-border-radius: 4px;
	transform: scale(1.1);
}

@media (max-width: 1000px){
	.wapper h1{
		font-size: 32px;
		background: none;
	}
	.wapper h2{
		font-size: 16px;
		background: none;
	}
	.wapper .gallery .image{
		width: calc(100% / 2);
	}
}

@media (max-width: 600px){
	.wapper h1{
		font-size: 32px;
		background: none;
	}
	.wapper h2{
		font-size: 16px;
		background: none;
	}
	.wapper .gallery .image{
		padding: 4px;
		width: 100%;
	}
}

/* Gestion de la fenêtre de visualisation de l'image  */
.preview-box{
	position: fixed;
	max-width: 900px;
	width: 100%;
	height: auto;
	top: 50%;
	left: 50%;
	z-index: 5;
	transform: translate(-50%, -50%) scale(0.9);
	background: #fff; /*linear-gradient(to bottom, rgba(255,255,255,0.6), rgba(255,10,10,0.6)); */
	padding: 0 5px 5px 5px;
	opacity: 0;
	pointer-events: none;
	border-radius: 3px;
	box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
}
.preview-box.show{
	opacity: 1;
	pointer-events: auto;
	transform: translate(-50%, -50%) scale(1);
	transition: all 0.3s ease;
}
.preview-box .details{
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 15px 12px 10px;
}
.preview-box .details .icon{
	color: #007bff;
	cursor: pointer;
	font-size: 20px;
}
.preview-box .details .title{
	display: flex;
	font-size: 18px;
	font-weight: 400;
}
.preview-box .details .title p{
	margin: 0 5px;
}
.preview-box .details .title p.current-img{
	font-weight: 800;
}
.preview-box .img-box{
	display: flex;
	width: 100%;
	height: auto;
	max-height: 700px;
}
.preview-box .img-box .slide{
	position: absolute;
	top: 50%;
	z-index: 3;
	transform: translateY(-50%);
	font-size: 30px;
	cursor: pointer;
	color: #fff;
	width: 60px;
	height: 50px;
	border-radius: 5%;
	text-align: center;
	line-height: 50px;
	background: rgba(170,170,170,0.6);
}
.preview-box .img-box .slide .centrage{
	display: flex;
	justify-content: center;
	align-items: center;
}
.preview-box .img-box .slide:hover{
	background: rgba(200,200,200,0.6);
}
.preview-box .img-box .slide:hover.fas{
	text-decoration: 0px 2px 10px #ccc;
}
.preview-box .img-box .slide.prev{left: 0;margin-left: 0.5em;}
.preview-box .img-box .slide.next{right: 0;margin-right: 0.5em;}
.preview-box .img-box .slide.prev i,
.preview-box .img-box .slide.next i{font-size: 30px;}
.preview-box .img-box img{
	width: 100%;
	border-radius: 0 0 3px 3px;
	transition-delay: 0.5s;
}
.shadow{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: none;
	background: rgba(0, 0, 0, 0.4);
}
