@charset "utf-8";
/* CSS Document */

@media screen and (max-width: 1024px){
#menu-bar {
	display: none;
	}

.cabecera label {
	float: right;
	font-size: 70px;
	margin: 15px 0;
	cursor: pointer;
	overflow: hidden;
	}
	
.menu {
	position: absolute;
	top: 100px;
	left: 0;
	width: 100%;
	height: 100vh;
	background: #004DEC;
	transition: all 0.5s;
	transform: translateX(-100%);
	z-index: 200;
	font-size: 60px;
}

.menu a {
	display: block;
	color: #000;
	height: 80px;
	text-decoration: none;
	padding: 10px;
	border-bottom: 1px solid rgba(0,0,0,0.2);
}
.menu a:hover {
	background: rgba(0,0,0,0.3);
	color: #fff;
	}
#menu-bar:checked ~ .menu {
	transform: translateX(0%);
}
	
	
	
/*menu1 debajo del texto*/

#menu-down {
	display: none;
}

p.menu-bajo {
	max-width: 400px;
	color: #004DEC;
	font-size: 60px;
	cursor: pointer;
	padding-bottom: 80px;
	}
	
.menu1 {
	font-size: 60px;
	position: relative;
	bottom: 570px;
	width: 100%;
	height: 400px;
	background: rgba(255,255, 255, 1);
	transition: all 0.6s cubic-bezier(x1,y1,x2,y2) 0s;
	transform: translateY(-1500%);
	border-top: 1px solid rgba(0,0,0,0.2);
	border-radius: 20px;
    margin: auto;
    
}

.menu1 a {
	background: rgba(0,0, 0, 0.1);
	display: block;
	color: #000;
	height: 80px;
	text-decoration: none;
	padding: 10px;
	border-bottom: 1px solid rgba(0,0,0,0.2);
	border-right: 1px solid rgba(0,0,0,0.2);
	border-left: 1px solid rgba(0,0,0,0.2);
	border-radius: 10px;
}
.menu1 a:hover {
	background: rgba(0,0,0,0.3);
	color: #fff;
	}
	
#menu-down:checked ~ .menu1 {
	transform: translate(-0.5%,5%);
}

@media screen and (orientation: landscape){

#menu-bar {
	display: none;
	}

.cabecera label {
	float: left;
	margin-top: 5px;
	font-size: 40px;
	cursor: pointer;
	overflow: hidden;
	}
	
.menu {
	position: absolute;
	top: 50px;
	left: 0;
	width: 100%;
	height: 100vh;
	background: #004DEC;
	transition: all 0.5s;
	transform: translateX(-100%);
	z-index: 200;
	font-size: 30px;
}

.menu a {
	display: block;
	color: #000;
	height: 40px;
	text-decoration: none;
	padding: 0px;
	border-bottom: 1px solid rgba(0,0,0,0.2);
	padding-left: 10px;
}
.menu a:hover {
	background: rgba(0,0,0,0.3);
	color: #fff;
	}
#menu-bar:checked ~ .menu {
	transform: translateX(0%);
}

/*********************************************************/
	
p.menu-bajo {
	max-width: 350px;
	color: #004DEC;
	font-size: 36px;
	cursor: pointer;
	padding-bottom:0px;
	}
	
.menu1 {
	font-size: 30px;
	position: relative;
	bottom: 300px;
	left: 0;
	width: 100%;
	height: 250px;
	background: rgba(255,255, 255, 1);
	transition: all 0.6s cubic-bezier(x1,y1,x2,y2) 0s;
	transform: translateY(-1500%);
	border-top: 1px solid rgba(0,0,0,0.2);
	border-radius: 10px;
}

.menu1 a {
	background: rgba(0,0, 0, 0.1);
	display: block;
	color: #000;
	height: 50px;
	text-decoration: none;
	padding-top: 10px;
	border-bottom: 1px solid rgba(0,0,0,0.2);
	border-right: 1px solid rgba(0,0,0,0.2);
	border-left: 1px solid rgba(0,0,0,0.2);
	border-radius: 10px;
}

.menu1 a:hover {
	background: rgba(0,0,0,0.3);
	color: #fff;
	}
	
#menu-down:checked ~ .menu1 {
	transform: translate(-0.5%,5%);
}	
	
}
}