* {
	margin: 0;
	padding: 0;
}

html {
	/* height:100%; */
	background-color: rgb(2.5, 20.4, 51);
}

#c {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
}

#error {
	position: absolute;
	text-align: right;
	top: 0px;
	right: 0px;
	color: red;
}

h1 {
	color: rgba(255, 255, 255, 0.9);
	text-align: center;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
	padding: 15px;
}

h2 {
	color: rgba(255, 255, 255, 0.9);
	text-align: left;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
	padding: 5px;
	padding-left: 15px;
	margin-bottom: 6px;
	margin-top: 50px;
}

.responsive-iframe {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	width: 100%;
	height: 100%;
}

.responsive-container {
	position: relative;
	overflow: hidden;
	width: 100%;
	padding-top: 56.25%;
	margin: auto;
}

p {
	color: rgba(255, 255, 255, 0.9);
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
	padding: 15px;
	padding-bottom: 15px;
	/* user-select: none; */
}

li {
	color: rgba(255, 255, 255, 0.9);
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
	padding-left: 15px;
}

ul {
	color: rgba(255, 255, 255, 0.9);
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
	padding-left: 50px;
	margin-top: 10px;
	margin-bottom: 15px;
}

a {
	color: rgb(228, 63, 90);
}

.play-button {
	display: inline-block;
	background-color: rgb(228, 63, 90);
	color: white;
	padding: 12px 24px;
	border-radius: 8px;
	text-decoration: none;
	font-weight: bold;
	transition: background-color 0.3s ease;
	margin: 15px 15px;
}

.play-button:hover {
	background-color: rgb(200, 50, 75);
	color: white;
}

.media-container {
	left: 25%;
	right: 25%;
	display: flex;
	justify-content: center;
}

.media-button {
	width: 40px;
	height: 40px;
	padding: 11px;
	opacity: 0.9;
	user-select: none;
}

.top-gap {
	position: static;
	height: 100vh;
}

.down-arrow {
	position: absolute;
	bottom: 30px;
	right: 0;
	left: 0;
	display: inline-block;
	margin: auto;
	width: 110px;
	height: 70px;
	opacity: 0.7;
	animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
	0%, 60% {
		transform: translateY(0);
	}
	80% {
		transform: translateY(-40px);
	}
	100% {
		transform: translateY(0);
	}
}

.center {
	background-color: rgba(0, 0, 0, 0.95);
	width: auto;
	/* max-width: 1800px; */
	/* margin: auto; */
	margin-top: 50px;
	margin-bottom: 50px;
	margin: 50px;
	padding: 3%;
	border-radius: 25px;
}

@media only screen and (max-width: 1000px) {
	.center {
		width: auto;
		margin: 0px;
		margin-bottom: 50px;
		margin-top: 50px;
	}
}

/* Filter buttons */
.filter-container {
	display: flex;
	justify-content: center;
	gap: 15px;
	margin-top: 30px;
	margin-bottom: 30px;
	flex-wrap: wrap;
}

.filter-button {
	background-color: rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.9);
	border: 2px solid rgba(255, 255, 255, 0.3);
	padding: 10px 20px;
	border-radius: 8px;
	cursor: pointer;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
	font-weight: bold;
	transition: all 0.3s ease;
}

.filter-button:hover {
	background-color: rgba(255, 255, 255, 0.2);
	border-color: rgba(255, 255, 255, 0.5);
}

.filter-button.active {
	background-color: rgb(49, 109, 174);
	border-color: rgb(63, 143, 228);
	color: white;
}

/* Masonry layout */
.projects-container {
	position: relative;
	margin-top: 30px;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.project-item {
	position: absolute;
	box-sizing: border-box;
	background-color: rgba(255, 255, 255, 0.02);
	padding: 20px;
	border-radius: 15px;
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.project-item.hidden {
	display: none;
}

.category-heading {
	font-size: 2em;
	text-align: center;
	margin-top: 0;
	margin-bottom: 20px;
	border-bottom: 1px solid rgb(255, 255, 255);
	padding-bottom: 10px;
}

.project-heading {
	margin-top: 50px;
	margin-bottom: 6px;
	padding: 5px;
	padding-left: 15px;
	padding-bottom: 10px;
}

.category-tag {
	display: inline-block;
	background-color: rgb(49, 109, 174);
	color: white;
	padding: 4px 12px;
	border-radius: 12px;
	font-size: 0.75em;
	font-weight: bold;
	margin-left: 15px;
	margin-bottom: 10px;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

@media only screen and (max-width: 1200px) {
	.project-item {
		position: relative !important;
		width: auto !important;
		left: auto !important;
		top: auto !important;
	}
	.projects-container {
		height: auto !important;
	}
}

/* Photo Gallery Styles */
.photo-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 15px;
	margin-top: 15px;
	margin-bottom: 15px;
}

.photo-gallery a {
	display: block;
	overflow: hidden;
	border-radius: 8px;
	transition: transform 0.3s ease;
}

.photo-gallery a:hover {
	transform: scale(1.05);
}

.photo-gallery img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
}

/* Gallery Preview Style 1: Stacked Images */
.gallery-stack {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
	margin: 15px 0;
	cursor: pointer;
}

.gallery-stack a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
	transition: transform 0.3s ease;
}

.gallery-stack a:nth-child(1) {
	z-index: 3;
	transform: rotate(-2deg) translateY(0);
}

.gallery-stack a:nth-child(2) {
	z-index: 2;
	transform: rotate(2deg) translateY(8px);
}

.gallery-stack a:nth-child(3) {
	z-index: 1;
	transform: rotate(-1deg) translateY(16px);
}

.gallery-stack:hover a:nth-child(1) {
	transform: rotate(-4deg) translateY(-5px);
}

.gallery-stack:hover a:nth-child(2) {
	transform: rotate(4deg) translateY(3px);
}

.gallery-stack img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Gallery Preview Style 2: Small Preview Grid */
.gallery-preview-grid {
	display: grid;
	grid-template-columns: repeat(2, 150px);
	gap: 10px;
	margin: 15px 0;
}

.gallery-preview-grid a {
	position: relative;
	display: block;
	border-radius: 8px;
	overflow: hidden;
	cursor: pointer;
	transition: transform 0.3s ease;
}

.gallery-preview-grid a:hover {
	transform: scale(1.05);
}

.gallery-preview-grid img {
	width: 100%;
	height: 150px;
	object-fit: cover;
	display: block;
}

.gallery-preview-grid .more-indicator {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.7);
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 24px;
	font-weight: bold;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* Gallery Preview Style 3: Single Featured Image */
.gallery-featured {
	position: relative;
	width: 100%;
	max-width: 400px;
	margin: 15px 0;
	cursor: pointer;
	border-radius: 8px;
	overflow: hidden;
	transition: transform 0.3s ease;
}

.gallery-featured:hover {
	transform: scale(1.02);
}

.gallery-featured img {
	width: 100%;
	height: 250px;
	object-fit: cover;
	display: block;
}

.gallery-featured .badge {
	position: absolute;
	bottom: 15px;
	right: 15px;
	background: rgba(0, 0, 0, 0.8);
	color: white;
	padding: 8px 15px;
	border-radius: 20px;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
	font-size: 14px;
}
