nav {
    z-index: 3;
    position: absolute;
    top: 0;
    width: 100%;
    color: white;
    height: 80px;
    background: none;
    transition: background .3s;
}

nav.fixed, nav.alwaysfixed {
    position: fixed;
    background: black;
    box-shadow: 0px 0px 10px black;
}

.nav-container {
    padding: 0 1.5em;
    height: 100%;
}

nav a, nav button {
    font-weight: 500;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
}

.lang-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.lang-flag {
    margin: 0 3px;
    height: 16px;
    width: 24px;
    border-radius: 4px;
    overflow: hidden;
}

.lang-flag img {
    height: 100%;
    width: 100%;
}

.lang-head i {
    margin: 0 4px;
    color: rgba(175, 175, 175, 1);
    font-size: 10px;
    transition: transform .2s;
}

.langs.active i {
    transform: rotateZ(180deg);
}

.lang-menu {
    overflow: hidden;
    width: 100%;
    position: absolute;
    top: calc(100%);
    left: 0;
    max-height: 10px;
}

.langs.active .lang-menu {
    max-height: 1000px;
}

.lang-menu-padding {
    width: 100%;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    padding: 8px 4px;
    transition: background .2s;
}

.langs.active .lang-menu-padding {
    background: var(--bg-color);
}

.lang-menu a {
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* Gestion du logo */

.nav-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

/* Logo Large */

.nav-lg-logo p {
    font-size: 10px;
}

.nav-lg-logo img {
    height: 40px;
}

/* Logo Small */

.nav-small-logo img {
    height: 40px;
}

.nav-small-logo p {
    font-size: 10px;
}

.nav-small-menu {
    display: flex;
}

/* Menu Button */

.nav-small-btn {
    cursor: pointer;
    margin-right: 20px;
    font-size: 24px;
    background: none;
    border: none;
}

/* Menu and responsive */

.nav-menu {
    height: 100%;
    min-width: 100%;
    position: fixed;
    z-index: 3;
    background: black;
    display: block;
    left: 0;
    top: 0;
    padding: 1.6em;
    transition: transform .4s;
    transform: translateX(-100%);
}

.nav-small-menu {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.nav-menu.active {
    transform: translateX(0%);
}

.nav-lg-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-list {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    list-style: none;
    align-items: flex-start;
}

.nav-list li {
    padding: 19px 0;
    font-size: 15px;
}

.nav-list.active li a:not(.active) {
    color: rgba(255, 255, 255, .6);
}

.langs {
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    padding: 5px 0px;
    position: relative;
    transition: background .2s;
    --bg-color: rgba(0, 0, 0, 1);
}

.lang-head {
    padding: 0 5px;
}

.langs > .lang-head > p {
    padding: 0 4px;
}

.langs.active {
    background: var(--bg-color);
}

@media (min-width: 768px) {
    .nav-container {
        padding: 0;
    }
    .nav-menu {
        display: flex;
        flex-direction: row;
        background: none;
        position: static;
        transform: translateX(0%);
    }

    .nav-small-menu {
        display: none;
    }

    .nav-small-btn {
        display: none;
    }

    .nav-lg-logo {
        display: flex;
    }

    .nav-list {
        margin: 0;
        display: flex;
        flex-direction: row;
        list-style: none;
        align-items: center;
        margin-left: auto;
    }

    .nav-list li:not(.langs) {
        padding: 0;
        margin: 0px 8px;
        font-size: 13px;
    }

    .langs {
        padding: 10px 4px;
    }

    .langs > .lang-head > p {
        padding: 0 0;
    }
}