@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Display:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/css/all.min.css');

/* *{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Noto Sans Display';
} */
/* body{
	background-image: url(img/fondo.jpg);
	background-size: cover;
} */

nav{
	max-width: 90%;
	margin: auto;
	background-color: #292c31;
	font-size: 1.1rem;
	margin-top: 2rem;
}
.menu-horizontal{
	list-style: none;
	display: flex;
	justify-content: space-around;
}
.menu-horizontal > li > a{
	display: block;
	padding: 15px 20px;
	color: white;
	text-decoration: none;
}
.menu-horizontal > li:hover{
	background-color: rgb(52, 62, 156);
	transition: 500ms;
}
.menu-vertical{
	position: absolute;
	display: none;
	list-style: none;
	width: 12.5rem;
	background-color: rgba(0, 0, 0, .5);
}
.menu-horizontal li:hover .menu-vertical{
	display: block;
}
.menu-vertical li:hover{
	background-color: rgb(79, 72, 212);
}

.menu-vertical li a{
	display: block;
	color: white;
	text-decoration: none;
	padding: 0.8rem 0.8rem 0.8rem 1.2rem;
}

#html{
	margin: auto;
	padding: 1.2remx;
	max-width: 40rem;
	background: white;

}
header nav input{
    display: none
}

/*prueba responsive*/
*{
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}
@media (max-width: 952px){



    .enlace{
        padding-left: 20px;
    }
    nav ul li a{
        font-size: 16px;
    }


}
.checkbtn{
    font-size: 30px;
    color: #fff;
    float: right;
    line-height: 80px;
    margin-right: 40px;
    cursor: pointer;
    display: none;
}

@media (max-width: 858px){

header h1{padding-top: 20%;}

    .checkbtn{
        display: block;
    }
    
    .menu-horizontal{
        list-style: none;
        justify-content: space-around;
        display: flex;
        flex-direction: column;
    }

    header ul{
        position: fixed;
        width: 100%;
        height: 100vh;
        background: #2c3e50;
        top: 80px;
        left: -1000px;
        text-align: center;
        transition: all .5s;
    }
header nav ul li {
        display: block;
        margin: 50px 0;
        line-height: 30px;
        
    }
    nav ul li a{
        font-size: 20px;
    }
    li a:hover, li a.active{
        background: none;
        color: rgb(77, 77, 197);
    }
    #check:checked ~ ul{
        left:0;
    }
}