#nav {
    background-image: url(/img/root/index/fp/3.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    background-attachment: fixed;
}

.nav--int {
    background: var(--fadeblack07);
    position: relative;
}

.nav--int--content {
    display: flex;
    flex-wrap: wrap;
}

.nav--int--content * {
    flex-shrink: 0;
    flex-grow: 0;
}

#nav--logo--wrap {
    width: 7.7rem;
    height: auto;
}

#nav--logo {
    transition: transform 0.2s ease-in-out;
}

#nav--logo--wrap:hover #nav--logo,
#nav--logo--wrap:active #nav--logo {
    transform: scale(0.9);
}

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

.nav--list {
    position: relative;
    padding: 0;
    margin: 1em 0 0 1em;
}

.nav--list-item {
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: bold;
}

.nav--list-item a {
    padding: 0.5em calc(0.5em + 0.5vw);
}

.nav--list-item:hover,
.nav--list-item:active {
    background: #222;
}

#nav--toggle {
    display: flex;
    position: absolute;
    right: 0;
    font-size: 2.5rem;
    bottom: -1.2em;
    height: 1.2em;
    width: 1.2em;
    border: none;
    background: var(--prime2);
    z-index: 3;
    cursor: pointer;
}

#nav--toggle .fa {
    font-size: 0.5em;
    color: var(--light);
}

#nav--toggle:hover,
#nav--toggle:active {
    background: #333;
}

#nav--toggle:hover .fa,
#nav--toggle:active .fa {
    color: var(--orange);
}

#nav--toggle:focus {
    background: #333 !important;
}

#pageTopButton {
    display: flex;
    position: fixed;
    background: #333;
    height: 4rem;
    width: 4rem;
    border-radius: 50%;
    bottom: 1em;
    left: -5rem;
    z-index: 2;
    transition:
        left 0.75s ease-in-out,
        background 0.2s ease-in-out,
        color 0.2s ease-in-out,
        border 0.2s ease-in-out;
}

@media screen and (max-width: 767px) {
    #nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 3;
        margin-top: -440px;
        transition: margin 0.5s ease;
    }
    #nav.open_nav {
        margin-top: 0;
    }
    .nav--list-item a {
        padding: 0.5em 1em 0.5em 0;
    }
    .nav--list-item {
        inline-size: 18ch;
    }
    .nav--list-item:hover a,
    .nav--list-item:active a {
        padding: 0.5em 1em 0.5em 1em;
    }
}

@media screen and (min-width: 768px) {
    .nav--list-item {
        display: inline-block;
    }
    .nav--int {
        display: grid;
        place-items: center;
    }
    #nav--toggle {
        visibility: hidden;
    }
}

@media screen and (max-width: 799px) {
    .nav--int--content {
        padding-left: 0.5em;
        padding-right: 0.5em;
    }
}

@media screen and (min-width: 800px) {

}

@media screen and (min-width: 768px) and (max-width: 991px) {
    #nav--logo--wrap {
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (max-width: 991px) {
    .nav--int--content {
        flex-direction: column;
    }
    .nav--list {
        margin: 1em 0 0 0;
    }
}