@charset "utf-8";

@font-face {
font-family: Azonix;
	src: url("../fonts/Azonix.otf");
}

*{
 margin: 0;
 padding: 0;
}

body, html {
	font-family: Azonix;
	margin:0;
	padding:0;
	top:0;
	bottom:0;
}

h1 {
	color: white;
	font-family: Azonix;
	font-size: 5rem;
	letter-spacing: 1px;
	padding-top: 30px;
	padding-left: 20px;
}

h2 {
	text-align: center;
	padding-top: 20px;
	color: white;
}
header {
	height:300px;
	
}

.header_fondo {
	background-image: url(../img/12.jpg); 
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	width: 100%;
	height: 200px;
}

.menu, .menu ul, .menu li, .menu a {
	margin: 0;
	padding: 0;
	border: none;
	outline: none;
}

.menu {
	height: 40px;
	width: 100%;
	background-color: black;
	margin-top: 69px;
}

.menu li {
	position: relative;
	list-style: none;
	float: left;
	display: block;
	height: 40px;
}

.menu a {
	display: block;
	padding: 0 44px;

	margin: 6px 0;
	line-height: 28px;
	text-decoration: none;


	color: #fff;

	border-left: 1px solid #393942;
	border-right: 1px solid #4f5058;

	transition: color .2s ease-in-out;
	transition: font-size .4s ease-in-out;
}


/*.menu li:hover > a {
	color: #d1e1f9;
	font-size:20px;

	transition: font-size .2s ease-in-out;
}*/

.menu li > ul > li{
	background: #666666;
	width: 360px;
	border-radius: 0 0 5px 5px;
	opacity:0;
	color: white;
	font-size: 10px;
}
.menu li > ul > li:hover{
	font-size: 20px;
	color: #d1e1f9;	
}
.menu ul {
	position: absolute;
	background: #666666;
	border-radius: 0 0 5px 5px;
	transition: opacity .2s ease .2s;
}

.menu li:hover > ul {
	opacity: 1;
}

.menu ul li {
	height: 0;
	overflow: hidden;
	padding: 0;

	transition: height .2s ease .1s;
}

.menu li:hover > ul li {
	height: 36px;
	overflow: visible;
	padding: 0;
	opacity:1;
	transition:opacity .3s;
}



#iFrameResizer0{
	width: 70%;
	height:100%;
	margin-left: 20%;
	border: 0;
}

#main{
	min-height: 800px;
	margin:0px;
	padding:0px;
	display:flex;
	display:-o-flex;
	display:-webkit-flex;
	flex-direction:row;
	-webkit-flex-direction:row;
	-o-flex-direction:row;
	font-size:14px;
}
#main > nav {
	order:1;
	-webkit-order:1;
	-o-order:1;
	flex-basis:20%;
	flex-grow:1;
	flex-shrink:6;
}

#main > article{
	display: flex;
	margin:4px;
	padding:2px;
	background-color:white;
	flex-grow:3;
	flex-shrink:1; 
	flex-basis:60%;
	order:2;
	-webkit-order:2;
	-o-order:2;
	margin-top: -20px;
}

#main > aside{
	display: flex;
	margin:4px;
	padding:4px;
	background-color:white;
	order:3;
	-webkit-order:3;
	-o-order:3;
	flex-basis:10%;
	flex-grow:1;
	flex-shrink:6;
	flex-direction: column;
	background-color: #4d4dff;
	padding-right: -100px;
	margin-top: -40px;
    margin-left:;
	margin-right: 40px;
	margin-bottom: 40px;
	border: 4px solid black;
	border-radius: 7px;
	box-shadow:5px 5px 25px 5px;
}

img {
	border: 3px solid #cceeff;
	border-radius: 7px;
}
.box1, .box2 {
	width: 64%;
	height: 30%;
	margin-bottom: 5px;
	padding-left: 50px;
	padding-top: 40px;
}

.box3 {
	width: 64%;
	height: 30%;
	padding-left: 50px;
	padding-top: 40px;
	padding-bottom: 40px;
}


footer {
	display: flex;
	min-height: 100px;
	background-image: url(../img/Wall-E3.png);
	padding-top: 20px;
	padding-left: 20px;
	color: white;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	order: 4;
	font-family: sans serif;
}

@media (max-width:933px){
	
	#main {
		flex-flow: wrap;
	}
	
	
	.menu a {
		padding: 0 16px;
		font-size: 10px;
	}
	
	aside {
	margin:auto;
	font-size: 10px;
	min-width: 110px;
    }
	.box1, .box2, .box3{
	margin-right:100%;
	}
	
	article {
	margin-right:4%;
	margin-left: 0;
	display:block;
	height:550px;
	flex-direction:column;
	flex-wrap:wrap;
	margin:auto;
    }
	
	img {
		margin-left:-48px;
		min-width: 100px;
	}
	
	
}
