#debug {
  padding: 10px;
  position: fixed;
  bottom: 40px;
  right: 40px;
  background: #fff;
  z-index: 999999999;
  display: none;
}
#debug p {
  color: #000;
}

#load {
  width: 100%;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  min-height: 550px;
  background: #000;
  background: -webkit-gradient(linear, left top, left bottom, from(rgb(0, 0, 0)), color-stop(60%, rgb(14, 25, 31)), to(rgb(31, 39, 48)));
  background: linear-gradient(180deg, rgb(0, 0, 0) 0%, rgb(14, 25, 31) 60%, rgb(31, 39, 48) 100%);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
}
#load .load__container {
  display: grid;
  grid-template-columns: 30px 30px 30px 30px;
  grid-template-rows: 30px 30px 30px 30px;
  gap: 10px;
}
#load .load__container > div {
  -webkit-transform: rotateY(0deg);
          transform: rotateY(0deg);
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
  position: relative;
  -webkit-animation: spin__star 2.8s ease infinite;
          animation: spin__star 2.8s ease infinite;
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s;
}
#load .load__container > div:nth-of-type(2), #load .load__container > div:nth-of-type(5) {
  -webkit-animation-delay: 0.4s;
          animation-delay: 0.4s;
}
#load .load__container > div:nth-of-type(3), #load .load__container > div:nth-of-type(6), #load .load__container > div:nth-of-type(9) {
  -webkit-animation-delay: 0.6s;
          animation-delay: 0.6s;
}
#load .load__container > div:nth-of-type(4), #load .load__container > div:nth-of-type(7), #load .load__container > div:nth-of-type(10), #load .load__container > div:nth-of-type(13) {
  -webkit-animation-delay: 0.8s;
          animation-delay: 0.8s;
}
#load .load__container > div:nth-of-type(8), #load .load__container > div:nth-of-type(11), #load .load__container > div:nth-of-type(14) {
  -webkit-animation-delay: 1s;
          animation-delay: 1s;
}
#load .load__container > div:nth-of-type(12), #load .load__container > div:nth-of-type(15) {
  -webkit-animation-delay: 1.2s;
          animation-delay: 1.2s;
}
#load .load__container > div:nth-of-type(16) {
  -webkit-animation-delay: 1.4s;
          animation-delay: 1.4s;
}
#load .load__container > div span {
  display: block;
  width: 30px;
  height: 30px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}
#load .load__container > div span:first-of-type {
  width: 28.6px;
  height: 28.6px;
  background: url(../img/star__back.webp);
  background-size: cover;
  -webkit-transform: translateY(180deg);
          transform: translateY(180deg);
  -webkit-backface-visibility: visible;
          backface-visibility: visible;
}
#load .load__container > div span:nth-of-type(2) {
  background: url(../img/star.webp);
  background-size: cover;
}
#load.fade {
  -webkit-animation: fadeOut 0.5s linear;
          animation: fadeOut 0.5s linear;
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both;
}

@-webkit-keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@-webkit-keyframes spin__star {
  from {
    -webkit-transform: rotateY(0deg);
            transform: rotateY(0deg);
  }
  to {
    -webkit-transform: rotateY(360deg);
            transform: rotateY(360deg);
  }
}
@keyframes spin__star {
  from {
    -webkit-transform: rotateY(0deg);
            transform: rotateY(0deg);
  }
  to {
    -webkit-transform: rotateY(360deg);
            transform: rotateY(360deg);
  }
}