.slideContent > * {
  animation: fadeDown 0.7s forwards ease-in-out;
  opacity: 0;
  transform: translateY(-20px);
}
@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate::after,
.animate::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-color);
  height: 100%;
}
.animate::before,
.animate::after {
  z-index: 2000;
}
.animate::before {
  background-color: var(--primary-color);
}
.animate::after {
  right: 0;
  left: auto;
}

.animate::after {
  animation: revealAfter 0.8s forwards cubic-bezier(0.6, 0.05, 0.4, 1);
}
@keyframes revealAfter {
  from {
    width: 100%;
  }
  to {
    width: 0;
  }
}
.animate::before {
  animation: revealBefore 0.8s forwards cubic-bezier(0.6, 0.05, 0.4, 1);
  animation-delay: 0.2s;
}
@keyframes revealBefore {
  from {
    width: 100%;
  }
  to {
    width: 0;
  }
}
.delay-100 {
  animation-delay: 100ms;
}
.delay-200 {
  animation-delay: 200ms;
}
.delay-300 {
  animation-delay: 300ms;
}
.delay-400 {
  animation-delay: 400ms;
}

.leftMove {
  animation: leftMove 1s forwards ease-in-out;
}
@keyframes leftMove {
  from {
    object-position: 0px 0px;
  }
  to {
    object-position: -850px 0px;
  }
}
.rightMove {
  animation: rightMove 1s forwards ease-in-out;
}
@keyframes rightMove {
  from {
    object-position: 0px 0px;
  }
  to {
    object-position: 760px 0;
  }
}
