/* Reset body styles */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: #000;
  height: 100vh;
  overflow: hidden; /* Prevent scrollbars */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Center the title at the top */
.title {
  position: absolute;
  top: 20px;
  width: 100%;
  text-align: center;
  font-size: 2.5rem;
  color: #fff;
  z-index: 2; /* Ensure it stays above the video */
  margin: 0;
}

/* Full-screen video container */
.video-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Full-screen video */
video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensure video covers the entire screen */
}

/* Timer in bottom-left corner overlaying the video */
#timer {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-size: 3rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  padding: 10px 20px;
  border-radius: 10px;
  z-index: 2; /* Ensure the timer overlays the video */
}

/* Logo in bottom-right corner */
.logo {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 80px; /* Adjust size as needed */
  height: auto;
  z-index: 2; /* Ensure it overlays the video */
  cursor: pointer;
}

/* Volume button styling */
.volume-button {
  position: absolute;
  bottom: 20px;
  right: 120px; /* Positioned slightly left of the logo */
  font-size: 2rem;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  border-radius: 50%;
  padding: 10px;
  cursor: pointer;
  z-index: 3; /* Ensure it overlays the video */
}

.volume-button:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Popup styling */
.popup {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 15px 30px;
  font-size: 1.5rem;
  border-radius: 10px;
  display: none; /* Initially hidden */
  z-index: 3; /* Ensure it overlays everything */
}
