:root {
  --primary-color: #7f5af0;
  --secondary-color: #2cb67d;
  --accent-color: #fca311;
  --highlight-color: #ff8906;
  --dark-color: #16161a;
  --light-color: #f8f9fa;
  --text-color: #1d1d1d;
  --muted-color: #d1d1d1;

  --level-1-color: #ff6b6b;
  --level-2-color: #f7b267;
  --level-3-color: #ffd670;
  --level-4-color: #70e000;
  --level-5-color: #38b000;

  --tagline-color: #94a1b2;
}

body {
  font-family: "Inter", "Space Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  margin: 0;
  padding: 0;
  color: var(--text-color);
  background: var(--light-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

html {
	scroll-behavior: smooth;
}

.button {
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid transparent;
  background: var(--primary-color);
  color: white;
  transition: all 0.25s ease;
  cursor: pointer;
}

.button:hover {
  background: transparent;
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.container {
	width: 80%;
	margin: auto;
	overflow: hidden;
	padding: 1rem 0;
}

header {
  background: linear-gradient(145deg, var(--dark-color), #1f1f26);
  color: var(--light-color);
  text-align: center;
  padding: 5rem 1rem;
  position: relative;
  border-bottom: 2px solid var(--primary-color);
}

header h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin: 0;
  animation: fadeInDown 0.7s ease-in-out;
  letter-spacing: -1px;
  font-weight: 700;
}

header p.tagline {
  font-size: 1.3rem;
  color: var(--tagline-color);
  animation: fadeInUp 0.8s ease-in-out;
}

@media (max-width: 768px) {
  header h1 {
    font-size: 2.2rem;
  }

  header p.tagline {
    font-size: 1rem;
  }

  .project {
    padding: 1.25rem;
  }

  .skills-list span {
    font-size: 0.9rem;
  }
}

.logo {
	position: absolute;
	top: 1rem;
	left: 1rem;
}

.logo img {
	width: 50px;
	height: auto;
	transition: transform 0.3s;
}

.logo img:hover {
	transform: scale(1.1);
}

.language-switcher {
	display: flex;
	justify-content: center;
	gap: 1rem;
	margin-bottom: 1rem;
}

.language-switcher button {
	font-weight: 300;
	background-color: var(--dark-color);
	color: #fff;
	border: none;
	padding: 0.3rem 0.6rem;
	border-radius: 5px;
	cursor: pointer;
	transition: background-color 0.3s;
}

.language-switcher button:hover {
	background-color: var(--accent-color);
	transform: scale(1.1);
}

#hititle {
	font-family: 'Shadows Into Light Two', sans-serif;
}

.social-links {
	display: flex;
	justify-content: center;
	gap: 1.5rem;
	margin-top: 1rem;
	animation: fadeIn 1.5s ease-in-out;
}

.social-links a {
	color: #fff;
	font-size: 1.5rem;
	transition: transform 0.3s, color 0.3s;
}

.social-links a:hover {
	transform: scale(1.2);
	color: var(--secondary-color);
}

.contact-me {
	margin-top: 2rem;
	animation: fadeIn 1.5s ease-in-out;
}

.contact-me .button {
	font-weight: 700;
	display: inline-block;
	padding: 15px 30px;
	background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
	color: var(--dark-color);
	text-decoration: none;
	border-radius: 8px;
	font-size: 1.2rem;
	transition: background 0.3s ease, transform 0.3s ease;
}

.contact-me .button:hover {
	background: linear-gradient(135deg, var(--accent-color), var(--highlight-color));
	transform: scale(1.1);
}

@keyframes fadeInDown {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

nav {
  background: var(--dark-color);
  border-bottom: 2px solid var(--primary-color);
  padding: 0.75rem 1rem;
}

nav ul {
	padding: 0;
	list-style: none;
	display: flex;
	justify-content: space-between;
	margin: 0;
	width: 100%;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

nav ul li {
	flex: 1;
	text-align: center;
}

nav ul li a {
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 0.6rem 1rem;
  color: var(--light-color);
}

nav ul li a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

@media (max-width: 600px) {
	nav ul {
		flex-direction: column;
		align-items: center;
	}

	nav ul li {
		margin: 0.5rem 0;
	}

	nav ul li a {
		font-size: 1.2rem;
	}
}

main {
	background: linear-gradient(to bottom, #ffffff 0%, #e0ffe0 50%, #cfe2ff 100%);
	padding: 2rem 0;
}

section {
	padding: 4rem 0;
	position: relative;
}

section::before {
	content: '';
	position: absolute;
	top: -50px;
	left: 0;
	right: 0;
	height: 100px;
	background: inherit;
	filter: blur(30px);
	z-index: -1;
}

h2 {
	text-align: center;
	font-size: 2rem;
	margin-bottom: 2rem;
	position: relative;
}

h2::after {
	content: '';
	width: 50px;
	height: 3px;
	background: var(--primary-color);
	display: block;
	margin: 0.5rem auto 0;
	border-radius: 3px;
}

#about {
	padding: 1rem 2rem;
}

#about p {
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.6;
}

.profile-picture {
	display: block;
	margin: 0 auto 2rem;
	width: 150px;
	height: 150px;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#projects {
	padding: 1rem 2rem;
}

.project-list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	animation: fadeIn 2s ease-in-out;
}

@media (min-width: 600px) {
	.project-list {
		grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	}
}

.project {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
}

.project:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.project img {
	border-radius: 50%;
	width: 150px;
	height: 150px;
	object-fit: cover;
	margin-bottom: 1rem;
	transition: transform 0.3s;
}

.project:hover img {
	transform: scale(1.1);
}

.project h3 a {
  font-weight: 600;
  color: var(--primary-color);
}

.project h3 a:hover {
	color: var(--primary-color);
}

.store-links {
	margin-top: 1rem;
}

.store-links a {
	margin: 0 0.5rem;
	font-size: 2rem;
	color: #000;
	transition: transform 0.3s, color 0.3s;
}

.store-links a:hover {
	transform: scale(1.2);
	color: var(--primary-color);
}

.project.inactive {
	opacity: 0.5;
}

.project.inactive:hover {
	transform: none;
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.project.inactive img:hover {
	transform: none;
}

.stats {
	display: flex;
	justify-content: center;
	gap: 1rem;
	margin-top: 1rem;
	font-size: 1rem;
	color: #333;
}

.stats span {
	display: flex;
	align-items: center;
	gap: 0.3rem;
}

.stats i {
	color: var(--primary-color);
}

#skills {
	padding: 1rem 2rem;
}

.skill-category {
	margin-bottom: 2rem;
}

.skill-category h3 {
	font-size: 1.5rem;
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
}

.skill-category h3 .skill-icon {
	margin-right: 0.5rem;
}

.skills-list {
	list-style-type: none;
	padding: 0;
	margin: 0;
}

.skills-list li {
  background: #fff;
  border: 1px solid var(--muted-color);
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  transition: background 0.3s ease;
  margin-bottom: 8px;
}

.skills-list li:hover {
  background: #f0f0f0;
}

.skill-bar-inner {
  height: 100%;
  border-radius: 5px;
  transition: width 0.4s ease;
}

.skill-bar-inner.level-1 { width: 20%; background: var(--level-1-color); }
.skill-bar-inner.level-2 { width: 40%; background: var(--level-2-color); }
.skill-bar-inner.level-3 { width: 60%; background: var(--level-3-color); }
.skill-bar-inner.level-4 { width: 80%; background: var(--level-4-color); }
.skill-bar-inner.level-5 { width: 100%; background: var(--level-5-color); }

.skills-list span {
	font-size: 1rem;
	font-weight: 500;
}

.skill-level {
	display: flex;
	align-items: center;
}

.skill-bar {
	height: 10px;
	background: var(--muted-color);
	border-radius: 5px;
	overflow: hidden;
	margin-left: 0.5rem;
	width: 100px;
}

.level-1 { width: 20%; background: var(--level-1-color); }
.level-2 { width: 40%; background: var(--level-2-color); }
.level-3 { width: 60%; background: var(--level-3-color); }
.level-4 { width: 80%; background: var(--level-4-color); }
.level-5 { width: 100%; background: var(--level-5-color); }

@media (max-width: 768px) {
	.skill-category h3 {
		font-size: 1.1rem;
	}
}

footer {
	background: var(--dark-color);
	color: #fff;
	text-align: center;
	position: relative;
	width: 100%;
	box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.2);
}

.button:focus-visible,
.language-switcher button:focus-visible {
  outline: 2px dashed var(--accent-color);
  outline-offset: 3px;
}

.badge-for-sale {
  display: inline-block;
  background: var(--highlight-color);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.6rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
  animation: fadeIn 1s ease-in-out;
}
