* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #333333;
  overflow-x: hidden;
  background: #000;
}

.v-header {
  height: 100vh;
  display: flex;
  color: #ffffff;
}

.container {
  padding-left: 1rem;
  padding-right: 1rem;
}

.fullscreen-video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.fullscreen-video-wrap video {
  min-width: 100%;
  min-height: 100%;
  max-width: 100%;
  object-fit: cover; /* Ensures the video covers the whole viewport */
}

.header-overlay {
  height: 100vh;
  width: 100vw;
  position: absolute;
  top: 0;
  left: 0;
  background: #999;
  z-index: 1;
  opacity: 0.3;
}

.header-content {
  z-index: 2;
}

.header-content h1.cursive {
  font-family: "Rock Salt", cursive;
  font-size: 3em;
  color: #fff;
  margin-bottom: 0;
}

.clear {
  clear: both;
}

#nav {
  z-index: 2;
  position: absolute;
  top: 30px;
  right: 30px;
}

.nav {
  float: left;
}

.nav a {
  color: white;
  font-size: 18px;
  padding: 0 10px;
}

#unmuteButton {
  z-index: 2;
  border: 2px solid white;
  color: white;
  font-size: 14px;
  position: absolute;
  bottom: 30px;
  right: 30px;
  background-color: transparent;
  background-repeat: no-repeat;
}

/* Mobile-specific adjustments */
@media only screen and (max-width: 768px) {
  .fullscreen-video-wrap {
    height: auto;
  }

  .header-content h1.cursive {
    font-size: 1.4em; /* Further reduce the header text size */
    text-align: center;
    margin-top: 6px; /* Add top margin for spacing */
    margin-bottom: 0; /* Remove any bottom margin */
  }

  #nav {
    top: 10px; /* Move navigation higher */
    right: 10px; /* Move navigation closer to the edge */
    text-align: right; /* Ensure links align to the right */
  }

  .nav a {
    display: inline-block;
    font-size: 12px; /* Reduce navigation link size */
    padding: 0 6px; /* Adjust padding to reduce width */
  }

  #unmuteButton {
    font-size: 12px;
    bottom: 15px; /* Adjust bottom position */
    right: 15px;
  }

  .fullscreen-video-wrap video {
    object-fit: contain;
    object-position: top;
  }
}

/* Tablet/Landscape-specific adjustments */
@media only screen and (max-width: 1024px) and (orientation: landscape) {
  .header-content h1.cursive {
    font-size: 2em; /* Adjust header size for landscape view on tablets */
    margin-top: 0;
  }

  #nav {
    top: 0;
    right: 0;
  }

  #unmuteButton {
    bottom: 55px; /* Adjust bottom position */
  }

  .fullscreen-video-wrap video {
    object-fit: cover;
    object-position: center;
  }
}
