#loading-overlay {
  z-index: 9999701;
  position: relative;
}

.loading-cover {
  width: 100%;
  height: 100%;
  position: fixed;
  background-color: rgba(255, 255, 255, 1);
  top: 0;
  left: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  z-index: 9999701;
}

.loading-cover-inner {
  direction: ltr;
  background-color: #002748;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  -webkit-transform: rotateZ(180deg);
          transform: rotateZ(180deg);
}

.loading-cover-background {
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  z-index: 2;
  position: relative;
}

.loading-cover-background-circle {
  width: 12%;
  height: 12%;
  border-radius: 100%;
  background-color: #fff;
  -webkit-transform: translate(0px, 0px);
          transform: translate(0px, 0px); /* fixes weird ios squaring of border */
  z-index: 3;
}

.loading-cover-animation {
  position: absolute;
  width: 50%;
  height: 50%;
  z-index: 1;
}

@-webkit-keyframes loading-cover-rotate {
  0%,
  10% {
    -webkit-transform: perspective(500px) rotateX(-180deg);
            transform: perspective(500px) rotateX(-180deg);
  }
  25%,
  35% {
    -webkit-transform: perspective(500px) rotateX(0deg);
            transform: perspective(500px) rotateX(0deg);
  }
  50%,
  60% {
    -webkit-transform: perspective(500px) rotateY(180deg);
            transform: perspective(500px) rotateY(180deg);
  }
  75%,
  85% {
    -webkit-transform: perspective(500px) rotateZ(-180deg);
            transform: perspective(500px) rotateZ(-180deg);
  }
  100% {
    -webkit-transform: perspective(500px) rotateX(180deg);
            transform: perspective(500px) rotateX(180deg);
  }
}

@keyframes loading-cover-rotate {
  0%,
  10% {
    -webkit-transform: perspective(500px) rotateX(-180deg);
            transform: perspective(500px) rotateX(-180deg);
  }
  25%,
  35% {
    -webkit-transform: perspective(500px) rotateX(0deg);
            transform: perspective(500px) rotateX(0deg);
  }
  50%,
  60% {
    -webkit-transform: perspective(500px) rotateY(180deg);
            transform: perspective(500px) rotateY(180deg);
  }
  75%,
  85% {
    -webkit-transform: perspective(500px) rotateZ(-180deg);
            transform: perspective(500px) rotateZ(-180deg);
  }
  100% {
    -webkit-transform: perspective(500px) rotateX(180deg);
            transform: perspective(500px) rotateX(180deg);
  }
}

.loading-cover-animation-square {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 180, 255, .7);
  -webkit-transform-origin: 100% 100%;
          transform-origin: 100% 100%;
  will-change: transform;
  -webkit-animation: loading-cover-rotate 2s infinite linear;
          animation: loading-cover-rotate 2s infinite linear;
  z-index: 1;
}

html {
  overscroll-behavior: contain;
}

body {
  margin: 0px;
}

