/*Animation keyframes*/

.animate-warn {
  animation-delay: 2s;
  -webkit-animation-name: jump;
  animation-name: jump;
  -webkit-animation-duration: 8s;
  animation-duration: 8s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  animation-iteration-count: infinite;
  transform-origin: 50%;
  will-change: transform;
}

.animate-danger {
  animation-delay: 1s;
  -webkit-animation-name: shake;
  animation-name: shake;
  -webkit-animation-duration: 5s;
  animation-duration: 5s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  animation-iteration-count: infinite;
  transform-origin: 50% 0;
  will-change: transform;
}

.animate-active {
  animation-delay: 0s;
  -webkit-animation-name: active;
  animation-name: active;
  -webkit-animation-duration: 0.25s;
  animation-duration: .25s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  animation-iteration-count: 1;
  transform-origin: 50% 0;
  will-change: transform;
}

@keyframes active {
  0%,
  100% {
    -webkit-transform: rotate(0deg) scale(1);
    transform: rotate(0deg) scale(1);
  }
  50% {
    -webkit-transform: rotate(0deg) scale(1.25);
    transform: rotate(0deg) scale(1.25);
  }
}

@keyframes jump {
  0%,
  50%,
  100% {
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
  }
  10%,
  20%,
  30%,
  40% {
    -webkit-transform: translateY(-3px);
    transform: translateY(-3px);
  }
  15%,
  25%,
  35%,
  45% {
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
  }
}

@keyframes shake {
  0%,
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  /*Fast Shake*/
  1%,
  3%,
  5%,
  7%,
  9% {
    -webkit-transform: translateX(-2px);
    transform: translateX(-2px);
  }
  2%,
  4%,
  6%,
  8%,
  10% {
    -webkit-transform: translateX(2px);
    transform: translateX(2px);
  }
  /*Medium Shake*/
  12%,
  16%,
  20%,
  24% {
    -webkit-transform: translateX(-1px);
    transform: translateX(-1px);
  }
  14%,
  18%,
  22%,
  26% {
    -webkit-transform: translateX(1px);
    transform: translateX(1px);
  }
  /*Slow Shake*/
  30%,
  38%,
  46% {
    -webkit-transform: translateX(-0.5px);
    transform: translateX(-0.5px);
  }
  34%,
  42%,
  50% {
    -webkit-transform: translateX(0.5px);
    transform: translateX(0.5px);
  }
}


/*Items List Transitions*/

.list-in-enter-active,
.list-in-leave-active {
  transition: all 0.25s ease;
}

.list-in-enter,
.list-in-leave-to {
  opacity: 0;
  transform: scale(0.8);
}


/*List out*/

.list-out-enter-active,
.list-out-leave-active {
  transition: all 0.25s ease;
}

.list-out-enter,
.list-out-leave-to {
  opacity: 0;
  transform: scale(1.2);
}


/*List out delayed*/

.list-out-delayed-enter-active,
.list-out-delayed-leave-active {
  transition: all 0.25s ease 0.25s;
}

.list-out-delayed-enter,
.list-out-delayed-leave-to {
  opacity: 0;
  transform: scale(1.2);
}


/*Route change animations*/

.slide-up-enter-active,
.slide-up-leave-active {
  transition: all .5s ease;
}

.slide-up-enter,
.slide-up-leave-to {
  opacity: 0;
  transform: translateY(-50px);
}


/*Test right*/

.slide-right-enter-active,
.slide-right-leave-active {
  transition: all .5s ease;
}

.slide-right-enter,
.slide-right-leave-to {
  opacity: 0;
  transform: translateX(-100px);
}


/*Test left*/

.slide-left-enter-active,
.slide-left-leave-active {
  transition: all .5s ease;
}

.slide-left-enter,
.slide-left-leave-to {
  opacity: 0;
  transform: translateY(100px);
}