/*! 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;
}

.wrapper{
    width:95%;
    height: 562px;
}

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

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

.principal{
  position:absolute;
  float: left;
  top:0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  margin-top: 37px;
  margin-left: 4%;
  margin-right: 20%;
}

nav ul li{
    width: 70px;
    height: 70px;
    list-style: none;
    float:right;   
}

.medio{
  width: 60px;
  height: 60px;
  border-radius: 0px;
  background-color: transparent;
  border-bottom: 6px #000 solid;
  margin-top: -22px;
}

nav ul li:hover, nav ul li:active{
    -webkit-transform:scale(1.1);
    -moz-transform:scale(1.1);
    -ms-transform:scale(1.1);
    transform:scale(1.1);
    border-color:  #d495d6;
}

li.medio:hover, li.medio:active{
    -webkit-transform:scale(1);
    -moz-transform:scale(1);
    -ms-transform:scale(1);
    transform:scale(1);
    border-color: #000;
}

.menu{
  width: 50px;
  height: 50px;
  display:none;
}

.fa{
  font-size: 40px;
  color: #000;
}

.secundario{
  display: none;
  width: 55%;
  height: auto;
  position: absolute;
  left: 690px;
  top: 0px;
}


#sobremi{
  background-image: url(../img/bigbang.png);
  background-repeat: no-repeat;
  background-size: 65px;
  background-position: 1px;
  border-radius:100px;
  border: 3px #000 solid;
}

#futurismo{
  background-image: url(../img/dinosaurio.png);
  background-repeat: no-repeat;
  background-size: 60px;
  background-position: 0;
  border-radius:100px;
  border: 3px #000 solid;
  }

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

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

#rrcc{
  background-image: url(../img/rrcc.png);
  background-repeat: no-repeat;
  background-size: 58px;
  background-position: 2px;
  border-radius:100px;
  border: 3px #000 solid;
}

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

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

#dinosaurio{
  width: 85px;
  height: 85px;
  background-image: url(../img/futurismo.png);
  background-repeat: no-repeat;
  background-size: 67px;
  background-position: 7px;
  margin-top: -6px;
  border-color:  #80E7E3;
  border-radius:100px;
  border: 3px #FE08BE solid;
}

#dinosaurio:hover{
    -webkit-transform:scale(1);
    -moz-transform:scale(1);
    -ms-transform:scale(1);
    transform:scale(1);
}

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

.botonera{
    height: 500px;
    width:1000px;
    position:absolute;
    margin:auto;
    top:0;
    bottom:0;
    left:0;
    right:0;
    z-index: 1;
}

.slider{
    height: 719px;
    width:700px;
    position:absolute;
    overflow: hidden;
    margin:auto;
    top:0;
    bottom:0;
    left:0;
    right:0;
    z-index: 0;
}

.slider .visor{
    position: absolute;
    width: 1000000px;
    height: 100%;
    border-color: #000;
    border-width: 3px;
}
.slider .visor{
    display: none;
}
.slider .visor.activo{
    display: block;
}

.visor img{
    overflow: hidden;
    height: auto;
    position: center;
    top:0;
    left:0;
    float: left;
}


.slider img:nth-child(2){
    left:100%;
}

.slider img:nth-child(3){
    left:200%;
}

.slider img:nth-child(4){
    left:300%;
}

.botonera ul {
    width: 100px;
    height: 100px;
    position:absolute;
    top:0;
    left:0;
}

.botonera li{
    width: 46px;
    height: 46px;
    border-radius: 7px 0 0 7px;
    background-color: #000;
}

.botonera li:hover{
    background-color: #79beba;
    -webkit-transform:scale(1.1);
    -moz-transform:scale(1.1);
    -ms-transform:scale(1.1);
    transform:scale(1.1);
}


#dch{
  left: -385px;
  top:150px;
}

#avance{
    margin-top:-55px;
    margin-left: 500px;
    background-image: url(../img/boton_avance.png);
    background-repeat:no-repeat;
    background-size: 30%;
    background-position: center;
    border-radius:0 7px 7px 0;

}

#retroceso{
    margin-top:-46px;
    margin-left:450px;
    background-image: url(../img/boton_retro.png);
    background-repeat:no-repeat;
    background-size: 30%;
    background-position: center;
    border-radius: 7px 0px 0px 7px;
}


footer{
    width: 100%;
    height: auto;
    position: absolute;
    bottom:-105px;
    left: 0
    right: 0;
    opacity: 0.7;
    margin: auto;
    border-top: 2px solid #000;
}

h3{
    color: #515050;
    font-size: 16px;
    text-align: center;
    letter-spacing: 2px;
    padding-top: 5px;
}


/*-------------------------------------------------------------------------------*/
@media only screen and (max-width: 1554px) {

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

.botonera{
    -webkit-transform:scale(0.7);
    -moz-transform:scale(0.7);
    -ms-transform:scale(0.7);
    transform:scale(0.7);
    margin-top: 100px;
}

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: 1248px) {

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

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: 1067px) {

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

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);
}

