-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
353 lines (311 loc) · 7.91 KB
/
Copy pathstyles.css
File metadata and controls
353 lines (311 loc) · 7.91 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
@font-face {
font-family: 'Sugarpunch';
src: url('SugarpunchDEMO.otf') format('opentype');
}
body {
font-family: 'Sugarpunch', sans-serif;
background:
/* Diagonal slices */
radial-gradient(
circle at 100% 50%,
#ffa726 0% 2%, /* Neon orange */
#ffd54f 3% 5%, /* Neon yellow */
transparent 6%
),
/* Offset dots */
radial-gradient(
circle at 0% 50%,
#ffa726 0% 2%, /* Neon orange */
#ffd54f 3% 5%, /* Neon yellow */
transparent 6%
),
/* Wave-like pattern */
radial-gradient(ellipse at 50% 0%, #ff4081 0% 3%, transparent 4%) 10px 10px, /* Neon pink */
/* Scattered elements */
radial-gradient(
circle at 50% 50%,
#ffd54f 0% 1%, /* Neon yellow */
#ffa726 2% 3%, /* Neon orange */
#ff4081 4% 5%, /* Neon pink */
transparent 6%
)
20px 20px,
/* Background texture */
repeating-linear-gradient(
45deg,
#000000, /* Dark background */
#000000 10px,
#000000 10px,
#000000 20px
);
background-size:
50px 50px,
50px 50px,
40px 40px,
60px 60px,
100% 100%;
animation: shift 15s linear infinite;
color: #000000;
overflow: hidden;
}
@keyframes shift {
0% {
background-position:
0 0,
0 0,
10px 10px,
20px 20px,
0 0;
}
100% {
background-position:
50px 50px,
-50px -50px,
60px 60px,
80px 80px,
0 0;
}
}
@keyframes move {
0% { background-position: 0 0; }
100% { background-position: 50px 50px; }
}
.scroll-banner {
position: fixed;
top: 0;
width: 100%;
background: #ffb74d;
color: #ffb74d;
padding: 10px 0;
text-align: center;
overflow: hidden;
white-space: nowrap;
text-shadow: 0 0 5px #ffd54f, 0 0 10px #ffd54f;
}
.scroll-banner p {
display: inline-block;
animation: scrollBanner 15s linear infinite;
}
@keyframes scrollBanner {
0% { transform: translateX(100%); }
100% { transform: translateX(-100%); }
}
.loading-screen {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
font-size: 2em;
animation: fadeOut 3s forwards 2s;
color: #ffb74d;
text-shadow: 0 0 10px #ffa726, 0 0 20px #ffa726;
}
@keyframes fadeOut {
to {
opacity: 0;
display: none;
}
}
.main-content {
display: none;
text-align: center;
animation: fadeIn 1s forwards 3s;
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
.main-title {
font-size: 3em;
margin-top: 2em;
color: #000000;
animation: fadeInPop 2s ease-in-out, glow 2s ease-in-out infinite alternate;
text-shadow: 0 0 10px #ffd54f, 0 0 20px #ffd54f, 0 0 30px #ffd54f;
}
@keyframes fadeInPop {
0% { opacity: 0; transform: scale(0.5); }
60% { opacity: 1; transform: scale(1.1); }
100% { transform: scale(1); }
}
@keyframes glow {
0%, 100% { text-shadow: 0 0 10px #ffd54f, 0 0 20px #ffd54f, 0 0 30px #ffd54f; }
50% { text-shadow: 0 0 20px #ffd54f, 0 0 30px #ffd54f, 0 0 40px #ffd54f; }
}
.sub-title {
font-size: 1.5em;
margin-top: 1em;
animation: slideIn 1.5s ease-out, glow 2s ease-in-out infinite alternate;
color: #000000;
text-shadow: 0 0 10px #ffa726, 0 0 20px #ffa726;
}
@keyframes slideIn {
0% { transform: translateX(-100px); opacity: 0; }
100% { transform: translateX(0); opacity: 1; }
}
/* General styles omitted for brevity (reuse the base CSS provided earlier) */
.cards {
display: flex;
justify-content: center;
gap: 1.7em;
margin-top: 0em;
padding-bottom: 5em;
}
.card {
font-family: 'Sugarpunch', sans-serif;
width: 10em;
padding: 1em;
background: #ffa726;
color: #000000;
text-shadow: 0 0 5px #ffd54f, 0 0 10px #ffd54f;
border: none;
border-radius: 10px;
cursor: pointer;
font-size: 1.2em;
transition: transform 0.3s, box-shadow 0.3s;
border-radius: 2em;
animation: flicker 2s ease-in-out infinite alternate;
animation: pulse 2s ease-in-out infinite alternate;
box-shadow: 0 0 10px #ffd54f, 0 0 20px #ffd54f;
text-shadow: 0 0 5px #ffd54f, 0 0 10px #ffd54f;
}
.card:hover {
transform: translateY(-3px);
box-shadow: 0 5px 15px rgba(255, 183, 77, 0.3);
}
.celebration-counter {
margin-top: 1em;
font-size: 1.5em;
color: #000000;
text-shadow: 0 0 10px #ffd54f, 0 0 20px #ffd54f;
animation: glow 2s ease-in-out infinite alternate;
}
.song-btn {
position: fixed;
bottom: 10px;
right: 10px;
background: #ff5722;
color: #000000;
border: none;
border-radius: 50%;
width: 3em;
height: 3em;
display: flex;
justify-content: center;
align-items: center;
box-shadow: 0 0 10px #ff5722, 0 0 20px #ff5722;
cursor: pointer;
font-size: 1.5em;
transition: transform 0.3s, box-shadow 0.3s;
}
.song-btn:hover {
transform: scale(1.1);
box-shadow: 0 0 20px #ff5722, 0 0 30px #ff5722;
}
@keyframes flicker {
0% { opacity: 1; }
50% { opacity: 0.8; }
100% { opacity: 1; }
}
.celebrate-btn {
width: 12em;
height: 4em;
border-radius: 2em;
background: #ffa726;
border: 2px solid #ffa726;
color: #000000;
font-family: 'Sugarpunch', sans-serif;
font-size: 1.2em;
font-weight: 600;
cursor: pointer;
display: flex;
justify-content: center;
align-items: center;
margin: 2em auto;
box-shadow: 0 0 10px #ffd54f, 0 0 20px #ffd54f;
text-shadow: 0 0 5px #ffd54f, 0 0 10px #ffd54f;
transition: all 0.3s ease-in-out;
}
.celebrate-btn:hover {
box-shadow: 0 0 20px #ffd54f, 0 0 30px #ffd54f;
transform: translateY(-2px);
animation: pulse 1.5s infinite;
}
@keyframes pulse {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.05); }
}
footer {
position: fixed;
bottom: 10px;
width: 100%;
text-align: center;
color: #000000;
font-size: 1.1em;
animation: slideIn 1s ease-in, glow 2s ease-in-out infinite alternate;
text-shadow: 0 0 5px #ffa726, 0 0 10px #ffa726;
}
@keyframes slideIn {
from { transform: translateY(100px); }
to { transform: translateY(0); }
}
@media (max-width: 768px) {
body {
font-size: 0.9em; /* Scale down font size slightly */
padding: 10px;
background-size:
25px 25px,
25px 25px,
20px 20px,
30px 30px,
100% 100%;
}
.main-title {
font-size: 2em; /* Smaller main title */
margin-top: 1em;
}
.sub-title {
font-size: 1.2em; /* Adjust sub-title size */
margin-top: 0.5em;
}
.scroll-banner {
font-size: 0.8em; /* Reduce banner text size */
padding: 5px 0;
}
.cards {
flex-direction: column; /* Stack cards vertically */
align-items: center; /* Center cards horizontally */
justify-content: center; /* Center cards vertically if needed */
gap: 1em; /* Adjust spacing between cards */
margin-top: 1em;
padding-bottom: 3em;
}
.card {
width: 80%; /* Ensure the cards scale down proportionally */
font-size: 1em;
padding: 0.8em;
}
.song-btn {
width: 2.5em; /* Smaller button size */
height: 2.5em;
font-size: 1.2em;
bottom: 8px;
right: 8px;
}
.celebrate-btn {
width: 10em; /* Adjust button size */
height: 3em;
font-size: 1em; /* Reduce text size */
}
footer {
font-size: 0.9em; /* Smaller footer text */
bottom: 5px;
}
.loading-screen {
font-size: 1.5em; /* Adjust loading text size */
}
}