/*----------------------------------------------*/
/* NAVIGATION STYLES */
/* (+ Also uses responsive-nav.css, but don't mess with that file. ) */
/*----------------------------------------------*/


#primary_nav {
    background-color: whitesmoke;
    background-attachment: fixed;
    font-family: trade-gothic-next, sans-serif;
    height: 60px;
    position: fixed;
    z-index: 99999;
    top: 0px;
    left: 0;
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 3px 20px #444;
}


.nav-collapse,
.nav-collapse ul {
    list-style: none;
}

.nav-collapse ul {
    width: 90.7%;
    position: fixed;
    right: 0;
    top: 0;

}

#primary_nav h1,
.nav-collapse ul li {
/*    background-color: blac;*/
    color: black;
    width: calc(25% - 1px);

    height: 60px;
    line-height: 60px;
    text-align: center;


    float: left;
    border-right: 1px solid #7c8ca2;

    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 3px;

    font-family: aktiv-grotesk, sans-serif;
    font-weight: 700;
    font-style: normal;

    transition: background-color 0.4s ease;
}

.nav-collapse ul li.active {
    background-color: #34260f;
}

#primary_nav h1 {
    width: 125.5px;
    font-family: aktiv-grotesk-thin, sans-serif;
    font-weight: 200;
    font-style: normal;
    background-color: #000;
    border-right: none;
    transition: width 0.4s ease;
}

#primary_nav h1:hover {
    background-color: white;
}

#primary_nav h1 a {
    color: black;
}

#primary_nav h1 a:visited {
    color: #ccc;
}

#primary_nav h1:hover a {
    color: #222;
}


.nav-collapse ul li:last-child {
    border: none;
    width: 25%;
}

.nav-collapse ul li:hover {
    background-color: black;
    color: red;
}

.nav-collapse ul li.active:hover {
    background-color: #34260f;
    color: #ddd;
}



#primary_nav a,
.nav-collapse ul li a {
    font-size: 13px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 3px;

    transition: color 0.4s ease;
}


/* pseudo-states for links in this order: LoVe HAte */

.nav-collapse ul li a,
.nav-collapse ul li a:visited {
    color: #ddd;
    font-weight: 900;
}

.nav-collapse ul li:hover a {
    color: #e9bd40;
    color: white;
}

.nav-collapse ul li a:active {
    color: #000;
}

@media only screen and (max-width: 1024px) {

    #primary_nav .nav-collapse ul li a {
        font-size: 13px;
        letter-spacing: 1px;
    }
}



/* styles for nav when opened */
@media only screen and (max-width: 768px) {
    #primary_nav {
        background-color: black;
    }

    #primary_nav h1 {
        width: 90px;
    }

    .nav-collapse,
    .nav-collapse ul {
        width: 100%;
        height: 100vh;
        opacity: 0.85;
        background-color: #000;
        top: 60px;
    }

    .nav-collapse ul li,
    .nav-collapse ul li:last-child {
        width: auto;
        float: none;
        padding: 10px 20px;
        background-color: black;
        border: none;
        border-bottom: 1px solid #333;
        text-align: right;
    }

    .nav-collapse ul li:hover {
        background-color: #e9bd40;
    }

    .nav-collapse ul li:hover a {
        color: #000;
    }



}


/*----------------------------------------------*/
/* NAV TOGGLE STYLES (the button) */
/*----------------------------------------------*/

.icon::before {
    display: inline-block;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.icon.nav-toggle {
    font: var(--fa-font-solid);

    user-select: none;
    text-decoration: none;
    text-indent: -999px;
    overflow: hidden;
    position: fixed;
    top: 0;
    right: 0;
    width: 70px;
    height: 60px;
    background-color: transparent;
    color: white;

    transition: all 0.4s ease;

}

/*unicode*/
/* https://fontawesome.com/v5/cheatsheet/ */
/*bars f0c9*/


.nav-toggle:before {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;

    font-size: 28px;
    text-transform: none;
    position: absolute;

    /*    content: "\f0c9";*/
    /*    content: "\f62e";*/
    content: "\f773";
    /*    content: "%";*/
    /* unicode for the icon itself */

    text-indent: 0;
    text-align: center;
    line-height: 60px;
    speak: none;
    width: 100%;
    top: 0;
    left: 0;

}

.icon.nav-toggle:hover {
    /*    color: #e9bd40;*/
    /*    color: #8c9cb2;*/
    color: #4c5c72;
}

/* use this if you want a different icon when nav is open */
/*
.icon.nav-toggle.active::before {
      content: "\f794";
}
*/




/* button to top  */


#btn_totop {
    display: block;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: dapifer, serif;
    border: none;
    color: #73501f;
    color: white;
    opacity: 0.4;
    padding: 10px;
    background-color: transparent;
    transition: all 0.4s ease;
    position: fixed;
    right: 10px;
    bottom: 10px;
    z-index: 9999;
}

#btn_totop:hover {
    opacity: 0.8;
}
