/* Nav - CSS */

#nav {
    margin-bottom: -500px;
    z-index: 5;
}

#nav::before {
    content: "";
    padding: 16px 0;
    width: 100%;
    height: 80px;
    background: var(--primary-color);
    grid-row: 1;
    grid-column: 1 /span 3;
    z-index: 1;
}

#nav::after {
    content: "";
    width: 100%;
    height: 500px;
    background: linear-gradient(var(--primary-color), #fff0);
    grid-row: 2;
    grid-column: 1 /span 3;
    z-index: 10;
}

.nav-inner {
    /*padding: 16px 0;*/
    display: grid;
    grid-column: 2;
    grid-row: 1;
    z-index: 2;
}

.nav-links a {
    text-transform: uppercase;
    color: #fff;
    font-weight: bold;
    letter-spacing: 2px;
    text-align: center;
}

.active-link {
    color: #fff !important;
    border-bottom: #fff solid 4px;
}

@media(max-width: 768px) {
    .active-link {
        border-bottom: #fff solid 0px;
    }
}

#nav {
    display: grid;
    overflow-x: hidden;
}

.nav-inner {
    display: grid;
    grid-column: 2;
}

.logo-container {
    display: grid;
    justify-self: start;

    grid-row: 1;
    grid-column: 1;
}

.logo-container img {
    max-height: 80px;
}

.nav-links {
    display: grid;
    grid-row: 1;
    grid-column: 1;
    justify-self: end;
    align-self: center;
    grid-gap: 16px;
}

.nav-links a {
    text-decoration: none;
    list-style: none;
    grid-row: 1;
    color: #252525;
    font-size: 18px;
    font-family: var(--unique-font);
}

.active-link {
    color: #111 !important;
}







@media(min-width: 768px) {
    #nav {
        grid-template-columns: auto 768px auto;
    }

    #nav-inner {
        grid-column: 2;
    }
}

@media(min-width: 992px) {
    #nav {
        grid-template-columns: auto 992px auto;
    }
}

@media(min-width: 1200px) {
    #nav {
        grid-template-columns: auto 1200px auto;
    }
}

/* - */


#nav-inner {
    align-content: start;
}

@media(min-width: 992px) {
    #nav-inner {
        grid-template-columns: max-content auto max-content;
    }
}

#logo-container {
    display: grid;
    align-self: center;
    justify-self: center;
}

#logo {
    max-height: 92px;
}

#nav-links {
    display: none;
    grid-gap: 16px;
    padding-bottom: 16px;
}

.show-nav {
    display: grid !important;
}

@media(min-width: 992px) {
    #nav-links {
        display: grid;
        grid-column: 3;
        align-self: center;
        justify-content: end;
    }

}

#nav-links a {}

@media(min-width: 992px) {
    #nav-links a {
        grid-row: 1;
        font-size: 18px;
        padding-bottom: 4px;

        text-transform: uppercase;
        color: #fff;
        font-weight: bold;
        letter-spacing: 2px;
        text-align: center;
        font-family: var(--unique-font);

    }

    .active-link {
        /*
		color: rgb(213, 23, 23)!important;
		border-bottom: solid 2px rgb(213, 23, 23)!important;
		*/

        color: var(--primary-color) !important;
    }

    #nav-links a:hover {
        /*-*/
    }
}



/* - */

@media(min-width: 768px) {
    .page-link {
        grid-row: 1;
    }
}

/* - */

@media(min-width: 768px) {
    .dropdown-outer {
        grid-row: 1;
    }
}

.dropdown-outer:hover .dropdown-container {
    display: grid !important;
}

.dropdown-container {
    display: grid;
    background-color: #ccc;
    padding: 16px;
    grid-gap: 8px;
}

@media(min-width: 768px) {
    .dropdown-container {
        display: none;
        position: absolute;
        z-index: 4;
        background-color: #fff;
        padding: 16px;
        grid-gap: 8px;
    }
}

/* - */

.menu_toggle {
    justify-self: center;
    margin: 32px;
    font-size: 24px;
}

.burger-container {
    display: grid;
    margin: 32px 16px 16px;
    background-color: var(--primary-color);
    width: 80vw;
    justify-self: center;
    text-align: center;
}

@media(min-width: 992px) {
    .burger-container {
        display: none !important;
    }
}

.burger-icon {
    justify-self: center;
    margin: 8px;
    color: #fff;
    font-size: 24px;
}

.page-link {
    display: grid;
    justify-content: center;
    width: 100%;
}

#nav-links {
    grid-gap: 16px;
    margin: 24px 0 8px;
}
