.hamburger {
    display: none;
    position: fixed;
    background-color: var(--darkblue);
}

nav {
    top: 0;
    position: fixed;
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: center;
    backdrop-filter: blur(15px);
    opacity: 0;
    transform: translateY(-10px);
    animation: apparition 1.5s 1s ease-out forwards;
    line-height: 70px;
    z-index: 50;
}


nav ul {
    padding: 2px 0;
    background-color: #fff7ea80;
    width: 100%;
    display: flex;
    justify-content: space-around;
    border-bottom: 1px black solid;
    margin-bottom: 0;
}

nav ul li {
    display: flex;
    list-style: none;
    text-align: center;
}

nav ul li a {
    color: black;
    text-decoration: none;
    font-family: "gallery_modernregular", sans-serif;
    font-size: 2em;
    transition: .1s ease-out;
}


nav ul li a:hover {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    /*font-size: 2.3em;*/
}

.active {
    font-weight: normal;
}

.desactive {
    font-weight: bold;
}

@media screen and (max-width: 1200px) {
    .hamburger {
        display: block;
        top: 30px;
        right: 30px;
        background-color: black;
        padding: 5px;
        z-index: 998;
        border-radius: 5px;
        width: 35px;
    }

    nav {
        display: none;
        width: 100%;
        height: 100vh;
        backdrop-filter: blur(0px);
        transform: translateY(-10px);
        animation: all 0.5s;
    }

    nav ul {
        position: absolute;
        display: flex;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.9);
        justify-content: space-around;
        align-items: center;
        width: 100%;
        height: 100vh;
        margin-left: -200%;
        transition: 0.5s ease-out;
    }

    nav ul li a {
        color: var(--lightbeige);
    }

    .mobile-menu {
        margin-left: 0;
    }

    .nav-menu {
        display: block;
        transform: translateY(-10px);
        animation: apparition 0.2s 0s ease-out forwards;
    }
}
