@keyframes opacidad {
 0% {
transform:scale(0);
opacity:0;
}
 100% {
transform:scale(1);
opacity:1;
}
}
/* @keyframes logo {	
10% {
background-position:-80px 0;
}
 20% {
background-position:-160px 0;
}
 30% {
background-position:-240px 0;
}
 40% {
background-position:-320px 0;
}
 50% {
background-position:-400px 0;
}
 60% {
background-position:-480px 0;
}
 70% {
background-position:-560px 0;
}
 80% {
background-position:-640px 0;
}
 90% {
background-position:-720px 0;
}
 100% {
background-position:-800px 0;
}
}*/

* {
	margin: 0;
	padding: 0;
}
html {
	font-size: 0.625em;
	height: 100%;
}
body {
	font-family: 'Open Sans', san-serif;
	font-size: 1.6rem;
	/*background: #f8f8f8;*/
	height: 100%;
}
::-moz-selection {
 color:white;
 background:#D50911;
}
::selection {
	color: white;
	background: #D50911;
}


header {
	height: 100%;
	position: relative;
	overflow:hidden;
}
header:after {
	content:"";
	display:block;
	background:rgba(0,0,0,0.5);
	width:100%;
	height:100%;
	position:absolute;
	top:0;
	left:0;
}
/*section {
	padding: 5px;
}
section{
	height:100%;
	position:relative;
}*/
html,body,#contenedor,header{
	height:100%;
}
/*****HEADER*****/
header #logo img {
	width: auto;
	height:auto;
}
#logo {
	position: absolute;
	top: 0;
	left: 50%;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
	z-index: 5000;
	width: 150px;
	height: 80px;
	background: #000;
}
#logo a {
	position: absolute;
	bottom: 10px;
	left: 50%;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
}
#cabecera {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 80%;
	z-index:50;
}

#cabecera h1 {
    font-size: 3.5rem;
    color: #fff;
    line-height: 1em;
    margin-bottom: 10px;
}
#cabecera h1:before {
	content:"";
    background: #b90021;
	display:block;
	width:35%;
	height:5px;
	margin-bottom: 3px;
}
#cabecera .subtitulo {
	font-size: 2.2rem;
    color: #ddd;
    line-height: 1.4em;
}
#fotoportada {
    position: absolute;
    top: 50%;
    left: 50%;
	transform:translate(-50%,-50%);
    z-index: -1;
    width: auto;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
}
.icon-up-open-big {
    color: #666;
    position: fixed;
    bottom: 10px;
    right: 0;
    z-index: 1;
    text-decoration: none;
    font-size: 2rem;
    background: rgba(212, 212, 212, 0.6);
    border-radius: 50%;
    box-sizing: border-box;
    -webkit-transition: 0.2s linear;
    transition: 0.2s linear;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
}
.icon-up-open-big:hover {
	color: #333;
	background: rgba(0, 0, 0, 0.2);
}
.icon-up-open-big span {
	display: none;
}

/*******BURGER***********/

