*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code,  del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video{
  margin:0;
  padding:0;
  text-decoration:none;
  font-family: inherit;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  outline:none;
  border:none;
  font-size: 100%;
  list-style:none;
  color:#000;
  vertical-align: baseline;
  -webkit-text-size-adjust:none;
  -webkit-font-smoothing: antialiased;
}
*, *:before, *:after {
    box-sizing: border-box;
}
:focus { outline: 0;}
a, a:link, a:visited, a:hover, a:active{text-decoration:none}
table { border-collapse: separate;border-spacing: 0;}
th, td {text-align: left; font-weight: normal;}

html{
  position: absolute;
  width:100%;
  min-height:100%;
}

body{
  position: absolute;
  width:100%;
  min-height:100%;
  margin:0;
  padding:0;
}

/*---------------------------------------------------------------------RESET---------------------------------------------------------*/

/*-------------------------------------------------------------------------------------*/
/*-------------------------------------------------INTRODUCCIÓN-------------------*/



body{
    font-family: "Wire One", "Century Gothic","Helvetica", sans-serif;
    font-weight: 700;
    font-size: 40px;
    background-image: url(../img/fondo.jpg);

}

/*.load{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:#fff url(../img/loading.gif) no-repeat center;
    background-size: contain;
    z-index: 1000000000;
}*/

.wrapper{
    width: 100%;
    height: auto;
}

.alto-ventana{
  min-height: 500px;
}

header{
  z-index: 9999;
  position: relative;
}

nav ul{
  width: 80%;
  position:absolute;
  float: left;
  top:0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  margin-top: 432px;
  margin-left: 4%;
  margin-right: 20%;
}

nav ul li:not(.medio){
    width: 70px;
    height: 70px;
    list-style: none;
    float:right;
    border-radius:100px;
    border: 2px #EEADF5 solid;
}

.medio{
  width: 70px;
    height: 70px;
    list-style: none;
    float:right;
  border-radius: 0px;
  background-color: transparent;
  border-bottom: 2px #FE08BE solid;
  margin-top: -33px;
  -webkit-box-shadow: 0px 7px 0px 0px rgba(173,71,173,0.5);
  -moz-box-shadow: 0px 7px 0px 0px rgba(173,71,173,0.5);
  box-shadow: 0px 7px 0px 0px rgba(173,71,173,0.5);
  border: none;
}

nav ul li:hover:not(.medio){
    color:#0bb195;
    -webkit-transform:scale(1.1);
    -moz-transform:scale(1.1);
    -ms-transform:scale(1.1);
    transform:scale(1.1);
    border-color:  #EA45A8;
}

#sobremi:hover{
    -webkit-transform:scale(1.1);
    -moz-transform:scale(1.1);
    -ms-transform:scale(1.1);
    transform:scale(1.1);
    border-color: #EEADF5;
}

#sobremi{
  background-image: url(../img/bigbang.png);
  background-repeat: no-repeat;
  background-size: 65px;
  background-position: 1px;
  opacity: 0.3;
}

#futurismo{
  background-image: url(../img/dinosaurio.png);
  background-repeat: no-repeat;
  background-size: 57px;
  background-position: 3px;
}

#presente{
  background-image: url(../img/prehistoria.png);
  background-repeat: no-repeat;
  background-size: 33px;
  background-position: 17px;
}

#sxix{
  background-image: url(../img/vikingo.png);
  background-repeat: no-repeat;
  background-size: 56px;
  background-position: 4px;
}

#rrcc{
  background-image: url(../img/rrcc.png);
  background-repeat: no-repeat;
  background-size: 58px;
  background-position: 2px;
}

#vikingo{
  background-image: url(../img/sxix.png);
  background-repeat: no-repeat;
  background-size: 58px;
  background-position: 4px;
}

#prehistoria{
  background-image: url(../img/barrio.png);
  background-repeat: no-repeat;
  background-size: 50px;
  background-position: 10px;
}

#dinosaurio{
  background-image: url(../img/futurismo.png);
  background-repeat: no-repeat;
  background-size: 50px;
  background-position: 10px;
}

#inicio{
  background-image: url(../img/sobremi.png);
  background-repeat: no-repeat;
  background-size: 50px;
  background-position: 10px;
}

.astronauta{
   width: 70%;
   height: 280px;
   background-image: url(../img/astronauta.png);
   background-repeat: no-repeat;
   background-size: 14.5%;
   float:right;
   position: absolute;
   top:0;
   right:0;

}

.astronauta:hover{
    -webkit-transform:scale(1.1);
    -moz-transform:scale(1.1);
    -ms-transform:scale(1.1);
    transform:scale(1.1);
}


footer{
    width: 100%;
    height: 7.5%;
    position: fixed;
    bottom: 0px;

}

