-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
388 lines (353 loc) · 12.2 KB
/
index.html
File metadata and controls
388 lines (353 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
<!DOCTYPE html>
<html lang="es">
<head>
<!--
______ __
/ ____/___ ____ ___ ____ __ __/ /____ _____
/ / / __ \/ __ `__ \/ __ \/ / / / __/ _ \/ ___/
/ /___/ /_/ / / / / / / /_/ / /_/ / /_/ __/ /
\____/\____/_/ /_/ /_/ .___/\__,_/\__/\___/_/
/_/
Created with Perplexity Computer
https://www.perplexity.ai/computer
-->
<meta name="generator" content="Perplexity Computer">
<meta name="author" content="Perplexity Computer">
<meta property="og:see_also" content="https://www.perplexity.ai/computer">
<link rel="author" href="https://www.perplexity.ai/computer">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>¡Zoe cumple 6 años! 🐾🩷</title>
<meta property="og:title" content="¡Estás invitada al cumple de Zoe!">
<meta property="og:description" content="Zoe cumple 6 años - Fiesta temática Skye Paw Patrol - Sábado 11 de abril, 16:30h en La Villa, Boadilla del Monte">
<style>
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Quicksand:wght@400;500;600;700&display=swap');
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
font-family: 'Quicksand', sans-serif;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, #fce4ec 0%, #f8bbd0 25%, #e1bee7 50%, #ce93d8 75%, #f48fb1 100%);
background-size: 400% 400%;
animation: gradientShift 8s ease infinite;
overflow-x: hidden;
padding: 20px;
}
@keyframes gradientShift {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
/* Floating paw prints */
.paw { position: fixed; font-size: 24px; opacity: 0.15; animation: floatPaw linear infinite; pointer-events: none; z-index: 0; }
@keyframes floatPaw {
0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
10% { opacity: 0.15; }
90% { opacity: 0.15; }
100% { transform: translateY(-10vh) rotate(360deg); opacity: 0; }
}
/* Sparkles */
.sparkle { position: fixed; width: 6px; height: 6px; background: #fff; border-radius: 50%; opacity: 0; animation: sparkle 2s ease-in-out infinite; pointer-events: none; z-index: 0; }
@keyframes sparkle {
0%, 100% { opacity: 0; transform: scale(0); }
50% { opacity: 0.8; transform: scale(1); }
}
/* Tap overlay */
.tap-overlay {
position: fixed;
inset: 0;
z-index: 1000;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, #f8bbd0cc, #ce93d8cc);
backdrop-filter: blur(10px);
cursor: pointer;
transition: opacity 0.6s ease, visibility 0.6s ease;
}
.tap-overlay.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.tap-icon {
width: 100px;
height: 100px;
border-radius: 50%;
background: rgba(255,255,255,0.25);
display: flex;
align-items: center;
justify-content: center;
font-size: 48px;
animation: pulse 1.5s ease-in-out infinite;
margin-bottom: 20px;
}
@keyframes pulse {
0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,255,255,0.4); }
50% { transform: scale(1.1); box-shadow: 0 0 0 20px rgba(255,255,255,0); }
}
.tap-text {
font-family: 'Fredoka', sans-serif;
font-size: 22px;
color: #fff;
text-shadow: 0 2px 8px rgba(0,0,0,0.2);
font-weight: 600;
}
/* Main container */
.container {
position: relative;
z-index: 1;
max-width: 500px;
width: 100%;
opacity: 0;
transform: translateY(30px);
transition: opacity 0.8s ease, transform 0.8s ease;
}
.container.visible { opacity: 1; transform: translateY(0); }
/* Invitation card */
.invitation-wrapper {
position: relative;
border-radius: 16px;
overflow: hidden;
box-shadow: 0 20px 60px rgba(0,0,0,0.2), 0 0 40px rgba(233,30,99,0.15);
transform: scale(0.95);
animation: cardAppear 0.8s ease 0.3s forwards;
}
@keyframes cardAppear { to { transform: scale(1); } }
.invitation-wrapper img {
width: 100%;
height: auto;
display: block;
}
/* Speech bubble */
.speech-bubble {
position: relative;
background: #fff;
border-radius: 20px;
padding: 16px 20px;
margin-top: 20px;
box-shadow: 0 8px 24px rgba(0,0,0,0.1);
opacity: 0;
transform: translateY(20px) scale(0.9);
transition: opacity 0.5s ease, transform 0.5s ease;
text-align: center;
}
.speech-bubble.visible { opacity: 1; transform: translateY(0) scale(1); }
.speech-bubble::before {
content: '';
position: absolute;
top: -10px;
left: 50%;
transform: translateX(-50%);
border-left: 12px solid transparent;
border-right: 12px solid transparent;
border-bottom: 12px solid #fff;
}
.speech-bubble p {
font-family: 'Fredoka', sans-serif;
font-size: 18px;
color: #ad1457;
font-weight: 600;
line-height: 1.4;
}
.speech-bubble .speaker {
font-size: 13px;
color: #e91e63;
margin-top: 6px;
font-weight: 500;
}
/* Replay button */
.replay-btn {
display: inline-flex;
align-items: center;
gap: 6px;
margin-top: 10px;
padding: 8px 16px;
border: none;
border-radius: 20px;
background: linear-gradient(135deg, #e91e63, #ec407a);
color: #fff;
font-family: 'Fredoka', sans-serif;
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: transform 0.2s ease, box-shadow 0.2s ease;
box-shadow: 0 4px 12px rgba(233,30,99,0.3);
}
.replay-btn:hover { transform: scale(1.05); box-shadow: 0 6px 16px rgba(233,30,99,0.4); }
.replay-btn:active { transform: scale(0.97); }
/* Audio wave animation */
.audio-wave {
display: flex;
align-items: center;
justify-content: center;
gap: 3px;
margin-top: 8px;
height: 20px;
opacity: 0;
transition: opacity 0.3s;
}
.audio-wave.playing { opacity: 1; }
.audio-wave span {
width: 3px;
background: #e91e63;
border-radius: 2px;
animation: wave 0.8s ease-in-out infinite;
}
.audio-wave span:nth-child(1) { height: 8px; animation-delay: 0s; }
.audio-wave span:nth-child(2) { height: 14px; animation-delay: 0.1s; }
.audio-wave span:nth-child(3) { height: 10px; animation-delay: 0.2s; }
.audio-wave span:nth-child(4) { height: 16px; animation-delay: 0.3s; }
.audio-wave span:nth-child(5) { height: 8px; animation-delay: 0.4s; }
@keyframes wave {
0%, 100% { transform: scaleY(1); }
50% { transform: scaleY(1.8); }
}
/* Links section */
.links {
display: flex;
flex-direction: column;
gap: 12px;
margin-top: 24px;
opacity: 0;
transform: translateY(20px);
transition: opacity 0.5s ease 0.2s, transform 0.5s ease 0.2s;
}
.links.visible { opacity: 1; transform: translateY(0); }
.link-btn {
display: flex;
align-items: center;
gap: 12px;
padding: 14px 20px;
border-radius: 14px;
text-decoration: none;
font-family: 'Fredoka', sans-serif;
font-weight: 600;
font-size: 15px;
transition: transform 0.2s ease, box-shadow 0.2s ease;
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.link-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.link-btn:active { transform: scale(0.98); }
.link-btn.maps { background: linear-gradient(135deg, #e91e63, #ec407a); color: #fff; }
.link-btn.instagram { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); color: #fff; }
.link-btn.facebook { background: linear-gradient(135deg, #1877f2, #42a5f5); color: #fff; }
.link-btn svg { width: 22px; height: 22px; flex-shrink: 0; }
/* Footer */
footer {
margin-top: 32px;
text-align: center;
opacity: 0.5;
font-size: 12px;
color: #880e4f;
}
footer a { color: #880e4f; text-decoration: none; }
footer a:hover { text-decoration: underline; }
</style>
</head>
<body>
<!-- Tap to start overlay -->
<div class="tap-overlay" id="tapOverlay">
<div class="tap-icon">🐾</div>
<div class="tap-text">Toca para abrir la invitación</div>
</div>
<!-- Main content -->
<div class="container" id="mainContent">
<div class="invitation-wrapper">
<img src="invitation_original.png" alt="Invitación cumpleaños Zoe - 6 años - Skye Paw Patrol">
</div>
<div class="speech-bubble" id="speechBubble">
<p>«¡Estás invitada al cumple de Zoe, no te lo pierdas!»</p>
<div class="speaker">🐾 Skye</div>
<div class="audio-wave" id="audioWave">
<span></span><span></span><span></span><span></span><span></span>
</div>
<button class="replay-btn" id="replayBtn" style="display:none;" onclick="replayAudio()">
🔊 Escuchar de nuevo
</button>
</div>
<div class="links" id="linksSection">
<a href="https://maps.google.com/?q=Valle+del+Tormes+2,+28660+Boadilla+del+Monte,+Madrid" target="_blank" rel="noopener noreferrer" class="link-btn maps">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"/><circle cx="12" cy="10" r="3"/></svg>
📍 Cómo llegar - Google Maps
</a>
</div>
<footer>
<p style="margin-bottom:4px;">🎀 ¡Te esperamos! 🎀</p>
<a href="https://www.perplexity.ai/computer" target="_blank" rel="noopener noreferrer">Created with Perplexity Computer</a>
</footer>
</div>
<audio id="skyeAudio" preload="auto">
<source src="skye_voice.mp3" type="audio/mpeg">
</audio>
<script>
// Create floating paw prints
function createPaws() {
const paws = ['🐾', '🩷', '⭐', '✨'];
for (let i = 0; i < 15; i++) {
const paw = document.createElement('div');
paw.className = 'paw';
paw.textContent = paws[Math.floor(Math.random() * paws.length)];
paw.style.left = Math.random() * 100 + 'vw';
paw.style.animationDuration = (8 + Math.random() * 12) + 's';
paw.style.animationDelay = (Math.random() * 10) + 's';
paw.style.fontSize = (16 + Math.random() * 16) + 'px';
document.body.appendChild(paw);
}
}
function createSparkles() {
for (let i = 0; i < 20; i++) {
const sparkle = document.createElement('div');
sparkle.className = 'sparkle';
sparkle.style.left = Math.random() * 100 + 'vw';
sparkle.style.top = Math.random() * 100 + 'vh';
sparkle.style.animationDelay = (Math.random() * 3) + 's';
sparkle.style.animationDuration = (1.5 + Math.random() * 2) + 's';
document.body.appendChild(sparkle);
}
}
createPaws();
createSparkles();
const tapOverlay = document.getElementById('tapOverlay');
const mainContent = document.getElementById('mainContent');
const speechBubble = document.getElementById('speechBubble');
const linksSection = document.getElementById('linksSection');
const audioWave = document.getElementById('audioWave');
const skyeAudio = document.getElementById('skyeAudio');
tapOverlay.addEventListener('click', () => {
tapOverlay.classList.add('hidden');
mainContent.classList.add('visible');
setTimeout(() => {
speechBubble.classList.add('visible');
audioWave.classList.add('playing');
skyeAudio.play().then(() => {
skyeAudio.addEventListener('ended', () => {
audioWave.classList.remove('playing');
document.getElementById('replayBtn').style.display = 'inline-flex';
});
}).catch(() => {
audioWave.classList.remove('playing');
document.getElementById('replayBtn').style.display = 'inline-flex';
});
setTimeout(() => {
linksSection.classList.add('visible');
}, 500);
}, 800);
});
function replayAudio() {
skyeAudio.currentTime = 0;
audioWave.classList.add('playing');
document.getElementById('replayBtn').style.display = 'none';
skyeAudio.play().then(() => {
skyeAudio.addEventListener('ended', () => {
audioWave.classList.remove('playing');
document.getElementById('replayBtn').style.display = 'inline-flex';
}, { once: true });
}).catch(() => {
audioWave.classList.remove('playing');
document.getElementById('replayBtn').style.display = 'inline-flex';
});
}
</script>
</body>
</html>