﻿:root {
    --npl-dark-blue: rgba(31, 62, 152, 1);
    --npl-very-dark-blue: rgba(52, 73, 94, 1);
    --black-color: #000000;
    --white-color: #ffffff;
    --red-color: #ff0000;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'ralewaymedium',sans-serif;
}

h1 {
    text-align: center;
    font-size: 30px;
}

a {
    text-decoration: none;
    outline: none;
    color: var(--npl-dark-blue);
}
section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
section span {
    max-width: 1000px;
}
section a {
    padding: 5px 0;
}
/* START OF MENU */
nav {
    height: 80px;
    display: flex;
    font-family: 'ralewaymedium',sans-serif;
    text-transform: uppercase;
    justify-content: space-between;
    position: sticky;
    top: 0;
    background-color: var(--white-color);
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* optional shadow */
}
nav .logo {
    display: flex;
    height: 60px;
    align-self: center;
}

.logo {
    margin: 2px 0 0 25px;
}

nav a {
    color: var(--black-color);
    font-size: 12px;
   
}
nav a:link,
nav a:visited,
nav a:active {
    color: var(--black-color);
    text-decoration: none;
}
nav a:hover {
    color: var(--npl-dark-blue);
}
nav a.current-page {
    color: var(--npl-dark-blue);
}

.desktop-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-right: 40px;
}

nav .desktop-links a:not(:last-child)::after {
    content: " • ";
    color: var(--black-color);
    margin: 0 5px;
}
.mobile-menu {
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    /* Optional: Add bottom padding for visual spacing */
    padding-bottom: 40px;
    display: none;
}
.open-mobile-menu {
    display: none;
}
.close-mobile-menu {
    display: none;
}
.show {
    display: flex;
}
.hide {
    display: block;
}

.hamburger {
    display: none;
}

/* END OF MENU */

h1 .section-header {
    position: relative;
    display: inline-block;
}

h1 .section-header::before, 
h1 .section-header::after {
    content: '';  /* Essential - pseudo-elements won't show without this */
    position: absolute;
    top: 50%;
    background-image: url('/assets/images/divider.png');
    
    background-size: contain;
    height: 9px;
    width: 100px; 
    margin-top: -4.5px; 
}
h1 .section-header::before {
    right: 100%; 
    margin-right: 20px; 
}

h1 .section-header::after {
    left: 100%; /* Positions it to the right of the text */
    margin-left: 20px; /* Gap between text and divider */
}
.copyright {
    color: var(--white-color);
}
.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.mw-600 p{
    max-width: 600px;
}
main {
    flex: 1;
}
svg {
    max-width: 40px;
}
.footer {
    margin-top: auto;
}
footer {
    margin-top: auto;
    height: 80px;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    background-color: var(--black-color);
}
.text-center {
    text-align: center;
}

@media (max-width: 1050px) {
    .desktop-links {
        display: none;
    }
    .hamburger {
        display: block;
    }

    .mobile-menu {
        cursor: pointer;
        position: fixed;
        top: 80px;
        width: 100%;
        box-sizing: border-box;
        padding: 20px 20px;
        flex-direction: column;
        line-height: 25px;
        background-color: var(--white-color);
        z-index: 1002;
    }
    nav .mobile-menu a:hover {
        color: var(--npl-dark-blue);
    }
    nav .mobile-menu a::before {
        content: " • ";
        color: var(--black-color);
    }

    .mobile-menu a {
        border-bottom: 1px solid var(--black-color);
        padding: 20px 20px;
    }
    .hamburger img {
        margin: 20px;
        width: 40px;
    }
}
@media (max-width: 650px) {
    h1 .section-header::before,
    h1 .section-header::after {
        content: unset;
        position: unset;
        top: unset;
        background-image: unset;

        background-size: unset;
        height: unset;
        width: unset;
        margin-top: unset;
    }
}
@media (max-width: 625px) {
    section {
        padding: 0 30px;
    }
}