.background-loading {
  height: 100vh;
  width: 100vw;
  background-color: #003677;
  display: flex;
  align-items: center;
  justify-content: center;
}

#boot-splash {
  position: fixed;
  inset: 0;
  z-index: 2000;
}

#boot-splash .splash {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(
      120% 75% at 50% 36%,
      rgba(0, 91, 161, 0.07),
      transparent 62%
    ),
    linear-gradient(180deg, #ffffff 0%, #eff5fa 100%);
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial,
    sans-serif;
}

#boot-splash .splash__mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 24px;
  animation: splash-enter 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes splash-enter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

#boot-splash .splash__logo {
  width: min(300px, 64vw);
  height: auto;
  display: block;
}

#boot-splash .splash__progress {
  position: relative;
  width: min(220px, 48vw);
  height: 3px;
  border-radius: 99px;
  background: rgba(0, 91, 161, 0.12);
  overflow: hidden;
}

#boot-splash .splash__sweep {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 42%;
  border-radius: 99px;
  background: linear-gradient(90deg, #005ba1, #a1cb38);
  animation: splash-sweep 1.5s cubic-bezier(0.65, 0.04, 0.34, 1) infinite;
}

@keyframes splash-sweep {
  0% {
    transform: translateX(-110%);
  }

  100% {
    transform: translateX(340%);
  }
}

#boot-splash .splash__status {
  text-align: center;
  min-height: 38px;
}

#boot-splash .splash__line {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #5d7080;
}

@media (prefers-reduced-motion: reduce) {
  #boot-splash .splash__mark {
    animation: none;
  }

  #boot-splash .splash__sweep {
    width: 100%;
    transform: none;
    animation: splash-rm-pulse 1.6s ease-in-out infinite;
  }

  @keyframes splash-rm-pulse {
    0%,
    100% {
      opacity: 0.35;
    }

    50% {
      opacity: 1;
    }
  }
}

.lds-ellipsis {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ellipsis div {
  position: absolute;
  top: 33px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
  left: 8px;
  animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
  left: 8px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
  left: 32px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
  left: 56px;
  animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}
@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(24px, 0);
  }
}
