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.
246 lines
4.0 KiB
CSS
246 lines
4.0 KiB
CSS
:root {
|
|
--main-bg-color: #121E2A;
|
|
--main-text-color: #fff;
|
|
--secondary-bg-color: #DAE6E7;
|
|
--secondary-text-color: #121E2A;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: sourcecodevf;
|
|
src: url(SourceCodeVF-Upright.otf);
|
|
}
|
|
|
|
/* General Body Styling */
|
|
body {
|
|
font-family: sourcecodevf, 'Arial', sans-serif;
|
|
margin: 0 auto;
|
|
max-width: 1581px;
|
|
padding: 0;
|
|
background-color: white;
|
|
color: var(--main-text-color);
|
|
}
|
|
|
|
/* Container */
|
|
.container {
|
|
width: 100%;
|
|
margin: auto;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Header */
|
|
.header {
|
|
background: var(--main-bg-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: -18px;
|
|
margin-left: 7px;
|
|
}
|
|
|
|
/* 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 */
|
|
}
|
|
|
|
.banner-content-middle {
|
|
position: absolute;
|
|
top: 34%;
|
|
left: 36%;
|
|
font-size: 54px; /* Responsive font size */
|
|
text-align: center;
|
|
}
|
|
|
|
.banner-content-middle .company-name {
|
|
font-size: 68px; /* Responsive font size */
|
|
}
|
|
|
|
.banner-content-bottom {
|
|
position: absolute;
|
|
bottom: 7%;
|
|
right: 11%;
|
|
font-size: 20px; /* Responsive font size */
|
|
}
|
|
|
|
.banner-content-bottom a {
|
|
color: var(--main-text-color);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.banner-content-bottom a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
|
|
/* Main Content */
|
|
main {
|
|
padding: 20px;
|
|
color: var(--secondary-text-color);
|
|
background: var(--secondary--bg-color);
|
|
}
|
|
|
|
/* Footer */
|
|
.footer {
|
|
background: var(--main-bg-color);
|
|
text-align: center;
|
|
padding: 30px 0;
|
|
overflow: hidden; /* Clear the float */
|
|
margin-top: -1px;
|
|
}
|
|
|
|
.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: 1581px) {
|
|
.banner-content-middle {
|
|
top: 35%;
|
|
left: 35%;
|
|
font-size: 4.0vw; /* Responsive font size */
|
|
}
|
|
|
|
.banner-content-middle .company-name {
|
|
font-size: 5.0vw; /* Responsive font size */
|
|
}
|
|
|
|
.banner-content-bottom {
|
|
position: absolute;
|
|
bottom: 8%;
|
|
right: 4%;
|
|
font-size: 1.4vw; /* Responsive font size */
|
|
}
|
|
}
|
|
|
|
@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;
|
|
}
|
|
|
|
.banner img {
|
|
padding-top: 30px;
|
|
}
|
|
|
|
.banner-content-middle {
|
|
position: relative;
|
|
padding-top: 10px;
|
|
left: 0%;
|
|
font-size: 4.0vw; /* Responsive font size */
|
|
text-align: center;
|
|
}
|
|
|
|
.banner-content-middle .company-name {
|
|
font-size: 5.0vw; /* Responsive font size */
|
|
}
|
|
|
|
.banner-content-bottom {
|
|
position: relative;
|
|
left: 0%;
|
|
padding-top: 10px;
|
|
padding-bottom: 10px;
|
|
font-size: 2.5vw; /* Responsive font size */
|
|
text-align: center;
|
|
}
|
|
|
|
.banner-content-bottom .company-name {
|
|
display: none;
|
|
}
|
|
|
|
.footer-left, .footer-right {
|
|
float: none;
|
|
width: 100%;
|
|
margin: auto;
|
|
padding-left: 0px;
|
|
padding-right: 0px;
|
|
}
|
|
}
|
|
|