
#mask {
    position: fixed;
    inset: 0;
    border: 55vh solid var(--font);
    animation: reveal 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
    z-index: 100;
}

nav {
    font-family: 'PT Sans', sans-serif;
    color: var(--font_2);
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    background: var(--font);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 10;

}

nav * {
    text-transform: uppercase;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

nav * li {
    cursor: pointer
}

nav a {
    text-decoration: none;
}

nav * li:hover a {
    text-decoration: underline;
    text-underline-offset: 8px;
}

nav .logo svg {
    height: 100%
}

nav span {
    display: none;
}

nav span .menu {
    padding-left: 10px;
    margin-left: auto;
}

nav span .menu ul {
    display: inline-block
}

nav span .menu ul li {
    display: inline-block;
    position: relative;
    padding: 22px;
    color: white;
    cursor: pointer
}

nav span .menu ul li:not(.lookup):after {
    content: '';
    display: block;
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: 0;
    height: 2px;
    background: var(--bleu);
    transition: all 0.3s ease-out;
}

nav span .menu ul li:hover:after {
    left: 0;
    right: 0;
}

nav span .menu ul li a {
    text-decoration: none;
    color: white
}

nav span .menu ul li label {
    cursor: pointer
}

nav span .menu ul li label i {
    color: var(--bleu)
}

nav span .menu .logs {
    display: inline-block;
    position: relative;
}

nav span .menu .logs ul li {
    background-color: var(--grey_3);
}

nav span .menu .logs .engine {
    display: inline-block;
    position: absolute;
    visibility: hidden;
    top: 0;
    bottom: 0;
    left: 0;
    width: 0;
    background: var(--grey_3);
    transition: width 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);

}

nav span .menu .logs input[type=checkbox]:checked + .engine {
    width: 110%;
    visibility: visible;
}

nav span .menu .logs .engine input {
    width: 100%;
    height: 100%;
    background: transparent;
    padding: 17px 12px;
    color: white;
    text-transform: none;
}

#menu-bars {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 60px;
    cursor: pointer;
}

#menu-bars span {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 25px;
    height: 2px;
    background: white;
    margin: auto;
}

#menu-bars span::before, #menu-bars span::after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: white;
    transition: all .3s ease-out;
}

#menu-bars span::before {
    top: -8px;
}

#menu-bars span::after {
    bottom: -8px;
}

nav:before {
    content: "";
    top: 60px;
    bottom: 0;
    width: 100vw;
    display: block;
    position: fixed;
    background: var(--font);
    z-index: -1;
}

nav:not(.active):before {
    left: -200vw;
}

nav.active:before {
    left: 0;
    transition: left 1s ease-out;
}

nav.active #menu-bars span {
    background: transparent;
}

nav.active #menu-bars span::before {
    top: 0;
    transform: rotate(-45deg);
}

nav.active #menu-bars span::after {
    bottom: 0;
    transform: rotate(45deg);
}

nav .site-links {
    display: block;
    position: fixed;
    top: 60px;
    bottom: 0;
    left: -180vw;
    width: 100vw;
    transition: left .3s ease-out;
    z-index: 10;
    text-align: center;
}

nav .site-links:before {
    content: 'menu';
    display: block;
    position: absolute;
    text-transform: uppercase;
    left: 0;
    right: 0;
    top: 135px;
    font-size: 6em;
    font-weight: bold;
    color: var(--grey_menu)
}

nav.active .site-links {
    left: 0;
}

nav .site-links ul {
    position: absolute;
    left: 0;
    right: 0;
    top: 60px;
    bottom: 0;
    width: 100%;
    height: max-content;
}

nav .site-links ul li a {
    color: white;
    height: 55px;
    line-height: 55px;
    font-size: 20px;
    position: relative;
    display: block;
}

nav .black_span {
    display: block;
    position: fixed;
    top: 60px;
    bottom: 0;
    left: 0;
    width: 0;
    background: var(--font);
}

nav .mob-connect {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 65px;
    line-height: 65px;
    color: white;
    background: var(--grey_3);
    font-size: 20px;
}

nav .black_span:last-of-type {
    left: 50%
}

nav.active .black_span {
    width: 50vw;
    transition: all 0.3s ease-out;
}

nav.active .black_span:first-of-type {
    border-right: 1px solid var(--lines);
}

nav:not(.active) .black_span {
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

body[data-device="pc"] nav .logo {
    display: none;
}

body[data-device="pc"] nav span.pc {
    display: block
}

body[data-device="pc"] nav {
    display: block;
    margin: auto;
    width: max-content;
    top: 90px;
}

body[data-device="pc"] nav[data-whide="true"] {
    top: 0 !important;
    width: unset !important;
    text-align: right !important;
}

body[data-device="pc"] nav[data-whide="true"]:before {
    content: '';
    display: block;
    position: absolute;
    top: -100%;
    height: 200%;
    left: 0;
    right: 0;
    background: var(--font);
    transition: none;
}

body[data-device="pc"] nav[data-whide="true"] .logo {
    display: block;
    position: absolute;
    height: 60px;
    width: max-content;
    transition: all .3s ease-out;
    left: 22px;
}

body[data-device="pc"] nav[data-whide="true"] span .menu .logs input[type=checkbox]:checked + .engine {
    width: 100%
}

body[data-device="tablet"] nav .logo {
    display: inline-block;
    width: 150px;
    transition: all .3s ease-out;
}

body[data-device="tablet"] nav span.mobile {
    display: block
}

body[data-device="tablet"] nav {
    display: block;
    padding: 6px 14px;
    background: var(--font);
    text-align: center;
    transition: all .3s ease-out;
    border-bottom: 1px solid var(--lines);
    height: 60px;
    top: 0;
}

body[data-device="tablet"] nav .site-links:before {
    font-size: 10em;
}

body[data-device="tablet"] nav .site-links ul {
    top: 90px;
}

body[data-device="mobile"] nav .logo {
    display: inline-block;
    transition: all .3s ease-out;
    width: 175px
}

body[data-device="mobile"] nav span.mobile {
    display: block
}

body[data-device="mobile"] nav {
    display: block;
    padding: 6px 14px;
    background: var(--font);
    text-align: left;
    transition: all .3s ease-out;
    border-bottom: 1px solid var(--lines);;
    height: 60px;
    top: 0;
}

#q-search {
    position: absolute;
    z-index: -5;
    opacity: 0;
    width: 0;
    height: 0;
}

#nav_logo {
    cursor: pointer;
}

@keyframes reveal {
    0% {
        /*border: 55vh solid var(--grey_3);*/
        border: 55vh solid var(--font);
    }
    100% {
        /*border: 0 solid var(--grey_3);*/
        border: 0 solid var(--font);
        visibility: hidden;
    }
}


#q{
    display: none;
}