-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcode.html
More file actions
394 lines (339 loc) · 12.2 KB
/
Copy pathcode.html
File metadata and controls
394 lines (339 loc) · 12.2 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Urban Sound Festival 2024</title>
<style>
/* Base Styles */
:root {
--primary: #ff6b35;
--secondary: #1a1a1a;
--accent: #ffd166;
--light: #f8f9fa;
--dark: #212529;
--gradient-start: #ff6b35;
--gradient-end: #f7931e;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: var(--secondary);
color: var(--light);
line-height: 1.6;
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
padding: 20px;
}
.poster-container {
width: 100%;
max-width: 1200px;
}
.event-poster {
background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
border-radius: 20px;
overflow: hidden;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
transition: transform 0.3s ease;
padding: 40px;
position: relative;
}
.event-poster:hover {
transform: translateY(-5px);
}
/* Typography */
.event-title {
font-size: 4.5rem;
font-weight: 900;
text-transform: uppercase;
margin-bottom: 10px;
text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
letter-spacing: 2px;
}
.event-subtitle {
font-size: 1.8rem;
font-weight: 600;
margin-bottom: 30px;
opacity: 0.9;
}
.event-date {
font-size: 2.2rem;
font-weight: 700;
margin-bottom: 5px;
background-color: var(--secondary);
display: inline-block;
padding: 10px 20px;
border-radius: 10px;
}
.event-location {
font-size: 1.5rem;
margin-bottom: 40px;
font-style: italic;
}
/* Details */
.event-details {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 30px;
margin-bottom: 40px;
}
.detail-card {
background-color: rgba(255, 255, 255, 0.1);
padding: 20px;
border-radius: 10px;
backdrop-filter: blur(10px);
}
.detail-title {
font-size: 1.2rem;
font-weight: 700;
margin-bottom: 10px;
color: var(--accent);
}
.detail-content {
font-size: 1rem;
}
/* Lineup */
.lineup {
margin-bottom: 40px;
}
.lineup-title {
font-size: 1.8rem;
margin-bottom: 20px;
text-align: center;
color: var(--accent);
}
.artists {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 20px;
text-align: center;
}
.artist {
background-color: rgba(0, 0, 0, 0.3);
padding: 15px;
border-radius: 8px;
transition: transform 0.3s ease;
}
.artist:hover {
transform: scale(1.05);
background-color: rgba(0, 0, 0, 0.5);
}
.artist-name {
font-weight: 700;
margin-bottom: 5px;
}
.artist-genre {
font-size: 0.9rem;
opacity: 0.8;
}
/* CTA */
.cta-section {
text-align: center;
margin-top: 30px;
}
.ticket-button {
background-color: var(--secondary);
color: var(--light);
border: none;
padding: 18px 40px;
font-size: 1.2rem;
font-weight: 700;
border-radius: 50px;
cursor: pointer;
transition: all 0.3s ease;
text-transform: uppercase;
letter-spacing: 1px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.ticket-button:hover {
background-color: var(--accent);
color: var(--secondary);
transform: translateY(-3px);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.ticket-button:active {
transform: translateY(0);
}
/* Decorative Elements */
.corner-decoration {
position: absolute;
width: 100px;
height: 100px;
opacity: 0.1;
}
.corner-top-left {
top: 0;
left: 0;
border-top: 5px solid var(--accent);
border-left: 5px solid var(--accent);
}
.corner-top-right {
top: 0;
right: 0;
border-top: 5px solid var(--accent);
border-right: 5px solid var(--accent);
}
.corner-bottom-left {
bottom: 0;
left: 0;
border-bottom: 5px solid var(--accent);
border-left: 5px solid var(--accent);
}
.corner-bottom-right {
bottom: 0;
right: 0;
border-bottom: 5px solid var(--accent);
border-right: 5px solid var(--accent);
}
/* Responsive Design */
@media (max-width: 768px) {
.event-poster {
padding: 25px;
}
.event-title {
font-size: 3rem;
}
.event-subtitle {
font-size: 1.4rem;
}
.event-date {
font-size: 1.8rem;
}
.event-location {
font-size: 1.2rem;
}
.event-details {
grid-template-columns: 1fr;
}
.artists {
grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 480px) {
.event-title {
font-size: 2.2rem;
}
.event-date {
font-size: 1.5rem;
}
.artists {
grid-template-columns: 1fr;
}
.ticket-button {
padding: 15px 30px;
font-size: 1rem;
}
}
/* Animation */
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
animation: fadeIn 0.8s ease forwards;
}
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
</style>
</head>
<body>
<div class="poster-container">
<div class="event-poster">
<!-- Decorative corners -->
<div class="corner-decoration corner-top-left"></div>
<div class="corner-decoration corner-top-right"></div>
<div class="corner-decoration corner-bottom-left"></div>
<div class="corner-decoration corner-bottom-right"></div>
<h1 class="event-title animate-fade-in">Urban Sound Festival</h1>
<p class="event-subtitle animate-fade-in delay-1">Experience the Rhythm of the City</p>
<div class="event-date animate-fade-in delay-1">June 15-17, 2024</div>
<p class="event-location animate-fade-in delay-2">City Park Amphitheater • Downtown Metropolis</p>
<div class="event-details">
<div class="detail-card animate-fade-in delay-2">
<h3 class="detail-title">Time</h3>
<p class="detail-content">Friday: 5PM - 11PM<br>Saturday: 12PM - 11PM<br>Sunday: 12PM - 9PM</p>
</div>
<div class="detail-card animate-fade-in delay-2">
<h3 class="detail-title">Tickets</h3>
<p class="detail-content">Single Day: $45<br>Weekend Pass: $110<br>VIP Experience: $250</p>
</div>
<div class="detail-card animate-fade-in delay-2">
<h3 class="detail-title">Features</h3>
<p class="detail-content">4 Stages • Food Trucks<br>Art Installations • Vendor Market<br>Dance Zones</p>
</div>
</div>
<div class="lineup">
<h2 class="lineup-title animate-fade-in delay-3">Featured Artists</h2>
<div class="artists">
<div class="artist animate-fade-in delay-3">
<div class="artist-name">Neon Pulse</div>
<div class="artist-genre">Electronic</div>
</div>
<div class="artist animate-fade-in delay-3">
<div class="artist-name">City Lights</div>
<div class="artist-genre">Indie Rock</div>
</div>
<div class="artist animate-fade-in delay-3">
<div class="artist-name">Rhythm Method</div>
<div class="artist-genre">Hip Hop</div>
</div>
<div class="artist animate-fade-in delay-3">
<div class="artist-name">Soul Frequency</div>
<div class="artist-genre">R&B</div>
</div>
<div class="artist animate-fade-in delay-3">
<div class="artist-name">Bass Culture</div>
<div class="artist-genre">Dubstep</div>
</div>
<div class="artist animate-fade-in delay-3">
<div class="artist-name">Urban Echo</div>
<div class="artist-genre">Alternative</div>
</div>
</div>
</div>
<div class="cta-section">
<button class="ticket-button animate-fade-in delay-4" id="ticketBtn">Get Tickets Now</button>
</div>
</div>
</div>
<script>
document.addEventListener('DOMContentLoaded', function() {
const ticketBtn = document.getElementById('ticketBtn');
ticketBtn.addEventListener('click', function() {
// Animation effect on button click
this.style.transform = 'scale(0.95)';
setTimeout(() => {
this.style.transform = '';
alert('Redirecting to ticket purchase page...');
// In a real implementation, this would redirect to a ticket vendor
// window.location.href = 'https://ticketvendor.com/urban-sound-festival';
}, 200);
});
// Add intersection observer for scroll animations if needed
const observerOptions = {
threshold: 0.1,
rootMargin: '0px 0px -50px 0px'
};
const observer = new IntersectionObserver((entries) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
entry.target.classList.add('animate-fade-in');
}
});
}, observerOptions);
// Observe all elements that should animate on scroll
document.querySelectorAll('.detail-card, .artist, .lineup-title').forEach(el => {
observer.observe(el);
});
});
</script>
</body>
</html>