/* Ensure the body takes up the full viewport */
html,
body {
	height: 100%;
	width: 100%;
	overflow: hidden;
	margin: 0;
	padding: 0;
	/* No scrollbars */
	background-color: rgba(14, 103, 109);
}

/* Main content wrapper */
#contentWrapper {
	height: 100vh;
	width: 100vw;
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
}

video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#loadingVideo,
#fallbackVideo {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.video-container {
	width: 100vw;
	/* Full viewport width */
	height: 100vh;
	/* Full viewport height */
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
	/* Prevent any overflow */
}

.overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 2;
}

#loadingOverlay {
	background-color: rgba(0, 0, 0, 0.8);
}

#playOverlay {
	background-color: rgba(0, 0, 0, 0.7);
	display: none;
}

#playButton img {
	width: 100px;
	height: 100px;
	cursor: pointer;
	transition: transform 0.2s;
}

#playButton img:hover {
	transform: scale(1.1);
}

#imageOverlay {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 100px;
	height: auto;
	z-index: 3;
	pointer-events: none;
	/* Prevent image from blocking interactions */
}

#fallbackVideo {
	display: none;
}

.custom-controls {
	position: absolute;
	bottom: 0px;
	left: 0px;
	right: 0px;
	background: rgba(0, 0, 0, 0.4);
	padding: 2px;
	height: 25px;
	display: flex;
	align-items: center;
	color: white;
	font-family: 'Montserrat', sans-serif;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.volume-section {
	display: flex;
	align-items: center;
}

.control-button {
	background: none;
	border: none;
	color: white;
	cursor: pointer;
	padding: 5px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.control-button:hover {
	opacity: 0.8;
}

.control-text {
	margin: 0 10px;
	font-size: 14px;
}

.volume-slider {
	width: 100px;
	margin: 0 10px;
}
@media (max-width: 768px) {
	.custom-controls {
		flex-wrap: wrap;
		justify-content: space-between;
		padding: 10px;
		height: auto;
	}

	.control-button {
		font-size: 1.5rem;
		margin-right: 5px;
	}

	.control-text {
		font-size: 1rem;
		margin: 0 5px;
	}

	.volume-slider {
		width: 100px;
	}
}

@media (max-width: 480px) {
	.custom-controls {
		flex-wrap: wrap;
		height: auto;
	}

	.control-button {
		font-size: 1.2rem;
	}

	.control-text {
		font-size: 0.8rem;
	}

	.volume-slider {
		width: 80px;
	}
}

@media (max-width: 768px) {
	#contentWrapper,
	#video-container {
		width: 100%;
		height: 100%;
	}

	.custom-controls {
		font-size: 1.2rem;
	}

	#playButton img {
		width: 70px;
		height: 70px;
	}
}
