-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
106 lines (96 loc) · 2.42 KB
/
index.html
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
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Regalo de los Reyes Magos</title>
<style>
body {
font-family: 'Poppins', Arial, sans-serif;
background: linear-gradient(to bottom, #ffe7b3, #fffbf0);
color: #5a3d1c;
text-align: center;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
min-height: 100vh;
}
h1 {
font-size: 2.8rem;
color: #d4a017;
margin-bottom: 1rem;
text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}
#message {
background: rgba(255, 248, 230, 0.9);
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
border-radius: 16px;
padding: 2rem;
width: 90%;
max-width: 500px;
}
#locked-message {
font-size: 1.2rem;
margin-bottom: 1rem;
color: #7d5a3b;
}
#timer {
font-size: 2.2rem;
font-weight: bold;
color: #b85c00;
}
#name {
font-size: 2rem;
font-weight: bold;
color: #000aff;
margin-top: 1.5rem;
}
footer {
margin-top: 2rem;
font-size: 1rem;
color: #5a3d1c;
}
/* Decoración adicional */
.star {
position: fixed;
top: -10px;
color: gold;
font-size: 1.5rem;
animation: sparkle linear infinite;
}
@keyframes sparkle {
0% {
transform: translateY(-10px);
opacity: 1;
}
100% {
transform: translateY(100vh);
opacity: 0;
}
}
</style>
</head>
<body>
<h1>⭐ Regalo de los Reyes Magos ⭐</h1>
<div id="message">
<p id="locked-message">
Este regalo estará disponible después de <span id="reveal-time"></span>.
</p>
<p id="timer">Faltan: --:--:--</p>
<p id="name" class="hidden"></p>
</div>
<footer>
Con cariño, Sus Majestades los Reyes Magos 👑✨
</footer>
<!-- Decoración: Estrellas -->
<div class="star" style="left: 10%; animation-duration: 8s;">✦</div>
<div class="star" style="left: 25%; animation-duration: 6s;">✧</div>
<div class="star" style="left: 50%; animation-duration: 10s;">✦</div>
<div class="star" style="left: 75%; animation-duration: 7s;">✧</div>
<div class="star" style="left: 90%; animation-duration: 9s;">✦</div>
<script src="script.js"></script>
</body>
</html>