:root {
  --primary: #64ffda;
  --dark: #0a192f;
  --darker: #020c1b;
  --light: #ccd6f6;
  --lighter: #ffffff;
  scroll-behavior: smooth;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--dark);
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="8" height="8" style="fill:rgb(100,255,218)"><circle cx="4" cy="4" r="4"/></svg>') 4 4, auto;
  color: var(--light);
  margin: 0;
  overflow-x: hidden;
  animation: rotateBackground 20s linear infinite;
  scroll-behavior: smooth;
}

h1,
h2,
h3,
.bebas-neue {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1px;
}

::selection {
  background-color: var(--primary);
  color: rgb(77, 77, 77);
}


@keyframes rotateBackground {
  from {
    background: linear-gradient(0deg, var(--dark), var(--darker));
  }

  to {
    background: linear-gradient(360deg, var(--dark), var(--darker));
  }
}

.flip-card {
  perspective: 1000px;
  width: 300px;
  height: 300px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 1.4s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
}

.flip-card-back {
  transform: rotateY(180deg);
}


::-webkit-scrollbar {
  width: 14px;
}

::-webkit-scrollbar-track {
  background: var(--darker);
  border-radius: 50px;
  box-shadow: inset 0 0 10px rgba(2, 12, 27, 0.5);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 50px;
  border: 3px solid var(--darker);
  box-shadow: 0 0 20px var(--primary);
  transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
  box-shadow: 0 0 25px var(--primary);
  filter: brightness(1.3);
}

::-webkit-scrollbar-corner {
  border-radius: 50px;
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--darker);
}

@-moz-document url-prefix() {
  * {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--darker);
  }

  *::-moz-scrollbar-thumb {
    background: var(--primary);
    border-radius: 50px;
    box-shadow: 0 0 20px var(--primary);
  }

  *::-moz-scrollbar-corner {
    border-radius: 50px;
  }
}









/* From Uiverse.io by Nawsome */
.banter-loader {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72px;
  height: 72px;
  margin-left: -36px;
  margin-top: -36px;
}

.banter-loader__box {
  float: left;
  position: relative;
  width: 20px;
  height: 20px;
  margin-right: 6px;
}

.banter-loader__box:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #fff;
}

.banter-loader__box:nth-child(3n) {
  margin-right: 0;
  margin-bottom: 6px;
}

.banter-loader__box:nth-child(1):before,
.banter-loader__box:nth-child(4):before {
  margin-left: 26px;
}

.banter-loader__box:nth-child(3):before {
  margin-top: 52px;
}

.banter-loader__box:last-child {
  margin-bottom: 0;
}

@keyframes moveBox-1 {
  9.0909090909% {
    transform: translate(-26px, 0);
  }

  18.1818181818% {
    transform: translate(0px, 0);
  }

  27.2727272727% {
    transform: translate(0px, 0);
  }

  36.3636363636% {
    transform: translate(26px, 0);
  }

  45.4545454545% {
    transform: translate(26px, 26px);
  }

  54.5454545455% {
    transform: translate(26px, 26px);
  }

  63.6363636364% {
    transform: translate(26px, 26px);
  }

  72.7272727273% {
    transform: translate(26px, 0px);
  }

  81.8181818182% {
    transform: translate(0px, 0px);
  }

  90.9090909091% {
    transform: translate(-26px, 0px);
  }

  100% {
    transform: translate(0px, 0px);
  }
}

.banter-loader__box:nth-child(1) {
  animation: moveBox-1 4s infinite;
}

@keyframes moveBox-2 {
  9.0909090909% {
    transform: translate(0, 0);
  }

  18.1818181818% {
    transform: translate(26px, 0);
  }

  27.2727272727% {
    transform: translate(0px, 0);
  }

  36.3636363636% {
    transform: translate(26px, 0);
  }

  45.4545454545% {
    transform: translate(26px, 26px);
  }

  54.5454545455% {
    transform: translate(26px, 26px);
  }

  63.6363636364% {
    transform: translate(26px, 26px);
  }

  72.7272727273% {
    transform: translate(26px, 26px);
  }

  81.8181818182% {
    transform: translate(0px, 26px);
  }

  90.9090909091% {
    transform: translate(0px, 26px);
  }

  100% {
    transform: translate(0px, 0px);
  }
}

