*{
	margin: 0;	
	padding: 0;
	box-sizing: border-box;
}	
body{
	background:#000 url('img/bg.jpg');
	background-size: cover;
	background-attachment: fixed;
	font-family: 'open sans', sans-serif;
	font-size: 16px;

}
.contenedor{
	width: 80%;
	max-width: 1000px;
	margin: 20px auto;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}
header{
	background: #fff;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	padding: 10px;
}

.logo img{
	/*margin-top: 20px;*/
	height: 140px;
	/*padding: 10px;*/
}
header{
	width: 100%;
	padding-bottom: 20px;

}
header .menu{
	padding:0 20px;
}
header .menu a{
	text-decoration: none;
	color:#f80000;
	font-size: 18px;
}
header .menu a:hover{
	text-decoration: underline;
	padding: 5px;
	font-size: 21px;
}
.main{
	padding: 0 15px;
	width: 100%;
	background: #fff;
}
.main article .thumbail img{
	width: 100%;
	vertical-align: top;
	margin-bottom: 20px;
}
.main h2{
	font-size: 32
	font-weight:normal;
	margin-bottom: 10px;
}
.main p{
	font-size: 14px;
	margin-bottom: 10px;
	line-height: 27px;
}

aside{
	width: 30%;
	background: #b2b2b2;
	padding: 10px;
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	justify-content: space-between;
}
.ad{
	padding: 50px 0;
	font-size: 30px;
	text-align: center;
	color:#fff;
	background: #f80000;

}
footer{
	margin: 20px 0;
	width: 100%;
	background: rgba(0,0,0,.8);
	color: #fff;
	padding:10px;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
}
footer a{
	text-decoration: none;
	color: #fff;
	margin-left: 10px;
}
footer a:hover{
	text-decoration: underline;
	font-size: 18px;
}
@media screen and (max-width: 800px) {
	.main{
		width: 100%;
	}
	aside{
		width: 100%;
		flex-direction: row;
	}
	aside .ad{
		width: 40%
	}
	
}
@media screen and (max-width: 680px){
	header{
	flex-direction: column;
	padding-bottom: 20px;
	}
	header .menu{
		width: 100%;
		background: rgba(0,0,0, .4);
		text-align: center;
	}
	header .menu a{
		color: #fff;
	}
	header .menu a:hover{
		text-decoration: underline;
		font-size: 16px;
	}
	aside{
		flex-direction: column;
	}
	aside .ad{
		
		margin-bottom: 10px;
		width: 100%;
	}
	footer{
		flex-direction: column;
		flex-wrap: nowrap;
		text-align: center;
	}
	footer .autor{
		order:2;
	}
	footer .rrss{
		order:1;
	}
}
