*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
body{
	width: 100%;
	height: auto;
	margin: auto;
}
header{
	width: 100%;
	max-width: 1680px;
	height: 60px;
	margin: auto;
	background: rgba(255, 255, 255, 0.6);
	top: 0;
	left: 0;
	position: fixed;
	z-index: 1000;
}
.cabecera{
	width: 100%;
	margin: auto;
	display: flex;;
	flex-wrap: wrap;
	top: 0;
}
#logo{
	width: 90%;
	margin: auto;
	margin-left: 6%;
	top: 0;
}
#logo img{
	float: left;
 }
.log img{
	display: none;
 }
.data{
	width: 150px;
	text-decoration: none;
	list-style: none;
	margin-right: 6%;
	text-align: center;
	position: absolute;
	right: 2px;
	top: 10px;
}
.data img{
	float: center;
	margin: auto;
	margin-right: 0%;
	top: 5px;
}
.dat{
	display: none;
}
.data a{
	text-decoration: none;
	list-style: none;
	color: #d80061;
	text-align: center;
}
.data a:hover{
	text-decoration: none;
	list-style: none;
	color: #00A0E3;
	text-align: center;
}

#btn-menu{
	display: none;
}
header label{
	width: 10%;
	cursor: pointer;
	margin: 20px 0;
	display: none;
}
.menu{
	width: 50%;
	height: auto;
	margin: auto;
	margin-top: -50px;
	position: relative;
}

.menu ul{
	width: 100%;
	font-family: sans-serif;
	display: flex;
	list-style: none;
	justify-content: flex-end;
	position: absolute
}
.menu a{
	width: 122px;
	padding: 4px 10px;
	font-size: 1.4rem;
	color: #008A10;
	text-decoration: none;
}
.menu a:hover{
	width: 122px;
	height: 25px;
	color: #d80061;
	text-decoration: none;
}
.menu a:before{
	position: relative;
	display: block;
	content: "";
	top: 0;
	left: 0;
	width: 100%;
	height: 2px;
	background: #d80061;
	z-index: -1;
	margin-bottom: 10px;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.5s;
}
.menu a:hover:before{
	transform: scaleX(1);
	transform-origin: left;
}
.menu a:after{
	position: relative;
	display: block;
	content: "";
	bottom: 0;
	left: 0;
	width: 100%;
	height: 2px;
	background: #d80061;
	z-index: -1;
	margin-bottom: 10px;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.5s;
}
.menu a:hover:after{
	transform: scaleX(1);
	transform-origin: right;
}
.menu img{
	margin-top: -2px;
	margin-right: 2px;
}
.fixed{
	position: fixed;
	width: 100%;
	max-width: 1680px;
	margin: auto;
	justify-content: center;
	top: 0;
	border-radius: 0;
	z-index: 2000;
}