.banter-loader__box:nth-child(2) {
  animation: moveBox-2 4s infinite;
}

@keyframes moveBox-3 {
  9.0909090909% {
    transform: translate(-26px, 0);
  }

  18.1818181818% {
    transform: translate(-26px, 0);
  }

  27.2727272727% {
    transform: translate(0px, 0);
  }

  36.3636363636% {
    transform: translate(-26px, 0);
  }

  45.4545454545% {
    transform: translate(-26px, 0);
  }

  54.5454545455% {
    transform: translate(-26px, 0);
  }

  63.6363636364% {
    transform: translate(-26px, 0);
  }

  72.7272727273% {
    transform: translate(-26px, 0);
  }

  81.8181818182% {
    transform: translate(-26px, -26px);
  }

  90.9090909091% {
    transform: translate(0px, -26px);
  }

  100% {
    transform: translate(0px, 0px);
  }
}

.banter-loader__box:nth-child(3) {
  animation: moveBox-3 4s infinite;
}

@keyframes moveBox-4 {
  9.0909090909% {
    transform: translate(-26px, 0);
  }

  18.1818181818% {
    transform: translate(-26px, 0);
  }

  27.2727272727% {
    transform: translate(-26px, -26px);
  }

  36.3636363636% {
    transform: translate(0px, -26px);
  }

  45.4545454545% {
    transform: translate(0px, 0px);
  }

  54.5454545455% {
    transform: translate(0px, -26px);
  }

  63.6363636364% {
    transform: translate(0px, -26px);
  }

  72.7272727273% {
    transform: translate(0px, -26px);
  }

  81.8181818182% {
    transform: translate(-26px, -26px);
  }

  90.9090909091% {
    transform: translate(-26px, 0px);
  }

  100% {
    transform: translate(0px, 0px);
  }
}

.banter-loader__box:nth-child(4) {
  animation: moveBox-4 4s infinite;
}

@keyframes moveBox-5 {
  9.0909090909% {
    transform: translate(0, 0);
  }

  18.1818181818% {
    transform: translate(0, 0);
  }

  27.2727272727% {
    transform: translate(0, 0);
  }

  36.3636363636% {
    transform: translate(26px, 0);
  }

  45.4545454545% {
    transform: translate(26px, 0);
  }

  54.5454545455% {
    transform: translate(26px, 0);
  }

  63.6363636364% {
    transform: translate(26px, 0);
  }

  72.7272727273% {
    transform: translate(26px, 0);
  }

  81.8181818182% {
    transform: translate(26px, -26px);
  }

  90.9090909091% {
    transform: translate(0px, -26px);
  }

  100% {
    transform: translate(0px, 0px);
  }
}

.banter-loader__box:nth-child(5) {
  animation: moveBox-5 4s infinite;
}

@keyframes moveBox-6 {
  9.0909090909% {
    transform: translate(0, 0);
  }

  18.1818181818% {
    transform: translate(-26px, 0);
  }

  27.2727272727% {
    transform: translate(-26px, 0);
  }

  36.3636363636% {
    transform: translate(0px, 0);
  }

  45.4545454545% {
    transform: translate(0px, 0);
  }

  54.5454545455% {
    transform: translate(0px, 0);
  }

  63.6363636364% {
    transform: translate(0px, 0);
  }

  72.7272727273% {
    transform: translate(0px, 26px);
  }

  81.8181818182% {
    transform: translate(-26px, 26px);
  }

  90.9090909091% {
    transform: translate(-26px, 0px);
  }

  100% {
    transform: translate(0px, 0px);
  }
}

