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.
161 lines
2.5 KiB
CSS
161 lines
2.5 KiB
CSS
:root {
|
|
--main-bg-color: #121E2A;
|
|
--main-text-color: #fff;
|
|
--secondary-bg-color: #f4f4f4;
|
|
}
|
|
|
|
/* General Body Styling */
|
|
body {
|
|
font-family: 'Arial', sans-serif;
|
|
margin: 0 auto;
|
|
max-width: 1581px;
|
|
padding: 0;
|
|
background-color: var(--secondary-bg-color);
|
|
}
|
|
|
|
/* Container */
|
|
.container {
|
|
width: 100%;
|
|
margin: auto;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Header */
|
|
.header {
|
|
background: var(--main-bg-color);
|
|
color: var(--main-text-color);
|
|
padding-top: 30px;
|
|
min-height: 70px;
|
|
border-bottom: var(--secondary-bg-color) 3px solid;
|
|
}
|
|
|
|
.header a {
|
|
color: var(--main-text-color);
|
|
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;
|
|
}
|
|
|
|
.menu a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.menu a.active {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* Banner */
|
|
.banner {
|
|
position: relative;
|
|
background: var(--main-bg-color) 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: var(--main-text-color);
|
|
}
|
|
|
|
/* Footer */
|
|
.footer {
|
|
background: var(--main-bg-color);
|
|
color: var(--main-text-color);
|
|
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: var(--main-text-color);
|
|
}
|
|
|
|
/* Media Queries */
|
|
@media (max-width: 768px) {
|
|
.menu {
|
|
float: none;
|
|
width: 120px;
|
|
margin: auto;
|
|
padding-left: 0px;
|
|
padding-right: 0px;
|
|
margin-right: 0px;
|
|
margin-top: -25px;
|
|
}
|
|
|
|
.menu ul {
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.menu ul li {
|
|
margin-left: 0px;
|
|
}
|
|
|
|
.header, .footer {
|
|
text-align: center;
|
|
}
|
|
|
|
.footer-left, .footer-right {
|
|
float: none;
|
|
width: 100%;
|
|
margin: auto;
|
|
padding-left: 0px;
|
|
padding-right: 0px;
|
|
}
|
|
}
|