Skip to content

Commit 93ee9f8

Browse files
committed
UI polish
1 parent a8135af commit 93ee9f8

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

β€Žindex.htmlβ€Ž

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,15 @@
5454
.floating-pizza {
5555
position: absolute;
5656
font-size: 2rem;
57-
opacity: 0.35;
58-
animation: floatPizza 15s ease-in-out infinite;
57+
opacity: 0.55;
58+
animation: floatPizza 12s ease-in-out infinite;
5959
}
6060

6161
@keyframes floatPizza {
62-
0%, 100% { transform: translateY(0) rotate(0deg); }
63-
25% { transform: translateY(-30px) rotate(90deg); }
64-
50% { transform: translateY(0) rotate(180deg); }
65-
75% { transform: translateY(30px) rotate(270deg); }
62+
0%, 100% { transform: translate(0, 0) rotate(0deg); }
63+
25% { transform: translate(40px, -60px) rotate(120deg); }
64+
50% { transform: translate(-30px, 20px) rotate(240deg); }
65+
75% { transform: translate(20px, 50px) rotate(300deg); }
6666
}
6767

6868
.neon-line {
@@ -135,11 +135,12 @@
135135
}
136136

137137
.tagline {
138-
font-size: 1.2rem;
138+
font-size: clamp(0.6rem, 4vw, 1.2rem);
139139
color: #ff6b35;
140140
margin-top: 20px;
141-
letter-spacing: 4px;
141+
letter-spacing: clamp(1px, 1vw, 4px);
142142
text-transform: uppercase;
143+
white-space: nowrap;
143144
}
144145

145146
/* Projects Grid */
@@ -333,6 +334,11 @@
333334
<div class="floating-pizza" style="top: 60%; left: 15%; animation-delay: -7s;">πŸ•</div>
334335
<div class="floating-pizza" style="top: 80%; right: 5%; animation-delay: -11s;">πŸ•</div>
335336
<div class="floating-pizza" style="top: 45%; left: 80%; animation-delay: -5s;">πŸ•</div>
337+
<div class="floating-pizza" style="top: 20%; left: 45%; animation-delay: -2s;">πŸ•</div>
338+
<div class="floating-pizza" style="top: 70%; left: 75%; animation-delay: -8s;">πŸ•</div>
339+
<div class="floating-pizza" style="top: 50%; left: 25%; animation-delay: -4s;">πŸ•</div>
340+
<div class="floating-pizza" style="top: 15%; right: 30%; animation-delay: -9s;">πŸ•</div>
341+
<div class="floating-pizza" style="top: 85%; left: 50%; animation-delay: -6s;">πŸ•</div>
336342
</div>
337343

338344
<header>

0 commit comments

Comments
Β (0)