html {
  scroll-behavior: smooth;
}

* {
  font-family: "Outfit", sans-serif;
}

.mono {
  font-family: "JetBrains Mono", monospace;
}

body {
  box-sizing: border-box;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.delay-100 {
  animation-delay: 0.1s;
}
.delay-200 {
  animation-delay: 0.2s;
}
.delay-300 {
  animation-delay: 0.3s;
}
.delay-400 {
  animation-delay: 0.4s;
}
.delay-500 {
  animation-delay: 0.5s;
}

.gradient-text {
  background: linear-gradient(135deg, #6366f1, #8b5cf6, #a855f7);
  background-size: 200% 200%;
  animation: gradient 3s ease infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card-hover {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(99, 102, 241, 0.15);
}

.btn-primary {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px -10px rgba(99, 102, 241, 0.5);
}

.skill-tag {
  transition: all 0.3s ease;
}

.skill-tag:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.blob {
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.1),
    rgba(139, 92, 246, 0.1)
  );
}

.input-focus:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.highlight {
  /* font-weight: bold; */
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.highlight.purple {
  color: #9333ea;
  background: linear-gradient(#f3e8ff 0 0) 0/100% no-repeat;
  background-size: 100% 8px;
  background-position: bottom 5px left 0.5em;
}

.highlight.blue {
  color: #4f46e5;
  background: linear-gradient(#e0e7ff 0 0) 0/100% no-repeat;
  background-size: 100% 8px;
  background-position: bottom 5px left 0.5em;
}
