/* CSS Document */ /* 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; } /* Home Wrapper begin -------------------------- */ .home-wrapper { width: 100%; margin: 0 auto; } /* 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; /* Set color to white */ 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; } /* Set color to white for the icons */ .topnav .social-icons img { filter: invert(100%); } /* Set color to black for the icons on hover */ .topnav .social-icons a:hover img { filter: invert(0%); } /* TOP NAV END ------------------------------- */ /* SLIDER BEGIN ------------------------------ */ #slider-logo { position: absolute; top: 175px; left: 350px; transform: translate(-50%, -50%) scale(0.2); z-index: 20; } #banner-container { position: relative; width: 100%; height: 873px; overflow: hidden; } .slide { position: absolute; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; transition: opacity 1s ease; } #next-btn, #pause-btn, #prev-btn { position: absolute; bottom: 10px; left: 10px; background-color: #fff; border: none; cursor: pointer; padding: 10px; z-index: 10; } #next-btn { left: 50px; } #pause-btn { left: 90px; } .content-container { display: flex; justify-content: space-between; margin: 20px auto; border-radius: 10px; padding: 20px; max-width: 80%; } /* SLIDER END ------------------------------ */ /* BANNER BUTTONS BEGIN ------------------- */ .button-container { position: absolute; bottom: 65px; left: 50%; transform: translateX(-50%); z-index: 1000; } .custom-button { display: inline-block; width: 220px; height: 60px; background-color: #f7f6f3bf; border: 1px solid #fff; font-size: 16.9999px; color: #000f; text-align: center; line-height: 60px; cursor: pointer; transition: background-color 0.3s, border-color 0.3s; text-decoration: none; margin: 0 5px; text-transform: uppercase; font-weight: 700; } .custom-button:hover { background-color: #007a5e; border-color: #007a5e; color: #fff; } /* BANNER BUTTONS END ------------------- */ /* CONTENT PANEL BEGINS ------------------- */ .content { flex: 1; padding: 0; font-size: 18px; } .panel { flex: 1; color: #505050; font-size: 18px; line-height: 25px; margin-bottom: 50px; padding: 10px 30px; background-color: #fff; border-radius: 10px; } .panel a { color: #007a5e; text-decoration: none; border-bottom: 1px dashed #007a5e; transition: color 0.3s, border-bottom 0.3s; padding-left: 5px; } .panel a:hover { color: #eaaf0f; border-bottom: 1px dashed #eaaf0f; } .panel.about h3 { color: #007a5e; font-size: 24px; padding-left: 10px; } .panel.about p { color: #505050; font-size: 20px; line-height: 25px; margin-bottom: 40px; padding-left: 10px; padding-right: 10px; } /* CONTENT PANEL ENDS ------------------- */ /* CARD PANELS BEGIN -------------------- */ .container { display: flex; flex-wrap: wrap; justify-content: space-around; margin-bottom: 50px; } .card { width: calc(30% - 10px); margin-top: 25px; position: relative; margin-bottom: 20px; overflow: hidden; border: 1px solid #CCCCCC; background-color: #FFF; margin-bottom: 10px; border-radius: 6px; } .card img { width: 100%; height: 230px; } .card-content { padding: 5px 20px 50px 20px; } .card-content h3 { color: #007A5E; } .card-content p { margin-bottom: 20px; line-height: 26px; } .button { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); padding: 10px 20px; background-color: #007A5E; color: white; text-decoration: none; border-radius: 5px; transition: background-color 0.3s ease; margin-bottom: 10px; } .button:hover { background-color: #005744; } /* CARD PANEL ENDS ---------------------- */ #video-container { position: relative; width: 100%; height: 0; padding-bottom: 56.25%; /* Aspect ratio of 16:9 */ overflow: hidden; } /* UPDATES PANEL BEGINS ------------------*/ .panel.updates h3 { font-size: 28px; color: #007a5e; padding-right: 10px; } .panel.updates p { font-size: 18px; line-height: 25px; color: #505050; padding-left: 10px; padding-right: 10px; } .panel.updates { padding-bottom: 30px; } .small-panel { display: flex; align-items: flex-start; } .small-panel img { margin-right: 10px; padding-right: 10px; width: 350px; height: 237px; } .small-panel h4 { font-size: 20px; font-weight: 700; padding-left: 10px; margin-top: -2px; } .read-more { transform: translate(10%, 10%); background-color: #007A5E; color: #FFFFFF !Important; text-align: center; padding: 10px 15px; border-radius: 5px; transition: background-color 0.3s ease; display: inline-block; margin-top: 10px; width: auto; max-width: 100%; text-indent: 5px; } .read-more:hover { background-color: #005744; color: #FFFFFF; text-decoration: none; border-bottom: 0px dashed #FFFFFF; } /* UPDATES PANEL ENDS ------------------------*/ /* 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 { color: #f2f2f2; text-decoration: none; margin-right: 10px; padding-left: 10px; transition: color 0.3s; } .footer-section a:hover { color: #eaaf0f; } .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: 1024px) { .card { width: calc(32% - 10px); } .button { bottom: 3px; } } @media screen and (max-width: 810px) { .topnav { flex-direction: column; } .content-container { max-width: 95%; } .card img { width: 100%; height: 180px; object-fit: cover; } .button { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); width: 80%; } footer { flex-direction: column; gap: 5px; padding: 10px 3px; } footer { flex-direction: column; gap: 30px; padding: 20px 10px 5px 10px; } .center-address { font-size: 13px; } } @media screen and (min-width: 768px) and (max-width: 1880px) { .button-container { position: absolute; bottom: 100px; left: 50%; transform: translateX(-50%); display: flex; justify-content: center; width: 100%; max-width: 80%; } .custom-button { margin: 0 10px; } } @media screen and (max-width: 768px) { .topnav { flex-direction: column; } .button-container { display: flex; flex-direction: column; align-items: center; } .custom-button { width: calc(100% - 40px); margin: 7px 50px; } footer { flex-direction: column; gap: 5px; padding: 10px 3px; } .footer-section { text-align: center; margin-right: 10px; padding: 0; } .center-address { font-size: 13px; } #banner-container { position: relative; width: 100%; height: 760px; overflow: hidden; } } @media screen and (min-width: 320px) and (max-width: 768px) { .container { flex-direction: column; align-items: center; } .card { width: 90%; margin: 10px 0; } .button { position: static; width: 100%; margin-top: 10px; } footer { flex-direction: column; gap: 30px; padding: 20px; } } @media screen and (min-width: 550px) and (max-width: 768px) { .card img { width: 100%; height: auto; } } @media screen and (max-width: 480px) { .topnav a { padding: 14px 9px; } #banner-container { height: 450px; } #slider-logo { display: block; width: 55%; position: relative; top: 8px; left: 20px; transform: none; } .slide { top: 110px; } .button-container { top: 120px; } } /* MEDIA QUERIES for 480px and smaller */ @media screen and (max-width: 480px) { .topnav a { padding: 14px 9px; } .container { flex-direction: column; align-items: center; } .card { width: 90%; margin: 10px 0; } .small-panel { flex-direction: column; align-items: flex-start; } .small-panel img { margin: 0; margin-bottom: 10px; width: 100%; height: auto; } .small-panel h4 { margin-top: 0; } .footer-section a { margin-right: 5px; } } /* MEDIA QUERIES for 480px and 320px */ @media screen and (max-width: 480px) { .topnav a { padding: 14px 9px; } 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; } .footer-section a { margin-right: 5px; } } @media screen and (max-width: 344px) { .topnav a { padding: 8px 12px; } } @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; } #banner-container { height: 450px; } #slider-logo { display: block; width: 85%; position: relative; top: 8px; left: 20px; transform: none; } .slide { top: 110px; } .button-container { top: 120px; } .custom-button { width: calc(100% - 40px); margin: 3px 50px; } .panel.about p { padding: 0; } .panel.about p i.fa.fa-gift { margin-right: 5px; } .panel.about p a { display: inline-block; margin-left: 5px; margin-top: 5px; word-break: break-all; } } /* MEDIA QUERIES END ------------------- */