|
| 1 | +* { |
| 2 | + margin: 0; |
| 3 | + padding: 0; |
| 4 | + box-sizing: border-box; |
| 5 | + font-family: 'Montserrat', 'Poppins', sans-serif; |
| 6 | + scroll-behavior: smooth; |
| 7 | +} |
| 8 | + |
| 9 | +body { |
| 10 | + line-height: 1.6; |
| 11 | +} |
| 12 | + |
| 13 | +.highlight { |
| 14 | + text-decoration: underline; |
| 15 | + text-decoration-skip-ink: none; |
| 16 | + text-decoration-color: #ff6d05; |
| 17 | + text-decoration-thickness: 8px; |
| 18 | + text-underline-offset: -2px; |
| 19 | +} |
| 20 | + |
| 21 | +/* Nav-bar */ |
| 22 | +.header { |
| 23 | + display: flex; |
| 24 | + justify-content: space-between; |
| 25 | + align-items: center; |
| 26 | + position: fixed; /* Ensures it stays at the top */ |
| 27 | + top: 0; /* Anchors it to the top of the viewport */ |
| 28 | + left: 0; /* Ensures it spans the full width */ |
| 29 | + width: 100%; |
| 30 | + padding: 14px 30px; |
| 31 | + background-color: white; /* Background to prevent transparency over content */ |
| 32 | + box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); /* Subtle shadow for elevation */ |
| 33 | + z-index: 1000; /* High z-index to ensure it stays above other elements */ |
| 34 | +} |
| 35 | + |
| 36 | +.header-logo img { |
| 37 | + height: 60px; |
| 38 | +} |
| 39 | + |
| 40 | +.header-top-menu { |
| 41 | + display: flex; |
| 42 | + list-style: none; |
| 43 | + gap: 20px; |
| 44 | +} |
| 45 | + |
| 46 | +.header-top-menu li { |
| 47 | + font-size: 15px; |
| 48 | +} |
| 49 | + |
| 50 | +.header-top-menu li:first-child { |
| 51 | + text-decoration: underline; |
| 52 | + text-decoration-color: #f47d26; |
| 53 | + text-underline-offset: 6px; |
| 54 | + font-weight: bold; |
| 55 | +} |
| 56 | + |
| 57 | +.header-top-menu a { |
| 58 | + color: #444; |
| 59 | + text-decoration: none; |
| 60 | + font-weight: 600; |
| 61 | +} |
| 62 | + |
| 63 | +.header-cta .sign-up-button { |
| 64 | + background-color: rgb(255, 128, 0); |
| 65 | + color: white; |
| 66 | + padding: 10px 18px; |
| 67 | + border-radius: 5px; |
| 68 | + text-decoration: none; |
| 69 | + font-weight: 500; |
| 70 | +} |
| 71 | + |
| 72 | +.header-cta .sign-up-button:hover { |
| 73 | + background-color: rgb(251, 148, 44); |
| 74 | + transition: background-color 0.3s ease-in-out; |
| 75 | +} |
| 76 | + |
| 77 | +/* Hero section */ |
| 78 | + |
| 79 | +.hero-section { |
| 80 | + display: flex; |
| 81 | + align-items: center; |
| 82 | + justify-content: center; |
| 83 | + text-align: center; |
| 84 | + position: relative; |
| 85 | + background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url("hero.jpg"); |
| 86 | + background-size: cover; |
| 87 | + background-attachment: fixed; |
| 88 | + background-position: center; |
| 89 | + background-repeat: no-repeat; |
| 90 | + height: 700px; |
| 91 | + color: white; |
| 92 | + z-index: 0; |
| 93 | + padding: 60px 20px; |
| 94 | +} |
| 95 | + |
| 96 | +.hero-content { |
| 97 | + padding-top: 180px; |
| 98 | + padding-right: 200px; |
| 99 | + text-align: left; |
| 100 | + line-height: 1.8; |
| 101 | +} |
| 102 | + |
| 103 | +.hero-title { |
| 104 | + font-size: 38px; |
| 105 | + font-weight: bold; |
| 106 | + margin-bottom: 15px; |
| 107 | +} |
| 108 | + |
| 109 | +.hero-title .highlight { |
| 110 | + font-style: normal; |
| 111 | +} |
| 112 | + |
| 113 | +.hero-text { |
| 114 | + background: rgb(43, 60, 146); |
| 115 | + padding: 40px; |
| 116 | + font-weight: 300; |
| 117 | + font-size: 16px; |
| 118 | + line-height: 1.5; |
| 119 | + border-radius: 8px; |
| 120 | +} |
| 121 | + |
| 122 | +.hero-text span { |
| 123 | + color: rgb(255, 128, 0); |
| 124 | + font-weight: 600; |
| 125 | +} |
| 126 | + |
| 127 | +/* Programs section */ |
| 128 | +.programs { |
| 129 | + display: grid; |
| 130 | + grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); |
| 131 | + gap: 24px; |
| 132 | + margin: 0 auto; |
| 133 | + padding: 80px 20px; |
| 134 | +} |
| 135 | + |
| 136 | +.programs-section { |
| 137 | + font-size: 20px; |
| 138 | + color: #444; |
| 139 | + text-align: center; |
| 140 | +} |
| 141 | + |
| 142 | +.programs-section h2 { |
| 143 | + font-weight: 800; |
| 144 | + margin-bottom: 60px; |
| 145 | +} |
| 146 | + |
| 147 | +.programs-section h2 .highlight { |
| 148 | + font-style: normal; |
| 149 | +} |
| 150 | + |
| 151 | +.programs li { |
| 152 | + list-style: none; |
| 153 | +} |
| 154 | + |
| 155 | +.programs li h3 { |
| 156 | + margin-bottom: 25px; |
| 157 | + font-size: 20px; |
| 158 | + font-weight: 700; |
| 159 | +} |
| 160 | + |
| 161 | +.programs li p { |
| 162 | + color: #676767; |
| 163 | + font-size: 14px; |
| 164 | + font-weight: 400; |
| 165 | +} |
| 166 | + |
| 167 | +/* Footer */ |
| 168 | +footer { |
| 169 | + color: #444; |
| 170 | + font-family: 'Poppins', sans-serif; |
| 171 | + text-align: center; |
| 172 | + font-size: 13px; |
| 173 | + padding: 40px; |
| 174 | + margin-top: 30px; |
| 175 | +} |
| 176 | + |
| 177 | +/* Responsive adjustments */ |
| 178 | +@media (min-width: 30em) and (max-width: 50em) { |
| 179 | + .programs li p { |
| 180 | + text-align: justify; |
| 181 | + } |
| 182 | +} |
| 183 | + |
| 184 | +@media (max-width: 1250px) { |
| 185 | + .programs { |
| 186 | + grid-template-columns: 1fr; |
| 187 | + } |
| 188 | + |
| 189 | + .programs-section { |
| 190 | + padding: 50px 20px; |
| 191 | + } |
| 192 | + |
| 193 | + .hero-content { |
| 194 | + padding-top: 150px; |
| 195 | + padding-right: 0; |
| 196 | + text-align: center; |
| 197 | + } |
| 198 | + |
| 199 | + .hero-text { |
| 200 | + padding: 20px; |
| 201 | + } |
| 202 | + |
| 203 | + .header-top-menu { |
| 204 | + display: none; |
| 205 | + } |
| 206 | + |
| 207 | + .header-cta { |
| 208 | + margin-left: auto; |
| 209 | + } |
| 210 | +} |
| 211 | + |
0 commit comments