Spaces:
Sleeping
Sleeping
| /* Reset some basics */ | |
| * { | |
| box-sizing: border-box; | |
| margin: 0; | |
| padding: 0; | |
| } | |
| body { | |
| background: #111219; | |
| color: #e6e6e6; | |
| font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| min-height: 100vh; | |
| } | |
| .container { | |
| width: 100%; | |
| max-width: 480px; | |
| padding: 20px; | |
| } | |
| header { | |
| text-align: center; | |
| margin-bottom: 20px; | |
| } | |
| header h1 { | |
| font-size: 2.2rem; | |
| color: #00ff9d; | |
| } | |
| header p { | |
| font-size: 1rem; | |
| color: #9a9a9a; | |
| } | |
| .video-wrapper { | |
| position: relative; | |
| width: 100%; | |
| border: 3px solid #00ff9d; | |
| border-radius: 12px; | |
| overflow: hidden; | |
| } | |
| video#webcam { | |
| display: block; | |
| width: 100%; | |
| height: auto; | |
| } | |
| .video-wrapper .overlay { | |
| position: absolute; | |
| bottom: 0; | |
| width: 100%; | |
| background: rgba(0, 0, 0, 0.6); | |
| padding: 12px; | |
| text-align: center; | |
| } | |
| .overlay span { | |
| font-size: 1.2rem; | |
| color: #e6e6e6; | |
| } | |
| .controls { | |
| display: flex; | |
| justify-content: space-between; | |
| gap: 10px; | |
| margin: 15px 0; | |
| } | |
| .controls button { | |
| flex: 1; | |
| padding: 12px; | |
| font-size: 1rem; | |
| border: none; | |
| cursor: pointer; | |
| color: #111219; | |
| background: #00ff9d; | |
| border-radius: 8px; | |
| transition: background 0.3s ease; | |
| } | |
| .controls button:hover { | |
| background: #00e88c; | |
| } | |
| .controls button:disabled { | |
| background: #444; | |
| cursor: not-allowed; | |
| } | |
| footer { | |
| text-align: center; | |
| font-size: 0.8rem; | |
| color: #555; | |
| margin-top: 20px; | |
| } | |