.burger {
	z-index: 1000;
	position: fixed;
	width: 30px;
	height: 24px;
	cursor: pointer;
	right: 30px;
	top: 50px;
	transition: 0.4s;
}
.burger span {
	position: absolute;
	width: 30px;
	height: 4px;
	background: #000;
	left: 0;
	top: 50px;
	transition: 0.1s;
}
.burger span:nth-of-type(1) {
	top: 0;
}
.burger span:nth-of-type(2) {
	top: 10px;
}
.burger span:nth-of-type(3) {
	top: 20px;
}
.burger:hover span:nth-of-type(1) {
	top: 2px;
}
.burger:hover span:nth-of-type(3) {
	top: 18px;
}
.burger.burger-click span:nth-of-type(1) {
	transform: rotate(45deg);
	top: 50%;
}
.burger.burger-click span:nth-of-type(2) {
	opacity: 0;
}
.burger.burger-click span:nth-of-type(3) {
	transform: rotate(-45deg);
	top: 50%;
}
.burger.burger-click:before {
	content: "";
}
.burger:before {
	content: "MENU";
	display: block;
	font-weight: 700;
	position: absolute;
	top: 50%;
	left: -220%;
	transform: translateY(-50%);
	opacity: 0;
	transition: 0.3s;
}
.burger:hover:before {
	left: -200%;
	opacity: 1;
}
/*******MENU***********/
nav {
	position: fixed;
	width: 100%;
	height: 100%;
	background: #333;
	text-align: center;
	top: 0;
	left: 0;
	z-index: 50;
	opacity: 0;
	visibility: hidden;
	transform: scale(1.1);
	transition: 0.2s linear;
}
nav.visible {
	opacity: 1;
	visibility: visible;
	transform: scale(1);
}
#menu {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	list-style: none;
	font-weight: 700;
	font-size: 2rem;
	text-transform: uppercase;
}
#menu li {
	cursor: pointer;
	transition: 0.2s;
}
#menu li:hover {
	transform: scale(1.1);
}
header h2 {
	text-transform: uppercase;
	width: 90%;
	text-align: center;
	margin: 60px auto;
	margin-bottom: 80px;
	font-size: 3rem;/*  position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);*/
}
#arrow {
    width: 40px;
    height: 40px;
    position: absolute;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    transition: 0.2s;
    cursor: pointer;
    z-index: 9999999;
    text-align: center;
    color: #fff;
    line-height: 40px;
    border: 1px solid #fff;
    border-radius: 50%;
    font-size: 2rem;
}
#arrow:hover {
	bottom: 20px;
}
/*COLORES*/
section:nth-of-type(2n+1) {
	background:  #222/*#3A353F*/;
	border: 5px solid #222/*#3A353F*/;
	box-sizing:border-box;
}
section:nth-of-type(2n+2) {
	background: #f8f8f8;
	border: 5px solid #f8f8f8;
	box-sizing:border-box;
}

/*NUMEROS*/
.num {
	color: #fff;
	font-weight: 700;
	font-size: 4rem;
	position: absolute;
	top: 50%;
	left: 10px;
	transform: translateY(-50%);
	border-bottom: 4px solid #fff;
	display: none;
}
/*MIGAS*/
#migas {
	display: none;
}
/*******CONTENIDO*********/
section img {
    width: 100%;
    height: auto;
    display: block;
}
/*.arriba {
	width: 100%;
	height: 3px;
	position: absolute;
	top: 0;
	left: 0;
	background: #fff;
	transition: 0.1s 0.2s;
}
.derecha {
	height: 100%;
	width: 3px;
	position: absolute;
	top: 0;
	right: 0;
	background: #fff;
	transition: 0.1s 0.15s;
}
.abajo {
	width: 100%;
	height: 3px;
	position: absolute;
	bottom: 0;
	right: 0;
	background: #fff;
	transition: 0.1s 0.1s;
}
.izquierda {
	height: 100%;
	width: 3px;
	position: absolute;
	bottom: 0;
	left: 0;
	background: #fff;
	transition: 0.1s 0.05s;
}*/
.info {
    position: relative;
}
/*.info:hover .arriba {
	transition: 0.1s 0.05s;
}
.info:hover .derecha {
	transition: 0.1s 0.1s;
}
.info:hover .abajo {
	transition: 0.1s 0.15s;
}
.info:hover .izquierda {
	transition: 0.1s 0.2s;
}
.info span {
	visibility: hidden;
}
.info:hover span {
	visibility: visible;
}*/
.info div {
	background: rgba(255, 255, 255, 0.8);
	padding: 30px;
	box-sizing: border-box;
}
.info div h2 {
	text-transform: uppercase;
	font-size: 2.5rem;
	position: relative;
	display: inline-block;
	font-weight: 600;
	color:#555;
}
.info div h2:after {
	content: "";
	display: inline-block;
	position: absolute;
	width: 100%;
	height: 4px;
	background: #555;
	bottom: 0;
	left: 0;
}
.info h3 {
    font-size: 2.4rem;
    font-weight: 300;
    margin: 10px 0 20px;
    line-height: 1em;
}
.info div p {
    font-size: 1.6rem;
    line-height: 1.4em;
}

