body {
  margin: 0;
  padding: 0;
}

#splash-screen {
  position: absolute;
  z-index: 1301;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: #0e0d16;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

#splash-screen.light-mode {
  background: #fafafa;
}

#splash-screen .aioz-icon {
  margin-left: calc(100vw - 100%);
  position: absolute;
  max-width: 60px;
}

#splash-screen.light-mode .aioz-icon {
  color: black;
}

#splash-screen.hidden {
  opacity: 0;
  visibility: hidden;
  /* display: none; */
}

#splash-screen + #root {
  opacity: 0;
  visibility: hidden;
  display: none;
}

#splash-screen.hidden + #root {
  opacity: 1;
  visibility: visible;
  display: block;
}

.splash-spinner {
  animation: rotate 2s linear infinite;
  margin-left: calc(100vw - 100%);
  width: 74px;
  height: 74px;
}

.splash-spinner .path {
  stroke: white;
  stroke-linecap: round;
  animation: dash 1.5s ease-in-out infinite;
}

.light-mode .splash-spinner .path {
  stroke: black;
}

.grecaptcha-badge {
  display: none;
}

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

@keyframes dash {
  0% {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -124;
  }
}
