@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter-Variable.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

body {
  margin: 0;
}

.app-loader {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1e1e2e;
  animation: loader-fade-in 500ms ease-in 300ms both;
  z-index: 9999;
  font-family: 'Inter', 'Helvetica Neue', Roboto, Arial, sans-serif;
}

.app-loader-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  box-sizing: border-box;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 36px;
}

.app-loader-text {
  font-size: var(--font-size-body-m, 1rem);
  font-weight: 450 !important;
  color: #cdd6f4;
}

@keyframes loader-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.loader {
  width: 38px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 8px solid #89b4fa;
  border-right-color: #fab387;
  animation: l2 1s infinite linear;
}

@keyframes l2 {
  to { transform: rotate(1turn); }
}

.light .app-loader {
  background: #eff1f5;
}

.light .app-loader-text {
  color: #4c4f69;
}
