
/* Loading Screen Styles */
body.elementor-editor-active #loading-screen {
  display: none!important;
}

#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, #010204 0%, #16162D 100%);
  z-index: 999999;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transition: opacity 0.5s ease-out;
}

#loading-screen > .bouncing-dots {
  display: flex;
  margin-bottom: 30px;
  align-items: flex-end;
  height: 40px;
}

#loading-screen > .bouncing-dots > .dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: white;
  margin: 0 5px;
  animation: jumpBounce 1.4s infinite ease-in-out;
}

#loading-screen > .bouncing-dots > .dot:nth-child(2) {
  animation-delay: 0.2s;
}

#loading-screen > .bouncing-dots > .dot:nth-child(3) {
  animation-delay: 0.4s;
}

#loading-screen > #text-container {
  position: relative;
  height: 80px; /* Increased from 60px to accommodate larger text */
  overflow: hidden;
  font-size: 28px; /* You can remove this since you're setting it on .text */
  font-weight: bold;
  color: #333; /* You can remove this since you're setting it on .text */
  font-family: Arial, sans-serif; /* You can remove this since you're setting it on .text */
  width: 400px; /* Increased width to prevent horizontal cutoff */
}

#loading-screen > #text-container > .text {
  position: absolute;
  width: 100%;
  text-align: center;
  transition: transform 0.8s ease-in-out;
  color: white;
  font-family: 'Hagrid';
  font-size: 48px;
  line-height: 1.2; /* Add line-height for better spacing */
}

#loading-screen > #text-container > #text1 {
  transform: translateY(0);
}

#loading-screen > #text-container > #text2 {
  transform: translateY(80px); /* Changed from 60px to 80px */
}

#loading-screen > #text-container > #text3 {
  transform: translateY(160px); /* Changed from 120px to 160px */
}

#loading-screen > #text-container > #text4 {
  transform: translateY(240px); /* Changed from 180px to 240px */
}

#loading-screen > #text-container > #text5 {
  transform: translateY(320px); /* Changed from 240px to 320px */
}

#loading-screen > #text-container > #text6 {
  transform: translateY(380px); /* Changed from 240px to 320px */
}

#loading-screen > #text-container > #text7 {
  transform: translateY(440px); /* Changed from 240px to 320px */
}

#loading-screen > #text-container > #text8 {
  transform: translateY(500px); /* Changed from 240px to 320px */
}

@keyframes jumpBounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}