@font-face{
font-family:light;
src: url(../fonts/FuturaMaxiLight.otf);
}

@font-face{
font-family:book;
src: url(../fonts/FuturaMaxiBook.otf);
}

@font-face{
font-family:demi;
src: url(../fonts/FuturaMaxiDemi.otf);
}

@font-face{
font-family:bold;
src: url(../fonts/FuturaMaxiBld.otf);
}

@font-face {
  font-family: 'FontAwesome';
  src: url('../fonts/fontawesome-webfont.eot?v=4.6.3');
  src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.6.3') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff2?v=4.6.3') format('woff2'), url('../fonts/fontawesome-webfont.woff?v=4.6.3') format('woff'), url('../fonts/fontawesome-webfont.ttf?v=4.6.3') format('truetype'), url('../fonts/fontawesome-webfont.svg?v=4.6.3#fontawesomeregular') format('svg');
}

/*-----------HEAD-----------*/

.container{
background: #01A0D8;
background: -webkit-linear-gradient(left, #F7931E, #FBC607, #F7931E); 
background: -o-linear-gradient(left, #F7931E, #FBC607, #F7931E); 
background: -moz-linear-gradient(left, #F7931E, #FBC607, #F7931E); 
background: -ms-linear-gradient(left, #F7931E, #FBC607, #F7931E);
background: linear-gradient(left, #F7931E, #FBC607, #F7931E);
margin-top: 20px;    
padding-bottom: 0px;
padding: 60px;
overflow: hidden;
}

body{
background-color: firebrick;
}

header{
margin: auto;
background-color: firebrick;
}

#hojas{
position: relative;
z-index: 100;
transform: translateX(0%);
margin: auto;
margin-top: -40px;
}

#logo{
position: relative;
left: 22%;
float: left;
margin-left: 50px;
margin-top: 20px;
margin-bottom: 10px;
}


nav{
height: 100%;
width: auto;
margin: auto; 
margin-top: -60px;
}

.navbar-toggle{
margin-top: 80px;
right: 10px;
background-color: firebrick;
}

.icon-bar{
background-color:white;
}

nav ul li{
position: relative;
left: 23%;
display: inline-block;
float: left;
margin: auto;
}

nav ul li a{
color: white;
font-family: light;
font-size: 1.2em;
}

#azul{
padding: 15px;
padding-top: 40px;
background-color: #29ABE2;
transition: 0.3s ease-out;
}

#azul:hover{
padding-top: 50px;
color: yellow;
}

#naranja{
padding: 15px;
padding-top: 40px;
background-color: #FBB03B;
transition: 0.3s ease-out;
}

#naranja:hover{
padding-top: 50px;
color: yellow;
}

#morado{
padding: 15px;
padding-top: 40px;
background-color: #662D91;
transition: 0.3s ease-out;
}

#morado:hover{
padding-top: 50px;
color: yellow;
}

#rosado{
padding: 15px;
padding-top: 40px;
background-color: #EC008C;
transition: 0.3s ease-out;
}

#rosado:hover{
padding-top: 50px;
color: yellow;
}

#rojo{
padding: 15px;
padding-top: 40px;
background-color: #F15A24;
transition: 0.3s ease-out;
}

#rojo:hover{
padding-top: 50px;
color: yellow;
}

#verde{
padding: 15px;
padding-top: 40px;
background-color: #8CC63F;
transition: 0.3s ease-out;
}

#verde:hover{
padding-top: 50px;
color: yellow;
}

#compras{
padding: 15px;
padding-top: 20px;
background-color: #1B1464;
transition: 0.3s ease-out;
}


#compras:hover{
padding-top: 40px;
}

/*-----------COMIENZA CONTENIDO-----------*/

#foto{
  width: 30%;
height: auto;
margin-left: 50px;
border-radius: 40px;
float: left;
transition: 0.2s ease-in;
-webkit-transition: 0.2s ease-in;
-ms-transition: 0.2s ease-in;
-moz-transition: 0.2s ease-in;
}

#foto:hover{
filter: sepia(50%);
-webkit-filter: sepia(50%);
-moz-filter: sepia(50%);
-ms-filter: sepia(50%);
}

#as1{
float: right;
margin-right: 50px;
}

#has1{
font-family: bold;
color: white;
font-size: 4em;
margin-left: 10px;
}

#pas1{
font-family: book;
color: darkblue;
font-size: 1.2em;
line-height: 23px;
text-align: justify;
}

#as2{
padding: 30px;
background-color: firebrick;
border-radius: 30px;
margin-top: 30px;
float: left;
overflow: hidden;
}

.hormiga{
margin-top: 40px;
transform: scale(1.5);
-webkit-transform: scale(1.5);
-moz-transform: scale(1.5);
-ms-transform: scale(1.5);
}

h2{
font-family: bold;
color: white;
font-size: 2.6em;
}

h3{
    color: white;
    font-family: demi;
    width: 65%;
    float: right;
    font-size: .1.7em;
}

h4{
    color: darkblue;
    font-family: demi;
    width: 65%;
    float: right;
    font-size: 1.7em;
}

#pas2{
font-family: book;
color: white;
font-size: 1.3em;
}

article{  
margin-top: -300px;
float: right;
margin-left: 70px;
height: auto;
}

