.app-splash-screen {
  display: none;
  background: #fff;
  position: fixed;
  z-index: 99999999;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 1;
  transition: opacity 0.3s;
  background: #dedede;
}

body.app-loading .app-splash-screen {
  display: block;
}

body.app-loading .app-splash-screen-content {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-animation: appSplashScreenAnimation 1.2s ease-in-out 0s infinite;
  animation: appSplashScreenAnimation 1.2s ease-in-out 0s infinite;
}

@-webkit-keyframes appSplashScreenAnimation {
  0%,
  20% {
    -webkit-transform: translate(-50%, -50%) rotateY(0);
    transform: translate(-50%, -50%) rotateY(0);
  }

  50% {
    -webkit-transform: translate(-50%, -50%) rotateY(180deg);
    transform: translate(-50%, -50%) rotateY(180deg);
  }

  80%,
  100% {
    -webkit-transform: translate(-50%, -50%) rotateY(360deg);
    transform: translate(-50%, -50%) rotateY(360deg);
  }
}

@keyframes appSplashScreenAnimation {
  0%,
  20% {
    -webkit-transform: translate(-50%, -50%) rotateY(0);
    transform: translate(-50%, -50%) rotateY(0);
  }

  50% {
    -webkit-transform: translate(-50%, -50%) rotateY(180deg);
    transform: translate(-50%, -50%) rotateY(180deg);
  }

  80%,
  100% {
    -webkit-transform: translate(-50%, -50%) rotateY(360deg);
    transform: translate(-50%, -50%) rotateY(360deg);
  }
}