@media (min-width: 720px) and (max-width: 1020px){
	header label{
		display: block;
		width: 22px;
		height: 22px;
		margin: 22px;
	 }
	.menu a:before{
		display: none;
	}
	.menu a:hover:before{
		display: none;
	}
	.menu a:after{
		display: none;
	}
	.menu a:hover:after{
		display: none;
	}
	.cabecera{
		width: 100%;
		height: auto;
		margin: auto;
		background: none;
	 }
	#logo{
		display: none;
	}
	.log{
		width: auto;
		height: auto;
		margin-left: 0;
		margin-top: 0px;
	}
	.log img{
		width: auto;
		height: auto;
		margin: 10px;
		display: block;
		visibility: visible;
	}

	.data{
		display: none;
	}


	.dat{
		width: auto;
		height: auto;
		margin-right: 0;
		margin-top: 6px;
		display: block;
	}
	.dat img {
		width: auto;
		height: auto;
		margin: 0;
		display: block;
		visibility: visible;
		color: #d80061;
	}
	.dat a{
		width: auto;
		height: auto;
		font-size: 1.1rem;
		display: block;
		list-style: none;
		color: #d80061;
		text-align: center;
	}

	.dat a:hover{
		text-decoration: none;
		list-style: none;
		color: #00A0E3;
		text-align: center;
}
	.menu{
		width: 100%;
		height: auto;
		position: absolute;
		top: 120px;
		left: 0;
		width: 100%;
		height: auto;
		border-radius: 0;
		transform: translateX(-100%);
		transition: all 0.4s;
		align-content: center;
		z-index: 2000;
		box-shadow: 0px 0px 8px #fff;
		background: -webkit-linear-gradient(#1a9ef0, #001957  120%);
	}
	.menu a{
		left: 50px;
		color: #fff;
		text-decoration: none;
		position: relative;
	}
	.menu ul{
		box-shadow: 0px 0px 8px #fff;
		background: -webkit-linear-gradient(#1a9ef0, #001957  120%);
		display: block;
		opacity: 0.8;
	}
	.menu ul li:hover ul{
		display: none;
		position: static;
	}

	.menu a:hover{
		width: 100%;
		height: 25px;
		text-decoration: none;
		box-shadow: 0px 0px 8px #fff;
		background: -webkit-linear-gradient(#001957, #1a9ef0 100%);
		border-radius: 15px;
		text-align: center;
	}
	#btn-menu:checked ~ .menu{
		transform: translateX(0%);
	}

}


@media (min-width: 0) and (max-width: 720px){
	header label{
		display: block;
		width: 22px;
		height: 22px;
		margin: 22px;
		margin-top: 4px;
	 }
	.menu a:before{
		display: none;
	}
	.menu a:hover:before{
		display: none;
	}
	.menu a:after{
		display: none;
	}
	.menu a:hover:after{
		display: none;
	}
	.cabecera{
		width: 100%;
		height: auto;
		margin: auto;
		background: none;
	 }
	#logo{
		display: none;
	}
	.log{
		width: auto;
		height: auto;
		margin-left: 0;
		margin-top: 0px;
	}
	.log img{
		width: auto;
		height: auto;
		margin: 10px;
		display: block;
		visibility: visible;
	}

	.data{
		display: none;
	}


	.dat{
		width: auto;
		height: auto;
		margin-right: 0;
		margin-top: 6px;
		display: block;
	}
	.dat img {
		width: auto;
		height: auto;
		margin: 0;
		display: block;
		visibility: visible;
		color: #d80061;
	}
	.dat a{
		width: auto;
		height: auto;
		font-size: 1.1rem;
		display: block;
		list-style: none;
		color: #d80061;
		text-align: center;
	}

	.dat a:hover{
		text-decoration: none;
		list-style: none;
		color: #00A0E3;
		text-align: center;
}
	.menu{
		width: 100%;
		height: auto;
		position: absolute;
		top: 80px;
		left: 0;
		width: 100%;
		height: auto;
		border-radius: 0;
		transform: translateX(-100%);
		transition: all 0.4s;
		align-content: center;
		z-index: 2000;
		box-shadow: 0px 0px 8px #fff;
		background: -webkit-linear-gradient(#1a9ef0, #001957  120%);
	}
	.menu a{
		left: 50px;
		color: #fff;
		text-decoration: none;
		position: relative;
	}
	.menu ul{
		box-shadow: 0px 0px 8px #fff;
		background: -webkit-linear-gradient(#1a9ef0, #001957  120%);
		display: block;
		opacity: 0.8;
	}
	.menu ul li:hover ul{
		display: none;
		position: static;
	}

	.menu a:hover{
		width: 100%;
		height: 25px;
		text-decoration: none;
		box-shadow: 0px 0px 8px #fff;
		background: -webkit-linear-gradient(#001957, #1a9ef0 100%);
		border-radius: 15px;
		text-align: center;
	}
	#btn-menu:checked ~ .menu{
		transform: translateX(0%);
	}

}
