/* Animation */

.eaam-has-animation {
  position: relative;
  display: inline-block;
}
.eaam-has-animation p,
.eaam-has-animation img {
  opacity: 0;
}
.eaam-has-animation.eaam-animate-in p,
.eaam-has-animation.eaam-animate-in img {
  animation: textHidden 0.1s 1.1s forwards;
}
.eaam-has-animation.eaam-animate-in:before,
.eaam-has-animation.eaam-animate-in:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  z-index: 10;
}
.eaam-has-animation.eaam-animate-in:before {
  background-color: #0fe4d2;
}
.eaam-has-animation.eaam-animate-in:after {
  background-color: #202020;
  animation-delay: 0.5s;
}
.eaam-has-animation.eaam-animation-ltr.eaam-animate-in:before {
  animation: revealLTR 1.8s ease;
}
.eaam-has-animation.eaam-animation-ltr.eaam-animate-in:after {
  animation: revealLTR 1s 0.6s ease;
}
.eaam-has-animation.eaam-animation-rtl.eaam-animate-in:before {
  animation: revealRTL 1.8s ease;
}
.eaam-has-animation.eaam-animation-rtl.eaam-animate-in:after {
  animation: revealRTL 1s 0.6s ease;
}
@keyframes revealRTL {
  0% {
    width: 0;
    right: 0;
  }
  65% {
    width: 100%;
    right: 0;
  }
  100% {
    width: 0;
    right: 100%;
  }
}
@keyframes revealLTR {
  0% {
    width: 0;
    left: 0;
  }
  65% {
    width: 100%;
    left: 0;
  }
  100% {
    width: 0;
    left: 100%;
  }
}
@keyframes textHidden {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
