harshdhane commited on
Commit
8df064a
·
verified ·
1 Parent(s): 15b8636

Update static/css/style.css

Browse files
Files changed (1) hide show
  1. static/css/style.css +37 -135
static/css/style.css CHANGED
@@ -6,8 +6,8 @@
6
 
7
  body {
8
  font-family: 'Poppins', sans-serif;
9
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
10
  height: 100vh;
 
11
  overflow: hidden;
12
  }
13
 
@@ -16,196 +16,98 @@ body {
16
  display: flex;
17
  align-items: center;
18
  justify-content: center;
19
- position: relative;
20
  }
21
 
 
 
 
 
 
22
  .welcome-screen {
23
  text-align: center;
24
- padding: 2rem;
25
- max-width: 800px;
26
- width: 90%;
27
  }
28
 
29
  .welcome-content {
30
- animation: fadeIn 1s ease-out;
31
- }
32
-
33
- @keyframes fadeIn {
34
- from { opacity: 0; transform: translateY(20px); }
35
- to { opacity: 1; transform: translateY(0); }
36
  }
37
 
38
  .smile-icon {
39
- font-size: 8rem;
40
- color: #FFD700;
41
- margin-bottom: 1.5rem;
42
  animation: bounce 2s infinite;
43
  }
44
 
45
- @keyframes bounce {
46
- 0%, 100% { transform: translateY(0); }
47
- 50% { transform: translateY(-20px); }
48
- }
49
-
50
  .welcome-title {
51
  font-size: 4rem;
52
  font-weight: 700;
53
- color: white;
54
- margin-bottom: 1rem;
55
- text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
56
  }
57
 
58
  .welcome-message {
59
  font-size: 2rem;
60
- color: rgba(255, 255, 255, 0.9);
61
  margin-bottom: 2rem;
62
- font-weight: 300;
63
  }
64
 
65
  .simple-instruction {
66
- background: rgba(255, 255, 255, 0.1);
67
- backdrop-filter: blur(10px);
68
- border-radius: 15px;
69
- padding: 1.5rem;
70
  display: inline-flex;
71
  align-items: center;
72
- gap: 15px;
73
- color: white;
 
 
 
74
  font-size: 1.2rem;
75
- border: 1px solid rgba(255, 255, 255, 0.2);
76
- animation: pulse 2s infinite;
77
- }
78
-
79
- @keyframes pulse {
80
- 0%, 100% { opacity: 1; }
81
- 50% { opacity: 0.7; }
82
- }
83
-
84
- .simple-instruction i {
85
- font-size: 1.8rem;
86
- color: #FFD700;
87
  }
88
 
89
  /* Permission Dialog */
90
  .permission-dialog {
91
  position: fixed;
92
- top: 0;
93
- left: 0;
94
- right: 0;
95
- bottom: 0;
96
- background: rgba(0, 0, 0, 0.85);
97
  display: flex;
98
  align-items: center;
99
  justify-content: center;
100
  z-index: 1000;
101
- backdrop-filter: blur(10px);
102
- animation: fadeIn 0.5s ease-out;
 
 
103
  }
104
 
105
  .permission-content {
106
  background: white;
107
- border-radius: 20px;
108
  padding: 3rem;
109
- max-width: 500px;
110
- width: 90%;
111
  text-align: center;
112
- box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
113
- animation: slideUp 0.5s ease-out;
114
- }
115
-
116
- @keyframes slideUp {
117
- from { transform: translateY(50px); opacity: 0; }
118
- to { transform: translateY(0); opacity: 1; }
119
  }
120
 
121
  .permission-icon {
122
  font-size: 4rem;
123
  color: #667eea;
124
- margin-bottom: 1.5rem;
125
- }
126
-
127
- .permission-content h3 {
128
- font-size: 1.8rem;
129
- color: #333;
130
  margin-bottom: 1rem;
131
  }
132
 
133
- .permission-content p {
134
- color: #666;
135
- margin-bottom: 0.5rem;
136
- line-height: 1.6;
137
- }
138
-
139
  .permission-btn {
140
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
141
- color: white;
142
- border: none;
143
- padding: 1rem 2rem;
144
  font-size: 1.1rem;
145
  border-radius: 10px;
 
 
 
146
  cursor: pointer;
147
- display: inline-flex;
148
- align-items: center;
149
- justify-content: center;
150
- gap: 10px;
151
- margin: 2rem 0;
152
- width: 100%;
153
- transition: transform 0.3s ease, box-shadow 0.3s ease;
154
  }
155
 
