|
1 | 1 | /* Base styles - Mobile First */
|
| 2 | +.buttons { |
| 3 | + display: flex; |
| 4 | + justify-content: center; |
| 5 | + align-items: center; |
| 6 | + gap: 1.5rem; |
| 7 | + margin: 3rem 0 4rem; |
| 8 | + width: 100%; |
| 9 | + position: relative; |
| 10 | + z-index: 1; |
| 11 | +} |
| 12 | + |
| 13 | +.button { |
| 14 | + display: inline-flex; |
| 15 | + align-items: center; |
| 16 | + justify-content: center; |
| 17 | + padding: 0.9rem 2rem; |
| 18 | + border-radius: 8px; |
| 19 | + font-weight: 600; |
| 20 | + font-size: 1.05rem; |
| 21 | + transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); |
| 22 | + text-decoration: none; |
| 23 | + position: relative; |
| 24 | + overflow: hidden; |
| 25 | + box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); |
| 26 | + transform: translateY(0); |
| 27 | +} |
| 28 | + |
| 29 | +.buttonPrimary { |
| 30 | + background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); |
| 31 | + color: white; |
| 32 | + border: none; |
| 33 | +} |
| 34 | + |
| 35 | +.buttonPrimary:hover { |
| 36 | + transform: translateY(-2px); |
| 37 | + box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4); |
| 38 | + background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%); |
| 39 | +} |
| 40 | + |
| 41 | +.buttonOutline { |
| 42 | + background: rgba(255, 255, 255, 0.1); |
| 43 | + color: white; |
| 44 | + border: 2px solid rgba(255, 255, 255, 0.2); |
| 45 | + backdrop-filter: blur(8px); |
| 46 | +} |
| 47 | + |
| 48 | +.buttonOutline:hover { |
| 49 | + transform: translateY(-2px); |
| 50 | + background: rgba(255, 255, 255, 0.15); |
| 51 | + box-shadow: 0 6px 20px rgba(255, 255, 255, 0.1); |
| 52 | + border-color: rgba(255, 255, 255, 0.3); |
| 53 | +} |
| 54 | + |
| 55 | +.buttonIcon { |
| 56 | + margin-left: 0.6rem; |
| 57 | + display: inline-flex; |
| 58 | + transition: transform 0.3s ease; |
| 59 | +} |
| 60 | + |
| 61 | +.button:hover .buttonIcon { |
| 62 | + transform: translateX(4px); |
| 63 | +} |
| 64 | + |
| 65 | +@media (max-width: 480px) { |
| 66 | + .buttons { |
| 67 | + flex-direction: column; |
| 68 | + gap: 1rem; |
| 69 | + margin: 2.5rem 0 3rem; |
| 70 | + } |
| 71 | + |
| 72 | + .button { |
| 73 | + width: 100%; |
| 74 | + max-width: 280px; |
| 75 | + margin: 0 auto; |
| 76 | + } |
| 77 | +} |
| 78 | + |
| 79 | +.mouse { |
| 80 | + width: 24px; |
| 81 | + height: 40px; |
| 82 | + border: 2px solid rgba(255, 255, 255, 0.6); |
| 83 | + border-radius: 12px; |
| 84 | + position: relative; |
| 85 | + margin-top: 0.5rem; |
| 86 | +} |
| 87 | + |
| 88 | +.mouse::before { |
| 89 | + content: ''; |
| 90 | + position: absolute; |
| 91 | + top: 6px; |
| 92 | + left: 50%; |
| 93 | + width: 4px; |
| 94 | + height: 8px; |
| 95 | + background: white; |
| 96 | + border-radius: 2px; |
| 97 | + transform: translateX(-50%); |
| 98 | + animation: scrollAnimation 2s infinite; |
| 99 | +} |
| 100 | + |
| 101 | +@keyframes scrollAnimation { |
| 102 | + 0% { transform: translate(-50%, 0); opacity: 1; } |
| 103 | + 100% { transform: translate(-50%, 10px); opacity: 0; } |
| 104 | +} |
| 105 | + |
2 | 106 | .heroBanner {
|
3 | 107 | padding: 4rem 1rem;
|
4 | 108 | text-align: center;
|
|
0 commit comments