You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

164 lines
2.5 KiB
CSS

/* General Body Styling */
body {
font-family: 'Arial', sans-serif;
margin: 0 auto;
max-width: 1581px;
padding: 0;
background-color: #f4f4f4; /* Light grey background */
}
/* Container */
.container {
width: 100%;
margin: auto;
overflow: hidden;
}
/* Header */
.header {
background: #121E2A;
color: #fff;
padding-top: 30px;
min-height: 70px;
border-bottom: #f4f4f4 3px solid;
}
.header a {
color: #fff;
text-decoration: none;
text-transform: uppercase;
font-size: 16px;
}
/* logo */
.logo {
float: left;
display: block;
text-align: center;
margin-top: -30px;
}
/* Navigation Menu */
.menu {
float: right;
margin-top: 10px;
margin-right: 10px;
}
.menu ul {
list-style: none;
margin: 0;
padding: 0;
}
.menu ul li {
display: inline;
margin-left: 35px;
}
/* Banner */
.banner {
position: relative;
background: #121E2A no-repeat center center;
background-size: contain;
}
.banner img {
max-width: 100%; /* Make the image responsive */
height: auto; /* Maintain aspect ratio */
display: block; /* Remove default inline behavior */
margin: auto; /* Center the image in its container */
}
/* Main Content */
.main {
padding: 20px;
background: #fff;
}
.main h1 {
color: #333;
}
/* Footer */
.footer {
background: #121E2A;
color: #fff;
text-align: center;
padding: 30px 0;
overflow: hidden; /* Clear the float */
}
.footer-left {
float: left;
padding-left: 10px;
padding-right: 10px;
}
.footer-right {
float: right;
padding-left: 10px;
padding-right: 10px;
}
.footer ul {
list-style: none;
padding-inline-start: 0px;
}
.footer ul li {
display: inline;
margin-left: 15px;
}
.footer ul li a {
color: #fff;
}
/* Media Queries */
@media (max-width: 768px) {
.menu {
margin-right: 0px;
}
.menu ul {
padding: 0;
background-color: #333;
text-align: center;
}
.menu ul li {
display: block; /* Stack the menu items vertically */
margin: 0; /* Remove margin */
}
.menu ul li a {
display: block; /* Block level links take up the full width of their container */
padding: 10px; /* Add padding for touch targets */
}
.container {
width: 100%;
}
.header, .footer {
text-align: center;
}
.footer-left, .footer-right {
float: none;
width: 100%;
margin: auto;
padding-left: 0px;
padding-right: 0px;
}
}
@media (max-width: 480px) {
.menu ul li {
padding: 5px; /* Adjust padding for smaller screens */
}
}