/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  /* height: 100%; */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  /* overflow: hidden; */
  background: #0b001f;
  /* z-index: -2; */
}

.video-background-container {
  position: absolute;
  /* right: 0;
  bottom: 0; */
  /* margin: 0; */
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
    .video-background-container video {
        position: absolute; /* Position the video relative to its container */
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%); /* Centers the video */
        min-width: 100%; /* Ensures the video covers the full width */
        min-height: 100%; /* Ensures the video covers the full height */
        width: 50%; /* Maintains aspect ratio */
        height: 50%; /* Maintains aspect ratio */
        object-fit: cover; /* Ensures the video covers the container while maintaining aspect ratio */
        z-index: -1; /* Places the video behind other content */
    }

/* Overlay container that holds all content */
.overlay-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
  color: white;
  background: rgba(0, 0, 0, 0.3); /* subtle dark overlay */
}

/* Logo placement */
.logo img {
  height: 200px;
  max-height: 20vh;
  /* z-index: -1; */
}

/* Main content (centered) */
.main-content {
  text-align: center;
  margin: auto;
  max-width: 90%;
}

.headline {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6);
}

.buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

/* Buttons */
.btn {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
  font-size: 1rem;
  width: 200px;
  text-align: center;
}

.btn:hover {
  background-color: white;
  color: black;
}

/* Responsive layout */
@media (min-width: 600px) {
  .buttons {
    flex-direction: row;
    justify-content: center;
  }

  .btn {
    width: auto;
  }

  .headline {
    font-size: 2.2rem;
  }
}

@media (orientation: landscape) {
  .overlay-container {
    padding: 2rem 4rem;
  }
}
