/* styles.css */

/* Responsive loading screen container */
#loading-indicator {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #74ebd5, #acb6e5);
  z-index: 9999;
  font-family: "Arial", sans-serif;
  color: #ffffff;
  text-align: center;
}

/* Style for the app name text */
#app-name {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

/* Style for the loading text */
#loading-text {
  font-size: 1.5rem;
  margin-bottom: 30px;
  animation: fadein 1.5s ease-in-out infinite;
}

/* Style for the circular progress indicator */
.loader {
  border: 8px solid rgba(255, 255, 255, 0.3);
  border-top: 8px solid #ffffff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

/* Spin animation for the loader */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Fade-in animation for loading text */
@keyframes fadein {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Responsive font size adjustments */
@media (max-width: 768px) {
  #app-name {
    font-size: 2rem;
  }
  #loading-text {
    font-size: 1.2rem;
  }
  .loader {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 480px) {
  #app-name {
    font-size: 1.5rem;
  }
  #loading-text {
    font-size: 1rem;
  }
  .loader {
    width: 40px;
    height: 40px;
  }
}
