/* Background and Colors */
.backgroundContainer {
  position: absolute;
  width: 100%;
  top: 0;


}

.bgimg1 {
  position: absolute;
  width: 100%;
  opacity: 1;

}


.bgimg2 {
  width: 100%;
  height: 600vh;
  min-height: 100%;
  opacity: 1;
  overflow: hidden;

}

.soliderImg {

  position: absolute;
  top: 160vh;
  width: 180px;
  left: 80px;
  opacity: 1;
  z-index: 1;

}

.AstroImg {
  position: absolute;
  top: 110vh;
  width: 6vw;
  right: 7%;
  opacity: 1;

  animation: moveY 5s ease-in-out infinite;
  display: inline-block;

}



@keyframes moveY {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(5vh);
    /* תזוזה למעלה */
  }
}



.vidConatiner {
  position: absolute;
  width: 100%;
  height: 100vh;
  top: 4000px;
  z-index: 100;

}

.vidConatiner video {
  width: 100%;
}

.video-wrapper {
  height: 100vh;
  position: relative;
  z-index: 1;
}

.fullscreen-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: 9999;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  pointer-events: none;
}

.fullscreen-video.active {
  opacity: 1;
  pointer-events: auto;
  opacity: 95%;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  transition: opacity 0.5s ease;
  opacity: 1;
  pointer-events: none;
  z-index: 10;
}

.scroll-indicator.hidden {
  opacity: 0;
}

.scroll-text {
  font-size: 22px;
  color: white;
  font-family: "ISF Bold";
  margin-bottom: 0px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  opacity: 0.8;
  animation: scrollTextPulse 2.5s ease-in-out infinite;
}

@keyframes scrollTextPulse {

  30%,
  100% {
    opacity: 0.8;
  }

  50% {
    opacity: 0.4;
  }
}

.chevron-wrapper {
  animation: fadeChevrons 2.5s ease-in-out infinite;
}

.chevron-wrapper:nth-child(2) {
  animation-delay: 0s;
}

.chevron-wrapper:nth-child(3) {
  animation-delay: 0.3s;
}

.chevron-wrapper:nth-child(4) {
  animation-delay: 0.6s;
}

.chevron {
  width: 22px;
  height: 22px;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(45deg);
}

@keyframes fadeChevrons {
  0% {
    opacity: 0;
    transform: translateY(0);
  }

  25% {
    opacity: 1;
    transform: translateY(6px);
  }

  50% {
    opacity: 0.7;
    transform: translateY(12px);
  }

  75% {
    opacity: 0.3;
    transform: translateY(16px);
  }

  100% {
    opacity: 0;
    transform: translateY(20px);
  }
}


.audio-controls {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 999;
  display: flex;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 8px 12px;
  border-radius: 8px;
  color: white;
  transition: background-color 0.3s ease;
}

#audioControls span {
  font-size: 17px;
  cursor: pointer;
}

#volumeSlider {
  width: 0;
  opacity: 0;
  margin-left: 10px;
  transition: width 0.4s ease, opacity 0.4s ease;
  overflow: hidden;
}

/* Hover effect */
.audio-controls:hover #volumeSlider {
  width: 100px;
  opacity: 1;
}

/* Loading Screen
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loader {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #3498db;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1.5s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

#loading-screen p {
  color: white;
  font-size: 1.2em;
  margin-top: 10px;
  font-weight: bold;
}

/* Content styles (hidden initially) */
/* #content {
  display: block;
  padding: 20px;
} */



#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.974);
  /* 90% opacity */
  z-index: 9999;
  transition: opacity 1s ease;
}

#loading-screen.hidden {
  opacity: 0;
  pointer-events: none;
}