a {
    color: black;
    text-decoration: none;
}

a:visited {
    color: black;
}

body {
    margin: 0;
}

/*header {
    position: fixed;
    justify-content: center;
}*/

#menu {
    padding-top: 1px;
    padding-bottom: 1px;
    font-family: 'Manrope', sans-serif;
    font-size: 0.9em;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
    background-color: #FFFFFF;
    justify-content: center;
    width: 100%;
    position: fixed;
}


.haut{
    height: 97px;
}

.element_menu {
    display: flex;
    flex-direction : row;
    justify-content: center;
    width: 100%;
    margin-top: 20px;
    margin-bottom: 18px;
    padding-bottom: 0;
    /*position: fixed;*/
}

.hd_element {
    text-align: center;
    margin: 0;
    padding: 0;
    height: 55px;
}

.hd_element:hover {
    background-color: rgba(217, 240, 253, 0.5);
}

.hd_logo {
    margin-left: 10%;
}

.hd_lien {
    padding: 0;
    margin: 0;
}


.hd_texte{
    padding-left: 30px;
    padding-right: 30px;
    line-height: 55px;
}

.hd_tx{
    padding: 0;
    margin: 0;
}


.hd_lien_logo {
    margin: 0;
    padding: 0;
}


label
{
    display: none;
}

#toggle {
    display: none;
}

.hd_logo_tel {
    display: none;
}
 
@media all and (max-width: 1100px) {
    nav {
        height: 60px;
    }
 
    nav .element_menu {
        display: none;
    }
 
    label {
        width: 30px;
        display: flex;
        justify-content: left;
        align-items: left;
        margin-left: 5%;
        font-size: 40px;
        color: rgb(49, 43, 141, 1.0);
        cursor: pointer;
    }

    .hd_logo_tel {
        display: flex;
        position: absolute;
        top: 8px;
        right: 5%;
    }


    nav .main_pages a {
        width: 50%;
    }

    .hd_logo {
        display: none;
    }

    #toggle:checked + .hd_logo {
        display: none;
    }

    #toggle:checked + #menu {
        height: 420px;
    }

    #toggle:checked + .element_menu {
        display: flex;
        flex-direction: column;
        background-color: white;
        margin-top: 0px;
        border-bottom: 3px solid rgb(49, 43, 141, 1.0);
    }
}

