/**Menu**/

.menu{
    height: 55px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

.menu_items {
    display: flex;
    list-style: none;   
    margin-right: 30px;
}

.menu_items li{
    transition: all 0.5s;
}

.menu_items li a{
    padding: 20px 30px;
    text-decoration: none;
    font-size: 14px;
    display: block;
    color: var(--negro);
}

.menu_items li:hover, li.active{
    transition: .8;
}

.menu_items li:hover{
    text-decoration: underline;

}

.btn_menu {
    margin-right: 30px;
    font-size: 25px;
    color: var(--gris__claro);
    display: none;
}

.btn_menu_pointer{
    cursor: pointer;
}

.logo_show{
    display: none;
}

.logo{
        padding-top: 3px;
}



.submenu {
    display: none;
    position: absolute;
    top: 50px;
    background-color: var(--blanco);
    padding: 10px;
    list-style: none;   
    
    }

.menu_items li.open > .submenu {
    display: block;
    }

@media screen and (max-width: 850px){
    .menu {
        position: fixed;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        z-index: 2;
        
    }
    .logo{
        position: relative;
        right: 25px;
        z-index: 4;
    }
    .btn_menu{
        display: inline-flex;
        position: relative;
        left: 15px;
        z-index: 4;
        
    }
    .menu_items{
        position: fixed;
        z-index: 3;
        width: 80%;
        height: 100vh;
        left: -100vh;
        text-align: left;
        transition: all .3s;
        flex-direction: column;
        justify-content: center;
        margin: 0%;
        background-color: var(--blanco);
        
    }
    .menu_items li{
        margin: 20px 0 0 0;
    }
    .menu_items li:hover{
        background: none;
    }
    .menu_items li a{
        font-size: 16px;
        color: var(--negro);
        position: relative;
    }
    .menu_items li a:hover{
        color: var(--gris__claro);
    }
    .logo {
        padding-left: 55px;
    }
    .logo_show{
        display: block;
        z-index: 3;
    }
    ul.show{
        left: 0px;
        opacity: 1;
        pointer-events: unset;
        list-style: none;
    }
    ul{
        top: 0px;
        list-style: none;
    }
    
    .submenu {
        position: absolute;
        background-color: var(--gris__claro);
        left: 0;
        bottom: 0;
        top: 50px;
        right: 0px;
        padding: 20px;
        margin: 20px;
        z-index: 1;
        border-radius: 10px;
        height: 100vh;
    }
    

}








@media screen and (max-width: 850px) and (orientation: landscape){
    .menu_items li{
        margin: 5px 0 0 0;
        top: 100px;
    }
    .menu_items{
        overflow: scroll;
    }
}

