diff --git a/includes/styles.css b/includes/styles.css index c63640f..9d41f46 100644 --- a/includes/styles.css +++ b/includes/styles.css @@ -50,6 +50,14 @@ nav a:active { transform: translateY(1px); /* Slight Pressed-In effect on Click */ } +header .banner { + max-width: 100%; /* Ensures the image is never larger than its container */ + height: auto; /* Maintains the aspect ratio */ + display: block; /* Prevents inline default spacing */ + margin: 0 auto; /* Centers the image within the header */ + } + + header, main, footer { max-width: 800px; margin: 20px auto;