/* Global Styles */ body { margin: 0; font-family: "proxima-nova", Arial, Arial, Helvetica, sans-serif; background-color: #f2f2f2; background-image: url("/NSU/media/Media-Library/2024/campaign/background/background.jpg"); background-size: cover; background-repeat: no-repeat; background-attachment: fixed; background-position: center top; } p { padding-bottom: 10px; } a { color: #007A5E; transition: color 0.3s ease; text-decoration: underline; } a:hover { color: #505050; text-decoration: underline; } /* TOP NAV BEGIN ------------------------------- */ .topnav { overflow: hidden; background-color: #333; display: flex; justify-content: space-between; align-items: center; } .topnav a { float: left; display: block; color: #fff; text-align: center; padding: 14px 16px; text-decoration: none; font-size: 17px; } .topnav a:hover { background-color: #eaaf0f; color: #000; } .topnav .social-icons { float: right; margin-right: 10px; } .topnav .social-icons a { margin: 1px; font-size: 20px; text-decoration: none; } .topnav .social-icons a:hover { background-color: #eaaf0f; color: #000; } .topnav .social-icons img { filter: invert(100%); } .topnav .social-icons a:hover img { filter: invert(0%); } /* TOP NAV END ------------------------------- */ .container { flex: 1; width: 80%; margin: 0 auto; padding: 20px; background-color: #fff; padding-bottom: 100px; } .outer-container { flex: 1; } /* //////////////////////// BANNER START /////////////////////////////////////// */ .hero-container { position: relative; width: 100%; height: 250px; overflow: hidden; } .hero-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: url("/NSU/media/Media-Library/2024/campaign/page-banners/bokeh-banner-02.png"); background-size: cover; background-position: bottom; z-index: 1; } .gradient-overlay { position: absolute; top: 0; left: 0; width: 35%; height: 100%; background: linear-gradient(to right, black, rgb(0, 0, 0) 70%, rgba(0, 0, 0, 0) 100%); opacity: 0.5; z-index: 2; } .logo-overlay { position: absolute; top: 50px; left: 10px; width: 25%; z-index: 3; padding: 10px; background-image: url("/NSU/media/Media-Library/2024/campaign/logos/NSU_Capital-Campaign_Logo-C.png"); background-size: contain; background-repeat: no-repeat; background-position: center; height: 100px; /* Adjust as needed for your logo size */ } .responsive-logo { width: 100%; } .image-dimensions { position: absolute; bottom: 10px; left: 10px; color: white; font-size: 1.2rem; text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8); } /* Media queries for responsiveness */ @media screen and (min-width: 481px) and (max-width: 1281px) { .logo-overlay { width: 35%; } .gradient-overlay { background: linear-gradient(to right, black, rgba(0, 0, 0, 0.68) 70%, rgba(0, 0, 0, 0) 100%); opacity: 0.7; width: 50%; } } @media screen and (max-width: 768px) { .hero-container { height: 150px; } .logo-overlay { top: 30px; width: 40%; } .gradient-overlay { width: 50%; } } @media screen and (max-width: 480px) { .hero-container { height: 150px; } .responsive-logo { width: 90%; } .logo-overlay { top: 30px; width: 60%; height: 80px; } .gradient-overlay { width: 95%; background: linear-gradient(to right, black, rgba(0, 0, 0, 0.33) 70%, rgba(0, 0, 0, 0) 100%); opacity: 0.9; } } @media screen and (max-width: 320px) { .hero-container { height: 150px; } .responsive-logo { width: 90%; } .logo-overlay { top: 30px; width: 60%; height: 80px; } .gradient-overlay { width: 95%; background: linear-gradient(to right, black, rgba(0, 0, 0, 0.33) 70%, rgba(0, 0, 0, 0) 100%); opacity: 0.9; } } /* //////////////////////// BANNER END /////////////////////////////////////// */ .image-dimensions { position: absolute; bottom: 10px; right: 10px; color: #fff; background-color: rgba(0, 0, 0, 0.5); padding: 5px; } .content { display: flex; padding-top: 5px; padding-right: 50px; padding-left: 50px; color: #505050; font-size: 18px; line-height: 25px; margin-bottom: 120px; } h2 { padding-top: 30px; font-size: 28px; color: #007A5E; } h3 { font-size: 22px; padding-top: 10px; } .text { flex: 1; padding-right: 20px; margin-right: 40px; } .text .image-container { text-align: center; max-width: 100%; margin: 0 auto; } .text .image-container img { display: block; max-width: 100%; height: auto; margin: 0 auto; } .text hr { margin: 20px auto; border: none; height: 1px; background-color: #ccc; } .sidebar { flex-basis: 200px; padding-left: 20px; margin-right: 75px; margin-top: 55px; } .sidebar a { display: block; padding: 5px; text-decoration: none; color: #007A5E; transition: color 0.3s, background-color 0.3s; margin-left: 7px; } .sidebar a:hover { background-color: #f0f0f0; color: #505050; } .sidebar hr { border: none; border-bottom: 1px solid #ccc; margin: 5px 0; } /* FOOTER PANEL BEGINS ------------------- */ footer { position: relative; left: 0; bottom: 0; width: 100%; background-color: #333; color: #f2f2f2; padding: 20px 50px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; border-top: 1px solid #555; } .footer-section { text-align: center; flex: 1; } .footer-section a:link { color: #f2f2f2; text-decoration: none; margin-right: 10px; padding-left: 10px; transition: color 0.3s; } .footer-section a:visited { color: #f2f2f2; text-decoration: none; margin-right: 10px; padding-left: 10px; transition: color 0.3s; } .footer-section a:hover, .footer-section a:focus { color: #eaaf0f; text-decoration: underline; } .footer-section a:active { color: #c58c0a; } .footer-section p { margin: 5px 0; } .footer-section .social-icons { display: flex; justify-content: center; align-items: center; } .footer-section .social-icons a { margin: 5px; padding: 5px; } .footer-section .social-icons a:hover { background-color: #EAAF0F; } .social-icons svg { fill: #fff; width: 20px; height: 20px; } .footer-section .social-icons a:hover { background-color: #EAAF0F; } .footer-section .social-icons img { filter: invert(100%); } .footer-section .social-icons a:hover img { filter: invert(0%); } /* FOOTER PANEL END ------------------- */ /* MEDIA QUERIES BEGIN ------------------- */ @media screen and (max-width: 810px) { .topnav { flex-direction: column; } .content { flex-direction: column; } .sidebar { flex-basis: auto; padding-left: 0; margin: 10px auto; } .sidebar a { display: inline-block; margin-right: 15px; } .sidebar hr { display: none; } .hero-image { height: 250px; } footer { flex-direction: column; gap: 30px; padding: 20px 10px 5px 10px; } } @media screen and (max-width: 768px) { .topnav { flex-direction: column; } .content { flex-direction: column; } .sidebar { flex-basis: auto; padding-left: 0; margin: 10px auto; } .sidebar a { display: inline-block; margin-right: 15px; } .sidebar hr { display: none; } .hero-image { height: 250px; } footer { flex-direction: column; gap: 30px; padding: 20px; } } /* MEDIA QUERIES for 480px and 320px */ @media screen and (max-width: 480px) { .content { display: flex; padding-top: 5px; padding-right: 1px; padding-left: 1px; color: #505050; font-size: 16px; line-height: 25px; } .image-dimensions { display: none; } .sidebar { width: 100%; max-width: 480px; margin: 0 auto; padding: 5px 0; text-align: center; box-sizing: border-box; } .sidebar a { display: inline-block; margin: 0 5px; text-decoration: underline; } .container { flex: 1; width: 90%; margin: 0 auto; padding: 10px; background-color: #fff; padding-bottom: 50px; } .text { flex: 1; padding-right: 5px; margin-right: 5px; } footer { position: relative; width: 100%; background-color: #333; color: #f2f2f2; padding: 10px 0 0 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; border-top: 1px solid #555; } } /* Screens up to 320px wide */ @media screen and (max-width: 320px) { .topnav a { float: left; display: block; color: #fff; text-align: center; padding: 10px 10px; text-decoration: none; font-size: 17px; } .content { padding-right: 5px; padding-left: 5px; } .sidebar { padding: 5px 0; } .sidebar a { display: inline-block; margin: 0 1px; text-decoration: underline; } .container { padding-bottom: 50px; } } /* MEDIA QUERIES END ------------------- */