A little color. A little motion. A tiny experiment in CSS gradients.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>A Fairy Birthday for Ana 💗</title>
<link href="https://fonts.googleapis.com/css2?family=Great+Vibes&family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=Poppins:wght@300;400;500&display=swap" rel="stylesheet">
<style>
* {box-sizing:border-box}
html {scroll-behavior:smooth}
body {
margin:0;
color:#98506e;
text-align:center;
font-family:'Poppins',sans-serif;
background:linear-gradient(180deg,#ffe4f0,#fff5fa,#ffd9eb,#fff0f7);
overflow-x:hidden;
}
section {
min-height:100vh;
padding:65px 20px;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
position:relative;
}
h1 {
font-family:'Great Vibes',cursive;
font-weight:normal;
font-size:clamp(3.8rem,12vw,6rem);
color:#db4e91;
text-shadow:0 2px 12px #fff;
margin:10px;
}
h2 {
font-family:'Playfair Display',serif;
color:#c34c83;
}
p {
line-height:1.95;
max-width:650px;
}
.card {
width:100%;
max-width:650px;
background:#fff9fce8;
border:2px solid white;
border-radius:30px;
padding:30px 24px;
box-shadow:0 10px 35px #d875a126;
}
button {
border:none;
background:#e66ba4;
color:white;
padding:14px 25px;
border-radius:30px;
font-size:1rem;
font-family:'Poppins',sans-serif;
margin:20px 8px;
box-shadow:0 5px 15px #e66ba440;
cursor:pointer;
transition:.3s;
}
button:hover {transform:translateY(-3px)}
.fairy {
font-size:3.4rem;
animation:float 3s ease-in-out infinite;
}
.signature {
font-family:'Great Vibes',cursive;
font-size:2.5rem;
color:#d44d91;
}
.small {font-size:.85rem;color:#b77a95}
.pony {
font-size:4rem;
animation:pony 2s infinite ease-in-out;
}
.hidden {display:none}
.falling {
position:fixed;
top:-40px;
pointer-events:none;
z-index:10;
animation:fall linear forwards;
}
.glow {
text-shadow:0 0 15px #ff9ecb,0 0 30px #fff;
}
@keyframes float {
0%,100%{transform:translateY(0)}
50%{transform:translateY(-13px)}
}
@keyframes pony {
0%,100%{transform:translateY(0) rotate(-4deg)}
50%{transform:translateY(-10px) rotate(4deg)}
}
@keyframes fall {
to {transform:translateY(110vh) rotate(360deg)}
}
</style>
</head>
<body>
<!-- WELCOME -->
<section id="home">
<div class="fairy">🧚🏻♀️ ✨ 🦋</div>
<p>Welcome to your little magical birthday world...</p>
<h1>Happy Birthday,<br>Ana!</h1>
<div class="pony">🦄 🎀 🌸</div>
<p>
A little pink magic, a little fairy dust,
and a birthday surprise made just for you. 💗
</p>
<button onclick="go('garden')">Enter your fairy garden 🌷</button>
<p class="small">♡ A little world where you're the princess ♡</p>
</section>
<!-- FAIRY GARDEN -->
<section id="garden">
<div class="card">
<div class="fairy">🌸 🦋 🌸</div>
<h2>Welcome, beautiful doll!</h2>
<p>
Ana, I genuinely think you look like one of those dolls
people admire in shop windows and wonder if they're even real.
Your long hair, your gorgeous face, your model-like beauty...
girl, you are ridiculously pretty! 🎀
</p>
<p>
You deserve to see yourself the way people who appreciate
your beauty see you. I hope you never doubt how gorgeous
you are, because honestly, you're a whole fairy-tale character.
</p>
<div class="fairy">💕 🌷 💕</div>
<p>
If I could turn you into a cartoon character,
you would definitely belong in a magical world
filled with pink flowers, butterflies and fairy wings.
</p>
<button onclick="go('fluttershy')">
Meet your spirit pony 🐴
</button>
</div>
</section>
<!-- FLUTTERSHY -->
<section id="fluttershy">
<div class="card">
<div class="pony">🐴 🌸 🦋</div>
<h2>Fluttershy, but make it Ana! 💗</h2>
<p>
You remind me of Fluttershy from My Little Pony!
The soft pink aesthetic, the flowers, the sweetness,
the delicate fairy-like energy...
Fluttershy would absolutely approve of this birthday celebration. 🥹
</p>
<p>
And imagine Fluttershy with a little pink bow,
surrounded by butterflies, roses and sparkles,
celebrating the most beautiful birthday girl!
</p>
<div style="font-size:3rem">
🐴 💗 🐴
</div>
<p>
And because you're a Winx girl too...
I cannot forget Flora! 🌸
</p>
<p>
Flora's beauty, elegance, flowers, pink magic and wings
are basically the energy of this whole birthday.
So today, you are the fairy of flowers,
the princess of pink and the birthday girl of the year!
</p>
<button onclick="go('letter')">A little letter for you 💌</button>
</div>
</section>
<!-- LETTER -->
<section id="letter">
<div class="card">
<div class="fairy">💌 🌷 💗</div>
<h2>To my first Georgian friend 🇬🇪</h2>
<p>
I still think it's such a lovely thing that you're
my first Georgian friend. Out of all the people
and places in the world, I got to know you,
and I'm genuinely happy about that.
</p>
<p>
I hope this birthday brings you so much happiness,
beautiful memories, laughter, love and everything
your heart has been quietly wishing for.
</p>
<p>
I hope you never feel the need to compare yourself
to anyone, because you have your own kind of beauty.
You look like a doll, like a model,
like someone who belongs in a beautiful illustration
with flowers in her hair and fairy wings on her back.
And I hope you always feel confident enough
to recognize that beauty yourself.
</p>
<p>
May this new year of your life be full of wonderful things.
May you be successful, loved, appreciated,
surrounded by good people,
and always have reasons to smile.
</p>
<p>
And may you bake as many delicious cakes as your heart desires,
because a girl as sweet as you deserves
an endless supply of strawberry cake! 🍓
</p>
<div class="signature">You deserve magic. ♡</div>
<button onclick="go('cake')">Your cake is ready 🍓</button>
</div>
</section>
<!-- CAKE -->
<section id="cake">
<div class="card">
<div class="fairy">🍓 🎂 🍓</div>
<h2>A strawberry cake for the princess!</h2>
<div style="font-size:6rem;animation:float 2s infinite">
🎂
</div>
<p>
A pink strawberry cake with little hearts,
flowers, strawberries and sparkles...
because what is a fairy birthday without a cake? 🎀
</p>
<p>
Imagine this cake made just for you,
with pink frosting, strawberries on top
and the prettiest little decorations.
I hope your real birthday cake is just as lovely
and that every bite makes you happy! 🍓💕
</p>
<button onclick="go('final')">Make your birthday wish ✨</button>
</div>
</section>
<!-- FINAL -->
<section id="final">
<div class="fairy glow">🧚🏻♀️ 🦋 🌸</div>
<h1>Happy Birthday, Ana!</h1>
<div class="card">
<p>
To my beautiful first Georgian friend,
I hope this day is as lovely as you are.
I hope your life is filled with flowers,
fairy dust, beautiful adventures,
sweet moments and people who remind you
how special you truly are.
</p>
<p>
Keep being the gorgeous doll,
the little Flora,
the Fluttershy,
and the beautiful soul that you are.
Never stop shining. 💗
</p>
<div class="pony">🐴 🎀 🍓 🦋</div>
<div class="signature">
With love, always. 🌷
</div>
<button onclick="window.scrollTo({top:0,behavior:'smooth'})">
Back to the fairy garden ♡
</button>
</div>
</section>
<script>
function go(id){
document.getElementById(id).scrollIntoView({behavior:"smooth"});
}
const symbols=["🌸","💗","🦋","🌷","✨","💕","🎀","🌹"];
function createFalling(){
const el=document.createElement("div");
el.className="falling";
el.innerHTML=symbols[Math.floor(Math.random()*symbols.length)];
el.style.left=Math.random()*100+"vw";
el.style.fontSize=(15+Math.random()*20)+"px";
el.style.animationDuration=(6+Math.random()*7)+"s";
document.body.appendChild(el);
setTimeout(()=>el.remove(),13000);
}
setInterval(createFalling,600);
</script>
</body>
</html>