header {
  background-color: rgba(var(--accent-rgb), 0.8);
  backdrop-filter: blur(5px);
  padding: 1rem;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  transition: all 0.3s ease;
}
header:hover {
  background-color: rgba(var(--accent-rgb), 1);
}

.logo {
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
  text-decoration: none;
}

nav {
  padding-inline: 2rem;
}
nav ul {
  list-style-type: none;
  padding: 0;
  display: flex;
  margin: 0;
}
nav ul li {
  margin: 0 1rem;
}
nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  position: relative;
}
nav ul li a::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: white;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
nav ul li a:hover::after {
  transform: scaleX(1);
}
nav ul li a #github-icon {
  height: 20px;
  margin-left: 7px;
  margin-top: 3px;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 2px 0;
  transition: 0.4s;
}

main {
  margin-top: 4rem;
}
main section {
  margin-bottom: 4rem;
  padding-bottom: 2rem;
}
main .content section {
  animation: fadeInUp 1s ease-out;
}

h1,
h2 {
  color: var(--accent);
}

.hero {
  text-align: center;
  width: 100%;
  height: 700px;
  box-sizing: border-box;
  margin-bottom: 4rem;
  margin-top: -2px;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero article {
  background-color: rgba(var(--back-rgb), 0.7);
  width: 700px;
  border-radius: 2rem;
  padding-bottom: 1rem;
  z-index: 2;
  animation: fadeInLeft 2.3s ease;
}
.hero h1 {
  font-size: 3rem;
  margin-block: 1rem;
  font-style: italic;
  text-shadow: 0 0 5px var(--txt), 0 0 5px var(--txt), 0 0 5px var(--txt), 0 0 10px var(--accent), 0 0 17px var(--accent), 0 0 20px var(--accent), 0 0 25px var(--accent), 0 0 37px var(--accent);
}

.content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.cta-button {
  display: inline-block;
  background-color: var(--accent);
  color: var(--txt);
  padding: 0.5rem 1rem;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.cta-button:hover {
  background-color: #4B2FA3;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(var(--accent-rgb), 0.4);
}
.cta-button::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(45deg);
  transition: all 0.3s ease;
}
.cta-button:hover::after {
  left: 100%;
}

.project {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
  padding: 1rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}
.project:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(var(--accent-rgb), 0.2);
}
.project h3 {
  color: var(--accent);
}
.project > p + ul {
  margin-block: -15px;
}
.project.highlighted {
  animation: highlight 1s ease 1s;
}

@keyframes highlight {
  0% {
    background-color: rgba(255, 255, 255, 0.05);
  }
  50% {
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(var(--accent-rgb), 0.4);
  }
  100% {
    background-color: rgba(255, 255, 255, 0.05);
  }
}
.sub-projects li a {
  color: var(--text);
  transition: color 0.3s ease;
}
.sub-projects li a:hover {
  color: var(--accent);
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  background-color: var(--accent);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}
.skill-tag:hover {
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.6);
}

@media screen and (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(var(--accent-rgb), 0.9);
    backdrop-filter: blur(10px);
    display: none;
    padding: 1rem 0;
  }
  nav.active {
    display: block;
  }
  nav ul {
    flex-direction: column;
    align-items: center;
  }
  nav ul li {
    margin: 0.5rem 0;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero article {
    width: 90%;
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInLeft {
  0% {
    opacity: 0.6;
    transform: translateX(-120%) scaleY(0.95);
  }
  70% {
    opacity: 0.9;
    transform: translateX(3%);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
#flying-object {
  position: fixed;
  width: 20px;
  height: 20px;
  background-color: rgba(255, 0, 0, 0.7);
  border-radius: 50%;
  pointer-events: none;
  transition: transform 0.1s ease, background-color 1s ease;
  z-index: 99;
}
#flying-object.fo-bg {
  background-color: rgba(255, 0, 0, 0.9);
}

:root {
  --accent: #5D3FD3;
  --accent-rgb: 93, 63, 211;
  --back: #121212;
  --back-rgb: 18, 18, 18;
  --txt: #E0E0E0;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--back);
  color: var(--txt);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

footer {
  text-align: center;
  padding: 0.5rem;
  background-color: var(--accent);
  color: white;
  font-size: 0.8rem;
}

/*# sourceMappingURL=style.css.map */
