.menu {
    z-index: 2;
    font-size: 16px;
    position: sticky;
    top: 0;
    list-style-type: none;
    display: flex;
    justify-content: right;
    width: 100%;
    padding: 5px;
    align-items: flex-start;
    transition: .8s;
}

.menu a {
    color: white;
    text-decoration: none;
    padding: 5px 0;
    margin: 0 15px;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    text-transform: lowercase;
    text-align: center;
    transition: .4s ease;
    opacity: 1;
}

.menu a:hover {
    color: #9acfea;
}

.menu #accueil {
    margin-right: auto;
    text-transform: none;
    font-size: 5px;
    padding: 0;
    text-align: left;
}

.menu .dropdown-content {
    top: 30px;
    display: none;
    position: absolute;
    margin: 10px 20px;
    padding: 15px;
    background-color: #222233;
    z-index: 1;
    transition: .4s;
    opacity: 0;
}

#gerer-dd-content {
    /* défini dans base2.html selon le nom d'utilisateur */
    /*right: 340px;*/
}

#user-dd-content {
    right: 4px;
}

.menu .dropdown-content a {
    color: #eee;
    margin: 0;
    padding: 10px;
    display: block;
}

.menu .dropdown-content a:hover {
    color: #9acfea;
}

#accueil:hover {
    color: #8888ff;
}

#accueil:active {
    color: #8888ff;
}

.menu-mobile {
    display: none;
}

#menu-mobile-open {
    display: none;
}

.menu-mobile {
    position: sticky;
    position: -webkit-sticky;
    background-color: transparent;
    top: 0;
    z-index: 3;
    display: none;
    justify-content: right;
    width: 100%;
    align-items: center;
    transition: .8s;
}

.menu-mobile a {
    color: white;
    text-decoration: none;
    padding: 5px 0px 5px 0px;
    margin: 0 15px;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    text-transform: lowercase;
    transition: 0s ease;
    border-bottom: thin solid transparent;
}

.menu-mobile a:hover {
    color: #aaa;
    border-bottom: thin solid #aaa;
}

.menu-mobile a:first-child {
    margin-right: auto;
}

.menu-mobile a:first-child:hover {
    border-bottom: transparent;
}

#menu-mobile-open {
    position: fixed;
    z-index: 3;
    background-color: rgba(0, 0, 0, .95);
    width: 70%;
    height: 100%;
    top: 0;
    right: 0;
    transition: .7s;
    transform: translateX(100%);
    display: none;
}

#menu-mobile-open h4 {
    text-align: right;
    margin-right: .5em;
}

#menu-mobile-open a {
    color: white;
    text-decoration: none;
    text-transform: lowercase;
    font-family: 'Roboto', sans-serif;
}

#fermer-menu {
    color: white;
}

.mobile-dropdown p {
    color: white;
    text-align: right;
    text-transform: lowercase;
}

.mobile-dropdown {
    margin-right: 1.5em;
    display: none;
}

@media screen and (max-width: 800px) {
    .menu {
        display: none;
    }

    .menu-mobile {
        display: flex;
    }

    #menu-mobile-open {
        display: block;
    }
}