/*esto es un comentario*/
@charset "UTF-8";

/*Reseteo universal*/
* {
	border: 0;
	margin: 0;
	padding-bottom: 0;
	padding-left: 17px;
	padding-right: 0;
	padding-top: 0;
}
article,figcaption,figure,footer,header,hgroup,nav,section {
	display:block;
}
/*enlazar la fuente*/
/*@font-face {
    font-family: "chalet";
    src: url("../fonts/chalet.eot");
    src: url("../fonts/chalet.eot?#iefix") format("embedded-opentype"),
		  url("../fonts/chalet.woff") format("woff"),
		  url("../fonts/chalet.ttf") format("truetype"),
		  url("../fonts/chalet.svg#chalet") format("svg");
    font-weight: normal;
    font-style: normal;
}*/
/*Estilos del sitio*/
body {
	background:#212121 url(../img/fondo.jpg);
	color: #fff;
	font-family:"Chalet", Helvetica, Verdana;
/*16px=12pt=100%=1em*/
	font-size:1em;
}
a {
	Color: #57abb8;
	font-weight: bold;
	text-decoration: none;
}
a:hover {
	color:#f60;
}
figcaption {
	font-size: 0.85em;
	padding: 0.25em;
	text-align: center;
}
img, video {
	max-width:100%;
}

h1 {
	color: #FF6600;
	font-size: 1.5em;
	margin: 0.25em, auto;
	text-align: center;
	text-shadow: 5px 5px 10px rgba(255,255,255,0.5);
	margin: 0.5em;
}
p {
	text-align: justify;
	padding: 0.5em;
	color: #FFFFFF;
}
header, section#contenedor, footer { 
	background: #FFF url(../img/fondo-interno.jpg);
	margin: 0.5em, auto;
	max-width: 90%;
	text-align: center;
	padding: 0.25em;
	border-radius: 0.5em;
} 
header h2, nav {
	display: inline-block;
	max-width: 100%;
	vertical-align: middle;
}
nav ul {
	list-style: none;
}
nav ul li {
	display:inline-block;
	padding: 0.1em;
	vertical-align: top;
}
nav ul li a {
	background: #FFF;
	border: 0.1em solid #57ABB8;
	border-radius: 0.25em;
	color: #f60;
	display: block;
	font-family: "chalet", Helvetica, Verdana;
	font-size: 1.1em;
	padding: 0.2em;
	-ms-transition: all 0.5s ease-in;
	-moz-transition: all 0.5s ease-in;
	-o-transition: all 0.5s ease-in;
	-webkit-transition: all 0.5s ease-in;
	transition: all 0.5s ease-in;
}

nav ul li a:hover {
	background: #212121;
	border: 0.1em dashed #F60;
	border-radius: 0 0.5em 0 0.5em;
	color: #FFF;
	-ms-transition: all 0.5s ease-out;
	-moz-transition: all 0.5s ease-out;
	-o-transition: all 0.5s ease-out;
	-webkit-transition: all 0.5s ease-out;
	transition: all 0.5s ease-out;
}

section#Assignments, aside {
	background: #1E6381;
	border-radius: 0.5em;
	display: inline-block;
	margin: auto;
	max-width:100%;
	vertical-align: top;
	width: 30%;
}
article#Assignment-img {
	border-radius: 0.5em;
	margin: 0.5em;
	padding: 0.5em;
	text-align: left;
	width: 95%;
}
section#contenedor-Assignments { 
	background: #FFF url(../img/fondo-interno.jpg);
	margin: 0.5em, auto;
	max-width: 90%;
	text-align: center;
	padding: 0.25em;
	border-radius: 0.5em;
} 
section#Assignments-Assignments {
	background: #1E6381;
	border-radius: 0.5em;
	display: inline-block;
	margin: auto;
	max-width:100%;
	vertical-align: top;
	width: 95%;
}
article#about {
	border-radius: 0.5em;
	margin: 0.5em;
	padding: 0.5em;
	text-align: left;
	width: 90%;
}
aside {
	width: 65%;
}
aside img {
	border-radius: 0.5em;
}
header figure, header h2 {
	display:inline-block;
}

footer, footer p{
	border: 0;
	color: #000;
	font-size: 0.85em;
	padding: 0.3em 0;
	text-align: center;
}
.fade {
	-ms-transition: all 0.5s ease-in;
	-moz-transition: all 0.5s ease-in;
	-o-transition: all 0.5s ease-in;
	-webkit-transition: all 0.5s ease-in;
	transition: all 0.5s ease-in;
	opacity: 1;
	filter:alpha(opacity=10);
}
.fade:hover {
	-ms-transition: all 0.5s ease-out;
	-moz-transition: all 0.5s ease-out;
	-o-transition: all 0.5s ease-out;
	-webkit-transition: all 0.5s ease-out;
	transition: all 0.5s ease-out;
	opacity: 0.5;
	filter:alpha(opacity=5);
}
/*a partir de ahora vienen las "media query"*/
@media (min-width:1081px) {
	header h2 {
		text-align: left;
		width: 35%;
	}
	nav {
		text-align: right;
		width: 60%;
	}
	img {
	width:100%;
	}
	table#1x1 {
		width: 40%;
	}
}
@media (max-width:1080px) {
	nav li {
		font-size: 1.3em;
	}
	article#Assignments-img {
		width: 90%;
	}
	aside {
		width: 55%;
	}
	img {
	width:100%;
	}
}
@media (max-width:800px) {
	nav li {
		font-size: 1.3em;
	}
	article#Assignments-img {
		width: 90%;
	}
	aside {
		width: 55%;
	}
	img {
	width:100%;
	}
}
@media (max-width:600px) {
	nav li {
		display: inline-block;
		margin: 0px;
		width: 98%;
	}
	section#Assignments, aside {
	display: block;
	margin-bottom: 0.2em;
	width: 95%;
	}
	img {
	width:100%;
	}
	table#1x1 {
		width: 100%;
	}
}
