@import url('https://fonts.googleapis.com/css2?family=Bungee+Hairline&family=Karla&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

*{
	padding: 0;
	margin: 0;
	text-decoration: none;
	list-style: none;
	box-sizing: border-box;
}

nav{
	background: rgb(16, 16, 16);
	height: 80px;
	width: 100%;
}

.enlace {
	padding: 20px 20px;
	float: left;
}

.logo{
	height: 90px;
	position: relative;
	padding-bottom: 40px;
	float: left;
}

nav ul {
	float: right;
	margin-right: 20px;
}
nav ul li {
	display: inline-block;
	line-height: 80px;
	margin: 0 5px;
}
nav ul li a {
	color: #fff;
	font-size: 18px;
	padding: 7px 13px;
	border-radius: 3px;
	text-transform: uppercase;
}
li a.active, li a:hover {
	background: #B27CFF;
	transition: .5s;
}
.checkbtn {
	font-size: 30px;
	color: #8C8C8C;
	float: right;
	line-height: 80px;
	margin-right: 40px;
	cursor: pointer;
	display: none;
}
#check {
	display: none;
}

/**hamburguesa **/

.fa, .fab, .fad, .fal, .far, .fas {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
	color: #fff;
}

section{
	background: url(fondo.jpg) no-repeat;
	background-size: cover;
	background-position: center center;
}


@media (max-width: 952px){
	.enlace{
		padding-left: 20px;
	}
	
}

@media (max-width: 858px){
	.checkbtn{
		display: block;
	}

	
	.navegacion {
		position: fixed;
		width: 100%;
		height: 100vh;
		background: rgb(16, 16, 16);
		top: 80px;
		left: -100%;
		text-align: center;
		transition: all .5s;
	}
	

	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: #fff;
		background-color:#B27CFF;
	}
	#check:checked ~ ul{
		left:0;
	}
}

