|
58 | 58 | transition: opacity 0.5s ease;
|
59 | 59 | }
|
60 | 60 |
|
61 |
| -.hamburge { |
| 61 | +.hamburger { |
62 | 62 | display: none;
|
63 | 63 | }
|
64 | 64 |
|
@@ -372,3 +372,84 @@ h2 {
|
372 | 372 | font-size: 1em;
|
373 | 373 | padding: 1% 0;
|
374 | 374 | }
|
| 375 | + |
| 376 | + |
| 377 | +@media screen and (max-width: 600px) { |
| 378 | + .newsletter { |
| 379 | + font-size: 1em; /* Adjusted for smaller screens */ |
| 380 | + top: 0; /* More space for the fixed element */ |
| 381 | + } |
| 382 | + |
| 383 | + .intro-container { |
| 384 | + height: 60vh; /* Reduce the height of the intro on mobile */ |
| 385 | + background-size: contain; /* Ensure the background image is contained */ |
| 386 | + margin-top: 0; |
| 387 | + } |
| 388 | + |
| 389 | + .text-overlay { |
| 390 | + font-size: 1em; /* Reduce overlay text size */ |
| 391 | + top: 10%; /* Adjust vertical position */ |
| 392 | + padding: 0 5%; /* Add padding to ensure text doesn't go to the edges */ |
| 393 | + } |
| 394 | + |
| 395 | + h1 { |
| 396 | + font-size: 1.5em; /* Reduce size for mobile */ |
| 397 | + padding: 30% 0 0 0; /* Adjust padding */ |
| 398 | + |
| 399 | + } |
| 400 | + |
| 401 | + .intro { |
| 402 | + font-size: .8em; |
| 403 | + padding: 2% 4%; |
| 404 | + max-width: 90%; |
| 405 | + line-height: 1.1; |
| 406 | + top: 25%; |
| 407 | + } |
| 408 | + |
| 409 | + .never_has_there { |
| 410 | + font-size: 1em; /* Smaller font for subtitle */ |
| 411 | + margin-top: -6%; /* Adjust negative margin */ |
| 412 | + padding-bottom: 4%; |
| 413 | + text-shadow: 2px 2px #141624; |
| 414 | + } |
| 415 | + |
| 416 | + .main-section { |
| 417 | + margin-top: 90%; /* Adjust the margin to match reduced intro-container height */ |
| 418 | + padding: 3% 4%; /* Adjust padding */ |
| 419 | + } |
| 420 | + |
| 421 | + h2 { |
| 422 | + font-size: 1.1em; |
| 423 | + } |
| 424 | + |
| 425 | + .p1, .p2 { |
| 426 | + font-size: .8em; /* Reduce text size */ |
| 427 | + padding: 2% 3%; /* Add padding for readability */ |
| 428 | + } |
| 429 | + |
| 430 | + /* Adjust the flex layout */ |
| 431 | + .flex { |
| 432 | + flex-direction: column; /* Stack the items vertically on mobile */ |
| 433 | + gap: 5%; /* Add gap between flex items */ |
| 434 | + align-items: center; /* Center the items horizontally */ |
| 435 | + } |
| 436 | + |
| 437 | + .team_pic { |
| 438 | + margin-left: 0; /* Remove left margin */ |
| 439 | + width: 100%; /* Full width on mobile */ |
| 440 | + padding-bottom: 4%; |
| 441 | + } |
| 442 | + |
| 443 | + .socials { |
| 444 | + flex-direction: row; /* Stack social icons */ |
| 445 | + padding: 5% 0; /* Increase padding */ |
| 446 | + } |
| 447 | + |
| 448 | + .socials a img { |
| 449 | + width: 30px; /* Reduce icon size */ |
| 450 | + } |
| 451 | + |
| 452 | + .copyright { |
| 453 | + font-size: 0.8em; /* Smaller copyright text */ |
| 454 | + } |
| 455 | +} |
0 commit comments