:root {
	--primary-purple: #B200FF;
	--text-color: #000000;
	--background-white: #ffffff;
	--card-background: #f0f0f0;
	--default-font: 'Gabarito', sans-serif;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: var(--default-font);
}

body.ru *:not(.logo):not(.language-selector):not(.language-button):not(.language-option):not(.social-link):not(.fa):not(.fab):not(.fas) {
	font-family: 'Rubik', sans-serif;
}

body.ru .logo {
	font-family: var(--default-font);
}

.hero {
	background-color: var(--primary-purple);
	min-height: 60vh;
	padding: 2rem;
	color: white;
	position: relative;
	display: flex;
	flex-direction: column;
}

.hero-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-left: 6rem;
}

.nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 0;
}

.logo {
	font-size: 2rem;
	font-weight: bold;
	text-decoration: none;
	color: white;
}

.greeting {
	font-size: 6.5rem;
	font-weight: bold;
	margin-bottom: 1rem;
}

.introduction {
	font-size: 3rem;
}

.content {
	padding: 4rem 2rem;
	max-width: 1200px;
	margin: 0 auto;
}

.section-title {
	text-align: center;
	font-size: 2rem;
	margin-bottom: 2rem;
}

.projects {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	max-width: 800px;
	margin: 0 auto;
}

.project-card {
	background: var(--card-background);
	border-radius: 1rem;
	padding: 1.5rem;
	display: flex;
	align-items: flex-start;
	gap: 1.5rem;
	cursor: pointer;
	transition: transform 0.3s, box-shadow 0.3s;
	text-decoration: none;
	color: var(--text-color);
}

.project-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.project-logo {
	width: 80px;
	height: auto;
}

.project-info {
	flex: 1;
}

.project-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 0.5rem;
}

.project-title {
	font-size: 1.5rem;
	font-weight: bold;
}

.project-year {
	color: #666;
}

.social-media {
	text-align: center;
	margin-bottom: 4rem;
	margin-top: 6rem;
}

.social-links {
	display: flex;
	justify-content: center;
	gap: 1rem;
	margin-top: 1rem;
}

.social-link {
	width: 48px;
	height: 48px;
	background: black;
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	transition: transform 0.3s;
}

.social-link:hover {
	transform: scale(1.1);
}

.social-link i {
	font-size: 1.5rem;
}

.social-link i,
.social-link .fa,
.social-link .fab,
.social-link .fas {
	font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Brands' !important;
}

.footer {
	padding: 2rem;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	max-width: 1200px;
	margin: 0 auto;
}

.footer a {
	color: var(--text-color);
	text-decoration: none;
}

@media (max-width: 768px) {
	.hero-content {
		padding-left: 0;
	}
	
	.hero {
        min-height: 50vh;
    }

	.greeting {
		font-size: 4rem;
	}

	.introduction {
		font-size: 2rem;
	}

	.footer {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.footer-left {
		margin-bottom: 1rem;
	}

	.footer-right {
		margin-top: 1rem;
	}
	
	.projects {
		max-width: 100%;
	}
	
	.project-logo {
		width: 50px;
		height: auto;
	}
	
	.hero-stickman {
        display: none;
    }
}

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(-10px); }
	to { opacity: 1; transform: translateY(0); }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    animation: bounce 2s infinite;
    cursor: pointer;
    font-family: 'Font Awesome 6 Free' !important;
}

.scroll-indicator i {
    font-size: 2rem;
    opacity: 0.8;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-30px) translateX(-50%);
    }
    60% {
        transform: translateY(-15px) translateX(-50%);
    }
}

.hero-stickman {
    position: absolute;
    right: 10rem;
    bottom: 2rem;
    width: 300px;
    height: auto;
    opacity: 0.8;
}