body { margin: 0; padding: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100vh; background-color: #f0f0f0; } #videoContainer { width: 100%; max-width: 600px; /* Adjust the maximum width as needed */ position: relative; } video, canvas { width: 100%; height: auto; border-radius: 1rem; } img { max-width: 100%; height: auto; } button { margin: 10px; padding: 10px 20px; font-size: 18px; border-radius: 1rem; border: none; cursor: pointer; background-color: #e3e3e3; } button:hover { background-color: #1D2026; color: #FFF; } #errorText { width: 50%; color: red; font-weight: bold; }