:root {
  --min-size: 2px;
  --max-size: 25px;
}

* {
  box-sizing: border-box;
}

html,
body,
.app-loader {
  height: 100%;
  width: 100%;
  margin: 0;
}

body {
  background-color: #232334;
}

.app-loader {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  background: #232334;
}

#tds-loader {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
}

.app-loader .logo-img {
  max-width: 100%;
  width: 288px;
  height: 64px;
  margin-bottom: 27px;
}

@media (max-width: 959px) {
  .app-loader .logo-img {
    width: 180px;
    height: 40px;
    margin-bottom: 12px;
  }
}

.app-loader .loader {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 35px;
}

.app-loader .dot {
  background:
    radial-gradient(100% 100% at 50% 0%, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0) 100%),
    linear-gradient(180deg, #9400d3 0%, #4b0082 100%);
  margin: 5px;
  animation-name: loader;
  animation-duration: 1s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

.app-loader .dot:nth-child(1) {
  animation-delay: 0.2s;
}
.app-loader .dot:nth-child(2) {
  animation-delay: 0.4s;
}
.app-loader .dot:nth-child(3) {
  animation-delay: 0.6s;
}
.app-loader .dot:nth-child(4) {
  animation-delay: 0.8s;
}
.app-loader .dot:nth-child(5) {
  animation-delay: 1s;
}

@keyframes loader {
  from {
    width: var(--min-size);
    height: var(--min-size);
    border-radius: calc(var(--min-size) / 2);
  }
  to {
    width: var(--max-size);
    height: var(--max-size);
    border-radius: calc(var(--max-size) / 2);
  }
}

#app-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}
#app-loader.is-finished {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  #app-loader {
    transition: none;
  }
  .app-loader .dot {
    animation: none;
  }
}
