/* Main Content Styles */
#index {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  display: flex;
  align-content: center;
}

.background-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

#video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero Container */
.hero-container {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: space-between;
  padding: 10px 10%;
  width: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3));
}

/* Hero Text and Countdown Containers */
.hero-text-container,
.countdown-container {
  align-items: center;
  max-width: 45%;
  min-width: 372px;
}

.countdown-container {
  align-content: center;
  justify-items: end;
}

.countdown {
  font-weight: 900;
  font-size: 2rem;
  width: 350px;
  text-align: center;
  padding: 15px;
  border-radius: 1px;
  background-image: linear-gradient(
    25deg,
    var(--primary-green) 55%,
    var(--neutral-white)
  );
  color: white;
}

/* Countdown Animation */
.countdown-container .countdown {
  opacity: 0;
  transform: translateY(20px);
  animation: slideIn 1.2s ease forwards;
  animation-delay: 1s;
}

/* Hero Titles Animation */
.hero-text-container h1,
.hero-text-container h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  color: #57f299;
  opacity: 0;
  transform: translateY(20px);
  animation: slideIn 0.8s ease forwards;
}

.hero-text-container h1 {
  font-size: 6rem;
  margin-bottom: -12px;
  animation-delay: 0.2s;
  line-height: 95%;
  padding-bottom: 10px;
}

.hero-text-container h2 {
  font-size: 2.5rem;
  color: white;
}

.hero-text-container h2:nth-child(2) {
  animation-delay: 0.4s;
}

.hero-text-container h2:nth-child(3) {
  animation-delay: 0.6s;
}

.hero-text-container h2:nth-child(4) {
  animation-delay: 0.8s;
}

@media (max-width: 940px) {
  h1,
  h2 {
    text-align: center;
  }

  .hero-container {
    margin-top: 15px;
    min-width: 372px;
    justify-content: center !important;
    align-items: center;
  }

  .hero-text-container,
  .countdown-container {
    scale: 65%;
  }
}