156
- .permission-btn:hover {
157
- transform: translateY(-2px);
158
- box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
159
- }
160
-
161
- .permission-note {
162
- font-size: 0.9rem;
163
- color: #888;
164
- margin-top: 1rem;
165
- display: flex;
166
- align-items: center;
167
- justify-content: center;
168
- gap: 8px;
169
  }
170
 
171
- .permission-note i {
172
- color: #667eea;
 
173
  }
174
-
175
- /* Responsive Design */
176
- @media (max-width: 768px) {
177
- .welcome-title {
178
- font-size: 3rem;
179
- }
180
-
181
- .welcome-message {
182
- font-size: 1.5rem;
183
- }
184
-
185
- .smile-icon {
186
- font-size: 6rem;
187
- }
188
-
189
- .simple-instruction {
190
- font-size: 1rem;
191
- padding: 1rem;
192
- }
193
- }
194
-
195
- @media (max-width: 480px) {
196
- .welcome-title {
197
- font-size: 2.5rem;
198
- }
199
-
200
- .welcome-message {
201
- font-size: 1.2rem;
202
- }
203
-
204
- .smile-icon {
205
- font-size: 5rem;
206
- }
207
-
208
- .permission-content {
209
- padding: 2rem;
210
- }
211
- }
 
6
 
7
  body {
8
  font-family: 'Poppins', sans-serif;
 
9
  height: 100vh;
10
+ background: linear-gradient(135deg, #667eea, #764ba2);
11
  overflow: hidden;
12
  }
13
 
 
16
  display: flex;
17
  align-items: center;
18
  justify-content: center;
 
19
  }
20
 
21
+ video, canvas {
22
+ display: none;
23
+ }
24
+
25
+ /* Welcome Screen */
26
  .welcome-screen {
27
  text-align: center;
28
+ color: white;
 
 
29
  }
30
 
31
  .welcome-content {
32
+ animation: fadeIn 1s ease;
 
 
 
 
 
33
  }
34
 
35
  .smile-icon {
36
+ font-size: 7rem;
37
+ color: gold;
 
38
  animation: bounce 2s infinite;
39
  }
40
 
 
 
 
 
 
41
  .welcome-title {
42
  font-size: 4rem;
43
  font-weight: 700;
44
+ margin: 1rem 0;
 
 
45
  }
46
 
47
  .welcome-message {
48
  font-size: 2rem;
 
49
  margin-bottom: 2rem;
 
50
  }
51
 
52
  .simple-instruction {
 
 
 
 
53
  display: inline-flex;
54
  align-items: center;
55
+ gap: 12px;
56
+ padding: 1.2rem 2rem;
57
+ border-radius: 15px;
58
+ background: rgba(255,255,255,0.15);
59
+ backdrop-filter: blur(10px);
60
  font-size: 1.2rem;
 
 
 
 
 
 
 
 
 
 
 
 
61
  }
62
 
63
  /* Permission Dialog */
64
  .permission-dialog {
65
  position: fixed;
66
+ inset: 0;
67
+ background: rgba(0,0,0,0.85);
 
 
 
68
  display: flex;
69
  align-items: center;
70
  justify-content: center;
71
  z-index: 1000;
72
+ }
73
+
74
+ .permission-dialog.hidden {
75
+ display: none;
76
  }
77
 
78
  .permission-content {
79
  background: white;
 
80
  padding: 3rem;
81
+ border-radius: 20px;
 
82
  text-align: center;
83
+ max-width: 400px;
84
+ width: 90%;
 
 
 
 
 
85
  }
86
 
87
  .permission-icon {
88
  font-size: 4rem;
89
  color: #667eea;
 
 
 
 
 
 
90
  margin-bottom: 1rem;
91
  }
92
 
 
 
 
 
 
 
93
  .permission-btn {
94
+ margin-top: 1.5rem;
95
+ width: 100%;
96
+ padding: 1rem;
 
97
  font-size: 1.1rem;
98
  border-radius: 10px;
99
+ border: none;
100
+ background: linear-gradient(135deg, #667eea, #764ba2);
101
+ color: white;
102
  cursor: pointer;
 
 
 
 
 
 
 
103
  }
104
 
105
+ @keyframes fadeIn {
106
+ from {opacity: 0; transform: translateY(20px);}
107
+ to {opacity: 1; transform: translateY(0);}
 
 
 
 
 
 
 
 
 
 
108
  }
109
 
110
+ @keyframes bounce {
111
+ 0%,100% {transform: translateY(0);}
112
+ 50% {transform: translateY(-20px);}
113
  }