:root { --main-bg-color: #121E2A; --main-text-color: #fff; --secondary-bg-color: #f4f4f4; } @font-face { font-family: sourcecodevf; src: url(css/SourceCodeVF-Upright.otf); } /* 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: -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-family: sourcecodevf; font-size: 54px; /* Responsive font size */ color: white; text-align: center; } .banner-content-middle .company-name { font-size: 68px; /* Responsive font size */ } .banner-content-bottom { position: absolute; bottom: 10px; right: 10px; font-size: 1.3vw; /* Responsive font size */ color: white; } .banner-content-bottom a { color: var(--main-text-color); text-decoration: none; font-family: sourcecodevf; } .banner-content-bottom a:hover { text-decoration: underline; } /* 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: 1581px) { .banner-content-middle { position: absolute; top: 35%; left: 35%; font-family: sourcecodevf; font-size: 4.0vw; /* Responsive font size */ color: white; text-align: center; } .banner-content-middle .company-name { font-size: 5.0vw; /* 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-family: sourcecodevf; font-size: 4.0vw; /* Responsive font size */ color: white; text-align: center; } .banner-content-middle .company-name { font-size: 5.0vw; /* Responsive font size */ } .footer-left, .footer-right { float: none; width: 100%; margin: auto; padding-left: 0px; padding-right: 0px; } }