/* NAV STYLES */
.debug {
    border: 0px solid red;
}

/*styles nav elements:
    *flex makes them horizontal & evenly spaced
    *removes uneven margin & padding
    *removes bullet points
*/
nav{
    width:100vw;
    padding:12px 8%;
    background-color: #3F7074;
    position:fixed;
    top:0;
    color:#FEFFFD;
    z-index: 50;
}
/*nav list item*/
nav ul {
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding: 0;
    list-style: none;
}
/*nav links*/
nav a{
    font-size: 24px;
    color:#FEFFFD;
    font-weight: 100;
    text-decoration: none;
}
/*nav link hover state*/
nav a:hover{
    color:#ACDCE0;
}
/*prevents hover state on design principles header*/
.non-hover:hover{
    cursor: default;
    color:#FEFFFD;
}

/*styles container with the 4 CARP links that appear on the dropdown*/
#dropdown .dropdown-content {
    display: none;
    position: absolute;
    z-index: 1000;
    width:200px;
    background-color: #3F7074;
    padding:20px;
    border-radius: 0px 0px 8px 8px;
}

/*centers dropdown-content links*/
.dropdown-content>a{
    text-align: center;
}

/*makes the container with the 4 CARP links appear on hover*/
#dropdown:hover .dropdown-content {
    display: block;
}

/*current page styling*/
.here {
    /*font-weight: bolder;*/
    /*text-decoration: underline;*/
    border-radius: 8px;
    border-bottom:24px #3F7074 solid;
}

/*generally removes any annoying auto spacing*/
ul,
li {
    padding: 0;
    margin: 0;
}

/*horizontal navigation*/
.horiz-nav {
    display: flex;
    margin: 0;
    padding: 0;
    justify-content: space-between;
    list-style: none;
}

/*vertical navigation HIDDEN*/
.vert-nav {
    display: none;
}

@media (max-width:768px) {
    /*evens out padding for hamburger menu*/
    nav{
        padding:12px;
        background-color: #3F707400;
    }

    /*horizontal navigation HIDDEN*/
    .horiz-nav {
        display: none;
    }

    /*vertical navigation*/
    .vert-nav {
        height: 48px;
        width: 48px;
        background-color: #3F7074;
        background-image: url("../images/hamburger-menu.png");
        display: flex;
        flex-direction: column;
        border-radius: 8px;
    }

    /*absolute position pushes it beneath hamburger menu*/
    .vert-nav>ul {
        position: absolute;
        top: 52px;
        z-index: 1001;
        background-color: #3F7074;
        padding:20px;
        border-radius: 0px 8px 8px 8px;
    }

    /*hide li until click (hover) over hamburger menu*/
    .vert-nav ul {
        display: none;
        height: fit-content;
    }

    /*SHOW hamburger menu on hover*/
    .vert-nav:hover ul {
        display: block;
    }

    /*slightly indents principles*/
    .vert-nav .nav-principles {
        padding-left: 24px;
    }
    /*removes border*/
    .here {
    border:0px;
}
}




/* FOOTER STYLES */
h6{
    text-decoration: underline;
}
footer{
    padding:40px;
    background-color: #FFF4D7;
    display:grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap:20px;
}

footer > div:nth-child(1),
footer > div:nth-child(3){
    grid-column: span 1;
}
footer > div:nth-child(2){
    grid-column: span 2;
}

@media (max-width: 768px){
    footer > div:nth-child(1),
    footer > div:nth-child(2),
    footer > div:nth-child(3){
        grid-column: span 4;
    }
}