#static-loader {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  text-align: center;
  background: #fff;
  display: none;
}

#static-loader.visible {
  display: block;
}

#static-loader.fade-out {
  opacity: 0;
  transition: opacity .3s ease-out;
}

#static-loader.hidden {
  display: none;
}

#static-loader .overlay {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

#static-loader .outer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#static-loader .outer-cloud-layer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: url('../images/cloud.png') repeat-x 0 100%;
  animation: cloud-slide 500s linear infinite;
  -webkit-animation: cloud-slide 500s linear infinite;
  pointer-events: none;
}

#static-loader .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 0;
  background: url('../images/loading-bg.png') repeat-x 0 100%;
  animation: slide 70s linear infinite;
  -webkit-animation: slide 70s linear infinite;
}

#static-loader .slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/flight.png') no-repeat 50% 80%;
  animation: flight 5s linear infinite;
  -webkit-animation: flight 5s linear infinite;
  z-index: 0;
  pointer-events: none;
}

#static-loader .loader-image {
  position: relative;
  z-index: 1;
}

@keyframes cloud-slide {
  from { background-position: 0 100%; }
  to { background-position: -10000px 100%; }
}

@keyframes slide {
  from { background-position: 0 100%; }
  to { background-position: -10000px 100%; }
}

@keyframes flight {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}