.banter-loader__box:nth-child(6) {
  animation: moveBox-6 4s infinite;
}

@keyframes moveBox-7 {
  9.0909090909% {
    transform: translate(26px, 0);
  }

  18.1818181818% {
    transform: translate(26px, 0);
  }

  27.2727272727% {
    transform: translate(26px, 0);
  }

  36.3636363636% {
    transform: translate(0px, 0);
  }

  45.4545454545% {
    transform: translate(0px, -26px);
  }

  54.5454545455% {
    transform: translate(26px, -26px);
  }

  63.6363636364% {
    transform: translate(0px, -26px);
  }

  72.7272727273% {
    transform: translate(0px, -26px);
  }

  81.8181818182% {
    transform: translate(0px, 0px);
  }

  90.9090909091% {
    transform: translate(26px, 0px);
  }

  100% {
    transform: translate(0px, 0px);
  }
}

.banter-loader__box:nth-child(7) {
  animation: moveBox-7 4s infinite;
}

@keyframes moveBox-8 {
  9.0909090909% {
    transform: translate(0, 0);
  }

  18.1818181818% {
    transform: translate(-26px, 0);
  }

  27.2727272727% {
    transform: translate(-26px, -26px);
  }

  36.3636363636% {
    transform: translate(0px, -26px);
  }

  45.4545454545% {
    transform: translate(0px, -26px);
  }

  54.5454545455% {
    transform: translate(0px, -26px);
  }

  63.6363636364% {
    transform: translate(0px, -26px);
  }

  72.7272727273% {
    transform: translate(0px, -26px);
  }

  81.8181818182% {
    transform: translate(26px, -26px);
  }

  90.9090909091% {
    transform: translate(26px, 0px);
  }

  100% {
    transform: translate(0px, 0px);
  }
}

.banter-loader__box:nth-child(8) {
  animation: moveBox-8 4s infinite;
}

@keyframes moveBox-9 {
  9.0909090909% {
    transform: translate(-26px, 0);
  }

  18.1818181818% {
    transform: translate(-26px, 0);
  }

  27.2727272727% {
    transform: translate(0px, 0);
  }

  36.3636363636% {
    transform: translate(-26px, 0);
  }

  45.4545454545% {
    transform: translate(0px, 0);
  }

  54.5454545455% {
    transform: translate(0px, 0);
  }

  63.6363636364% {
    transform: translate(-26px, 0);
  }

  72.7272727273% {
    transform: translate(-26px, 0);
  }

  81.8181818182% {
    transform: translate(-52px, 0);
  }

  90.9090909091% {
    transform: translate(-26px, 0);
  }

  100% {
    transform: translate(0px, 0);
  }
}

.banter-loader__box:nth-child(9) {
  animation: moveBox-9 4s infinite;
}











section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mono {
  font-family: 'Space Mono', monospace;
}

.gradient-text {
  background: linear-gradient(120deg, var(--primary), var(--lighter));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glass {
  background: rgba(2, 12, 27, 0.7);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(100, 255, 218, 0.1);
}

.project-card {
  background: var(--darker);
  border: 1px solid rgba(100, 255, 218, 0.1);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(100, 255, 218, 0.1),
      transparent);
  transition: 0.5s;
}

.project-card:hover::before {
  left: 100%;
}

.project-card:hover {
  transform: translateY(-15px) scale(1.02);
  border-color: var(--primary);
  box-shadow: 0 10px 30px -15px rgba(100, 255, 218, 0.3);
}

.project-card img {
  transition: transform 0.5s ease;
}

.project-card:hover img {
  transform: scale(1.1) rotate(5deg);
}

.project-card h3 {
  position: relative;
  overflow: hidden;
}

.project-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.project-card:hover h3::after {
  width: 100%;
}

