input:focus, a:focus, textarea:focus, button:focus{
	outline: 0;
}
header nav{
	width: calc(100% - 200px);
}
ul#menu{
	width: 100%;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}
ul#menu li{
	flex: 1;
}
ul#menu li a{
	color: #000;
	width: 100%;
	height: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	text-transform: uppercase;
	font-size: 12px;
	transition: all .5s;
}
ul#menu li a.active, ul#menu li a:hover{
	color: #3ba4ad;
}
header nav input, div#head, ul#menu li:first-child{
	display: none;
}
@media screen and (max-width: 640px){
	header{
		padding-top: 50px;
	}
	header div.columns{
		display: block;
		text-align: center;
	}
	ul#menu li:first-child{
		display: block;
	}
	header nav input, div.boton-menu{
		display: block;
		background: transparent;
		margin: 0;
		width: 50px;
		height: 50px;
		position: fixed;
		top: 0;
		right: 0;
		appearance: none;
		-webkit-appearance: none;
		-moz-appearance: none;
		-o-appearance: none;
		z-index: 9;
	}
	div.boton-menu{
		background: #3ba4ad;
		z-index: 8;
	}
	div#head{
		background: #000;
		color: #fff;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 50px;
		display: flex;
		justify-content: center;
		align-items: center;
		text-transform: uppercase;
		box-shadow: 0 0 10px rgba(0,0,0,.8);
		z-index: 8;
	}
	ul#menu{
		display: block;
		background: #f2f2f2;
		width: 300px;
		height: calc(100vh - 50px);
		position: fixed;
		top: 50px;
		right: -300px;
		transition: all .5s;
		z-index: 8;
	}
	div.masc{
		width: 100%;
		height: calc(100vh - 50px);
		background: rgba(0,0,0,.7);
		position: fixed;
		top: 50px;
		left: 0;
		opacity: 0;
		visibility: hidden;
		transition: all .5s;
		z-index: 8;
	}
	div.boton-menu{
		display: flex;
		justify-content: center;
		align-items: center;
	}
	div.btn-line{
		width: 25px;
		height: 2px;
		background: #000;
		position: relative;
		right: 0;
		transition: all .5s;
	}
	div.boton-menu ul li{
		margin-bottom: 5px;
	}
	div.boton-menu ul li:last-child{
		margin: 0;
	}
	.btn[type="checkbox"]:checked ~ ul#menu{
		right: 0;
	}
	.btn[type="checkbox"]:checked ~ div.masc{
		opacity: 1;
		visibility: visible;
	}
	.btn[type="checkbox"]:checked ~ div.boton-menu div.btn-line1{
		transform: rotate(45deg);
	}
	.btn[type="checkbox"]:checked ~ div.boton-menu div.btn-line2{
		position: relative;
		right: -50px;
	}
	.btn[type="checkbox"]:checked ~ div.boton-menu div.btn-line3{
		transform: rotate(-45deg);
	}
	.btn[type="checkbox"]:checked ~ div.boton-menu ul li:last-child{
		margin-top: -14px;
	}
}