.menu{
    width: 100%;
    max-width: 100%;
    margin: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    background-color: var(--colorprimario);
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border-bottom: 4px solid #fff;
    z-index: 200;
}

.menu .enlaces .closebtn{
    display: none;
}

.menu .logo{
    margin: 5px;
    margin-left: 20px;
}

.menu .logo img{
    width: 150px;
    vertical-align: top;
}

.menu .enlaces{
    display: inline-block;
    text-align: center;
    margin-right: 20px;
}

.menu .enlaces a{
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-size: 1em;
    color: #fff;
    padding: 10px;
    font-weight: bold;
    border-bottom: 2px solid var(--colororo);
    border-radius: 10px;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.menu .enlaces a i{
    font-size: 2em;
}

.menu .enlaces a:hover{
    border-bottom: 2px solid var(--colororo);
    border-radius: 10px;
    -webkit-box-shadow: inset 0px -5px 5px 0px rgba(255,191,0,1);
    box-shadow: inset 0px -5px 5px 0px rgba(255,191,0,1);

}

/* Mediaqueries */
@media screen and (max-width:768px){
    .menu{
        width: 100%;
        max-width: 100%;
        margin: 0;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-pack: distribute;
        justify-content: space-around;
    }

    .menu::-webkit-scrollbar {
        width: 1em;
    }

    .menu::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    }

    .menu::-webkit-scrollbar-thumb {
        background-color: darkgrey;
        outline: 1px solid slategrey;
    }
    /*Menú Hamburguesa*/
    .logo{
        position: relative;
        width: 100%;
    }
    .hamburger {
        display: block;
        position: absolute;
        right: 10px;
        top: 10px;
        width: 40px;
        -webkit-transform: translate(-50%, -15%);
        transform: translate(-50%, -15%);
    }
    .hamburger span{
        margin-top: 75px;
        text-shadow: 1px 1px #000;
        text-align: center;
    }
    .hamburger-inner, .hamburger-inner:after, .hamburger-inner:before {
        background-color: var(--colorsecundario);
        position: absolute;
        width: 50px;
        height: 7px;
        border-radius: 5px;
        content: '';
        -webkit-transition-timing-function: ease;
        transition-timing-function: ease;
        -webkit-transition-duration: .2s;
        transition-duration: .2s;
        -webkit-transition-property: opacity,-webkit-transform;
        transition-property: opacity,-webkit-transform;
        transition-property: transform,opacity;
        transition-property: transform,opacity,-webkit-transform;
        -webkit-box-shadow: 1px 1px #000;
        box-shadow: 1px 1px #000;
    }
    .hamburger-inner:before {
        top: 14px;
    }
    .hamburger-inner:after {
        top: 30px;
    }

    /*Abrir Menú*/
    .hamburger.open .hamburger-inner {
        -webkit-transform: translate3d(0,10px,0) rotate(45deg);
        transform: translate3d(0,10px,0) rotate(45deg);
    }
    .hamburger.open .hamburger-inner:after {
        -webkit-transform: translate3d(0,-30px,0) rotate(-90deg);
        transform: translate3d(0,-30px,0) rotate(-90deg);
    }
    .hamburger.open .hamburger-inner:before {
        -webkit-transform: translate3d(0,-15px,0) rotate(90deg);
        transform: translate3d(0,-15px,0) rotate(90deg);
    }
    /*
    ----------------------
    */

    header .menu .enlaces{
        margin-top: 0px;
        height: 100vh;
        width: 100%;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        background-color: var(--colorprimariotransparente);
        left: -100%;
        top: 65px;
        position: fixed;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
        overflow: scroll;
        transition: all 0.3s ease;
        -webkit-transition: all 0.3s ease;
    }
    header .menu .enlaces a{
        color: #fff;
        font-size: 1em;
        font-weight: bold;
        border-bottom: 2px solid #cecece;
    }
    header .menu .enlaces a i{
        font-size: 2.5em;
    }
    .menu .enlaces .closebtn{
        display: block;
    }
    .menu .logo img{
        width: 100px;
        margin: 0;
    }
    header .menu .enlaces .boton{
        margin: 0 auto;
    }
}
