/* Menu */
#menu-check {
    display: none;
}

.boton-hamburguesa {
    display: none;
}

header>div>p {
    background-image: url(../img/logo.png);
    background-size: 150px;
    background-repeat: no-repeat;
    background-position: center center;
    margin: 0;
    overflow: hidden;
    height: 50px;
    width: 300px;
}

header {
    position: fixed;
    
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
    transition: all 0.4s ease-out;
    width: 100%;
    z-index: 9999999;
    background-color: rgba(255, 255, 255, 0);
}

header>div>p>a {
    padding: 25px 25px 25px 500px;
}

header>div,
header>nav {
    margin: 0 60px;
}

.menu {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.menu>li {
    margin: 0 20px;
}

.menu>li a {
    color: #000;
    text-decoration: none;
}

.menu a {
    position: relative;
    display: block;
}

.menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    margin-bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: rgb(79, 79, 79);
    transform: scaleX(0);
    transform-origin: center;
    transition: all 0.3s ease-in-out;
}

.menu a:hover::before {
    transform: scaleX(1);
    transform-origin: center;
}

@media (min-width: 1200px) {
    header {
        height: 150px;
    }

    .abajo > div > p {
        background-image: url(../img/logo.png);
        background-size: 150px;
        background-repeat: no-repeat;
        background-position: center center;
        margin: 0;
        overflow: hidden;
        height: 50px;
        width: 300px;
    }

    .abajo {
        padding-top: 0px;
        backdrop-filter: blur(10px);
        background: rgba(255, 255, 255, 0.549);
        
        height: 85px;
    }

    .abajo a {
        color: black !important;
    }

    .abajo .menu a::before {
        background-color: rgb(0, 0, 0);
    }
}

@media (max-width: 1100px) {
    header {
        position: fixed;
        backdrop-filter: blur(10px);
        background: rgba(255, 255, 255, 0.549);
        top: 0;
    }

    header>div {
        margin: 0 20px;

    }

    header>nav {
        margin: 0 40px;
    }

    header>div>p {
        background-image: url(../img/logo.png);
        background-size: 160px;
        height: 50px;
        width: 170px;
    }

    header>div>p>a {
        padding: 25px 0px 25px 500px;
    }

    .boton-hamburguesa {
        display: flex;
        height: 100%;
        width: 30px;
        cursor: pointer;
        justify-content: center;
        align-items: center;
    }

    .menu {
        position: absolute;
        top: 0;
        margin-top: 70px;
        left: 0;
        flex-direction: column;
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    .menu>li {
        width: 100%;
        display: flex;
        background-color: #ffffff;
        justify-content: center;
    }

    .menu>li>a {
        color: black;
        font-size: 14px;
    }

    #menu-check~.menu li {
        height: 0;
        visibility: hidden;
        transition: height 700ms cubic-bezier(0.23, 1, 0.32, 1);
    }

    #menu-check:checked~.menu li {
        visibility: visible;
        align-items: center;
        height: 25px;
        padding: 8px 0;
        margin: -1px 0;
        transition: height 700ms cubic-bezier(0.23, 1, 0.32, 1);

    }

    .linea-boton-H,
    .linea-boton-H::before,
    .linea-boton-H::after {
        content: '';
        display: block;
        background-color: rgb(0, 0, 0);
        position: absolute;
        height: 1px;
        width: 20px;
        transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
    }

    .linea-boton-H::before {
        margin-top: -7px;
    }

    .linea-boton-H::after {
        margin-top: 7px;
    }

    #menu-check:checked+.boton-hamburguesa .linea-boton-H::before {
        margin-top: 0px;
        transform: rotate(45deg);
        visibility: visible;
    }

    #menu-check:checked+.boton-hamburguesa .linea-boton-H {
        visibility: hidden;
    }

    #menu-check:checked+.boton-hamburguesa .linea-boton-H::after {
        margin-top: 0px;
        transform: rotate(-45deg);
        visibility: visible;
    }

}


/* Fin Menu */