.nav-link {
  position: relative;
  text-decoration: none;
  color: var(--light);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.btn {
  padding: 0.95rem 1.5rem;
  border-radius: 0.375rem;
  font-family: 'Space Mono', monospace;
  transition: all 0.3s ease;
  border: 1px solid var(--primary);
  color: var(--primary);
  text-decoration: none;
  cursor: none;
  position: relative;
  overflow: hidden;
  background: transparent;
}

.btn:hover {
  background: var(--primary);
  color: var(--darker);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.4);
}

.input {
  padding: 0.75rem;
  border-radius: 0.375rem;
  width: 100%;
  background: rgba(2, 12, 27, 0.7);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(100, 255, 218, 0.1);
}

.input:focus {
  border-color: var(--primary);
  outline: none;
}

#canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
}

.social-icon {
  color: var(--primary);
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-3px);
  color: var(--lighter);
}

.profile-image {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
  padding: 5px;
  background: var(--darker);
  transition: all 0.3s ease;
  animation: waterEffect 5s ease-in-out infinite;
  box-shadow: 0 0 15px rgba(100, 255, 218, 0.5);
}

.profile-image:hover {
  transform: scale(1.05);
  border-color: var(--lighter);
  animation: waterEffectFast 5s ease-in-out infinite;
}

@keyframes waterEffect {
  0% {
    border-radius: 50%;
  }

  25% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }

  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }

  75% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }

  100% {
    border-radius: 50%;
  }
}

@keyframes waterEffectFast {
  0% {
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.8);
  }

  25% {
    border-radius: 65% 35% 25% 75% / 65% 25% 75% 35%;
    box-shadow: 0 0 25px rgba(100, 255, 218, 0.9);
  }

  50% {
    border-radius: 25% 65% 75% 35% / 45% 65% 25% 65%;
    box-shadow: 0 0 30px rgba(100, 255, 218, 1);
  }

  75% {
    border-radius: 65% 35% 25% 75% / 65% 25% 75% 35%;
    box-shadow: 0 0 25px rgba(100, 255, 218, 0.9);
  }

  100% {
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.8);
  }
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 75%;
  height: 100vh;
  background: rgba(2, 12, 27, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 2rem;
  transition: all 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
  z-index: 100;
  transform: translateX(0);
  opacity: 0;
  visibility: hidden;
  border-left: 1px solid rgba(100, 255, 218, 0.1);
}

.mobile-menu.active {
  right: 0;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 101;
  background: rgba(2, 12, 27, 0.7);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  padding: 0.5rem;
  border-radius: 5px;
  border: 1px solid rgba(100, 255, 218, 0.1);
}

.menu-toggle .bar {
  width: 25px;
  height: 2px;
  background: var(--primary);
  margin: 5px 0;
  transition: all 0.3s ease;
  display: block;
  box-shadow: 0 0 5px rgba(100, 255, 218, 0.5);
}

.menu-toggle.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .desktop-menu {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .mobile-menu ul {
    list-style: none;
    padding: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
  }

  .mobile-menu.active ul {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
  }

  .mobile-menu li {
    margin: 1.5rem 0;
    transform: translateX(20px);
    opacity: 0;
    transition: all 0.3s ease;
  }

  .mobile-menu.active li {
    transform: translateX(0);
    opacity: 1;
  }

  .mobile-menu.active li:nth-child(1) {
    transition-delay: 0.4s;
  }

  .mobile-menu.active li:nth-child(2) {
    transition-delay: 0.5s;
  }

  .mobile-menu.active li:nth-child(3) {
    transition-delay: 0.6s;
  }

  .mobile-menu.active li:nth-child(4) {
    transition-delay: 0.7s;
  }

  .mobile-menu .nav-link {
    font-size: 1.2rem;
    display: block;
    padding: 0.5rem 0;
  }

  .mobile-menu .social-icons {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
  }

  .mobile-menu.active .social-icons {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.8s;
  }

  .close-menu {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    transition: transform 0.3s ease;
  }

  .close-menu:hover {
    transform: rotate(90deg);
  }
}