/*
 *  Usage:
 *
      <div class="crt-rotating-plane"></div>
 *
 */

.crt-rotating-plane {
  width: 40px;
  height: 40px;
  background-color: #333;
  -webkit-animation: crt-rotatePlane 1.2s infinite ease-in-out;
  animation: crt-rotatePlane 1.2s infinite ease-in-out;
}

@-webkit-keyframes crt-rotatePlane {
  0% {
    -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg);
    transform: perspective(120px) rotateX(0deg) rotateY(0deg);
  }
  50% {
    -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
    transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
  }
  100% {
    -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
  }
}

@keyframes crt-rotatePlane {
  0% {
    -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg);
    transform: perspective(120px) rotateX(0deg) rotateY(0deg);
  }
  50% {
    -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
    transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
  }
  100% {
    -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
  }
}


/*
 *  Usage:
 *
      <div class="crt-double-bounce">
        <div class="crt-child crt-double-bounce1"></div>
        <div class="crt-child crt-double-bounce2"></div>
      </div>
 *
 */

.crt-double-bounce {
  width: 23px;
  height: 23px;
  position: relative;
}

.crt-double-bounce .crt-child {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  opacity: 0.6;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-animation: crt-doubleBounce 2s infinite ease-in-out;
  animation: crt-doubleBounce 2s infinite ease-in-out;
}

.crt-double-bounce .crt-double-bounce2 {
  -webkit-animation-delay: -1.0s;
  animation-delay: -1.0s;
}

@-webkit-keyframes crt-doubleBounce {
  0%,
  100% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  50% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes crt-doubleBounce {
  0%,
  100% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  50% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}


/*
 *  Usage:
 *
      <div class="crt-wave">
        <div class="crt-rect crt-rect1"></div>
        <div class="crt-rect crt-rect2"></div>
        <div class="crt-rect crt-rect3"></div>
        <div class="crt-rect crt-rect4"></div>
        <div class="crt-rect crt-rect5"></div>
      </div>
 *
 */

.crt-wave {
  width: 50px;
  height: 25px;
  text-align: center;
}

.crt-wave .crt-rect {
  height: 100%;
  width: 4px;
  margin-right: 2px;
  display: inline-block;
  -webkit-animation: crt-waveStretchDelay 1.2s infinite ease-in-out;
  animation: crt-waveStretchDelay 1.2s infinite ease-in-out;
}

.crt-wave .crt-rect1 {
  -webkit-animation-delay: -1.2s;
  animation-delay: -1.2s;
}

.crt-wave .crt-rect2 {
  -webkit-animation-delay: -1.1s;
  animation-delay: -1.1s;
}

.crt-wave .crt-rect3 {
  -webkit-animation-delay: -1s;
  animation-delay: -1s;
}

.crt-wave .crt-rect4 {
  -webkit-animation-delay: -0.9s;
  animation-delay: -0.9s;
}

.crt-wave .crt-rect5 {
  -webkit-animation-delay: -0.8s;
  animation-delay: -0.8s;
}

@-webkit-keyframes crt-waveStretchDelay {
  0%,
  40%,
  100% {
    -webkit-transform: scaleY(0.4);
    transform: scaleY(0.4);
  }
  20% {
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
  }
}

@keyframes crt-waveStretchDelay {
  0%,
  40%,
  100% {
    -webkit-transform: scaleY(0.4);
    transform: scaleY(0.4);
  }
  20% {
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
  }
}


/*
 *  Usage:
 *
      <div class="crt-wandering-cubes">
        <div class="crt-cube crt-cube1"></div>
        <div class="crt-cube crt-cube2"></div>
      </div>
 *
 */

.crt-wandering-cubes {
  width: 40px;
  height: 40px;
  position: relative;
}

.crt-wandering-cubes .crt-cube {
  background-color: #333;
  width: 10px;
  height: 10px;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-animation: crt-wanderingCube 1.8s ease-in-out -1.8s infinite both;
  animation: crt-wanderingCube 1.8s ease-in-out -1.8s infinite both;
}

.crt-wandering-cubes .crt-cube2 {
  -webkit-animation-delay: -0.9s;
  animation-delay: -0.9s;
}

@-webkit-keyframes crt-wanderingCube {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  25% {
    -webkit-transform: translateX(30px) rotate(-90deg) scale(0.5);
    transform: translateX(30px) rotate(-90deg) scale(0.5);
  }
  50% {
    /* Hack to make FF rotate in the right direction */
    -webkit-transform: translateX(30px) translateY(30px) rotate(-179deg);
    transform: translateX(30px) translateY(30px) rotate(-179deg);
  }
  50.1% {
    -webkit-transform: translateX(30px) translateY(30px) rotate(-180deg);
    transform: translateX(30px) translateY(30px) rotate(-180deg);
  }
  75% {
    -webkit-transform: translateX(0) translateY(30px) rotate(-270deg) scale(0.5);
    transform: translateX(0) translateY(30px) rotate(-270deg) scale(0.5);
  }
  100% {
    -webkit-transform: rotate(-360deg);
    transform: rotate(-360deg);
  }
}

@keyframes crt-wanderingCube {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  25% {
    -webkit-transform: translateX(30px) rotate(-90deg) scale(0.5);
    transform: translateX(30px) rotate(-90deg) scale(0.5);
  }
  50% {
    /* Hack to make FF rotate in the right direction */
    -webkit-transform: translateX(30px) translateY(30px) rotate(-179deg);
    transform: translateX(30px) translateY(30px) rotate(-179deg);
  }
  50.1% {
    -webkit-transform: translateX(30px) translateY(30px) rotate(-180deg);
    transform: translateX(30px) translateY(30px) rotate(-180deg);
  }
  75% {
    -webkit-transform: translateX(0) translateY(30px) rotate(-270deg) scale(0.5);
    transform: translateX(0) translateY(30px) rotate(-270deg) scale(0.5);
  }
  100% {
    -webkit-transform: rotate(-360deg);
    transform: rotate(-360deg);
  }
}


/*
 *  Usage:
 *
      <div class="crt-spinner crt-spinner-pulse"></div>
 *
 */

.crt-spinner-pulse {
  width: 23px;
  height: 23px;
  border-radius: 100%;
  -webkit-animation: crt-pulseScaleOut 1s infinite ease-in-out;
  animation: crt-pulseScaleOut 1s infinite ease-in-out;
}

@-webkit-keyframes crt-pulseScaleOut {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 0;
  }
}

