/* General body styling */
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden; /* Prevents scrollbars */
}

/* Background video container */
.video-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
}

.video-container {
box-shadow: 0px 0px 50px rgba(0, 200, 255, 0.3);
border-radius: 10px; /* Optional: rounded corners for a modern look */
}

#videoPlayer {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease-in-out;
}

/* Background video */
video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------------- CONTROL PANEL STYLING ---------------- */

/* Body for control panel */
.control-body {
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0;
}

/* Title styling */
h2 {
  font-size: 24px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

/* Button container */
.button-container {
  display: flex;
  flex-direction: column; /* Better alignment for tablets */
  align-items: center;
  gap: 15px;
  justify-content: center;
  margin-bottom: 20px;
}

/* Styling for all buttons */
.btn {
  display: inline-block;
  opacity: 1;
  transition: opacity 0.5s ease;
  padding: 15px 25px; /* Larger padding for easier tapping */
  font-size: 1.4rem; /* Larger text for tablets */
  cursor: pointer;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  touch-action: manipulation; /* Improves touch response */
}

/* Additional buttons hidden initially */
#additional-buttons button {
  display: none;
  opacity: 0;
  margin-top: 10px;
}

/* Buttons' hover and active states */
.btn:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.btn:active {
  transform: scale(0.95);
}
