/* ─────────────────────────────────────────────────────────────
   NAVIGATION
──────────────────────────────────────────────────────────── */

/* HAMBURGER (mobile only) */
.nav-toggle {
    display: none;
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 2000;

    width: 35px;
    height: 25px;
    cursor: pointer;

    flex-direction: column;
    justify-content: space-between;
}

/* hamburger bars */
.nav-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: #ff9e39;
    border-radius: 2px;
    transition: 0.3s;
}

/* ─────────────────────────────────────────────────────────────
   DESKTOP NAV
──────────────────────────────────────────────────────────── */

nav {
    width: 80%;
    margin: 0 auto;
    background: transparent;
    position: sticky;
    top: 0;
    text-transform: uppercase;
	/*border-top: 1px solid #ff8200;*/
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav li {
    float: left;
    font-weight: bold;
    position: relative;
    width: 130px;
    text-align: left;
}

nav ul::after {
    content: "";
    display: table;
    clear: both;
}

nav a {
    display: block;
    padding: 10px 0;
    border-bottom: 2px solid transparent;
    color: #ff9e39;
    text-decoration: none;
}

nav a:hover {
    color: #d98221;
}

/* dropdown */

.under {
    display: none;
    background: #d5d5d5;
    box-shadow: 0 1px 2px #a0a0a0;
    position: absolute;
    width: 100%;
    z-index: 1000;
    text-transform: none;
}

nav > ul li:hover .under {
    display: block;
}

.under li {
    float: none;
    width: 100%;
}

.under a {
    padding: 10px;
    color: #8e7d6b;
}

.under a:hover {
    background: #eee;
    color: #63574a;
}

.roll > a::after {
    content: " ▼";
    font-size: 1.2rem;
}

/* ─────────────────────────────────────────────────────────────
   MOBILE
──────────────────────────────────────────────────────────── */

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

    /* show hamburger */
    .nav-toggle {
        display: flex;
    }

	/* ─────────────────────────────────────────────────────────────
	   (OPTIONAL) ANIMATION HAMBURGER -> X
	   si tu ajoutes class nav.open + toggle animation
	──────────────────────────────────────────────────────────── */

	nav.open + .nav-toggle span:nth-child(1) {
		transform: rotate(45deg) translateY(8px);
	}

	nav.open + .nav-toggle span:nth-child(2) {
		opacity: 0;
	}

	nav.open + .nav-toggle span:nth-child(3) {
		transform: rotate(-45deg) translateY(-8px);
	}

    /* menu off canvas */
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 45%;
        height: 100vh;
        background: rgba(17, 17, 17, 0.95);
        padding-top: 70px;
        transition: 0.3s ease;
        z-index: 1500;
    }

    /* open state */
    nav.open {
        right: 0;
    }

    nav ul li {
        float: none;
        width: 100%;
        padding: 15px 25px;
    }

    nav a {
        padding: 0;
        font-size: 1.5rem;
        color: #ff9e39;
    }

    /* dropdown mobile */
    .under {
        position: static;
        background: #222;
        box-shadow: none;
    }

    .under a {
        padding: 5px 0;
        color: #8e7d6b;
    }

    .roll > a::after {
        font-size: 1.1rem;
    }
}

