File size: 1,424 Bytes
8549b9c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
/* 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;
}