/* Style the modal (background) */
.modal {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 10; /* Sit on top */
	padding-top: 100px; /* Location of the box */
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(0, 0, 0); /* Fallback color */
	background-color: rgba(0, 0, 0, 0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
	margin: auto;
	display: block;
	max-height: 70vh; /* 70% of the viewport height */
	width: auto;
	max-width: 700px;
}

.video-modal-content {
	margin: auto;
	display: block;
	height: 315px;
	width: 560px;
}

/* Caption of Modal Image */
#caption {
	margin: auto;
	display: block;
	width: 80%;
	max-width: 700px;
	text-align: center;
	color: #ccc;
}

/* Add Animation - Zoom in the Modal */
.modal-content,
#caption {
	animation-name: zoom;
	animation-duration: 0.6s;
}

@keyframes zoom {
	from {
		transform: scale(0);
	}
	to {
		transform: scale(1);
	}
}

/* The Close Button */
.close {
	position: absolute;
	top: 15px;
	right: 35px;
	color: #f1f1f1;
	font-size: 40px;
	font-weight: bold;
	transition: 0.3s;
}

.close:hover,
.close:focus {
	color: #bbb;
	text-decoration: none;
	cursor: pointer;
}

/* Style the Download Link */

#downloadLink {
	background: #a11101;
	width: 180px;
	display: block; /* Makes the element a block element */
	margin: 20px auto; /* Centers the button horizontally */
	padding: 16px;
	border: none;
	border-radius: 100px;
	color: var(--white-color);
	font-weight: var(--font-weight-bold);
	transition: all 0.6s ease-out;
	text-decoration: none;
	text-align: center;
}

@media (max-width: 600px) {
	.modal-content {
		width: 95%; /* Increase width on smaller screens */
		max-height: 60vh; /* Adjust height for smaller screens */
	}

	.modal {
		padding-top: 5px; /* Less padding on the top */
	}

	#downloadLink {
		width: 100%; /* Full width button */
		padding: 8px; /* Adjust padding */
		font-size: smaller; /* Adjust font size */
	}
}

/* The sidebar styling */
.sidebar {
	height: 100%;
	width: 0;
	position: fixed;
	z-index: 1;
	top: 0;
	left: 0;
	background-color: #111;
	overflow-x: hidden;
	transition: 0.5s;
	padding-top: 60px;
}

.sidebar a {
	padding: 8px 8px 8px 32px;
	text-decoration: none;
	font-size: 25px;
	color: #818181;
	display: block;
	transition: 0.3s;
}

.sidebar a:hover {
	color: #f1f1f1;
}

.sidebar .closebtn {
	position: absolute;
	top: 0;
	right: 25px;
	font-size: 36px;
	margin-left: 50px;
}

/* Style for the trigger image */
.trigger-image {
	cursor: pointer; /* Indicates the image is clickable */
	/* Add other styles as needed */
}

/* Right Sidebar Styling */
.sidebar.right {
	right: 0; /* Position on the right */
	left: auto; /* Override any left positioning if inherited */
	/* Rest of the styles remain the same as the left sidebar */
}
