header {
    width : 100%;
    /*margin-bottom: 4rem;*/
}

header li a{
    color: #888888;
}

header a:hover {
    color: #007EA7;
}

/*header a{*/
/*    margin: 1rem 0 0 10rem;*/
/*    display: inline-block;*/
/*    align-items: center;*/
/*    text-align: center;*/

/*}*/

.navbar .logoLetsCode {
    width: 60px;
}

#selected {
    font-weight: bold;
    color: black;
}



.loginButton{
    position: absolute;
    right: 2rem;
    top: 1.2rem;
    color: white;
    background-color: #5C5C5C;
    border-radius: 0.5rem;
    padding: 1rem;

}


.loginButton:hover{
    color: white;
    background-color: black;
}



.navbar {
    position: absolute;
    padding: 1rem 2rem;
    display: flex;
    width: 100%;
    top: 0;

    box-sizing: border-box;
    align-items: center;
    box-sizing: border-box;

}


.navbar .nav-links ul {
    display: flex;
}

.navbar .nav-links ul {
    display: flex;
}

.navbar .nav-links ul li {
    margin: 0 25px;
}

/*.buttonLog {*/
/*    position: absolute;*/
/*    right: 0;*/
/*}*/

.navbar .menu-hamburger {
    display: none;
    width: 2.5rem;
    position: absolute;
    top: 2rem;
    right: 2rem;
}




.navbar .menu-hamburger-close {
    display: none;
    width: 2.5rem;
    position: absolute;
    top: 2rem;
    right: 2rem;
}



.mobile-menu {
    margin-left: 0;

}

.nonIndexHeader {
    z-index: 0;
}

@media screen and (max-width: 768px){

    header li a {
        color: #5C5C5C;
    }

    .navbar {
        z-index: 2050;
        padding: 0;
    }

    .navbar .logoLetsCode {
        position: absolute;
        top: 1rem;
        left: 2rem;
    }


    .navbar .menu-hamburger {
        display: block;
    }

    .navbar .menu-hamburger.fermee {
        display: none;
    }

    .navbar .menu-hamburger-close.fermee {
        display: block;
    }


    .nav-links{
        position: fixed;
        top: 0;
        left: 0;
        background-color: rgba(255, 255, 255, 0.70);
        backdrop-filter: blur(7px);

        width: 100%;
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-left: -100%;
        transition: all 0.5s ease;

    }



    .nav-links.mobile-menu {
        margin-left: 0;

    }

    .nav-links ul{
        display: flex;
        flex-direction: column;
        align-items: center;

    }

    .navbar .nav-links ul li {
        margin: 25px 0;
        font-size: 1.3rem;
    }


    .loginButton {
        position: static;
        margin: 25px 0;

    }

    .scroll {
        overflow: hidden;
    }



}


