Spaces:
Running
Running
| @import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;500;600&family=Inter:wght@300;400;500;600;700&display=swap'); | |
| :root { | |
| --font-main: 'Inter', sans-serif; | |
| --font-mono: 'Fira Code', monospace; | |
| } | |
| body { | |
| font-family: var(--font-main); | |
| -webkit-font-smoothing: antialiased; | |
| line-height: 1.6; | |
| } | |
| /* Custom scrollbar */ | |
| ::-webkit-scrollbar { | |
| width: 8px; | |
| height: 8px; | |
| } | |
| ::-webkit-scrollbar-track { | |
| background: transparent; | |
| } | |
| ::-webkit-scrollbar-thumb { | |
| background: rgba(156, 163, 175, 0.5); | |
| border-radius: 4px; | |
| } | |
| ::-webkit-scrollbar-thumb:hover { | |
| background: rgba(156, 163, 175, 0.7); | |
| } | |
| .dark ::-webkit-scrollbar-thumb { | |
| background: rgba(75, 85, 99, 0.5); | |
| } | |
| .dark ::-webkit-scrollbar-thumb:hover { | |
| background: rgba(75, 85, 99, 0.7); | |
| } | |
| /* Animation classes */ | |
| .animate-float { | |
| animation: float 6s ease-in-out infinite; | |
| } | |
| @keyframes float { | |
| 0%, 100% { | |
| transform: translateY(0); | |
| } | |
| 50% { | |
| transform: translateY(-20px); | |
| } | |
| } | |
| /* Glow effect for interactive elements */ | |
| .glow-effect { | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .glow-effect::after { | |
| content: ''; | |
| position: absolute; | |
| top: -50%; | |
| left: -50%; | |
| width: 200%; | |
| height: 200%; | |
| background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%); | |
| transform: scale(0); | |
| transition: transform 0.5s ease; | |
| pointer-events: none; | |
| } | |
| .glow-effect:hover::after { | |
| transform: scale(1); | |
| } | |
| /* Pulse animation */ | |
| .animate-pulse-slow { | |
| animation: pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite; | |
| } | |
| @keyframes pulse { | |
| 0%, 100% { | |
| opacity: 1; | |
| } | |
| 50% { | |
| opacity: 0.5; | |
| } | |
| } | |