body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    display: flex;
    flex-direction: column;
    height: 100vh;
}


header {
    position: relative;
}

header::before {
    content: '';
    background-color: #14435B;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.logo {
    flex-grow: 0;
    height: 100%;
    display: flex;
    align-items: flex-end;
}

.logo img {
    height: 140px;
}

header .container {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0;
    height: 100%;
}

.hamburger-checkbox {
    display: none;
}

.hamburger {
    color: #fff;
    font-size: 40px;
    padding: 10px;
}

.hamburger.open,
.hamburger.closed {
    display: none;
}

.hamburger.open:has(~ .hamburger-checkbox:checked) {
    display: block;
}

.hamburger.closed:not(:has(~ .hamburger-checkbox:checked)) {
    display: block;
}

.hamburger-checkbox:checked+nav {
    display: block;
}

nav {
    line-height: 110%;
    letter-spacing: -0.18px;
    font-weight: 700;
    font-family: interstate-condensed, -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif;

}

header nav {
    background-image: url('/images/angled-bg-footer.jpg');
    background-size: cover;
    width: 100%;
    font-size: 24px;
    display: none;
    position: absolute;
    top: 100%;
    z-index: 100;
}

nav ul {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
    justify-content: flex-end;
}

header nav ul {
    flex-direction: column;
    padding-bottom: 40px;
}


nav li {
    display: inline-block;
    margin: 10px;
}

header nav li {
    margin: 0 20px;
    position: relative;
    border-bottom: 2px solid rgb(174 213 231/1)
}

nav a {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    z-index: 10;
}

header nav a {
    padding: 20px 0;
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    text-align: left;
}

.nav-marker {
    display: none;
    visibility: hidden;
    opacity: 1;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: .15s;
    transition-property: all;
    color: rgb(174 213 231 / 1);
    max-width: 100%;
    min-height: 10px;
    margin-top: 5px;
}

.nav-marker.hover {
    color: rgb(225, 175, 0);
}

header nav a:hover .nav-marker.hover {
    visibility: visible !important;
}


main {
    padding: 20px;
    background-color: #F5F5F5;
    flex-grow: 1;
  display: flex;
  justify-content: center;
}

section {
	max-width: 1200px;
  /* margin-left:1rem; */
  /* margin-right: 1rem; */
}

section img {
	max-width: 100%; /* Ensure images don't exceed the width of their container */
	height: auto; /* Maintain aspect ratio */
}

footer {
    margin: 0;
    color: #fff;
    display: flex;
    justify-content: center;
    position: relative;
}

footer .container {
    width: 100%;
    max-width: 1600px;
    margin: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
    color: #fff;
}

footer nav {
    font-size: 16px;
    display: flex;
}

footer nav ul {
    margin: 30px;
    justify-content: center;
    text-align: center;
}

footer nav li {
    width: 180px;
    margin-bottom: 20px;
}

.footer-bg {
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
}

.ncccs-logo-wrapper {
    margin: 40px 40px 0;
    flex-basis: 30%;
    text-align: center;
    max-width: 300px;
}

@media (min-width: 768px) {
    .hamburger {
        display: none;
    }

    footer .container {
        flex-wrap: nowrap;
    }

    footer nav ul {
        margin: 30px;
        justify-content: flex-start;
        text-align: left;
    }

    .ncccs-logo-wrapper {
        margin-bottom: 40px;
    }

    .logo img {
        height: 205px;
		max-width: initial ;
    }

    body>header {
        padding: 0;
        background-image: url("/images/hills.svg");
        background-size: 655px;
        background-position-y: bottom;
        background-repeat: no-repeat;
        position: relative;
        height: 200px;
    }

    header .container {
        align-items: center;
        margin: 0 10px;
        display: flex;
        justify-content: space-between;
        height: 100%;
        position: relative;
        flex-wrap: nowrap;
    }

    header::before {
        content: '';
        background-color: #14435B;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 40px;
        z-index: -1;
    }

    header nav {
        margin: 80px 10px 20px 60px;
        display: block;
        position: static;
        background-image: none;
        font-size: 18px;
    }

    header nav a {
        color: rgb(20, 67, 91);
        text-align: center;
        padding: 10px;
    }

    header nav ul {
        flex-direction: row;
        padding-bottom: 0;
    }

    header nav ul li {
        flex-direction: row;
        border: none;
        margin: 0;
    }

    .nav-marker {
        display: block;
    }

    .active .nav-marker {
        visibility: visible;
    }
	

	
}