diff --git a/css/styles.css b/css/styles.css index a620878..8c67a89 100644 --- a/css/styles.css +++ b/css/styles.css @@ -176,19 +176,25 @@ header { /* Page banner */ .page-banner { - height: 40vh; + height: 40vh; /* Set to 40% of viewport height */ min-height: 300px; display: flex; align-items: center; justify-content: center; color: white; text-align: center; - margin-top: 80px; + margin-top: 80px; /* Match header height plus some spacing */ } .page-banner h1 { color: white; font-size: 3rem; + margin-bottom: 1rem; +} + +.page-banner p { + font-size: 1.25rem; + opacity: 0.9; } /* Hero section */ @@ -294,9 +300,19 @@ footer { font-size: 2.5rem; } + .page-banner { + height: 30vh; + min-height: 200px; + margin-top: 60px; /* Adjusted for smaller header on mobile */ + } + .page-banner h1 { font-size: 2.5rem; } + + .page-banner p { + font-size: 1.1rem; + } } @media (max-width: 480px) { @@ -304,10 +320,6 @@ footer { font-size: 2rem; } - .page-banner h1 { - font-size: 2rem; - } - .btn { padding: 0.7rem 1.2rem; font-size: 0.9rem;