#splash-screen {
  position: fixed;
  top: 50%;
  left: 50%;
  background: transparent;
  display: flex;
  height: 100%;
  width: 100%;
  transform: translate(-50%, -50%);
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity .2s ease;
  overflow: hidden;
}

html[data-tenant-branding-pending] #root {
  visibility: hidden;
}

#splash-screen.remove {
  animation: fadeout 0.7s forwards;
  z-index: 0;
}

@keyframes fadeout {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

.splash-mark {
  display: block;
  width: 34px;
  height: 34px;
  box-sizing: border-box;
  overflow: hidden;
  border: 3px solid rgba(18, 159, 227, .2);
  border-top-color: #129fe3;
  border-radius: 50%;
  color: transparent;
  font-size: 0;
  animation: splash-spin .75s linear infinite;
}

@keyframes splash-spin {
  to {
    transform: rotate(360deg);
  }
}

.splash-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .splash-mark {
    animation-duration: 1.5s;
  }

  #splash-screen.remove {
    animation-duration: .01ms;
  }
}
