|
| 1 | +* { |
| 2 | + margin: 0; |
| 3 | + padding: 0; |
| 4 | + box-sizing: border-box; |
| 5 | +} |
| 6 | + |
| 7 | +body { |
| 8 | + font-family: 'Inter', sans-serif; |
| 9 | + background: #0d1117; /* dark tech theme */ |
| 10 | + color: #fff; |
| 11 | + height: 100vh; |
| 12 | + overflow: hidden; |
| 13 | + display: flex; |
| 14 | + justify-content: center; |
| 15 | + align-items: center; |
| 16 | + position: relative; |
| 17 | +} |
| 18 | + |
| 19 | +.animation-container { |
| 20 | + text-align: center; |
| 21 | + z-index: 2; |
| 22 | +} |
| 23 | + |
| 24 | +h1 { |
| 25 | + font-size: 2.5rem; |
| 26 | + color: #00ffff; |
| 27 | + margin-bottom: 2rem; |
| 28 | + letter-spacing: 1px; |
| 29 | + text-shadow: 0 0 15px rgba(0,255,255,0.3); |
| 30 | +} |
| 31 | + |
| 32 | +.tech-icons { |
| 33 | + display: flex; |
| 34 | + flex-wrap: wrap; |
| 35 | + justify-content: center; |
| 36 | + gap: 2rem; |
| 37 | +} |
| 38 | + |
| 39 | +.icon { |
| 40 | + background: #1a1a1a; |
| 41 | + border-radius: 50%; |
| 42 | + width: 80px; |
| 43 | + height: 80px; |
| 44 | + display: flex; |
| 45 | + justify-content: center; |
| 46 | + align-items: center; |
| 47 | + font-size: 2rem; |
| 48 | + color: #00ffff; |
| 49 | + cursor: pointer; |
| 50 | + transition: transform 0.5s, box-shadow 0.5s; |
| 51 | + box-shadow: 0 0 10px rgba(0,255,255,0.2); |
| 52 | + animation: float 5s ease-in-out infinite; |
| 53 | +} |
| 54 | + |
| 55 | +.icon:hover { |
| 56 | + transform: scale(1.2) rotate(-5deg); |
| 57 | + box-shadow: 0 0 25px rgba(0,255,255,0.7); |
| 58 | +} |
| 59 | + |
| 60 | +/* Floating animation */ |
| 61 | +@keyframes float { |
| 62 | + 0% { transform: translateY(0); } |
| 63 | + 50% { transform: translateY(-15px); } |
| 64 | + 100% { transform: translateY(0); } |
| 65 | +} |
| 66 | + |
| 67 | +/* Background tech grid */ |
| 68 | +.tech-background { |
| 69 | + position: absolute; |
| 70 | + top: 0; |
| 71 | + left: 0; |
| 72 | + width: 100%; |
| 73 | + height: 100%; |
| 74 | + background-image: |
| 75 | + linear-gradient(rgba(0,255,255,0.05) 1px, transparent 1px), |
| 76 | + linear-gradient(90deg, rgba(0,255,255,0.05) 1px, transparent 1px); |
| 77 | + background-size: 50px 50px; |
| 78 | + z-index: 1; |
| 79 | + animation: moveGrid 20s linear infinite; |
| 80 | +} |
| 81 | + |
| 82 | +@keyframes moveGrid { |
| 83 | + 0% { background-position: 0 0, 0 0; } |
| 84 | + 100% { background-position: -50px -50px, -50px -50px; } |
| 85 | +} |
0 commit comments