/* 
--------------------
** - VENTURELLI RISTRUTTURAZIONI
--------------------
LEBON X WAC
Proj: Venturelli Ristrutturazioni
Dev: Simone Di Meglio 
Year: 2023 
Month: Giune
Stack: HTML5 + CSS3 + JS
*/

.gallery-hero {
	height: 60vh;
	background-image: url("../assets/gallery/hero.jpg");
	background-position: center;
	background-size: cover;
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 50px;
}

.gallery-hero h1 {
	font-size: 90px;
	font-weight: 300;
}

@media (max-width: 500px) {
	.gallery-hero {
		height: 70vh;
		padding: 10px;
	}
	.gallery-hero h1 {
		font-size: 80px;
	}
}

.gallery {
	display: flex;
	flex-wrap: wrap;
	margin-top: 80px;
}

.image-container {
	width: 33.33%;
	padding: 10px;
	box-sizing: border-box;
}

.image-container img {
	width: 100%;
	height: auto;
	height: 250px;
}

.modal {
	display: none;
	position: fixed;
	z-index: 9999;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.9);
	overflow: auto;
	justify-content: center;
	align-items: center;
}

.modal-content {
	margin: auto;
	display: block;
	max-width: 90%;
	max-height: 90%;
}

.close {
	color: #fff;
	position: absolute;
	top: 10px;
	right: 20px;
	font-size: 35px;
	font-weight: bold;
	cursor: pointer;
}

.prev,
.next {
	color: #fff;
	position: absolute;
	top: 50%;
	font-size: 30px;
	font-weight: bold;
	cursor: pointer;
	user-select: none;
}

.prev {
	left: 20px;
}

.next {
	right: 20px;
}

@media (max-width: 500px) {
	.image-container {
		width: 100% !important;
		padding: 10px;
		box-sizing: border-box;
	}
}

@media (max-width: 700px) {
	.image-container {
		width: 50%;
		padding: 10px;
		box-sizing: border-box;
	}
}

