/* ==========================================================================
   Loading Styles
   ========================================================================== */

/* Loading container */
.loading {
  background: var(--color-black);
  position: fixed;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  z-index: 99999;
}

.loading-container {
  transform: scale(0.3);
}

.loader {
  position: relative;
  width: 250px;
  height: 250px;
  filter: url(#gooey);
  animation: animate 16s linear infinite;
}

.loader span {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  transform: rotate(calc(45deg * var(--i)));
}

.loader span::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc(50% - 20px);
  width: 40px;
  height: 40px;
  background: linear-gradient(45deg, #ffffff, #ffffff);
  border-radius: 50%;
  box-shadow: 0 0 30px #0093ff;
}

.rotate {
  animation: animate 4s ease-in-out infinite;
  animation-delay: calc(-0.2s * var(--j));
}

@keyframes animate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

svg {
  width: 0;
  height: 0;
}
