html, body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
  background: black;
}
video, canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Controls styling */
.controls {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
}

button {
  padding: 11px;
  font-size: 16px;
  background: #171717;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
button:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Responsive styling for smaller screens */
@media (max-width: 768px) {
  video,canvas{
    object-fit: cover;
  }
  .controls {
    top: auto;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: row;
    gap: 5px;
    padding: 5px;
  }
  button {
    font-size: 14px;
    padding: 9px;
  }
}

@media (max-width: 480px) {
  video,canvas{
    object-fit: cover;
  }
  button {
    font-size: 12px;
    padding: 7px;
  }
}