:root {
  --jumpcolor: #52E2C0;
}

.jumpanima {
  top: 0;
  left: 0;
  pointer-events: none;
}

.jumpanima::after, .jumpanima::before {
  z-index: 98;
  position: fixed;
  bottom: 0;
  left: 0;
  height: 0;
  width: 100vw;
  content: "";
  background: var(--jumpcolor);
  /* transform: translateY(100%); */
  animation: slideup 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.jumpanima::before {
  z-index: 99;
  background: #fff;
  animation-delay: 0.3s;
}

@keyframes slideup {
  to {
    height: 100vh;
  }
}

.jumptoright {
  z-index: 999;
  position: fixed;
  display: flex;
  flex-direction: column;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  pointer-events: none;
}

.jumptoright .jumpsilder {
  width: 0;
  height: 100%;
  background: #1f1f1f;
  animation: slideright 1s forwards;
  pointer-events: none;
  animation-delay: calc(var(--i) * 0.2s);
}

@keyframes slideright {
  to {
    width: 100%;
  }
}

.jumpback {
  position: fixed;
  z-index: 999;
  display: flex;
  flex-direction: column;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  pointer-events: none;
}

.jumpback .jumpsilder {
  width: 0;
  height: 100%;
  background: #fff;
  animation: slideright 1s forwards;
  pointer-events: none;
  animation-delay: calc(var(--i) * 0.2s);
}

@keyframes slideleft {
  to {
    width: 100%;
  }
}