body {
  margin: 0;
  padding: 0;
}

.splash-screen {
  position: absolute;
  z-index: 1000;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-family: 'Bricolage Grotesque', Helvetica, 'sans-serif';
  background-color: #f2f3f8;
  color: #5E6278;
  line-height: 1;
  font-size: 16px;
  font-weight: 400;
}

.splash-screen span {
  color: #5E6278;
  -webkit-font-smoothing: antialiased;
  position: relative;
  display: inline-block;
  margin-top: 20px;
  opacity: 0;
  animation: fadeInUp 0.5s ease forwards 0.5s;
}

.splash-screen span::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #5E6278;
  animation: loadingLine 2s ease-in-out infinite;
}

.splash-screen img {
  width: auto;
  height: 80px !important;
  margin-bottom: 30px;
  animation: logoScale 0.5s ease-out forwards;
  transform: scale(0.8);
}

[data-bs-theme="dark"] .splash-screen {
  background-color: #151521;
  color: #92929F;
}

[data-bs-theme="dark"] .splash-screen span {
  color: #92929F;
}

[data-bs-theme="dark"] .splash-screen span::after {
  background-color: #92929F;
}

@keyframes logoScale {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes fadeInUp {
  0% {
    transform: translateY(10px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes loadingLine {
  0% {
    width: 0;
    left: 0;
  }
  50% {
    width: 100%;
    left: 0;
  }
  100% {
    width: 0;
    left: 100%;
  }
}

#root {
  opacity: 1;
  transition: opacity 1s ease-in-out;
}
