<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Happy Birthday Hamza ❤️</title>
<style>
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Playfair+Display:wght@400;600&family=Poppins:wght@300;400;500&display=swap');
* { box-sizing: border-box; }
body {
margin: 0;
background: #fff2f6;
color: #a44369;
font-family: 'Poppins', sans-serif;
text-align: center;
overflow-x: hidden;
}
section {
padding: 65px 20px;
}
.hero {
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background: linear-gradient(145deg,#ffe0eb,#fff5f8,#f8cddd);
position: relative;
overflow: hidden;
}
.content {
position: relative;
z-index: 2;
padding: 15px;
}
h1 {
font-family: 'Great Vibes', cursive;
font-size: clamp(55px,12vw,85px);
color: #c33e75;
font-weight: normal;
margin: 15px 0;
}
h2 {
font-family: 'Playfair Display',serif;
color: #b64d76;
font-size: 29px;
}
p {
line-height: 1.9;
font-size: 15px;
}
.monkey {
font-size: 85px;
animation: bounce 2s infinite;
}
@keyframes bounce {
0%,100% { transform: translateY(0); }
50% { transform: translateY(-15px); }
}
.heart {
font-size: 65px;
animation: beat 1.5s infinite;
}
@keyframes beat {
50% { transform: scale(1.2); }
}
.flowers {
font-size: 29px;
margin: 15px;
}
button {
background: linear-gradient(120deg,#db6590,#b83b70);
color: white;
border: none;
padding: 15px 27px;
border-radius: 35px;
font-size: 15px;
margin: 20px 5px;
box-shadow: 0 5px 18px #e8a5bf;
cursor: pointer;
font-family: 'Poppins',sans-serif;
}
.welcome {
background: #fff9fb;
}
.message {
max-width: 540px;
margin: auto;
color: #94536f;
line-height: 2;
}
.letter-section {
background: linear-gradient(145deg,#fff5f8,#ffe5ee);
}
.letter {
display: none;
max-width: 540px;
margin: 25px auto;
padding: 28px 23px;
background: white;
border-radius: 20px;
box-shadow: 0 6px 25px #e9b4c9;
animation: appear 1s ease;
}
.letter p {
font-family: 'Playfair Display',serif;
font-size: 16px;
line-height: 2;
}
.letter h2 {
font-family: 'Great Vibes',cursive;
font-size: 42px;
}
@keyframes appear {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
.final {
min-height: 75vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background: linear-gradient(145deg,#f6c8d9,#fff1f5);
}
footer {
background: #f5dce5;
padding: 23px;
font-size: 12px;
}
.floating {
position: fixed;
bottom: -40px;
z-index: 5;
pointer-events: none;
animation: floatUp linear forwards;
}
@keyframes floatUp {
to {
transform: translateY(-110vh) rotate(360deg);
opacity: 0;
}
}
</style>
</head>
<body>
<!-- WELCOME PAGE -->
<section class="hero">
<div class="content">
<div class="flowers">🌸 🌷 🌸</div>
<div class="monkey">🐒</div>
<div class="heart">💗</div>
<h1>Happy Birthday,<br>Hamza!</h1>
<p>
Today is all about you, my favourite human. ❤️
</p>
<div class="flowers">🌹 💕 🌹</div>
<p>
I have a little surprise waiting for you...
</p>
<button onclick="goTo('welcome')">
Open your surprise 💌
</button>
</div>
</section>
<!-- BIRTHDAY MESSAGE -->
<section class="welcome" id="welcome">
<div class="flowers">🌷 🌸 🌷</div>
<h2>To My Birthday Boy ❤️</h2>
<div class="monkey">🐒💗</div>
<div class="message">
<p>
Today is the day someone very special
came into this world.
</p>
<p>
I hope your birthday is filled with
happiness, laughter, love and all
the little things that make you smile.
</p>
<p>
You deserve beautiful things,
beautiful moments and a beautiful year ahead.
</p>
</div>
<div class="flowers">🌹 💐 🌹</div>
</section>
<!-- SECRET LOVE LETTER -->
<section class="letter-section">
<div class="flowers">💌 🌸 💌</div>
<h2>A Little Letter For You</h2>
<p>Something I wanted to tell you from my heart...</p>
<button onclick="openLetter()">
Open my letter ❤️
</button>
<div class="letter" id="letter">
<h2>My Dear Hamza,</h2>
<p>Happy birthday, my love! ❤️</p>
<p>
I wish you could see yourself through my eyes
because you would understand how special
you really are to me.
</p>
<p>
I wish you endless happiness, success,
good health and peace of mind.
May all your dreams come true,
even the ones you haven't told anyone about.
</p>
<p>
I hope life gives you a thousand reasons
to smile, and I hope I get to be part
of many of those smiles.
</p>
<p>
Thank you for being you.
Thank you for being part of my life.
</p>
<p style="color:#c13e75;font-size:21px;text-align:center;">
I love you so much.
You're the best. 💗
</p>
<p>
Here's to more memories, more laughter,
more adventures and many more birthdays together.
</p>
<h2>With all my love, 🌹</h2>
<div style="text-align:center;font-size:35px;">
🐒💕🐒
</div>
</div>
</section>
<!-- FINAL SURPRISE -->
<section class="final">
<div class="flowers">🌸 🌹 🌸</div>
<div class="monkey">🐒</div>
<h1>Happy Birthday Hamza!</h1>
<div class="heart">❤️</div>
<h2>You are the best!</h2>
<p>
May your life always be full of
happiness, love and beautiful surprises.
</p>
<div class="flowers">🌷 💗 🌷</div>
<p>Love you so much! 💋</p>
</section>
<footer>
Made with love, just for Hamza ❤️
<br><br>
🌸 🐒 💗 🌷
</footer>
<script>
function goTo(id) {
document.getElementById(id).scrollIntoView({
behavior: "smooth"
});
}
function openLetter() {
const letter = document.getElementById("letter");
letter.style.display = "block";
letter.scrollIntoView({
behavior: "smooth",
block: "center"
});
}
function createDecoration() {
const decoration = document.createElement("div");
decoration.className = "floating";
const items = [
"💕","❤️","💗","🌸","🌷","🌹","✨","🐒"
];
decoration.textContent =
items[Math.floor(Math.random()*items.length)];
decoration.style.left = Math.random()*100 + "vw";
decoration.style.fontSize =
(18 + Math.random()*20) + "px";
const duration = 5 + Math.random()*5;
decoration.style.animationDuration = duration + "s";
document.body.appendChild(decoration);
setTimeout(() => decoration.remove(),duration*1000);
}
setInterval(createDecoration,600);
</script>
</body>
</html>