/************  BARRA DE NAVEGACIÓN  ************/

.navegacion_ghost {
    height: 10vh;
}

.navegacion {
    z-index: 1;
    position: fixed;
    top: 0;
    background-color: var(--main-backcolor);
    width: 100vw;
    height: 10vh;
    padding: 10px;
    /* box-sizing: border-box; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 0 10px #9a9a9ad9;
}

.navegacion__logo {
    max-width: 50%;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.navegacion__logo>a {
    height: 100%;
}

.navegacion__logo-imagen {
    max-height: 100%;
    max-width: 100%;
}

.navegacion__icono_hamburguesa,
.navegacion__menu-icono_hamburguesa {
    display: none;
    padding-right: 10px;
    width: 1cm;
}

.navegacion__icono_hamburguesa img,
.navegacion__menu-icono_hamburguesa img {
    width: 40px;
    height: 40px;
    /* margin-top: 30px; */
}


/********* LISTA DE MENU **********/

.navegacion__menu,
.navegacion__menu ul {
    --navbar-text-color: #8e8e8e;
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: var(--title-font-family);
    z-index: 2;
}

.navegacion__menu {
    align-self: flex-start;
    display: flex;
    justify-content: flex-end;
}

.navegacion__menu>li {
    width: 150px;
    text-align: center;
    margin-right: 5px;
    /* border: 2px solid red; */
    /* overflow: hidden */
}

.navegacion__menu>li:hover li {
    display: block;
    /* width: 90%; */
}

.navegacion__menu li a {
    font-weight: 700;
    color: var(--navbar-text-color);
    width: 100%;
    box-sizing: border-box;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
}

.navegacion__menu>li li {
    display: none;
    width: 100%;
}

.navegacion__menu>li li a {
    background-color: var(--main-backcolor);
}

.navegacion__menu li a:hover,
.navegacion__menu>li li a:hover {
    background-color: var(--second-backcolor);
    color: #fff;
    letter-spacing: 2px;
}

.navegacion__menu>li>ul {
    box-shadow: 0 2px 2px #00000047;
    border-radius: 0 0 4px 4px;
    overflow: hidden;
}

.focus {
    border-bottom: none;
    background-image: linear-gradient(0deg, var(--second-backcolor), var(--second-backcolor));
    background-repeat: no-repeat;
    background-size: 100% 10%;
    background-position: center bottom;
}


/****** QUERY ON MOVIL ******/

@media screen and (max-width: 1100px) {
    .navegacion__icono_hamburguesa {
        display: initial;
    }
    .navegacion__menu {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        background-color: white;
        box-shadow: 0 0 10px #787878;
        margin-top: 0;
        transition: 0.5s;
        position: fixed;
        top: 0;
        bottom: 0;
        right: -100%;
        box-sizing: border-box;
    }
    .navegacion__menu>li {
        width: 100%;
        text-align: left;
    }
    .navegacion__menu>li li {
        text-align: center;
    }
    div.navegacion__menu-icono_hamburguesa {
        display: block;
        width: 100%;
        height: 50px;
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }
    label.navegacion__menu-icono_hamburguesa {
        display: block;
    }
    .navegacion [type="checkbox"]:checked~.navegacion__menu {
        top: 0;
        right: 0;
        width: 50vw;
    }
}