@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;500;400;700&display=swap");

body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #1e2036;
  font-family: "Montserrat", sans-serif;
  color: white;
  overflow: hidden;
}

.loading_view {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeIn 0.8s ease-in-out forwards;
  animation-delay: 0s;
  opacity: 0;
}

.loading-text {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 20px;
  margin-bottom: 15px;
  opacity: 0;
  animation: fadeInText 1.5s ease-in-out forwards;
  animation-delay: 0.3s;
}

.loading-text1 {
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 1px;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeInText 1.5s ease-in-out forwards;
  animation-delay: 1s;
}

.built-text {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.8px;
  color: #f1c40f;
  opacity: 0;
  animation: fadeInText 1.5s ease-in-out forwards;
  animation-delay: 1.7s;
}

/* Keyframes */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: scale(0.98);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

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

/* Progress Bar Styles */
.progress-bar {
  width: 175px;
  height: 8px;
  background-color: #2c3e50;
  position: relative;
  margin-bottom: 20px;
  border-radius: 5px;
  overflow: hidden;
}

.progress-bar::before {
  content: "";
  position: absolute;
  left: -100px;
  top: 0;
  width: 100px;
  height: 100%;
  background-color: #f1c40f;
  animation: progressLoop 2s linear infinite;
}

@keyframes progressLoop {
  0% {
    left: -100px;
  }
  100% {
    left: 100%;
  }
}
