.common-animated {
  animation-duration: 0.45s;
  animation-fill-mode: both;
}

.center-animated {
  transition: left, width, padding-left;
  transition-duration: 0.45s;
  backface-visibility: hidden;
}

.amos-anim-move-left-in {
  animation-name: amos-anim-move-left-in;
}

@keyframes amos-anim-move-left-in {
  0% {
    transform-origin: 0 0;
    transform: translateX(-100%);
    opacity: 0;
  }

  100% {
    transform-origin: 0 0;
    transform: translateX(0);
    opacity: 1;
  }
}

.amos-anim-move-left-out {
  animation-name: amos-anim-move-left-out;
}

@keyframes amos-anim-move-left-out {
  0% {
    transform-origin: 0 0;
    transform: translateX(0);
    opacity: 1;
  }

  100% {
    transform-origin: 0 0;
    transform: translateX(-100%);
    opacity: 0;
  }
}

.amos-anim-move-right-in {
  animation-name: amos-anim-move-right-in;
}

@keyframes amos-anim-move-right-in {
  0% {
    opacity: 0;
    transform-origin: 0 0;
    transform: translateX(100%);
  }

  100% {
    opacity: 1;
    transform-origin: 0 0;
    transform: translateX(0);
  }
}

.amos-anim-move-right-out {
  animation-name: amos-anim-move-right-out;
}

@keyframes amos-anim-move-right-out {
  0% {
    transform-origin: 0 0;
    transform: translateX(0);
    opacity: 1;
  }

  100% {
    transform-origin: 0 0;
    transform: translateX(100%);
    opacity: 0;
  }
}

.amos-anim-move-top-out {
  animation-name: amos-anim-move-top-out;
  animation-name: amos-anim-move-top-out;
}

@keyframes amos-anim-move-top-out {
  0% {
    transform-origin: 0 0;
    transform: translateY(0);
    opacity: 1;
    filter: alpha(opacity=1);
  }

  100% {
    transform-origin: 0 0;
    transform: translateY(-100%);
    opacity: 0;
    filter: alpha(opacity=0);
  }
}

.amos-anim-move-top-in {
  animation-name: amos-anim-move-top-in;
  animation-name: amos-anim-move-top-in;
}

@keyframes amos-anim-move-top-in {
  0% {
    transform-origin: 0 0;
    transform: translateY(-100%);
    opacity: 0;
  }

  100% {
    transform-origin: 0 0;
    transform: translateY(0);
    opacity: 1;
  }
}

.amos-anim-move-bottom-in {
  animation-name: amos-anim-move-bottom-in;
  animation-name: amos-anim-move-bottom-in;
}

@keyframes amos-anim-move-bottom-in {
  0% {
    transform-origin: 0 0;
    transform: translateY(100%);
    opacity: 0;
  }

  100% {
    transform-origin: 0 0;
    transform: translateY(0);
    opacity: 1;
  }
}


.amos-anim-small-to-big {
  animation: amos-anim-small-to-big 0.5s;
  animation-iteration-count: 1;
}

@keyframes amos-anim-small-to-big {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  25% {
    transform: scale(0);
    opacity: 0.1;
  }

  50% {
    transform: scale(0.1);
    opacity: 0.3;
  }

  75% {
    transform: scale(0.5);
    opacity: 0.5;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.amos-anim-big-to-small {
  animation: amos-anim-big-to-small 0.5s;
  animation-iteration-count: 0.5;
  animation-direction: normal;
}

@keyframes amos-anim-big-to-small {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  25% {
    transform: scale(0.6);
    opacity: 0.6;
  }

  50% {
    transform: scale(0.4);
    opacity: 0.4;
  }

  75% {
    transform: scale(0.2);
    opacity: 0.2;
  }

  100% {
    transform: scale(0);
    opacity: 0;
  }
}

.amos-anim-height-change {
  position: relative;
  backface-visibility: hidden;
  animation: amos-anim-height-change 5s ease 1 forwards;
}

@keyframes amos-anim-height-change {
  0% {
    height: 0;
  }

  100% {
    height: 200px;
  }
}

.amos-hover-motion {
  transition-duration: 0.2s;
}
