-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
387 lines (338 loc) · 9.59 KB
/
styles.css
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
html {
scroll-behavior: smooth;
}
.scroll-element {
opacity: 0;
transform: translateY(30px) scale(0.95);
transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.scroll-element.visible {
opacity: 1;
transform: translateY(0) scale(1);
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: radial-gradient(circle, #121212, #1a1a1a);
margin: 0;
padding: 20px;
display: flex;
flex-direction: column;
align-items: center;
color: #ffffff;
overflow-x: hidden;
overflow-y: auto;
box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.9);
animation: bodyZoom 1s ease-out;
}
@keyframes bodyZoom {
0% { transform: scale(1); }
50% { transform: scale(1.1); }
100% { transform: scale(1); }
}
h1 {
color: #61dafb;
margin: 20px 0;
font-size: 3em;
font-weight: 700;
text-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
animation: flicker 1s infinite alternate, randomGlow 3s infinite ease-in-out;
}
label {
font-weight: 600;
margin-top: 15px;
display: block;
color: #b0b3b8;
animation: fadeIn 1s ease-out, pulseShadow 3s infinite;
}
input, textarea {
border: 2px solid #3a3f47;
border-radius: 12px;
padding: 14px;
width: 100%;
max-width: 600px;
box-sizing: border-box;
font-size: 16px;
background-color: #1f1f2e;
color: #ffffff;
outline: none;
margin-bottom: 15px;
transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
animation: fadeIn 1s ease-out, pulseShadow 3s infinite;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(0, 0, 0, 0.6);
}
input:focus, textarea:focus {
border-color: #61dafb;
box-shadow: 0 0 35px rgba(97, 218, 251, 0.9), inset 0 0 30px rgba(97, 218, 251, 0.5);
transform: scale(1.05) perspective(1000px) rotateX(1deg) rotateY(1deg);
}
input:hover, textarea:hover {
box-shadow: 0 30px 60px rgba(97, 218, 251, 0.7), inset 0 0 30px rgba(97, 218, 251, 0.4);
transform: scale(1.03) perspective(1000px) rotateX(1deg) rotateY(1deg);
}
textarea {
resize: vertical;
}
button {
background: linear-gradient(145deg, #61dafb, #4e9dd9);
color: #282c34;
border: none;
border-radius: 12px;
padding: 16px 32px;
font-size: 18px;
cursor: pointer;
margin-top: 15px;
transition: all 0.3s ease-in-out;
animation: buttonPulse 1.5s infinite alternate, buttonGlow 3s infinite;
outline: none;
box-shadow: 0 20px 40px rgba(97, 218, 251, 0.6), 0 0 35px rgba(97, 218, 251, 0.5) inset;
text-transform: uppercase;
}
button:hover {
background: linear-gradient(145deg, #4e9dd9, #61dafb);
transform: translateY(-8px) scale(1.1);
box-shadow: 0 30px 60px rgba(97, 218, 251, 0.8), 0 0 40px rgba(97, 218, 251, 0.6) inset;
}
button:active {
transform: translateY(0) scale(1);
}
#result {
background: linear-gradient(145deg, #ffffff, #f0f0f0);
color: #333;
border: 2px solid #dee2e6;
border-radius: 12px;
padding: 20px;
margin-top: 20px;
width: 100%;
max-width: 600px;
box-sizing: border-box;
box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), inset 0 0 30px rgba(0, 0, 0, 0.5);
font-size: 16px;
white-space: pre-wrap;
opacity: 1;
transform: translateY(0);
transition: box-shadow 0.3s, transform 0.3s;
user-select: text;
}
#result:hover {
box-shadow: 0 35px 80px rgba(97, 218, 251, 0.8), inset 0 0 35px rgba(97, 218, 251, 0.6);
transform: scale(1.05) translateY(-5px);
animation: deepLighting 1s ease-in-out;
}
.toggle-button {
padding: 10px 15px;
background-color: #d9534f;
color: white;
border: none;
cursor: pointer;
border-radius: 5px;
transition: background-color 0.3s, box-shadow 0.3s;
margin-top: 10px;
font-size: 16px;
box-shadow: 0 10px 20px rgba(217, 83, 79, 0.7);
animation: pulse 1.5s infinite, glow 1.5s infinite alternate;
}
.toggle-button:hover {
background-color: #c9302c;
box-shadow: 0 15px 25px rgba(217, 83, 79, 0.9);
animation: pulse 1.5s infinite, glowHover 1.5s infinite alternate;
}
.toggle-button:active {
background-color: #a94442;
box-shadow: 0 12px 20px rgba(217, 83, 79, 0.8);
animation: none;
}
.danger-zone {
padding: 20px;
background-color: #f8d7da;
border: 1px solid #f5c6cb;
border-radius: 5px;
margin-top: 10px;
}
.hidden {
display: none;
}
.danger-zone h2 {
color: #721c24;
}
.danger-zone input, .danger-zone textarea {
width: 95%;
padding: 8px;
border: 1px solid #f5c6cb;
border-radius: 4px;
}
.popup {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.6);
display: flex;
align-items: center;
justify-content: center;
animation: fadeIn 0.5s;
}
.popup-content {
background: #000;
color: #fff;
padding: 20px;
border-radius: 10px;
max-width: 500px;
width: 100%;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(0, 0, 0, 0.6);
animation: deepLighting 1s infinite alternate;
position: relative;
}
.popup h2 {
margin-top: 0;
font-size: 1.5em;
}
.popup p {
margin: 10px 0;
}
.close-button {
position: absolute;
top: 10px;
right: 10px;
font-size: 1.5em;
cursor: pointer;
transition: color 0.3s, transform 0.3s;
}
.close-button:hover {
color: #ff0000;
transform: scale(1.2);
}
.hidden {
display: none;
}
.restart-button {
padding: 14px 28px;
background: linear-gradient(135deg, #ff7e5f, #feb47b);
color: #ffffff;
font-size: 18px;
font-weight: bold;
border: none;
border-radius: 8px;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 10px 20px rgba(255, 126, 95, 0.6), inset 0 0 15px rgba(255, 126, 95, 0.4);
text-transform: uppercase;
letter-spacing: 1px;
outline: none;
animation: buttonGlow 2s infinite alternate, pulseShadow 2s infinite;
}
.restart-button:hover {
transform: translateY(-6px) scale(1.05);
background: linear-gradient(135deg, #feb47b, #ff7e5f);
box-shadow: 0 20px 40px rgba(255, 126, 95, 0.8), inset 0 0 25px rgba(255, 126, 95, 0.5);
}
.restart-button:active {
transform: translateY(2px) scale(0.98);
box-shadow: 0 8px 16px rgba(255, 126, 95, 0.5), inset 0 0 10px rgba(255, 126, 95, 0.3);
}
@keyframes fadeIn {
0% { opacity: 0; }
100% { opacity: 1; }
}
@keyframes deepLighting {
0% { box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), inset 0 0 25px rgba(0, 0, 0, 0.4); }
50% { box-shadow: 0 30px 80px rgba(97, 218, 251, 0.9), inset 0 0 35px rgba(97, 218, 251, 0.6); }
100% { box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), inset 0 0 25px rgba(0, 0, 0, 0.4); }
}
#randomnessValue {
margin-left: 10px;
font-weight: bold;
}
@keyframes fadeIn {
0% { opacity: 0; }
100% { opacity: 1; }
}
@keyframes bounceIn {
0% { transform: scale(0.5); opacity: 0; }
50% { transform: scale(1.1); opacity: 1; }
100% { transform: scale(1); }
}
@keyframes buttonGlow {
0% { box-shadow: 0 0 25px rgba(97, 218, 251, 0.6); }
100% { box-shadow: 0 0 45px rgba(97, 218, 251, 1); }
}
@keyframes buttonPulse {
0% { transform: scale(1); }
50% { transform: scale(1.1); }
100% { transform: scale(1); }
}
@keyframes glow {
0% { text-shadow: 0 0 20px rgba(97, 218, 251, 0.8); }
100% { text-shadow: 0 0 40px rgba(97, 218, 251, 1); }
}
@keyframes pulseShadow {
0% { box-shadow: 0 0 25px rgba(0, 0, 0, 0.6); }
50% { box-shadow: 0 0 45px rgba(0, 0, 0, 0.8); }
100% { box-shadow: 0 0 25px rgba(0, 0, 0, 0.6); }
}
@keyframes buttonShadow {
0% { box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5); }
50% { box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7); }
100% { box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5); }
}
@keyframes deepLighting {
0% { box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), inset 0 0 25px rgba(0, 0, 0, 0.4); }
50% { box-shadow: 0 30px 80px rgba(97, 218, 251, 0.9), inset 0 0 35px rgba(97, 218, 251, 0.6); }
100% { box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), inset 0 0 25px rgba(0, 0, 0, 0.4); }
}
@keyframes coolRefresh {
0% {
filter: blur(10px) brightness(0.5);
transform: scale(0.95) rotate(-5deg);
opacity: 0;
}
50% {
filter: blur(5px) brightness(1);
transform: scale(1.05) rotate(3deg);
opacity: 0.7;
}
100% {
filter: blur(0) brightness(1);
transform: scale(1) rotate(0deg);
opacity: 1;
}
}
@keyframes bodyShake {
0% { transform: translateX(0); }
10% { transform: translateX(-10px); }
20% { transform: translateX(10px); }
30% { transform: translateX(-10px); }
40% { transform: translateX(10px); }
50% { transform: translateX(-5px); }
60% { transform: translateX(5px); }
70% { transform: translateX(-2px); }
80% { transform: translateX(2px); }
90% { transform: translateX(-1px); }
100% { transform: translateX(0); }
}
@keyframes flicker {
0% { opacity: 0.9; }
25% { opacity: 0.7; }
50% { opacity: 1; }
75% { opacity: 0.6; }
100% { opacity: 0.8; }
}
@keyframes jump {
0% { transform: translateY(0); }
25% { transform: translateY(-5px); }
50% { transform: translateY(5px); }
75% { transform: translateY(-3px); }
100% { transform: translateY(0); }
}
@keyframes randomGlow {
0% { text-shadow: 0 0 20px rgba(97, 218, 251, 0.8); }
25% { text-shadow: 0 0 40px rgba(255, 20, 147, 0.9); }
50% { text-shadow: 0 0 25px rgba(97, 218, 251, 1); }
75% { text-shadow: 0 0 30px rgba(255, 140, 0, 0.9); }
100% { text-shadow: 0 0 50px rgba(97, 218, 251, 0.8); }
}
@media (max-width: 768px) {
input, textarea, button, #result {
width: 90%;
}
}