.hidden {
  display: none;
}

body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  background-color: #0f0f10;
  font-family: 'Helvetica', sans-serif;
  color: white;
}
#background {
  position: fixed;
  top: 0;
  left: 0;
  /* width: 800;
  height: 800; */
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  /* z-index: -1;/* /*Ensure it's behind other content but not hidden  */
}

.bg-image, #background video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 1s ease;
  opacity: 0;
}
.bg-image.active, #background video.active {
  opacity: 1;
}


#background video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: auto;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover; /* This ensures the video covers the area */
}


.container {
  position: relative;
  width: 100%;
  height: 100%;
}

#top-left {
  position: absolute;
  top: 0;
  left: 0;
  padding: 40px;
}



#bottom {
  position: absolute;
  bottom: 20px; /* Changed from 200px to 100px */
  left: 50%;
  transform: translateX(-50%);
  width: 70%; /* Set width to 70% of the viewport */
  max-width: 1000px; 
  font-size: 28px; /* Set font size for bottom text */
  text-align: center; /* Center align the text */  
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#bottom p {
  margin-top: 5px;
  
}
#bottom img {
  width: 100%; /* Make the image fill the container */
  height: auto; /* Maintain aspect ratio */
}

#nav-links {
  display: block;
  position: absolute;
  top: 40px;
  right: 40px;  
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#nav-links a {
  text-decoration: underline;
  margin-right: 50px;
  font-size: 22px; /* Set font size for links */
  color: white;
}

#menu-toggle {
  display: none;
  /* position: absolute;
  right: 0px;
  top: 0px; */
  /* display: none; */
  /* background-color: #f0f0f0;
  border: none;
  padding: 8px 8px;
  font-size: 16px;
  cursor: pointer; */
}

#menu-links {
  display: block; /* Make the menu links visible by default */

}
@media screen and (min-width: 801px) {
  #menu-links {
    display: block; /* Ensure menu links are visible on larger screens */
  }
}
@media screen and (max-width: 800px) {
  #menu-toggle {
    position: inherit;
      display: block;
      right: 10px;
      /* background-color: #f0f0f0; */
      font-size: 16px;
      padding: 8px 8px;
      cursor: pointer;
  }

  #menu-links {
    position: absolute;
      display: none; /* Hide the menu links initially on small screens */
      flex-direction: column;
      /* align-items: flex-start; */
      padding: 10px;
      right: 0px;
      top: 35px;
      background-color: #1a1a1a8b;
  }
  #nav-links {
    width: 100%;
    right: 0px;
  }

  #nav-links a {
      display: block; /* Stack the links vertically on small screens */
      margin-bottom: 10px;
      margin-right: 10px;
  }
}
