/* Animation Classes */
.animate {
  animation-duration: 1s;
  animation-fill-mode: both;
}

.animate--infinite {
  animation-iteration-count: infinite;
}

.animate--delay-1s {
  animation-delay: 1s;
}

.animate--fast {
  animation-duration: 0.6s;
}

.animate--slow {
  animation-duration: 1.5s;
}

/* Animations */
@keyframes slideInLeft {
  from {
    transform: translateX(-100px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.slideInLeft {
  animation-name: slideInLeft;
  animation-timing-function: ease-out;
}

@keyframes slideInRight {
  from {
    transform: translateX(100px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.slideInRight {
  animation-name: slideInRight;
  animation-timing-function: ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fadeIn {
  animation-name: fadeIn;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.pulse {
  animation-name: pulse;
  animation-timing-function: ease-in-out;
}

/* Scroll Animations */
[data-animate] {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate="fadeIn"] {
  transform: translateY(20px);
}

[data-animate="fadeIn"].animate {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="slideInLeft"] {
  transform: translateX(-50px);
}

[data-animate="slideInLeft"].animate {
  opacity: 1;
  transform: translateX(0);
}

[data-animate="slideInRight"] {
  transform: translateX(50px);
}

[data-animate="slideInRight"].animate {
  opacity: 1;
  transform: translateX(0);
}
