@import url('https://fonts.googleapis.com/css2?family=Rock+Salt&family=Jura:wght@300..700&family=Shantell+Sans:ital,wght@0,300..800;1,300..800&display=swap');

.about-hero,
.about-hero-ru {
	text-align: center;
	margin: 2rem auto 3rem;
	max-width: 800px;
	padding: 0 1.5rem;
}

.about-hero h1 {
	font-family: "Rock Salt", cursive;
	color: #39FF14;
	font-size: 2.5rem;
	margin-bottom: 1rem;
}

.about-hero-ru h1 {
	font-family: "Shantell Sans", cursive;
	color: #39FF14;
	font-size: 2.5rem;
	margin-bottom: 1rem;
}

.about-hero,
.about-hero-ru p {
	font-size: 1.5rem;
	color: #ccc;
	font-family: "Jura", sans-serif;
}

.about-details {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	max-width: 1000px;
	margin: 0 auto 4rem;
	padding: 0 2rem;
}

.about-card {
	background-color: #1e1e1e;
	border: 2px dashed #39FF14;
	color: #eee;
	padding: 1.5rem;
	border-radius: 12px;
	transition: transform 0.3s ease;
}

.about-card h2 {
	color: #39FF14;
	margin-top: 0;
	font-family: "Jura", sans-serif;
	white-space: nowrap;
}

.about-card p {
	color: #ccc;
	font-size: 1.4rem;
	font-family: "Jura", sans-serif;
}

.about-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 0 15px #39FF14;
}

.about-me {
	margin: 2rem auto 3rem;
	max-width: 1000px;
	padding: 0 2rem;
}

.about-me-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	background-color: #1e1e1e;
	border: 2px dashed #39FF14;
	border-radius: 12px;
	padding: 2rem;
	color: #eee;
	box-shadow: 0 0 10px rgba(57, 255, 20, 0.2);
	transition: transform 0.3s ease;
	text-align: center;
}

.about-me-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 0 15px #39FF14;
}

.about-photo {
	width: 160px;
	height: 160px;
	border-radius: 50%;
	object-fit: cover;
	margin-bottom: 1rem;
	border: 3px solid #39FF14;
	box-shadow: 0 0 10px #39FF14;
}

.about-text h2 {
	color: #39FF14;
	font-size: 1.8rem;
	margin-bottom: 0.5rem;
	font-family: "Jura", sans-serif;
}

.about-text p {
	font-size: 1.4rem;
	color: #ccc;
	max-width: 700px;
	margin: 0 auto;
	font-family: "Jura", sans-serif;
}

@media (min-width: 768px) {
	.about-me-card {
		flex-direction: row;
		align-items: center;
		text-align: left;
	}

	.about-photo {
		margin-right: 2rem;
		margin-bottom: 0;
	}

	.about-text {
		max-width: 600px;
	}
}
