body {
  margin: 0;
}

html {
  overflow-x: hidden;
  overflow-y: scroll;
}

#loading-bg {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--initial-loader-bg, #fff);
  block-size: 100%;
  inline-size: 100%;
}

.loading-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-logo svg {
  display: block;
  width: 120px;
  height: 120px;
}

/* Loader bar animation — sequential shift right then back */
#bar-top,
#bar-mid,
#bar-bottom {
  animation: bar-shift 1.2s ease-in-out infinite;
}

#bar-top {
  animation-delay: 0s;
}

#bar-mid {
  animation-delay: 0.12s;
}

#bar-bottom {
  animation-delay: 0.24s;
}

@keyframes bar-shift {
  0%,
  100% {
    transform: translateX(0);
  }

  40% {
    transform: translateX(25px);
  }
}
