@charset "utf-8";
/* CSS Document */
@import url(http://fonts.googleapis.com/css?family=Josefin+Sans:300,400,600,700);

* {
	margin:0px;
	padding:0px;
	font-family: 'Josefin Sans', sans-serif;
}

body {
	background-color:rgba(0,0,0,1.00);
}
header {
	height:30px;
	background-color:rgba(243,182,4,1.00);
	padding: 30px 0px 20px 0px;
	-webkit-transition: background 0.6s ease-in;
	-moz-transition: background 0.6s ease-in;
	-o-transition: background 0.6s ease-in;
	-ms-transition: background 0.6s ease-in;
	transition: background 0.6s ease-in;
}
header:hover {
	background-color:black;
	-webkit-transition: background 0.6s ease-in;
	-moz-transition: background 0.6s ease-in;
	-o-transition: background 0.6s ease-in;
	-ms-transition: background 0.6s ease-in;
	transition: background 0.6s ease-in;
}
header a {
	text-decoration:none;
	color:hsla(0,0%,18%,1.00);
	font-weight:700;
	font-size:18px;
}
header a:hover {
	color:rgba(239,239,239,1.00);
}
main {
	height:700px;
	background-image:url(img/fondo.jpg);
	background-repeat:no-repeat;
	background-position:top;
}
section {
	color:white;
	}
#ado {
	margin:auto;
	width:40%;
	display:flex;
	flex-direction:row;
}
@media only screen and (max-width: 768px) {
#ado {
	width:90%;
	flex-wrap:wrap;
	align-content:center;
	text-align:center;
}
}
#foto {
	padding: 0 10px 0 0;
	margin:auto;
}
#fotos {
	padding-top:20px;
	width:55%;
	margin:auto;
	display:flex;
	flex-direction:row;
	flex-wrap:no-wrap;
	justify-content: space-around;
}
@media only screen and (max-width: 768px) {
#fotos {
	flex-wrap:wrap;
}
}
#materias {
	padding:20px 0 0 0;
	width:30%;
	margin:auto;
	text-align:center;
}
@media only screen and (max-width: 768px) {
#materias {
	width:90%;
}
}
footer {
	color:hsla(0,0%,38%,1.00);
	width:30%;
	margin:auto;
	padding:70px 0 40px 0;
}
footer img {
	height:30px;
	width:auto;
	margin-right:10px;
}
@media only screen and (max-width: 768px) {
	footer {
	width:90%;
	padding: 70px 5% 0 5%;
}
}