@import url('https://fonts.googleapis.com/css2?family=Geist:wght@100..900&family=Outfit:wght@100..900&display=swap');

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

@font-face {
	font-family: 'Aerospace';
	src: url('Animated-Portfolio-main/Aerospace.otf') format('otf'), url('Animated-Portfolio-main/Aerospace.ttf') format('truetype'), url('Animated-Portfolio-main/AnkhSanctuary-PVK0B.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'font7';
	src: url('Animated-Portfolio-main/DamingaMedium.otf') format('otf');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'font4';
	src: url('Animated-Portfolio-main/GeographWeb-Medium.44477467.woff2') format('woff2');
}

@font-face {
	font-family: 'font2';
	src: url('Animated-Portfolio-main/AnkhSanctuary-PVK0B.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'font6';
	src: url('Animated-Portfolio-main/underwave.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'font8';
	src: url('Animated-Portfolio-main/Montserrat-Regular.2cf917c2.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'font9';
	src: url('Animated-Portfolio-main/Montserrat-SemiBold.a62d229e.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'font4';
	src: url('Animated-Portfolio-main/Solaris.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'font5';
	src: url('Animated-Portfolio-main/Glaser\ Stencil\ W01.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'font3';
	src: url('./Animated-Portfolio-main/Infusive.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'font0';
	src: url('./Animated-Portfolio-main/AquireBold-8Ma60.f61ae48e.otf') format('truetype');
	font-weight: normal;
	font-style: normal;
}
html {
	font-size: 100%;
	scroll-behavior: smooth;
}

@media (max-width: 768px) {
	html {
		font-size: 50%;
	}
}

body {
	font-family: font3, sans-serif;
	font-optical-sizing: auto;
	overflow-x: hidden;
	background-color: #02012d;
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	background-repeat: no-repeat;
	color: #e2eff7;
}

.achievements-container {
	max-width: 1200px;
	margin: 100px auto;
	padding: 20px;
	background: rgba(3, 1, 64, 0.7);
	backdrop-filter: blur(5px);
	border-radius: 20px;
	border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-title {
padding: 2rem;
    font-size: 3rem;
    font-family: font0;
    background: linear-gradient(#fff, #b6b4f1);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    text-transform: uppercase;
    text-align: center;
    margin: 0.5rem 0;
}
}

.page-title::after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	width: 100px;
	height: 3px;
	background: #7489c6;
	border-radius: 2px;
}

.achievements-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
	padding: 20px;
}

.achievement-card {
	background: rgba(2, 1, 45, 0.95);
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
	transition: all 0.3s ease;
	border: 1px solid rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(10px);
	transform-style: preserve-3d;
	perspective: 1000px;
	will-change: transform;
}

.achievement-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
	border-color: #ffffffec;
	background-color: #ffffff10;
}

.card-image {
	width: 100%;
	height: 200px;
	object-fit: cover;
	transition: all 0.3s ease;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.achievement-card:hover .card-image {
	transform: scale(1.05);
}

.card-content {
	padding: 20px;
	background: rgba(2, 1, 45, 0.95);
}

.card-title {
	font-size: 1.2em;
	color: #e2eff7;
	margin-bottom: 10px;
	font-weight: bold;
	letter-spacing: 0.1rem;
	font-family: font3;
}

.card-description {
	color: #7489c6;
	font-size: 0.9em;
	line-height: 1.5;
	font-family: 'Outfit', sans-serif;
}

.achievement-date {
	color: #ffee01;
	font-size: 0.8em;
	margin-top: 10px;
	font-weight: bold;
	font-family: 'Outfit', sans-serif;
}

@media (max-width: 992px) {
	.achievements-grid {
		grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
		gap: 20px;
	}

	.page-title {
		font-size: 2.5rem;
	}
}

@media (max-width: 768px) {
	.achievements-grid {
		grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
		gap: 15px;
	}

	.achievements-container {
		margin: 80px auto;
		padding: 15px;
	}

	.page-title {
		font-size: 2rem;
		letter-spacing: 0.2rem;
	}

	.card-title {
		font-size: 1.1em;
	}

	.card-description {
		font-size: 0.8em;
	}
}

@media (max-width: 576px) {
	.achievements-grid {
		grid-template-columns: 1fr;
		max-width: 300px;
		margin: 0 auto;
	}

	.achievement-card {
		max-width: 100%;
	}

	.page-title {
		font-size: 1.8rem;
		letter-spacing: 0.1rem;
	}

	.achievements-container {
		margin: 60px auto;
		padding: 10px;
	}
}
