-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
217 lines (195 loc) · 6.67 KB
/
index.html
File metadata and controls
217 lines (195 loc) · 6.67 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>🎉 Siddharth's Birthday Invitation 🎉</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://fonts.googleapis.com/css2?family=Pacifico&family=Poppins:wght@400;600&display=swap" rel="stylesheet">
<style>
*{margin:0;padding:0;box-sizing:border-box}
body{
font-family:'Poppins',sans-serif;
background: linear-gradient(135deg,#ff9a9e,#fad0c4,#fad390);
min-height:100vh;
display:flex;
flex-direction:column;
align-items:center;
color:#fff;
text-shadow:1px 1px 2px rgba(0,0,0,0.3);
overflow-y:auto;
}
.card{
background:rgba(0,0,0,0.65);
margin:2rem;
padding:2.5rem;
border-radius:28px;
box-shadow:0 15px 40px rgba(0,0,0,0.5);
text-align:center;
max-width:720px;
animation:fadeIn 2s ease forwards;
position:relative;
z-index:1;
}
h1{font-family:'Pacifico',cursive;font-size:3rem;margin-bottom:1rem;color:#ffd93d;}
h2{font-size:2rem;margin-bottom:1.2rem;color:#ffcc70;}
p{font-size:1.2rem;margin-bottom:1rem;line-height:1.8;}
.photo-wrapper{
background:#fff;
border-radius:50%;
padding:15px;
display:inline-block;
margin-top:1.5rem;
box-shadow:0 6px 20px rgba(0,0,0,0.5);
animation:zoomIn 1.5s ease forwards;
}
.invite-img{
max-width:200px;
border-radius:50%;
display:block;
}
.countdown{
display:flex;
justify-content:center;
gap:16px;
margin-top:1.5rem;
margin-bottom:2rem;
flex-wrap:wrap;
}
.countdown div{
background:#fff;
color:#000;
padding:12px 18px;
border-radius:14px;
font-weight:700;
min-width:70px;
box-shadow:0 4px 12px rgba(0,0,0,0.3);
font-size:1rem;
text-align:center;
}
footer{
width:100%;
text-align:center;
padding:1rem;
background:rgba(0,0,0,0.6);
font-size:.9rem;
margin-top:1rem;
z-index:1;
}
/* Confetti */
.confetti{
position:fixed;
top:0;
z-index:0;
animation:fall linear forwards;
}
@keyframes fall{
0%{transform:translateY(-10vh) rotate(0);}
100%{transform:translateY(110vh) rotate(720deg);}
}
@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}
@keyframes zoomIn{from{transform:scale(0.7);opacity:0}to{transform:scale(1);opacity:1}}
.venue-link {
display: inline-block;
padding: 10px 20px;
color: #fff;
background: linear-gradient(45deg, #ff416c, #ff4b2b);
border-radius: 10px;
font-weight: bold;
text-decoration: none;
box-shadow: 0 0 10px rgba(255, 64, 129, 0.7);
animation: pulse 1.5s infinite;
transition: transform 0.3s ease;
}
.venue-link:hover {
transform: scale(1.1);
}
@keyframes pulse {
0% {
box-shadow: 0 0 10px rgba(255, 64, 129, 0.7);
}
50% {
box-shadow: 0 0 20px rgba(255, 64, 129, 1);
}
100% {
box-shadow: 0 0 10px rgba(255, 64, 129, 0.7);
}
}
</style>
</head>
<body>
<div class="card">
<h1>🎂 You're Invited! 🎂</h1>
<h2>✨ Siddharth's Birthday Celebration ✨</h2>
<p> 📅 Date: <b>11th September, 2025</b></p>
<a href="https://maps.app.goo.gl/sB5QqtpFpY4T9uvh6" target="_blank" class="venue-link">
📍 Venue – Uppalaguptam
</a>
<p>📞 phone: <b>9502930797</b>
<p>It’s time to celebrate a day filled with joy, laughter, and love. 🥳</p>
<p>Be ready for cake cutting 🍰, fun games 🎯, amazing surprises 🎁, and lots of happy memories ✨.</p>
<p>Your presence will make the evening unforgettable ❤️.</p>
<!-- White circle photo -->
<div class="photo-wrapper">
<img src="peeps-avatar-alpha (6).png" alt="Siddharth 3D Photo" class="invite-img" />
</div>
<!-- Countdown -->
<div class="countdown">
<div><span id="days">00</span><br/>Days</div>
<div><span id="hours">00</span><br/>Hours</div>
<div><span id="minutes">00</span><br/>Minutes</div>
<div><span id="seconds">00</span><br/>Seconds</div>
</div>
</div>
<!-- Footer -->
<footer>
💌 Thank you for being part of my special day. See you at the party! 🎉
</footer>
<script>
// Countdown
const targetDate = new Date("Sep 11, 2025 00:00:00").getTime();
const daysEl=document.getElementById("days");
const hoursEl=document.getElementById("hours");
const minutesEl=document.getElementById("minutes");
const secondsEl=document.getElementById("seconds");
setInterval(()=>{
const now = new Date().getTime();
const diff = targetDate - now;
const days = Math.floor(diff/(1000*60*60*24));
const hours = Math.floor((diff%(1000*60*60*24))/(1000*60*60));
const minutes = Math.floor((diff%(1000*60*60))/(1000*60));
const seconds = Math.floor((diff%(1000*60))/1000);
daysEl.innerText = days.toString().padStart(2,'0');
hoursEl.innerText = hours.toString().padStart(2,'0');
minutesEl.innerText = minutes.toString().padStart(2,'0');
secondsEl.innerText = seconds.toString().padStart(2,'0');
},1000);
// Confetti with different shapes
function createConfetti(){
const colors=['#ff0','#0ff','#f0f','#0f0','#f00','#00f','#ff6b6b','#ffd93d'];
const shapes=['square','circle','star'];
for(let i=0;i<40;i++){
const confetti=document.createElement('div');
confetti.className='confetti';
// Random size
const size = Math.floor(Math.random()*12)+8;
confetti.style.width = size+"px";
confetti.style.height = size+"px";
// Random shape
const shape = shapes[Math.floor(Math.random()*shapes.length)];
if(shape==='circle'){ confetti.style.borderRadius="50%"; }
if(shape==='star'){
confetti.style.clipPath="polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%)";
}
// Position and animation
confetti.style.left=Math.random()*100+'vw';
confetti.style.background=colors[Math.floor(Math.random()*colors.length)];
confetti.style.animationDuration=(3+Math.random()*3)+'s';
document.body.appendChild(confetti);
setTimeout(()=>confetti.remove(),6000);
}
}
setInterval(createConfetti,1200);
createConfetti();
</script>
</body>
</html>