:root {
  --primary-color: #323232;
  --base-font-size: 16px;
}

body {
  margin: 0;
  background-color: #0f0f0f;
  color: white;
  font-family: Arial, sans-serif;
  overflow: hidden;
}

#splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0f0f0f;
  z-index: 9999;
  padding: 20px;
  box-sizing: border-box;
}

#loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.loading-bar {
  width: 80%;
  max-width: 300px;
  height: 20px;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
}

.loading-bar::before {
  will-change: transform;
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  animation: shimmer 10s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  50% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}

.shimmer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  padding: 1rem;
  box-sizing: border-box;
}

.shimmer-line {
  width: 300px;
  height: 20px;
  margin: 5px 0;
  background-color: rgba(255, 255, 255);  
  position: relative;
  overflow: hidden;
}

.shimmer-line::before {
  will-change: transform;
  content: '';
  position: absolute;
  top: -200%;  
  left: -200%;
  width: 400%; 
  height: 400%; 
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.1) 35%,
    var(--primary-color, #323232) 50%,
    rgba(255, 255, 255, 0.1) 65%,
    rgba(255, 255, 255, 0.1) 100%
  );
  animation: shimmer-animation 1.8s linear infinite;
}

@keyframes shimmer-animation {
  to {
    transform: translate(50%);  
  }
}

.shimmer-line:nth-child(2) {
  width: 250px;
}

.shimmer-line:nth-child(3) {
  width: 200px;
}
