cta.css in AI Builder – Generate pages, blocks, images & translate with AI 2.7.1, at assets/css/cta.css
| 1 | .cta-container { |
| 2 | padding: 60px 24px; |
| 3 | text-align: center; |
| 4 | position: relative; |
| 5 | overflow: hidden; |
| 6 | } |
| 7 | |
| 8 | .cta-background { |
| 9 | position: absolute; |
| 10 | top: 0; |
| 11 | left: 0; |
| 12 | width: 100%; |
| 13 | height: 100%; |
| 14 | z-index: 1; |
| 15 | opacity: 0.1; |
| 16 | } |
| 17 | |
| 18 | .cta-content { |
| 19 | position: relative; |
| 20 | z-index: 2; |
| 21 | max-width: 800px; |
| 22 | margin: 0 auto; |
| 23 | } |
| 24 | |
| 25 | .cta-title { |
| 26 | font-size: 2.5rem; |
| 27 | font-weight: 700; |
| 28 | margin-bottom: 1.5rem; |
| 29 | color: #1a1a1a; |
| 30 | } |
| 31 | |
| 32 | .cta-text { |
| 33 | font-size: 1.2rem; |
| 34 | line-height: 1.6; |
| 35 | margin-bottom: 2rem; |
| 36 | color: #444; |
| 37 | } |
| 38 | |
| 39 | .cta-buttons { |
| 40 | display: flex; |
| 41 | gap: 1rem; |
| 42 | justify-content: center; |
| 43 | flex-wrap: wrap; |
| 44 | } |
| 45 | |
| 46 | .cta-button { |
| 47 | padding: 12px 32px; |
| 48 | border-radius: 6px; |
| 49 | font-weight: 600; |
| 50 | text-decoration: none; |
| 51 | transition: all 0.3s ease; |
| 52 | } |
| 53 | |
| 54 | .cta-button-primary { |
| 55 | color: white; |
| 56 | } |
| 57 | |
| 58 | .cta-button-primary:hover { |
| 59 | transform: translateY(-2px); |
| 60 | } |
| 61 | |
| 62 | .cta-button-secondary { |
| 63 | color: white; |
| 64 | } |
| 65 | |
| 66 | .cta-button-secondary:hover { |
| 67 | transform: translateY(-2px); |
| 68 | } |
| 69 | |
| 70 | @media (max-width: 768px) { |
| 71 | .cta-container { |
| 72 | padding: 40px 16px; |
| 73 | } |
| 74 | |
| 75 | .cta-title { |
| 76 | font-size: 2rem; |
| 77 | } |
| 78 | |
| 79 | .cta-text { |
| 80 | font-size: 1.1rem; |
| 81 | } |
| 82 | |
| 83 | .cta-buttons { |
| 84 | flex-direction: column; |
| 85 | align-items: center; |
| 86 | } |
| 87 | |
| 88 | .cta-button { |
| 89 | width: 100%; |
| 90 | max-width: 300px; |
| 91 | } |
| 92 | } |