/* Define root CSS variables for easy theme management */ :root { --main-bg-color: #121E2A; --main-text-color: #fff; --secondary-bg-color: #e8eff0; --secondary-text-color: #121E2A; } @font-face { font-family: sourcecodevf; src: url(SourceCodeVF-Upright.otf); } /* General body styling, applies to the entire document */ body { font-family: sourcecodevf, 'Arial', sans-serif; margin: 0 auto; max-width: 2048px; padding: 0; background-color: white; color: var(--main-text-color); } /* Container is a wrapper for all content, provides padding and centers content */ .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: 26px; } /* 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; /* inline display for list items for a horizontal navigation menu */ 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: 35%; left: 35%; font-size: 80px; text-align: center; } .banner-content-middle .company-name { font-size: 100px; } .banner-content-bottom { position: absolute; bottom: 8%; right: 4%; font-size: 28px; } .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(--main-bg-color); margin-top: -1px; } section { padding: 5px 15px; -webkit-box-shadow: 6px 6px 8px 0px rgba(255,255,255,0.6); box-shadow: 6px 6px 8px 0px rgba(255,255,255,0.6); /* -webkit-box-shadow: 6px 6px 8px 0px rgba(18,30,42,0.6); box-shadow: 6px 6px 8px 0px rgba(18,30,42,0.6); */ background: var(--secondary-bg-color); } section:not(:first-child) { margin-top: 20px; } /* 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: 2048px) { .header a { font-size: 20px; } .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 { font-size: 1.4vw; /* Responsive font size */ } } @media (max-width: 768px) { .header a { font-size: 16px; } .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: 20px; 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; } }