.botonera{
    -webkit-transform:scale(0.8);
    -moz-transform:scale(0.8);
    -ms-transform:scale(0.8);
    transform: scale(0.8);
    margin-top: 124px;
    margin-left: -37px;

}
}

@media only screen and (max-width: 853px) {
 .principal{
  display:none;
 }

 .menu {
  display: inline-block;
  position: absolute;
  left: 238px;
  top: 70px;
 }

 .secundario {
    display: none;
    width: 40%;
    height: auto;
    position: absolute;
    left: 336px;
    top: 0px;
}

.medio{
  display: none;
}

li{
  height: 60px;
  width: 260px;
  font-family: 25px;
}

 #sobremi{
  background-image: url(../img/bigbang.png);
  background-repeat: no-repeat;
  background-size: 65px;
  background-position: 1px;
  border: none;
  float:none;
  padding-left: 100px;
  margin-top:20px;
}

#futurismo{
  background-image: url(../img/dinosaurio.png);
  background-repeat: no-repeat;
  background-size: 56px;
  background-position: 14px;
  border: none;
  float:none;
  padding-left: 100px;
  margin-top:20px;
}

 #presente{
  background-image: url(../img/prehistoria.png);
  background-repeat: no-repeat;
  background-size: 40px;
  background-position: 17px;
  border: none;
  float:none;
  padding-left: 100px;
  margin-top:20px; 
  padding-top: 20px;
}

#sxix{
  background-image: url(../img/vikingo.png);
  background-repeat: no-repeat;
  background-size: 50px;
  background-position: 17px;
  border: none;
  float:none;
  padding-left: 100px;
  margin-top:20px;
}

#rrcc{
  background-image: url(../img/rrcc.png);
  background-repeat: no-repeat;
  background-size: 59px;
  background-position: 10px;
  border: none;
  float:none;
  padding-left: 100px;
   margin-top:20px;
}

#vikingo{
  background-image: url(../img/sxix.png);
  background-repeat: no-repeat;
  background-size: 68px;
  background-position: 4px;
  border: none;
  float:none;
  padding-left: 100px;
   margin-top:20px;
}

#prehistoria{
  background-image: url(../img/barrio.png);
  background-repeat: no-repeat;
  background-size: 65px;
  background-position: 10px;
  border: none;
  float:none;
  padding-left: 100px;
   margin-top:20px;
}

#dinosaurio{
  background-image: url(../img/futurismo.png);
  background-repeat: no-repeat;
  background-size:70px;
  background-position: 10px;
  border: none;
  float:none;
  padding-left: 100px;
   margin-top:20px;
}

#inicio{
  background-image: url(../img/sobremi.png);
  background-repeat: no-repeat;
  background-size: 50px;
  background-position: 20px;
  border:none;
  margin-top:20px;
  float:none;
  padding-left: 100px;
}

