@use "../../index.scss" as styles;

.loading-screen {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
  z-index: 100000;
}

.background-top-half,
.background-bottom-half {
  position: absolute;
  height: 50%;
  width: 100%;
  background-color: #060606;
}

.background-top-half {
  top: 0;
}

.background-bottom-half {
  top: 50%;
}

.loading-screen-info-container {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  place-content: center;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.intro-message-container {
  position: absolute;
  top: 53%;
  left: 50%;
  width: 100%;
  display: flex;
  place-content: center;
  justify-content: center;
  align-items: center;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 36px;
  opacity: 0;
  font-weight: lighter;

  @media (max-width: 390px) {
    font-size: 24px;
  }
}

.loading-bar-container {
  width: 100%;
  height: 1px;
}

.loading-bar {
  width: 0;
  height: 100%;
  background-color: #ffffff;
}

.percentage {
  font-size: 12px;
  color: #fff;
  display: flex;
  flex-direction: column;
  place-content: center;
  justify-content: center;
  align-items: center;
  margin-top: 24px;
  font-weight: light;
}
