/* Reset margins and padding */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden; /* Prevent scrollbars */
  position: relative;
}

/* Full-page background container */
.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* Send video behind all other content */
  overflow: hidden;
}

.video-background video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%; /* Ensure video fills the screen horizontally */
  min-height: 100%; /* Ensure video fills the screen vertically */
  width: auto;
  height: auto;
  object-fit: cover; /* Maintain aspect ratio while filling the screen */
  background: black; /* Fallback for any gaps */
  transition: opacity 0.5s ease; /* Smooth fade effect */
}

/* Fade-out effect */
.video-background video.fade-out {
  opacity: 0;
}

/* Content container */
.content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Center the content */
  z-index: 1; /* Ensure the content is on top of the video */
  text-align: center;
}

/* Logo styling */
.content .logo {
  max-width: 80%; /* Make the logo responsive */
  height: auto;
}