#presente:hover{
   -webkit-transform:scale(1);
    -moz-transform:scale(1);
    -ms-transform:scale(1);
    transform: scale(1);
}

.botonera{
    -webkit-transform:scale(0.6);
    -moz-transform:scale(0.6);
    -ms-transform:scale(0.6);
    transform: scale(0.6);
    margin-top: 124px;
   margin-left: -106px;

}


#dch{
  -webkit-transform:scale(1.5);
    -moz-transform:scale(1.5);
    -ms-transform:scale(1.5);
    transform: scale(1.5);
    margin-left: 166px;
    margin-top: -250px;
}

h3{
bottom:260px;
}

}


@media only screen and (max-width: 516px) {
 .principal{
  display:none;
 }

 .menu {
   display: inline-block;
   left: 100px;
   top:30px;
 }

 .medio{
  display: none;
 }

.secundario{
  left:150px;
}

li{
  height: 60px;
  width: 260px;
  font-family: 25px;
}

 #sobremi{
  background-image: url(../img/bigbang.png);
  background-repeat: no-repeat;
  background-size: 65px;
  background-position: 1px;
  border: none;
  float:none;
  padding-left: 100px;
  margin-top:20px;
}

#futurismo{
  background-image: url(../img/dinosaurio.png);
  background-repeat: no-repeat;
  background-size: 56px;
  background-position: 14px;
  border: none;
  float:none;
  padding-left: 100px;
  margin-top:20px;
}

 #presente{
  background-image: url(../img/prehistoria.png);
  background-repeat: no-repeat;
  background-size: 40px;
  background-position: 17px;
  border: none;
  float:none;
  padding-left: 100px;
  margin-top:20px; 
  padding-top: 20px;
}

#sxix{
  background-image: url(../img/vikingo.png);
  background-repeat: no-repeat;
  background-size: 50px;
  background-position: 17px;
  border: none;
  float:none;
  padding-left: 100px;
  margin-top:20px;
}

#rrcc{
  background-image: url(../img/rrcc.png);
  background-repeat: no-repeat;
  background-size: 59px;
  background-position: 10px;
  border: none;
  float:none;
  padding-left: 100px;
  margin-top:20px;
}

#vikingo{
  background-image: url(../img/sxix.png);
  background-repeat: no-repeat;
  background-size: 68px;
  background-position: 4px;
  border: none;
  float:none;
  padding-left: 100px;
  margin-top:20px;
}

#prehistoria{
  background-image: url(../img/barrio.png);
  background-repeat: no-repeat;
  background-size: 65px;
  background-position: 10px;
  border: none;
  float:none;
  padding-left: 100px;
  margin-top:20px;
}

#dinosaurio{
  background-image: url(../img/futurismo.png);
  background-repeat: no-repeat;
  background-size:70px;
  background-position: 10px;
  border: none;
  float:none;
  padding-left: 100px;
  margin-top:20px;
}

#inicio{
  background-image: url(../img/sobremi.png);
  background-repeat: no-repeat;
  background-size: 50px;
  background-position: 20px;
  border:none;
  margin-top:20px;
  float:none;
  padding-left: 100px;
}

#presente:hover{
   -webkit-transform:scale(1);
    -moz-transform:scale(1);
    -ms-transform:scale(1);
    transform: scale(1);
}

.botonera{
    -webkit-transform:scale(0.5);
    -moz-transform:scale(0.5);
    -ms-transform:scale(0.5);
    transform: scale(0.5);
    margin-top: 95px;
    margin-left: -280px;

}

#dch{
  -webkit-transform:scale(1.7);
    -moz-transform:scale(1.7);
    -ms-transform:scale(1.7);
    transform: scale(1.7);
    margin-left: 76px;
    margin-top: -250px;
}

h3{
  bottom:260px;
}
}