h3{
    color: rgb(203, 201, 201);
    font-size: 16px;
    text-align: center;
    letter-spacing: 2px;
}


/*-------------------------------------------------------------------------------*/

@media only screen and (max-width: 1539px) {

nav{
  width: 124%;
  -webkit-transform:scale(0.9);
    -moz-transform:scale(0.9);
    -ms-transform:scale(0.9);
    transform:scale(0.9);
    margin-left: -87px;
}

li{
  -webkit-transform:scale(1.1);
    -moz-transform:scale(1.1);
    -ms-transform:scale(1.1);
    transform:scale(1.1);
}

.medio{
  -webkit-transform:scale(1);
    -moz-transform:scale(1);
    -ms-transform:scale(1);
    transform:scale(1);
}

.medio:hover{
  -webkit-transform:scale(1);
    -moz-transform:scale(1);
    -ms-transform:scale(1);
    transform:scale(1);
}
}
@media only screen and (max-width: 1242px) {

nav{
  width: 154%;
  -webkit-transform:scale(0.8);
    -moz-transform:scale(0.8);
    -ms-transform:scale(0.8);
    transform:scale(0.8);
    margin-left: -236px;
}

li{
  -webkit-transform:scale(1.1);
    -moz-transform:scale(1.1);
    -ms-transform:scale(1.1);
    transform:scale(1.1);
}

.medio{
  -webkit-transform:scale(1);
    -moz-transform:scale(1);
    -ms-transform:scale(1);
    transform:scale(1);
}

.medio:hover{
  -webkit-transform:scale(1);
    -moz-transform:scale(1);
    -ms-transform:scale(1);
    transform:scale(1);
}
.astronauta{
  background-size: 22.5% auto;
}
}
@media only screen and (max-width: 1000px) {

nav{
  width: 202%;
  -webkit-transform:scale(0.6);
    -moz-transform:scale(0.6);
    -ms-transform:scale(0.6);
    transform:scale(0.6);
    margin-left: -360px;
    margin-top: 93px;
}

li{
  -webkit-transform:scale(1.1);
    -moz-transform:scale(1.1);
    -ms-transform:scale(1.1);
    transform:scale(1.1);
}

.medio{
  -webkit-transform:scale(1);
    -moz-transform:scale(1);
    -ms-transform:scale(1);
    transform:scale(1);
}

.medio:hover{
  -webkit-transform:scale(1);
    -moz-transform:scale(1);
    -ms-transform:scale(1);
    transform:scale(1);
}

.astronauta{
  background-size: 25.5% auto;
}
}
@media only screen and (max-width: 761px) {
nav{
  width: 67%;
  height: 500px;
  -webkit-transform:scale(1.2);
    -moz-transform:scale(1.2);
    -ms-transform:scale(1.2);
    transform:scale(1.2);
    margin-left: 50px;
    margin-top: -203px;
}



nav ul li{
    width: 70px;
    height: 70px;
    margin-left: 20px;
    margin-top: 20px;
}

.medio{
  display:none;
}

.astronauta{
  background-size: 28.5% auto;
}

footer{
    -webkit-transform:rotate(-90deg);
    -moz-transform:rotate(-90deg);
    -ms-transform:rotate(-90deg);
    transform:rotate(-90deg);
    transform: rotate(-90deg);
    opacity: 0.4;
    bottom: 116px;
    left: -320px;
}
}

@media only screen and (max-width: 600px) {
  nav{
  width: 75%;
  height: 500px;
  -webkit-transform:scale(1.2);
    -moz-transform:scale(1.2);
    -ms-transform:scale(1.2);
    transform:scale(1.2);
    margin-left: 50px;
    margin-top: -203px;
}



nav ul li{
    width: 70px;
    height: 70px;
    margin-left: 20px;
    margin-top: 20px;
}

.medio{
  display:none;
}

.astronauta{
  background-size: 28.5% auto;
}

footer{
    -webkit-transform:rotate(-90deg);
    -moz-transform:rotate(-90deg);
    -ms-transform:rotate(-90deg);
    transform:rotate(-90deg);
    transform: rotate(-90deg);
    opacity: 0.4;
    bottom: 116px;
    left: -247px;
}
}

@media only screen and (max-width: 516px) {
  nav ul{
  width: 52%;
  position:absolute;
  top:0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  margin-top: 337px;
  margin-left: 2%;
}

nav ul li{
    width: 65px;
    height: 65px;
    list-style: none;
    border-radius:100px;
    margin-left: 46px;
    margin-bottom: 35px;
}

.astronauta{
  background-size: 29.5% auto;
}


footer{
    -webkit-transform:rotate(-90deg);
    -moz-transform:rotate(-90deg);
    -ms-transform:rotate(-90deg);
    transform:rotate(-90deg);
    transform: rotate(-90deg);
    opacity: 0.4;
    bottom: 116px;
    left: -137px;
}
}