Spaces:
Running
Running
| body { | |
| margin: 0; | |
| padding: 0; | |
| height: 100vh; | |
| background: linear-gradient(-45deg, #ff9a9e, #fad0c4, #fbc2eb, #a6c1ee); | |
| background-size: 400% 400%; | |
| animation: gradient 15s ease infinite; | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| flex-direction: column; | |
| font-family: 'Segoe UI', sans-serif; | |
| } | |
| @keyframes gradient { | |
| 0% {background-position: 0% 50%;} | |
| 50% {background-position: 100% 50%;} | |
| 100% {background-position: 0% 50%;} | |
| } | |
| .glow { | |
| font-size: 4rem; | |
| color: white; | |
| text-shadow: 0 0 5px #ff4da6, 0 0 20px #ff4da6, 0 0 40px #ff4da6; | |
| animation: pulse 2s infinite alternate; | |
| } | |
| @keyframes pulse { | |
| 0% { transform: scale(1); } | |
| 100% { transform: scale(1.1); } | |
| } | |
| .hearts { | |
| position: relative; | |
| margin-top: 30px; | |
| } | |
| .heart { | |
| width: 20px; | |
| height: 20px; | |
| background: red; | |
| position: absolute; | |
| top: 0; | |
| left: 50%; | |
| animation: float 5s infinite ease-in-out; | |
| clip-path: polygon(50% 0%, 61% 19%, 81% 25%, 70% 45%, 50% 60%, 30% 45%, 19% 25%, 39% 19%); | |
| } | |
| .heart:nth-child(2) { | |
| animation-delay: 1s; | |
| left: 45%; | |
| } | |
| .heart:nth-child(3) { | |
| animation-delay: 2s; | |
| left: 55%; | |
| } | |
| @keyframes float { | |
| 0% {transform: translateY(0) scale(1);} | |
| 100% {transform: translateY(-300px) scale(1.5); opacity: 0;} | |
| } |