/*****AUTOR*****/
#autor {
	border-top: 1px solid #ddd;
	text-align: center;
	max-width: 1200px;
	margin: 15px auto;
	font-size: 1.4rem;
}
#autor li {
	display: inline-block;
	vertical-align: top;
	padding: 2px 10px;
}
/**********SOCIAL********/
article footer {
	background: none;
	top: 0;
	position: static;
	padding: 0;
}
/******************/
#social {
	text-align: center;
	margin: 40px 0;
}
#social li {
    display: inline-block;
    margin: 0 5px;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    box-sizing: border-box;
}
#social a {
	color: #000;
	text-decoration: none;
	border: 2px solid #000;
	border-radius: 50%;
	padding: 10px;
	display: block;
	transition: 0.2s linear;
	line-height: 25px;
	height: 25px;
}
#social span {
	display: none;
}
#social .icon-facebook {
	color: #3b5998;
	border-color: #3b5998;
}
#social .icon-facebook:hover {
	color: #fff;
	background: #3b5998;
}
#social .icon-twitter {
	color: #55acee;
	border-color: #55acee;
}
#social .icon-twitter:hover {
	color: #fff;
	background: #55acee;
}
#social .icon-gplus {
	color: #dd4b39;
	border-color: #dd4b39;
}
#social .icon-gplus:hover {
	color: #fff;
	background: #dd4b39;
}
#social .icon-whatsapp {
	color: #4dc247;
	border-color: #4dc247;
}
#social .icon-whatsapp:hover {
	color: #fff;
	background: #4dc247;
}
/****FOOTER****/
footer {
	background: #fff;
	width: 100%;
	padding: 20px;
	box-sizing: border-box;
	position: relative;/*	top:150px;*/
}
.pie-container {
	max-width: 750px;
	padding: 0 !important;
}
article footer:before {
	content: "";
	display: none;
}


@media screen and (min-width:720px) {
header {
	min-height: 800px;}
#contenedor, #contenido {
	height: 100%;
}
#logo {
	position: fixed;
}
#logo {
	left: 50px;
	-webkit-transform: translateX(0);
	transform: translateX(0);
}
header h2 {
	font-size: 4rem;
	width: 60%;
}
#cabecera {
    transform: translateY(-50%);
	right: 4%;
    width: 50%;
	top:50%;
}
#cabecera h1 {
    font-size: 4rem;
	    margin-bottom: 20px;
}
section {
	/*height: 100%;*/
	position: relative;
	/*padding: 30px 100px;*/
	box-sizing: border-box;
}
.num {
	display: block;
}
.info {
/*	position: absolute;
    bottom: 20px;
    right: 20px;*/
    width: 100%;
    box-sizing: border-box;
}
/*MIGAS*/
#migas {
    display: block;
    position: fixed;
    top: 50%;
    color: #fff;
    z-index: 40;
    left: 50px;
    text-align: right;
    list-style: none;
    width: 2px;
    background: #dfdfdf;
    /* height: 80%; */
    transform: translateY(-50%);
}
#migas li {
    position: relative;
    border: 2px solid #dfdfdf;
	background:#fff;
    width: 15px;
    border-radius: 50%;
    margin-bottom: 50px;
    cursor: pointer;
    left: 50%;
    transform: translateX(-50%);
    height: 15px;
    box-sizing: border-box;
}
#migas li:last-of-type {
    margin-bottom: 0;
}
#migas li.activo {
	background: #b90021;
}
#migas span {
    position: absolute;
    top: -40%;
    left: 20px;
    white-space: pre;
    background: #333;
    display: block;
    padding: 0 5px;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s;
    text-transform: uppercase;
    font-weight: 700;
    transform: scale(0.8);
    transform-origin: 0 100%;
}
#migas li:before {
    content: "";
    border: 2px solid #333;
    border-radius: 50%;
    background: #333;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: 0.1s;
    width: 8px;
    height: 8px;
    box-sizing: border-box;
}
#migas li:hover:before {
	transform: translate(-50%, -50%) scale(1);
}
#migas li:hover span {
	opacity: 1;
	visibility: visible;
	transform: scale(1);
}
#migas li.activo span {
	opacity: 1;
	visibility: visible;
	transform: scale(1);
}
#migas li.activo:before {
    content: none;
}
}

@media screen and (min-width:1100px) {
#menu {
	font-size: 3rem;
}
section {
	height: 100%;
	overflow:hidden;
}
section img{
	width: 100%;
}
.info {
    position: absolute;
    bottom: 0;
    width: 46%;
    right: 0;
    box-sizing: border-box;
    max-width: 550px;
}
section:nth-of-type(2) .info,section:nth-of-type(3) .info,section:nth-of-type(4) .info,section:nth-of-type(5) .info {
    top: 0;
}
.info div {
    padding: 15px 25px;
	/*height: 100%;*/
}
}