#d{
font-size: 4em;
}

.libros{
background-color: #0071BC;
border-radius: 20px;
height: auto;
padding: 20px;
margin-top: 20px;
}

.libros2{
background-color: white;
border-radius: 20px;
height: auto;
padding: 20px;
margin-top: 20px;
}

.portadas{
    float: left;
    margin-left: 20px;
    margin-top: 10px;
    transition: 0.2s ease-in;
    -webkit-transition: 0.2s ease-in;
    -moz-transition: 0.2s ease-in;
    -ms-transition: 0.2s ease-in;
}

.portadas:hover{
    transform: rotate(15deg);
    -webkit-transform: rotate(15deg);
    -ms-transform: rotate(15deg);
    -moz-transform: rotate(15deg);
}

.descripcion{
    color: white;
    font-family: light;
    float: right;
    width: 65%;
    margin-top: 20px;
    font-size: 1.3em;
}

.descripcion2{
    color: #0071BC;
    font-family: light;
    float: right;
    width: 65%;
    margin-top: 20px;
    font-size: 1.3em;
}
#imginicio{
float: left;
position:relative;
z-index: 80;
transform: scale(1.2);
-webkit-transform: scale(1.2);
-ms-transform: scale(1.2);
-mz-transform: scale(1.2);
margin-left: -80px;
margin-top: 200px;
}

#nuevo{
background-color: rebeccapurple;
border-radius: 30px; 
height: 250px;
margin-top: 60px;
padding: 30px;
}

#historias{
float: left;
margin-left: 30px;
margin-top: -40px;
}

span{
    font-family: bold;
    color: white;
    font-size: 3em;
}

.autor{font-family: demi; font-size: 2em;}

p.ultimo{
    margin-left: 250px;
    font-family: book;
    color: white;
    font-size: 1.1em;
}

.libro5{
    color: yellow; 
    transition: 0.2s ease-in;
    -webkit-transition: 0.2s ease-in;
    -moz-transition: 0.2s ease-in;
    -ms-transition: 0.2s ease-in;
}

.libro5:hover{text-decoration: none; color: hotpink;}

/*-----------FOOTER-----------*/

#contfooter{
    width:auto;
    height: auto;
    position: relative;
    left:50%;
    transform:translateX(-50%);
    -moz-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	-o-transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
}


footer{
text-align: left;
background-color: firebrick;
float: left;
margin-top: 50px;
margin-bottom: 30px;
width: 100%;
}

#DAL{
float: left;
}

#infocontacto{
margin-top: 30px;
margin-left: 50px;
text-align: center;
width: 70%;
font-family: light;
color:white;
font-size:0.9em;
}

#logoK{width: 10%; float: right; margin-top: 30px;}

/*-----------EXTRAS-----------*/

@media only screen and (min-width: 240px) and (max-width:640px){
    
    #hojas{
   display: none;}
    
    #logo{
position: relative;
        left: 0;}
    
    nav ul li{
     position: relative;
left: 0%;
    display: inline;
    clear: both;
    width: 100%;
    }
    
    #azul, #naranja, #morado, #rosado, #rojo, #verde, #compras{
    padding: 10px;
    padding-top: 15px;
    }
    
    .container{
        padding: 40px;}
    
    #foto{
        width: 100%;
        height: auto;
        margin-left: 0px;}
    
    #as1, #as2{
        width: 100%;
        margin-right: 0px;}
    
    #as2{
        margin-left: 0px;
    }
     
    
    .descripcion, .descripcion2{
        width: 100%;}
    
    
    article{
        margin-top: 13px;
        margin-left: 0px;}
    
    .portadas{
        margin-left: 30px;
    }
    
    #imginicio{
display: none;
    }
    
    #contfooter{
        margin-top: 0px;
    }
    
    #DAL{
        margin-left: 35%;
        margin-top: -30px;
    }
    
    #infocontacto{
        width: 100%;
        margin-left: 0px;
    }
    
    #logoK{width: 30%; float: left; margin-left: 35%;}
    
    p.ultimo{
        margin-left: 0px;
    }
    
    span{
        font-size: 2em;

    }
    
    h3, h4{
        width: 100%;
        text-align: center;
    }
    
    #nuevo{height: auto;}
}

@media only screen and (min-width: 640px){

  #hojas2{
   display: none;
    }
    
    h2{
        font-size: 2em;
    }
    
}

@media only screen and (min-width: 750px) and (max-width: 1240px){  

    #logo{
        left: auto;
        width: 20%;
        margin-top: 40px;
    }
    
    
    
    nav ul li{
        left: auto;
    }
    
    nav ul li a{
        font-size: 1em;
    }
    
    #compras{
        width: 80%;
        padding-top: 33px;
    }
    
    #carreta{
        width: 90%;
    }
    
    h2{
        font-size: 2em;
    }
    
    article{margin-top: auto; margin-left: auto;}
    
    #imginicio{display: none;}
    
    .hormiga{
     transform: none;   
    }
    

}

@media only screen and (min-width: 1250px) and (max-width: 1500px){

    #logo{
        left: 5%
    }
    
    nav ul li{
        left: 10%;
    }
   
}

@media only screen (min-width: 1520px){
    #logo{
        left: 15%;
    }
    
    nav ul li{
        left: 15%;
    }
}


