@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/css/all.min.css');

/*
section{
    background: url(fondo.jpg) no-repeat;
    background-size: cover;
    background-position: center center;
    /*height: calc(100vh - 80px);
}*/


@media (max-width: 65rem){
    *{
        margin: 0;
        padding: 0%;
    }

    .checkbtn{
        display: block;
    }

    header{
        margin-left: 0;
        margin-right: 0; 
        padding: 0%;
        display: block; /*bloquea el tamaño del ancho y alto*/
        display: flex;
        justify-content: space-between;
        background-color: #343a40;
    }

    header a{
        display: flex;
        align-items: center;
    }

    header a img{
        margin: auto;
        margin-left: 2rem;
    }

    header nav{
        margin: 0;
        padding: 0%;
        width: auto;
        background-color: #343a40;
        border-radius: 0rem;
        height: 5rem;
    }

    ul{
        position: fixed;
        width: 100%;
        height: auto;
        background: #607eb0;
        top: 80px;
        left: 100%;
        text-align: center;
        transition: all .4s;
    }

    nav ul li {
        display: flex;
        margin: auto;
        line-height: 30px;
        justify-content: center;
    }

    nav ul li a{
        font-size: 20px;
        color: #f7f7f7;
    }

    header nav ul li a:hover{
        transform: none;
        color: #f7f7f7;
        background-color: #343a40;
    }
    .menu-horizontal > li:hover{
        background-color: #343a40;
        transition: none;
    }

    #check:checked ~ ul{
        left:0;
    }
}
