@keyframes swing {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-10deg); /* Swing left */
  }
  50% {
    transform: rotate(0deg); /* Back to center */
  }
  75% {
    transform: rotate(10deg); /* Swing right */
  }
  100% {
    transform: rotate(0deg); /* Back to center */
  }
}

@keyframes bounceAndSwing {
  0%, 100% {
    transform: translateX(0) rotate(0deg);
  }
  25% {
    transform: translateX(-10px) rotate(-10deg);
  }
  50% {
    transform: translateX(0) rotate(0deg);
  }
  75% {
    transform: translateX(-10px) rotate(10deg);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1); /* Default size */
  }
  50% {
    transform: scale(1.2); /* Slightly larger */
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-5px);
  }
}

@keyframes hoverBounce {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-5px);
  }
}

.animated-arrow {
  display: inline-block;
  transform-origin: center right; /* Set pivot point */
  animation: swing 1.5s infinite ease-in-out; /* Smooth swing */
  /*transform-origin: center right;*/ /* Pivot point */
  /*animation: pulse 1s infinite ease-in-out;*/
  /*animation: bounceAndSwing 2s infinite ease-in-out;*/
  /*animation: hoverBounce 1.5s infinite ease-in-out;*/
  animation: bounce 1.5s infinite ease-in-out;
}

.animated-arrow:hover {
  animation: hoverBounce 0.5s infinite;
}

.hoverBounce:hover {
  animation: hoverBounce 1.5s infinite ease-in-out;
}

.hoverPulse:hover {
  animation: pulse 1s infinite ease-in-out;
}

.hoverBounce:hover {
  animation: bounce 1s infinite ease-in-out;
}


.typewriter {
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid #000;
  animation: typing 4s steps(20, end), blink 0.5s step-end infinite;
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

.bounce-in {
  display: inline-block;
}

.bounce-in span {
  display: inline-block;
  opacity: 0;
  animation: bounce-in 0.5s ease-in-out forwards;
}

.bounce-in span:nth-child(1) { animation-delay: 0s; }
.bounce-in span:nth-child(2) { animation-delay: 0.1s; }
.bounce-in span:nth-child(3) { animation-delay: 0.2s; }
.bounce-in span:nth-child(4) { animation-delay: 0.3s; }
.bounce-in span:nth-child(5) { animation-delay: 0.4s; }
.bounce-in span:nth-child(6) { animation-delay: 0.5s; }
.bounce-in span:nth-child(7) { animation-delay: 0.6s; }
.bounce-in span:nth-child(8) { animation-delay: 0.7s; }
.bounce-in span:nth-child(9) { animation-delay: 0.8s; }
.bounce-in span:nth-child(10) { animation-delay: 0.9s; }
.bounce-in span:nth-child(11) { animation-delay: 1s; }
.bounce-in span:nth-child(12) { animation-delay: 1.1s; }
.bounce-in span:nth-child(13) { animation-delay: 1.2s; }
.bounce-in span:nth-child(14) { animation-delay: 1.3s; }
.bounce-in span:nth-child(15) { animation-delay: 1.4s; }
.bounce-in span:nth-child(16) { animation-delay: 1.5s; }
.bounce-in span:nth-child(17) { animation-delay: 1.6s; }
.bounce-in span:nth-child(18) { animation-delay: 1.7s; }
.bounce-in span:nth-child(19) { animation-delay: 1.8s; }
.bounce-in span:nth-child(20) { animation-delay: 1.9s; }
.bounce-in span:nth-child(21) { animation-delay: 2s; }
.bounce-in span:nth-child(22) { animation-delay: 2.1s; }
.bounce-in span:nth-child(23) { animation-delay: 2.2s; }
.bounce-in span:nth-child(24) { animation-delay: 2.3s; }
.bounce-in span:nth-child(25) { animation-delay: 2.4s; }
.bounce-in span:nth-child(26) { animation-delay: 2.5s; }
.bounce-in span:nth-child(27) { animation-delay: 2.6s; }
.bounce-in span:nth-child(28) { animation-delay: 2.7s; }
.bounce-in span:nth-child(29) { animation-delay: 2.8s; }
.bounce-in span:nth-child(30) { animation-delay: 2.9s; }
.bounce-in span:nth-child(31) { animation-delay: 3s; }
.bounce-in span:nth-child(32) { animation-delay: 3.1s; }
.bounce-in span:nth-child(33) { animation-delay: 3.2s; }
.bounce-in span:nth-child(34) { animation-delay: 3.3s; }

@keyframes bounce-in {
  0% {
    transform: translateY(-50px);
    opacity: 0;
  }
  50% {
    transform: translateY(10px);
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}