@keyframes fade-up {
  0% {
    opacity: 0;
    transform: translateY(2rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-right {
  0% {
    opacity: 0;
    transform: translateX(2rem);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fade-left {
  0% {
    opacity: 0;
    transform: translateX(-2rem);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}
/* /right bounce */

/*
*   Add a base delay.
*/
.aos.animate {
  animation-delay: 0.5s;
}

/*
*   Add the default state of each element before it is animated.
*   This should be the same as the 0% keyframes CSS
*/
.aos.fade-up {
  opacity: 0;
  transform: translateY(2rem);
}
.aos.fade-right {
  opacity: 0;
  transform: translateX(-2rem);
}
.aos.fade-left {
  opacity: 0;
  transform: translateX(2rem);
}

/*
*   Trigger the animation
*/
.animate.aos.fade-up {
  animation: fade-up 1s both;
}
.animate.aos.fade-left {
  animation: fade-left 1s both;
}
.animate.aos.fade-right {
  animation: fade-right 1s both;
}

/*
*   Set some delays.  
*/
.animation-delay-1,
.animation-delay-stagger .aos:nth-child(1) {
  animation-delay: calc(var(--baseDelay, 0.5s) + 0.25s) !important;
}
.animation-delay-2,
.animation-delay-stagger .aos:nth-child(2) {
  animation-delay: calc(var(--baseDelay, 0.5s) + 0.5s) !important;
}
.animation-delay-3,
.animation-delay-stagger .aos:nth-child(3) {
  animation-delay: calc(var(--baseDelay, 0.5s) + 0.75s) !important;
}
.animation-delay-4,
.animation-delay-stagger .aos:nth-child(4) {
  animation-delay: calc(var(--baseDelay, 0.5s) + 1s) !important;
}
