@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');
html, body {
	margin: 0;
	padding: 0;
	min-height: 100vh;
	overflow-y: auto;
}

body {
	background: #121212;
	color: #e0e0e0;
	font-family: 'Inter', sans-serif;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.social-icons {
	position: absolute;
	top: 1.5rem;
	right: 1.5rem;
	display: flex;
	gap: 1rem;
	z-index: 10;
}

.social-icons a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 6px;
	background-color: #1a1a1a;
	color: #e0e0e0;
	text-decoration: none;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
	transition: transform 0.1s ease, background-color 0.2s ease, box-shadow 0.2s ease;
	font-size: 1.25rem;
	cursor: pointer;
}

.social-icons a:hover {
	transform: translateY(2px);
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6);
	background-color: #181818;
}

.social-icons a:active {
	transform: translateY(3px);
	box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.7);
	background-color: #151515;
}

.social-icons .telegram {
	color: #229ED9;
}

.social-icons .github {
	color: #d6d6d6;
}


main {
	width: 100%;
	max-width: 960px;
	text-align: center;
}

h1 {
	font-weight: 700;
	font-size: 3rem;
	margin-bottom: 0.5rem;
}

p.subtitle {
	font-weight: 400;
	font-size: 1.25rem;
	margin-bottom: 2rem;
	color: #aaaaaa;
	max-width: 480px;
	margin-left: auto;
	margin-right: auto;
}

.projects-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem;
	padding-bottom: 2rem;
}

.project-card {
	background: #1f1f1f;
	border-radius: 0px;
	padding: 1.5rem;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	cursor: pointer;
	user-select: none;
	color: #e0e0e0;
	text-decoration: none;
	transition: transform 0.1s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
	transform: translateY(2px);
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6);
	background-color: #181818;
}

.project-card:active {
	transform: translateY(3px);
	box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.7);
	background-color: #151515;
}


.project-title {
	font-weight: 700;
	font-size: 1.3rem;
	margin-bottom: 0.8rem;
	color: #4ee44e;
	user-select: text;
}

.project-description {
	font-weight: 400;
	font-size: 1rem;
	color: #c4c4c4;
	user-select: text;
}

footer {
	margin-top: 4rem;
	font-size: 0.8rem;
	color: #555555;
	user-select: none;
	text-align: center;
	padding-bottom: 1rem;
}


@media (max-width: 480px) {
	body {
		padding: 3rem 1rem 4rem;
	}

	h1 {
		font-size: 2.2rem;
	}

	p.subtitle {
		font-size: 1rem;
		max-width: 90vw;
	}

	.projects-container {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.project-title {
		font-size: 1.1rem;
	}

	.social-icons {
		flex-direction: column;
		gap: 0.8rem;
	}
}
