|
| 1 | + |
| 2 | +* { |
| 3 | + box-sizing: border-box; |
| 4 | +} |
| 5 | + |
| 6 | +html { |
| 7 | + scroll-behavior: smooth; |
| 8 | + margin: 0; |
| 9 | + padding: 0; |
| 10 | + border: 0; |
| 11 | + vertical-align: baseline; |
| 12 | +} |
| 13 | + |
| 14 | +body, ul, li, a { |
| 15 | + margin: 0; |
| 16 | + padding: 0; |
| 17 | + list-style: none; |
| 18 | + text-decoration: none; |
| 19 | +} |
| 20 | + |
| 21 | +body { |
| 22 | + font-family: 'Poppins', sans-serif; |
| 23 | + margin: 0; |
| 24 | + padding: 0; |
| 25 | +} |
| 26 | + |
| 27 | +body:hover { |
| 28 | + animation: bounce 2s infinite; |
| 29 | +} |
| 30 | + |
| 31 | +header { |
| 32 | + position: fixed; |
| 33 | + top: 0; |
| 34 | + width: 100%; |
| 35 | + background-color: white; |
| 36 | + display: flex; |
| 37 | + align-items: center; |
| 38 | + justify-content: space-between; |
| 39 | + padding: 10px 20px; |
| 40 | + box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); |
| 41 | + z-index: 1000; |
| 42 | +} |
| 43 | + |
| 44 | +.header-logo img { |
| 45 | + width: 220px; |
| 46 | + height: 150px; |
| 47 | + object-fit: contain; |
| 48 | +} |
| 49 | + |
| 50 | +.header-top-menu { |
| 51 | + display: flex; |
| 52 | + align-items: center; |
| 53 | + margin-left: auto; |
| 54 | +} |
| 55 | + |
| 56 | +.header-top-menu li { |
| 57 | + margin-right: 20px; |
| 58 | +} |
| 59 | + |
| 60 | +.header-top-menu li a { |
| 61 | + color: #333; |
| 62 | + font-weight: 600; |
| 63 | + font-size: 16px; |
| 64 | + transition: background-color 0.3s ease, color 0.3s ease; |
| 65 | + padding: 10px 15px; |
| 66 | + border-radius: 5px; |
| 67 | +} |
| 68 | + |
| 69 | +.header-cta { |
| 70 | + margin-left: 20px; |
| 71 | +} |
| 72 | + |
| 73 | +.sign-up-button { |
| 74 | + color: white; |
| 75 | + background-color: darkorange; |
| 76 | + font-weight: 600; |
| 77 | + font-size: 16px; |
| 78 | + padding: 10px 15px; |
| 79 | + border-radius: 5px; |
| 80 | + transition: background-color 0.3s ease, color 0.3s ease; |
| 81 | +} |
| 82 | + |
| 83 | +.header-top-menu li a:hover, |
| 84 | +.sign-up-button:hover { |
| 85 | + background-color: darkorange; |
| 86 | + color: white; |
| 87 | +} |
| 88 | + |
| 89 | +@media (max-width: 768px) { |
| 90 | + header { |
| 91 | + flex-wrap: wrap; |
| 92 | + justify-content: center; |
| 93 | + } |
| 94 | + |
| 95 | + .header-logo { |
| 96 | + margin-bottom: 10px; |
| 97 | + } |
| 98 | + |
| 99 | + .header-top-menu { |
| 100 | + flex-direction: column; |
| 101 | + align-items: center; |
| 102 | + } |
| 103 | + |
| 104 | + .header-top-menu li { |
| 105 | + margin-right: 20px; |
| 106 | + margin-bottom: 10px; |
| 107 | + } |
| 108 | + |
| 109 | + .header-cta { |
| 110 | + margin-left: 0; |
| 111 | + } |
| 112 | +} |
| 113 | + |
| 114 | + |
| 115 | +.hero-section { |
| 116 | + margin-top: 100px; |
| 117 | + position: relative; |
| 118 | + background-image: url(./hero.jpg); |
| 119 | + background-size: 100%; |
| 120 | + background-repeat: no-repeat; |
| 121 | + background-position: top-center; |
| 122 | + height: 600px; |
| 123 | + color: white; |
| 124 | + display: flex; |
| 125 | + align-items: center; |
| 126 | + padding: 0 20px; |
| 127 | + overflow: hidden; |
| 128 | +} |
| 129 | + |
| 130 | +.hero-overlay { |
| 131 | + position: absolute; |
| 132 | + top: 0; |
| 133 | + left: 0; |
| 134 | + width: 100%; |
| 135 | + height: 100%; |
| 136 | + background-color: rgba(0, 0, 0, 0.5); |
| 137 | + z-index: 1; |
| 138 | +} |
| 139 | + |
| 140 | +.hero-content { |
| 141 | + position: relative; |
| 142 | + z-index: 2; |
| 143 | + max-width: 600px; |
| 144 | + text-align: left; |
| 145 | +} |
| 146 | + |
| 147 | +.hero-title { |
| 148 | + font-size: 37.8px; |
| 149 | + font-weight: 700; |
| 150 | + margin: 0px 0px 7px; |
| 151 | + width: 755px; |
| 152 | + line-height: 42px; |
| 153 | +} |
| 154 | + |
| 155 | +.hero-text { |
| 156 | + font-size: 18px; |
| 157 | + line-height: 30px; |
| 158 | + font-weight: 400; |
| 159 | + background-color: midnightblue; |
| 160 | + color: white; |
| 161 | + padding: 10px 70px; |
| 162 | + width: 755px; |
| 163 | + top: 20px; |
| 164 | + left: 0; |
| 165 | + position: relative; |
| 166 | + z-index: 2; |
| 167 | + opacity: 1; |
| 168 | +} |
| 169 | + |
| 170 | +.hero-text span { |
| 171 | + color: darkorange; |
| 172 | +} |
| 173 | + |
| 174 | +.highlight { |
| 175 | + font-weight: bold; |
| 176 | + background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 90%, darkorange 10%); |
| 177 | + border-bottom: 0px solid rgba(0, 0, 0, 0); |
| 178 | + padding-bottom: 5px; |
| 179 | + padding-top: 50px; |
| 180 | + background-position: 0 105%; |
| 181 | + background-size: 100% 200%; |
| 182 | + |
| 183 | + |
| 184 | +} |
| 185 | + |
| 186 | +.programs-section { |
| 187 | + margin-left: 40px; |
| 188 | +} |
| 189 | + |
| 190 | +.programs-section .highlight { |
| 191 | + text-decoration: underline; |
| 192 | + text-decoration-color: darkorange; |
| 193 | + text-decoration-thickness: 8px; |
| 194 | +} |
| 195 | + |
| 196 | +.programs-section h2 { |
| 197 | + font-weight: bold; |
| 198 | + font-size: 30px; |
| 199 | + color: #444444; |
| 200 | +} |
| 201 | + |
| 202 | +.programs-section ul { |
| 203 | + margin-left: 20px; |
| 204 | + display: grid; |
| 205 | + grid-template-columns: repeat(2, 1fr); |
| 206 | + gap: 20px; |
| 207 | + list-style: none; |
| 208 | + padding: 0; |
| 209 | +} |
| 210 | + |
| 211 | +.program { |
| 212 | + padding: 20px; |
| 213 | + border: 1px solid transparent; |
| 214 | +} |
| 215 | + |
| 216 | +.programs li:nth-child(1)::after { |
| 217 | + content: "Info"; |
| 218 | + display: inline-block; |
| 219 | + background-color: white; |
| 220 | + color: black; |
| 221 | + padding: 10px 15px; |
| 222 | + border: 2px solid black; |
| 223 | + border-radius: 5px; |
| 224 | + margin-top: 10px; |
| 225 | + cursor: pointer; |
| 226 | + text-align: center; |
| 227 | + font-size: 16px; |
| 228 | +} |
| 229 | + |
| 230 | +.programs li:nth-child(2) { |
| 231 | + position: relative; |
| 232 | + padding-bottom: 80px; |
| 233 | +} |
| 234 | + |
| 235 | +.programs li:nth-child(2)::before { |
| 236 | + content: "Info"; |
| 237 | + display: inline-block; |
| 238 | + position: absolute; |
| 239 | + left: 20px; |
| 240 | + bottom: 20px; |
| 241 | + padding: 10px 15px; |
| 242 | + text-align: center; |
| 243 | + font-size: 16px; |
| 244 | + background-color: white; |
| 245 | + border: 2px solid black; |
| 246 | + border-radius: 5px; |
| 247 | + color: black; |
| 248 | + cursor: pointer; |
| 249 | +} |
| 250 | + |
| 251 | +.programs li:nth-child(2)::after { |
| 252 | + content: "FAQ"; |
| 253 | + display: inline-block; |
| 254 | + justify-content: space-between; |
| 255 | + position: absolute; |
| 256 | + left: 100px; |
| 257 | + bottom: 20px; |
| 258 | + padding: 10px 15px; |
| 259 | + text-align: center; |
| 260 | + font-size: 16px; |
| 261 | + background-color: white; |
| 262 | + border: 2px solid black; |
| 263 | + border-radius: 5px; |
| 264 | + color: black; |
| 265 | + cursor: pointer; |
| 266 | +} |
| 267 | + |
| 268 | +.programs .program:nth-child(3)::after { |
| 269 | + content: "Support Us"; |
| 270 | + display: inline-block; |
| 271 | + background-color: white; |
| 272 | + color: black; |
| 273 | + border: 2px solid black; |
| 274 | + padding: 10px 15px; |
| 275 | + border-radius: 5px; |
| 276 | + margin-left: 10px; |
| 277 | + cursor: pointer; |
| 278 | + text-align: center; |
| 279 | + font-size: 16px; |
| 280 | +} |
| 281 | + |
| 282 | +.programs li:nth-child(4)::after { |
| 283 | + content: "Learn More"; |
| 284 | + display: inline-block; |
| 285 | + background-color: white; |
| 286 | + color: black; |
| 287 | + border: 2px solid black; |
| 288 | + padding: 10px 15px; |
| 289 | + border-radius: 5px; |
| 290 | + margin-left: 10px; |
| 291 | + cursor: pointer; |
| 292 | + text-align: center; |
| 293 | + font-size: 16px; |
| 294 | +} |
| 295 | + |
| 296 | +.programs li:nth-child(1):hover::after { |
| 297 | + background-color: darkorange; |
| 298 | +} |
| 299 | + |
| 300 | +.programs li:nth-child(2):hover::after, |
| 301 | +.programs li:nth-child(2):hover::before { |
| 302 | + background-color: darkorange; |
| 303 | +} |
| 304 | + |
| 305 | +.programs li:nth-child(3):hover::after { |
| 306 | + background-color: darkorange; |
| 307 | +} |
| 308 | + |
| 309 | +.programs li:nth-child(4):hover::after { |
| 310 | + background-color: darkorange; |
| 311 | +} |
| 312 | + |
| 313 | +.programs li { |
| 314 | + position: relative; |
| 315 | +} |
| 316 | + |
| 317 | +.footer { |
| 318 | + border-top: 2px solid darkorange; |
| 319 | + text-align: center; |
| 320 | + color: black; |
| 321 | + margin: 20px; |
| 322 | + padding: 40px; |
| 323 | +} |
| 324 | + |
0 commit comments