/* animation */
/*fadeInUp */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* typing */
@keyframes typing {
  0% {
    width: 0%;
  }
  25% {
    width: 210px;
  }
  50% {
    width: 210px;
  }
  75% {
    width: 0%;
  }
  100% {
    width: 26rem;
  }
}

/* blink */
@keyframes blink {
  0% {
    border-right: 2px solid var(--text-dark);
  }
  50% {
    border-right: 2px solid transparent;
  }
  75% {
    border-right: 2px solid var(--text-dark);
  }
  100% {
    border-right: 2px solid transparent;
  }
}

/* slideInLeft */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* slideInRight */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* floatShape */
@keyframes floatShape {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(-50px, 50px) rotate(180deg);
  }
}

/* hero fade-up */
@keyframes heroFadeUp {
  0% {
    opacity: 0;
    transform: translateY(32px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-sec .animate-hero {
  opacity: 0;
  animation: heroFadeUp 0.8s ease forwards;
}

.hero-sec .animate-hero.delay-1 {
  animation-delay: 0.1s;
}

.hero-sec .animate-hero.delay-2 {
  animation-delay: 0.25s;
}

.hero-sec .animate-hero.delay-3 {
  animation-delay: 0.4s;
}

.hero-sec .animate-hero.delay-4 {
  animation-delay: 0.55s;
}

.hero-sec .animate-hero.delay-5 {
  animation-delay: 0.7s;
}
