-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
513 lines (467 loc) · 9.32 KB
/
Copy pathstyle.css
File metadata and controls
513 lines (467 loc) · 9.32 KB
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
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
body {
margin: 0;
padding: 0;
background: radial-gradient(circle, #524e4d, #0c0c0b);
animation: ambientGlow 20s ease-in-out infinite;
overflow: hidden;
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
.lamp-container {
position: relative;
width: 200px;
height: 600px;
display: flex;
flex-direction: column;
align-items: center;
}
.lamp-base {
width: 250px;
height: 120px;
background: linear-gradient(145deg, #2c2c2c, #1a1a1a);
border-radius: 20px;
position: relative;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
z-index: 10;
}
.lamp-base::before {
content: "";
position: absolute;
top: -10px;
left: 50%;
transform: translateX(-50%);
width: 180px;
height: 20px;
background: linear-gradient(145deg, #3a3a3a, #2a2a2a);
border-radius: 10px;
}
.lamp-body {
width: 180px;
height: 450px;
background: linear-gradient(
to bottom,
rgba(241, 240, 239, 0.15) 0%,
rgba(153, 153, 153, 0.25) 50%,
rgba(71, 71, 71, 0.15) 100%
);
border-radius: 90px;
position: relative;
border: 4px solid #333;
overflow: hidden;
box-shadow: inset 0 0 50px rgba(105, 105, 104, 0.1),
0 0 50px rgba(65, 64, 64, 0.2);
animation: lampGlow 8s ease-in-out infinite;
}
@keyframes lampGlow {
0%,
100% {
box-shadow: inset 0 0 50px rgba(92, 92, 88, 0.1),
0 0 50px rgba(58, 58, 57, 0.2);
}
50% {
box-shadow: inset 0 0 80px rgba(121, 120, 118, 0.2),
0 0 80px rgba(104, 103, 102, 0.3);
}
}
.lamp-cap {
width: 220px;
height: 80px;
background: linear-gradient(145deg, #2c2c2c, #1a1a1a);
border-radius: 50px 50px 20px 20px;
position: relative;
z-index: 10;
top: 50px;
box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
}
.lava-container {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border-radius: 90px;
overflow: hidden;
}
.blob {
position: absolute;
border-radius: 50%;
background: radial-gradient(
circle at 30% 30%,
rgba(255, 80, 20, 0.9),
rgba(255, 120, 40, 0.8),
rgba(255, 160, 60, 0.7)
);
filter: blur(2px);
box-shadow: 0 0 20px rgba(255, 100, 0, 0.5),
inset 0 0 20px rgba(255, 150, 50, 0.3);
}
.blob:nth-child(1) {
width: 120px;
height: 120px;
bottom: -60px;
left: 30px;
animation: rise1 12s ease-in-out infinite, wobble1 4s ease-in-out infinite;
}
.blob:nth-child(2) {
width: 80px;
height: 80px;
bottom: -40px;
right: 40px;
animation: rise2 15s ease-in-out infinite 2s, wobble2 5s ease-in-out infinite;
}
.blob:nth-child(3) {
width: 60px;
height: 60px;
bottom: -30px;
left: 60px;
animation: rise3 18s ease-in-out infinite 4s, wobble3 6s ease-in-out infinite;
}
.blob:nth-child(4) {
width: 100px;
height: 100px;
bottom: -50px;
right: 20px;
animation: rise4 20s ease-in-out infinite 6s, wobble4 7s ease-in-out infinite;
}
.blob:nth-child(5) {
width: 40px;
height: 40px;
bottom: -20px;
left: 70px;
animation: rise5 14s ease-in-out infinite 8s, wobble5 3s ease-in-out infinite;
}
.blob:nth-child(6) {
width: 90px;
height: 90px;
bottom: -45px;
left: 45px;
animation: rise6 16s ease-in-out infinite 10s, wobble6 8s ease-in-out infinite;
}
.blob:nth-child(7) {
width: 35px;
height: 35px;
bottom: -18px;
right: 60px;
animation: rise7 13s ease-in-out infinite 12s,
wobble7 4.5s ease-in-out infinite;
}
.blob:nth-child(8) {
width: 70px;
height: 70px;
bottom: -35px;
right: 35px;
animation: rise8 17s ease-in-out infinite 14s,
wobble8 5.5s ease-in-out infinite;
}
@keyframes rise1 {
0%,
100% {
transform: translateY(0) scale(1);
}
50% {
transform: translateY(-400px) scale(0.8);
}
}
@keyframes rise2 {
0%,
100% {
transform: translateY(0) scale(1);
}
50% {
transform: translateY(-380px) scale(0.9);
}
}
@keyframes rise3 {
0%,
100% {
transform: translateY(0) scale(1);
}
50% {
transform: translateY(-350px) scale(0.7);
}
}
@keyframes rise4 {
0%,
100% {
transform: translateY(0) scale(1);
}
50% {
transform: translateY(-420px) scale(0.85);
}
}
@keyframes rise5 {
0%,
100% {
transform: translateY(0) scale(1);
}
50% {
transform: translateY(-300px) scale(0.6);
}
}
@keyframes rise6 {
0%,
100% {
transform: translateY(0) scale(1);
}
50% {
transform: translateY(-390px) scale(0.9);
}
}
@keyframes rise7 {
0%,
100% {
transform: translateY(0) scale(1);
}
50% {
transform: translateY(-280px) scale(0.5);
}
}
@keyframes rise8 {
0%,
100% {
transform: translateY(0) scale(1);
}
50% {
transform: translateY(-360px) scale(0.8);
}
}
@keyframes wobble1 {
0%,
100% {
border-radius: 50%;
}
25% {
border-radius: 45% 55% 60% 40% / 55% 45% 55% 45%;
}
50% {
border-radius: 40% 60% 70% 30% / 50% 60% 40% 60%;
}
75% {
border-radius: 55% 45% 30% 70% / 45% 55% 65% 35%;
}
}
@keyframes wobble2 {
0%,
100% {
border-radius: 50%;
}
25% {
border-radius: 40% 60% 55% 45% / 60% 40% 50% 50%;
}
50% {
border-radius: 60% 40% 45% 55% / 40% 60% 60% 40%;
}
75% {
border-radius: 45% 55% 70% 30% / 55% 45% 35% 65%;
}
}
@keyframes wobble3 {
0%,
100% {
border-radius: 50%;
}
25% {
border-radius: 55% 45% 40% 60% / 45% 55% 60% 40%;
}
50% {
border-radius: 35% 65% 60% 40% / 65% 35% 45% 55%;
}
75% {
border-radius: 60% 40% 50% 50% / 40% 60% 50% 50%;
}
}
@keyframes wobble4 {
0%,
100% {
border-radius: 50%;
}
25% {
border-radius: 50% 50% 65% 35% / 50% 50% 40% 60%;
}
50% {
border-radius: 45% 55% 35% 65% / 55% 45% 65% 35%;
}
75% {
border-radius: 65% 35% 50% 50% / 35% 65% 50% 50%;
}
}
@keyframes wobble5 {
0%,
100% {
border-radius: 50%;
}
25% {
border-radius: 60% 40% 50% 50% / 40% 60% 55% 45%;
}
50% {
border-radius: 40% 60% 65% 35% / 60% 40% 35% 65%;
}
75% {
border-radius: 50% 50% 40% 60% / 50% 50% 60% 40%;
}
}
@keyframes wobble6 {
0%,
100% {
border-radius: 50%;
}
25% {
border-radius: 35% 65% 55% 45% / 65% 35% 45% 55%;
}
50% {
border-radius: 65% 35% 40% 60% / 35% 65% 60% 40%;
}
75% {
border-radius: 45% 55% 65% 35% / 55% 45% 35% 65%;
}
}
@keyframes wobble7 {
0%,
100% {
border-radius: 50%;
}
25% {
border-radius: 55% 45% 60% 40% / 45% 55% 40% 60%;
}
50% {
border-radius: 40% 60% 45% 55% / 60% 40% 65% 35%;
}
75% {
border-radius: 60% 40% 35% 65% / 40% 60% 50% 50%;
}
}
@keyframes wobble8 {
0%,
100% {
border-radius: 50%;
}
25% {
border-radius: 50% 50% 45% 55% / 50% 50% 65% 35%;
}
50% {
border-radius: 45% 55% 35% 65% / 55% 45% 40% 60%;
}
75% {
border-radius: 65% 35% 60% 40% / 35% 65% 55% 45%;
}
}
/* .heating-element {
position: absolute;
bottom: 0px;
left: 50%;
transform: translateX(-50%);
width: 150px;
height: 30px;
background: linear-gradient(
90deg,
rgba(209, 206, 204, 0.8) 0%,
rgba(131, 130, 129, 0.9) 50%,
rgba(54, 54, 53, 0.8) 100%
);
border-radius: 10px;
animation: heatPulse 3s ease-in-out infinite;
box-shadow: 0 0 20px rgba(46, 46, 45, 0.6);
}
@keyframes heatPulse {
0%,
100% {
opacity: 0.8;
box-shadow: 0 0 20px rgba(141, 139, 138, 0.6);
}
50% {
opacity: 1;
box-shadow: 0 0 40px rgba(99, 99, 97, 0.8);
}
} */
.bubble {
position: absolute;
background: rgba(255, 255, 255, 0.1);
border-radius: 50%;
pointer-events: none;
animation: bubbleRise 4s linear infinite;
}
.bubble:nth-child(odd) {
animation-delay: -2s;
}
@keyframes bubbleRise {
0% {
transform: translateY(0) scale(0);
opacity: 0;
}
10% {
transform: translateY(-50px) scale(1);
opacity: 1;
}
90% {
transform: translateY(-400px) scale(0.5);
opacity: 0.5;
}
100% {
transform: translateY(-450px) scale(0);
opacity: 0;
}
}
.controls {
position: absolute;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
display: flex;
gap: 10px;
z-index: 20;
}
.control-btn {
padding: 10px 20px;
background: rgba(255, 255, 255, 0.1);
border: 2px solid rgba(255, 255, 255, 0.3);
border-radius: 25px;
color: white;
cursor: pointer;
transition: all 0.3s ease;
backdrop-filter: blur(10px);
}
.control-btn:hover {
background: rgba(255, 255, 255, 0.2);
border-color: rgba(255, 255, 255, 0.5);
}
.controls label {
color: white;
margin-right: 10px;
align-self: center;
}
.controls input[type="color"] {
width: 40px;
height: 40px;
border: none;
background: transparent;
cursor: pointer;
}
.speed-slow {
animation-duration: 25s !important;
}
.speed-normal {
animation-duration: 15s !important;
}
.speed-fast {
animation-duration: 8s !important;
}
@media (max-width: 768px) {
.lamp-container {
width: 150px;
height: 500px;
}
.lamp-body {
width: 130px;
height: 350px;
}
.lamp-base {
width: 180px;
height: 80px;
}
.lamp-cap {
width: 150px;
height: 60px;
}
}