@keyframes crt-pulseScaleOut {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 0;
  }
}


/*
 *  Usage:
 *
      <div class="crt-chasing-dots">
        <div class="crt-child crt-dot1"></div>
        <div class="crt-child crt-dot2"></div>
      </div>
 *
 */

.crt-chasing-dots {
  width: 20px;
  height: 20px;
  position: relative;
  text-align: center;
  -webkit-animation: crt-chasingDotsRotate 2s infinite linear;
  animation: crt-chasingDotsRotate 2s infinite linear;
}

.crt-chasing-dots .crt-child {
  width: 60%;
  height: 60%;
  display: inline-block;
  position: absolute;
  top: 0;
  border-radius: 100%;
  -webkit-animation: crt-chasingDotsBounce 2s infinite ease-in-out;
  animation: crt-chasingDotsBounce 2s infinite ease-in-out;
}

.crt-chasing-dots .crt-dot2 {
  top: auto;
  bottom: 0;
  -webkit-animation-delay: -1s;
  animation-delay: -1s;
}

@-webkit-keyframes crt-chasingDotsRotate {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes crt-chasingDotsRotate {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@-webkit-keyframes crt-chasingDotsBounce {
  0%,
  100% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  50% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes crt-chasingDotsBounce {
  0%,
  100% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  50% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}


/*
 *  Usage:
 *
      <div class="crt-three-bounce">
        <div class="crt-child crt-bounce1"></div>
        <div class="crt-child crt-bounce2"></div>
        <div class="crt-child crt-bounce3"></div>
      </div>
 *
 */

.crt-three-bounce {
  width: 80px;
  text-align: center;
}

.crt-three-bounce .crt-child {
  width: 10px;
  height: 10px;
  border-radius: 100%;
  margin-right: 1px;
  display: inline-block;
  -webkit-animation: crt-three-bounce 1.4s ease-in-out 0s infinite both;
  animation: crt-three-bounce 1.4s ease-in-out 0s infinite both;
}

.crt-three-bounce .crt-bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.crt-three-bounce .crt-bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

@-webkit-keyframes crt-three-bounce {
  0%,
  80%,
  100% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  40% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes crt-three-bounce {
  0%,
  80%,
  100% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  40% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}


/*
 *  Usage:
 *
      <div class="crt-circle">
        <div class="crt-circle1 crt-child"></div>
        <div class="crt-circle2 crt-child"></div>
        <div class="crt-circle3 crt-child"></div>
        <div class="crt-circle4 crt-child"></div>
        <div class="crt-circle5 crt-child"></div>
        <div class="crt-circle6 crt-child"></div>
        <div class="crt-circle7 crt-child"></div>
        <div class="crt-circle8 crt-child"></div>
        <div class="crt-circle9 crt-child"></div>
        <div class="crt-circle10 crt-child"></div>
        <div class="crt-circle11 crt-child"></div>
        <div class="crt-circle12 crt-child"></div>
      </div>
 *
 */

.crt-circle {
  width: 22px;
  height: 22px;
  position: relative;
}

.crt-circle .crt-child {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

.crt-circle .crt-child:before {
  content: '';
  display: block;
  margin: 0 auto;
  width: 15%;
  height: 15%;
  background-color: #333;
  border-radius: 100%;
  -webkit-animation: crt-circleBounceDelay 1.2s infinite ease-in-out both;
  animation: crt-circleBounceDelay 1.2s infinite ease-in-out both;
}

.crt-circle .crt-circle2 {
  -webkit-transform: rotate(30deg);
  -ms-transform: rotate(30deg);
  transform: rotate(30deg);
}

.crt-circle .crt-circle3 {
  -webkit-transform: rotate(60deg);
  -ms-transform: rotate(60deg);
  transform: rotate(60deg);
}

.crt-circle .crt-circle4 {
  -webkit-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
}

.crt-circle .crt-circle5 {
  -webkit-transform: rotate(120deg);
  -ms-transform: rotate(120deg);
  transform: rotate(120deg);
}

.crt-circle .crt-circle6 {
  -webkit-transform: rotate(150deg);
  -ms-transform: rotate(150deg);
  transform: rotate(150deg);
}

.crt-circle .crt-circle7 {
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.crt-circle .crt-circle8 {
  -webkit-transform: rotate(210deg);
  -ms-transform: rotate(210deg);
  transform: rotate(210deg);
}

.crt-circle .crt-circle9 {
  -webkit-transform: rotate(240deg);
  -ms-transform: rotate(240deg);
  transform: rotate(240deg);
}

.crt-circle .crt-circle10 {
  -webkit-transform: rotate(270deg);
  -ms-transform: rotate(270deg);
  transform: rotate(270deg);
}

.crt-circle .crt-circle11 {
  -webkit-transform: rotate(300deg);
  -ms-transform: rotate(300deg);
  transform: rotate(300deg);
}

.crt-circle .crt-circle12 {
  -webkit-transform: rotate(330deg);
  -ms-transform: rotate(330deg);
  transform: rotate(330deg);
}

.crt-circle .crt-circle2:before {
  -webkit-animation-delay: -1.1s;
  animation-delay: -1.1s;
}

.crt-circle .crt-circle3:before {
  -webkit-animation-delay: -1s;
  animation-delay: -1s;
}

.crt-circle .crt-circle4:before {
  -webkit-animation-delay: -0.9s;
  animation-delay: -0.9s;
}

.crt-circle .crt-circle5:before {
  -webkit-animation-delay: -0.8s;
  animation-delay: -0.8s;
}

.crt-circle .crt-circle6:before {
  -webkit-animation-delay: -0.7s;
  animation-delay: -0.7s;
}

.crt-circle .crt-circle7:before {
  -webkit-animation-delay: -0.6s;
  animation-delay: -0.6s;
}

.crt-circle .crt-circle8:before {
  -webkit-animation-delay: -0.5s;
  animation-delay: -0.5s;
}

.crt-circle .crt-circle9:before {
  -webkit-animation-delay: -0.4s;
  animation-delay: -0.4s;
}

.crt-circle .crt-circle10:before {
  -webkit-animation-delay: -0.3s;
  animation-delay: -0.3s;
}

.crt-circle .crt-circle11:before {
  -webkit-animation-delay: -0.2s;
  animation-delay: -0.2s;
}

.crt-circle .crt-circle12:before {
  -webkit-animation-delay: -0.1s;
  animation-delay: -0.1s;
}

@-webkit-keyframes crt-circleBounceDelay {
  0%,
  80%,
  100% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  40% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes crt-circleBounceDelay {
  0%,
  80%,
  100% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  40% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}


/*
 *  Usage:
 *
      <div class="crt-cube-grid">
        <div class="crt-cube crt-cube1"></div>
        <div class="crt-cube crt-cube2"></div>
        <div class="crt-cube crt-cube3"></div>
        <div class="crt-cube crt-cube4"></div>
        <div class="crt-cube crt-cube5"></div>
        <div class="crt-cube crt-cube6"></div>
        <div class="crt-cube crt-cube7"></div>
        <div class="crt-cube crt-cube8"></div>
        <div class="crt-cube crt-cube9"></div>
      </div>
 *
 */

.crt-cube-grid {
  width: 40px;
  height: 40px;
  /*
   * Spinner positions
   * 1 2 3
   * 4 5 6
   * 7 8 9
   */
}

.crt-cube-grid .crt-cube {
  width: 33.33%;
  height: 33.33%;
  background-color: #333;
  float: left;
  -webkit-animation: crt-cubeGridScaleDelay 1.3s infinite ease-in-out;
  animation: crt-cubeGridScaleDelay 1.3s infinite ease-in-out;
}

.crt-cube-grid .crt-cube1 {
  -webkit-animation-delay: 0.2s;
  animation-delay: 0.2s;
}

.crt-cube-grid .crt-cube2 {
  -webkit-animation-delay: 0.3s;
  animation-delay: 0.3s;
}

.crt-cube-grid .crt-cube3 {
  -webkit-animation-delay: 0.4s;
  animation-delay: 0.4s;
}

.crt-cube-grid .crt-cube4 {
  -webkit-animation-delay: 0.1s;
  animation-delay: 0.1s;
}

.crt-cube-grid .crt-cube5 {
  -webkit-animation-delay: 0.2s;
  animation-delay: 0.2s;
}

.crt-cube-grid .crt-cube6 {
  -webkit-animation-delay: 0.3s;
  animation-delay: 0.3s;
}

.crt-cube-grid .crt-cube7 {
  -webkit-animation-delay: 0.0s;
  animation-delay: 0.0s;
}

.crt-cube-grid .crt-cube8 {
  -webkit-animation-delay: 0.1s;
  animation-delay: 0.1s;
}

.crt-cube-grid .crt-cube9 {
  -webkit-animation-delay: 0.2s;
  animation-delay: 0.2s;
}

@-webkit-keyframes crt-cubeGridScaleDelay {
  0%,
  70%,
  100% {
    -webkit-transform: scale3D(1, 1, 1);
    transform: scale3D(1, 1, 1);
  }
  35% {
    -webkit-transform: scale3D(0, 0, 1);
    transform: scale3D(0, 0, 1);
  }
}

@keyframes crt-cubeGridScaleDelay {
  0%,
  70%,
  100% {
    -webkit-transform: scale3D(1, 1, 1);
    transform: scale3D(1, 1, 1);
  }
  35% {
    -webkit-transform: scale3D(0, 0, 1);
    transform: scale3D(0, 0, 1);
  }
}


/*
 *  Usage:
 *
      <div class="crt-fading-circle">
        <div class="crt-circle1 crt-circle"></div>
        <div class="crt-circle2 crt-circle"></div>
        <div class="crt-circle3 crt-circle"></div>
        <div class="crt-circle4 crt-circle"></div>
        <div class="crt-circle5 crt-circle"></div>
        <div class="crt-circle6 crt-circle"></div>
        <div class="crt-circle7 crt-circle"></div>
        <div class="crt-circle8 crt-circle"></div>
        <div class="crt-circle9 crt-circle"></div>
        <div class="crt-circle10 crt-circle"></div>
        <div class="crt-circle11 crt-circle"></div>
        <div class="crt-circle12 crt-circle"></div>
      </div>
 *
 */

.crt-fading-circle {
  width: 25px;
  height: 25px;
  position: relative;
}

.crt-fading-circle .crt-circle {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

.crt-fading-circle .crt-circle:before {
  content: '';
  display: block;
  margin: 0 auto;
  width: 15%;
  height: 15%;
  border-radius: 100%;
  -webkit-animation: crt-circleFadeDelay 1.2s infinite ease-in-out both;
  animation: crt-circleFadeDelay 1.2s infinite ease-in-out both;
}

.crt-fading-circle .crt-circle2 {
  -webkit-transform: rotate(30deg);
  -ms-transform: rotate(30deg);
  transform: rotate(30deg);
}

.crt-fading-circle .crt-circle3 {
  -webkit-transform: rotate(60deg);
  -ms-transform: rotate(60deg);
  transform: rotate(60deg);
}

.crt-fading-circle .crt-circle4 {
  -webkit-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
}

.crt-fading-circle .crt-circle5 {
  -webkit-transform: rotate(120deg);
  -ms-transform: rotate(120deg);
  transform: rotate(120deg);
}

.crt-fading-circle .crt-circle6 {
  -webkit-transform: rotate(150deg);
  -ms-transform: rotate(150deg);
  transform: rotate(150deg);
}

.crt-fading-circle .crt-circle7 {
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.crt-fading-circle .crt-circle8 {
  -webkit-transform: rotate(210deg);
  -ms-transform: rotate(210deg);
  transform: rotate(210deg);
}

.crt-fading-circle .crt-circle9 {
  -webkit-transform: rotate(240deg);
  -ms-transform: rotate(240deg);
  transform: rotate(240deg);
}

.crt-fading-circle .crt-circle10 {
  -webkit-transform: rotate(270deg);
  -ms-transform: rotate(270deg);
  transform: rotate(270deg);
}

.crt-fading-circle .crt-circle11 {
  -webkit-transform: rotate(300deg);
  -ms-transform: rotate(300deg);
  transform: rotate(300deg);
}

.crt-fading-circle .crt-circle12 {
  -webkit-transform: rotate(330deg);
  -ms-transform: rotate(330deg);
  transform: rotate(330deg);
}

.crt-fading-circle .crt-circle2:before {
  -webkit-animation-delay: -1.1s;
  animation-delay: -1.1s;
}

.crt-fading-circle .crt-circle3:before {
  -webkit-animation-delay: -1s;
  animation-delay: -1s;
}

.crt-fading-circle .crt-circle4:before {
  -webkit-animation-delay: -0.9s;
  animation-delay: -0.9s;
}

.crt-fading-circle .crt-circle5:before {
  -webkit-animation-delay: -0.8s;
  animation-delay: -0.8s;
}

.crt-fading-circle .crt-circle6:before {
  -webkit-animation-delay: -0.7s;
  animation-delay: -0.7s;
}

.crt-fading-circle .crt-circle7:before {
  -webkit-animation-delay: -0.6s;
  animation-delay: -0.6s;
}

.crt-fading-circle .crt-circle8:before {
  -webkit-animation-delay: -0.5s;
  animation-delay: -0.5s;
}

.crt-fading-circle .crt-circle9:before {
  -webkit-animation-delay: -0.4s;
  animation-delay: -0.4s;
}

.crt-fading-circle .crt-circle10:before {
  -webkit-animation-delay: -0.3s;
  animation-delay: -0.3s;
}

.crt-fading-circle .crt-circle11:before {
  -webkit-animation-delay: -0.2s;
  animation-delay: -0.2s;
}

.crt-fading-circle .crt-circle12:before {
  -webkit-animation-delay: -0.1s;
  animation-delay: -0.1s;
}

@-webkit-keyframes crt-circleFadeDelay {
  0%,
  39%,
  100% {
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
}

@keyframes crt-circleFadeDelay {
  0%,
  39%,
  100% {
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
}


/*
 *  Usage:
 *
      <div class="crt-folding-cube">
        <div class="crt-cube1 crt-cube"></div>
        <div class="crt-cube2 crt-cube"></div>
        <div class="crt-cube4 crt-cube"></div>
        <div class="crt-cube3 crt-cube"></div>
      </div>
 *
 */

.crt-folding-cube {
  width: 40px;
  height: 40px;
  position: relative;
  -webkit-transform: rotateZ(45deg);
  -ms-transform: rotate(45deg);
      transform: rotateZ(45deg);
}

.crt-folding-cube .crt-cube {
  float: left;
  width: 50%;
  height: 50%;
  position: relative;
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}

.crt-folding-cube .crt-cube:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #333;
  -webkit-animation: crt-foldCubeAngle 2.4s infinite linear both;
  animation: crt-foldCubeAngle 2.4s infinite linear both;
  -webkit-transform-origin: 100% 100%;
  -ms-transform-origin: 100% 100%;
  transform-origin: 100% 100%;
}

.crt-folding-cube .crt-cube2 {
  -webkit-transform: scale(1.1) rotateZ(90deg);
  -ms-transform: scale(1.1) rotate(90deg);
      transform: scale(1.1) rotateZ(90deg);
}

.crt-folding-cube .crt-cube3 {
  -webkit-transform: scale(1.1) rotateZ(180deg);
  -ms-transform: scale(1.1) rotate(180deg);
      transform: scale(1.1) rotateZ(180deg);
}

.crt-folding-cube .crt-cube4 {
  -webkit-transform: scale(1.1) rotateZ(270deg);
  -ms-transform: scale(1.1) rotate(270deg);
      transform: scale(1.1) rotateZ(270deg);
}

.crt-folding-cube .crt-cube2:before {
  -webkit-animation-delay: 0.3s;
  animation-delay: 0.3s;
}

.crt-folding-cube .crt-cube3:before {
  -webkit-animation-delay: 0.6s;
  animation-delay: 0.6s;
}

.crt-folding-cube .crt-cube4:before {
  -webkit-animation-delay: 0.9s;
  animation-delay: 0.9s;
}

@-webkit-keyframes crt-foldCubeAngle {
  0%,
  10% {
    -webkit-transform: perspective(140px) rotateX(-180deg);
    transform: perspective(140px) rotateX(-180deg);
    opacity: 0;
  }
  25%,
  75% {
    -webkit-transform: perspective(140px) rotateX(0deg);
    transform: perspective(140px) rotateX(0deg);
    opacity: 1;
  }
  90%,
  100% {
    -webkit-transform: perspective(140px) rotateY(180deg);
    transform: perspective(140px) rotateY(180deg);
    opacity: 0;
  }
}

@keyframes crt-foldCubeAngle {
  0%,
  10% {
    -webkit-transform: perspective(140px) rotateX(-180deg);
    transform: perspective(140px) rotateX(-180deg);
    opacity: 0;
  }
  25%,
  75% {
    -webkit-transform: perspective(140px) rotateX(0deg);
    transform: perspective(140px) rotateX(0deg);
    opacity: 1;
  }
  90%,
  100% {
    -webkit-transform: perspective(140px) rotateY(180deg);
    transform: perspective(140px) rotateY(180deg);
    opacity: 0;
  }
}