
/******************** NAV ********************/
.logo_nav{
    height: 120px;
    display: flex;
    position: relative;
    z-index: 10;
}
.container nav{
    display: flex;
    justify-content: space-between;
    width: 80%;
}
.logo{
    position: absolute;
    left: 0;
}
.logo img{
    height: 120px;
}
.logo p{
    font-size: 8px;
    color: black;
}
.menu{
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.menu_list{
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin-left: 100px;
}
.menu_list > li{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;

    background: linear-gradient(to top, rgba(6, 107, 189, 0.8) 50%, transparent 50%);
    background-size: 100% 200%;
    background-position: top;
    transition: background-position 0.3s ease-in-out;
    color: white;
}
.menu_name{
    width: 250px;
    height: 100%;
    position: relative;
    z-index: 1;

    display: flex;
    justify-content: center;
    align-items: center;
    font-size: x-large;
}
.menu_links{
    margin: 0;
    padding: 0;
    position: absolute;
    left: 0;
    top: 120px;
    height: 0px;
    width: 100%;
    background: rgba(6, 107, 189, 0.8);
    overflow: hidden;
    transition: height 0.3s;
    
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
.menu_links a{
    font-size: x-large;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    height: 100%;
}
/* .menu_links a li{
    margin: 0 20px;
} */
.menu_links a:hover{
    cursor: pointer;
    background: #1b98e6;
}

.menu_list > li:hover .menu_links{
    height: 120px;
}
.menu_list > li:hover{
    background-position: bottom;
}


.menu_responsive img{
    position: fixed;
    top: 0;
    right: 0;
    display: none;
    width: 50px;
    margin: 10px;
    z-index: 2;
}
.menu_responsive .toggle_menu_res{
    top: 0;
}
.menu_list_res{
    height: 100%;
    width: 100%;
    position: fixed;
    padding: 0;
    margin: 0;
    top: -1500px;
    left: 0;
    background-color: #063dbd;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    font-size: large;
    padding-left: 10px;
    color: rgb(175, 175, 175);
}
.menu_list_res a{
    color: white;
}

.special_menu{
    width: 50%;
    display: flex;
    position: relative;
    height: 100%;
}
.special_menu > span{
    position: absolute;
    width: 100%;
    text-align: center;
    border-bottom: 2px solid #1b98e6;
    margin: 5px;
}
/* .special_menu a{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;

} */



@media (max-width: 1400px){
    .menu_name {
        width: 200px;
        font-size: large;
    }
}
@media (max-width: 1200px){
    .menu_name {
        width: 150px;
        font-size: medium;
    }
    .menu_links a {
        font-size: medium;
    }
}
@media (max-width: 900px){ /* Special menu, avant hamburger */
    .menu_links a, .menu_name {
        font-size: small;
    }
    .menu_name{
        width: 100px;
    }
    .menu_list > li{
        flex-grow: 1;
    }
}

@media (max-width: 750px){ /* Phablets, on change tout à partir d'ici, surtout le menu */
    .menu{
        display: none;
    }
    .menu_responsive{
        display: initial;
        height: 100%;
        width: 100%;
    }
    .menu_responsive img{
        display: initial;
    }
}