*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Noto Sans Display';
    
}
nav{
	max-width: 100%;
	background-color: #333;
	font-size: 1.1rem;
}
nav ul {
    padding: 0 20%;
}
nav ul li ul{ 
    padding: 0;
}
.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: #fd9711;
	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: black;
}

.menu-vertical li a{
	display: block;
	color: white;
	text-decoration: none;
	padding: 0.8rem 0.8rem 0.8rem 1.2rem;
}
.checkbtn{
    font-size: 30px;
    color: #fff;
    cursor: pointer;
    display: none;
}
#check{
    display: none;
}

@media (max-width: 952px){
    .enlace{
        padding-left: 20px;
    }
    nav ul li a{
        font-size: 16px;
    }
}

@media (max-width: 858px){
    
    .checkbtn{
        display: block;
        
    }
    
    .menu-horizontal {
        padding: 0 30%;
        position: fixed;
        width: 120%;
        height: 100vh;
        background: #2c3e50;
        top: 62px;
        left: -120%;
        text-align: left;
        transition: all .5s;
        display: block;
        margin: 50px 0;
        line-height: 30px;
    }
    .menu-horizontal li a{
        font-size: 20px;
    }
    .menu-horizontal a:hover, li a.active{
        background: none;
        color: #fd9711;
    }
    #check:checked ~ ul{
        left: -10%;
    }
    .bars:before {
   content:"=";
    }
}