- π Hi, Iβm @idad30
- π Iβm interested in ...
- π± Iβm currently learning ...
- ποΈ Iβm looking to collaborate on ...
- π« How to reach me ...
- π Pronouns: ...
- β‘ Fun fact: ...
.card {
background: white;
border-radius: 20px;
padding: 40px;
box-shadow: 0 10px 30px rgba(0,0,0,0.1);
max-width: 400px;
margin: 100px auto;
text-align: center;
position: relative;
z-index: 10;
}
.card h1 {
font-family: 'Pacifico', cursive;
font-size: 2.5rem;
color: #ff4d6d;
}
.card p {
font-size: 1.1rem;
color: #333;
}
.btn-love {
margin-top: 20px;
padding: 10px 20px;
background: #ff4d6d;
color: white;
border: none;
border-radius: 30px;
font-size: 1rem;
cursor: pointer;
transition: all 0.3s ease;
}
.btn-love:hover {
background: #ff3366;
}
/* Animasi hati */
.heart {
position: absolute;
width: 20px;
height: 20px;
background-color: pink;
transform: rotate(45deg);
animation: fall 5s linear infinite;
}
.heart::before,
.heart::after {
content: "";
position: absolute;
width: 20px;
height: 20px;
background-color: pink;
border-radius: 50%;
}
.heart::before {
top: -10px;
left: 0;
}
.heart::after {
left: -10px;
top: 0;
}
@keyframes fall {
0% {
top: -10%;
opacity: 1;
transform: rotate(0deg) scale(1);
}
100% {
top: 110%;
left: calc(100vw * var(--x));
opacity: 0;
transform: rotate(360deg) scale(0.5);
}
}
/* Sparkle (kelip-kelip) */
.sparkle {
position: absolute;
width: 6px;
height: 6px;
background: #fff;
border-radius: 50%;
box-shadow: 0 0 8px #fff;
animation: sparkle 2s infinite ease-in-out;
}
@keyframes sparkle {
0%, 100% {
transform: scale(0.8);
opacity: 0.6;
}
50% {
transform: scale(1.5);
opacity: 1;
}
}