#image-popup {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
}
#image-popup.hidden {
	display: none;
}
.popup-content {
	position: relative;
	background-color: #fff;
	padding: 20px;
	max-width: 90%;
	max-height: 90%;
}
.popup-content img {
	max-width: 100%;
	max-height: 80vh;
	display: block;
}
.popup-close {
	position: absolute;
	top: -30px;
	right: 0;
	background: none;
	border: none;
	color: #fff;
	font-size: 30px;
	cursor: pointer;
	font-weight: bold;
}
.popup-close:hover {
	color: #ccc;
}
body.popup-open {
	overflow: hidden;
}
.carousel-container {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}
.carousel-container img {
	display: none;
}
.carousel-container img.active {
	display: block;
}
.carousel-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background-color: rgba(0, 0, 0, 0.5);
	color: #fff;
	border: none;
	font-size: 30px;
	padding: 10px 15px;
	cursor: pointer;
	z-index: 1;
}
.carousel-arrow:hover {
	background-color: rgba(0, 0, 0, 0.8);
}
.carousel-arrow.left {
	left: -50px;
}
.carousel-arrow.right {
	right: -50px;
}
@media (max-width: 768px) {
	.popup-close {
		font-size: 40px;
		top: -40px;
		right: -10px;
	}
	.carousel-arrow {
		font-size: 40px;
		padding: 15px 20px;
	}
	.carousel-arrow.left {
		left: 5px;
	}
	.carousel-arrow.right {
		right: 5px;
	}
	.popup-content {
		padding: 10px;
		width: 95%;
	}
}
