
* {
    margin: 0;
    padding: 0;
    font-family: "Open Sans", sans-serif;
    border: 0;
outline: none;
box-sizing: border-box; 


}

img {
    max-width: 100%;
    height: auto;
}


body {
     background-color: #EAF2ED; ;
}


main {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    align-content: center;
    
}

img {
    max-width: 100%;
    height: auto;
    
}

ul {
    list-style: none;
}




/* íconos */

.material-icons {
    padding-right: .25em;
}



/* contenedor centrado y con ancho máximo */
.contenedor {
    width: 100%;
    margin: 0 auto;
    padding: 1em;
}


/*
----------------
encabezado
----------------
*/

header .contenedor {
    
    /* caja flexible */
    display: flex;
    
    /* elementos colocados en los extremos del eje principal */
    justify-content: space-between;
    
    /* elementos centrados en el eje secundario */
    align-items: center;
}

#logo {
    display: block;
   
}


/* *** menu *** */

header nav {
    color: white;
}

header nav a {
    color:#E27222;
    padding: .5em 1em;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

header nav a:hover {
    background-color: #9DD0D5;
    color: white;
    border-radius: 3em;
}

/* boton que llama al menu */
#llamamenu {
    background-color: rgba(24,107,121);
    color: white;
    cursor: pointer;
    height: 2.5em;
    width: 2.5em;
    /* caja flexible */
    display: flex;
    position: relative;
    z-index: 9979;
}

#llamamenu:hover {
    background-color: rgba(0, 0, 0, 0.75);
}

#llamamenu i { 
    padding: 0;
    /* centrado en la horizontal y en la vertical */
    margin: auto;
}


/* el menú propiamente dicho */
header nav ul {
    background-color: white;
    /* el menu sale del flujo de informaciones
    y se oculta a la derecha */
    position: fixed;
    left: 100%;
    top: 0;
    height: 100vh;
    width: 50%;
    z-index: 9970;
    padding-top: 5em;
    transition: all .5s ease;
}





#logo {
    display: block;
}



    header div img {
        max-height: 3rem;
        margin-right: 1em;
        
    }


    .visible {
        /* el menú se muestra
        corriéndose a la izquierda */
        left: 50%;
        transition: all .25s ease;
    }


#caja1, #caja1b {
    background: rgb(24,107,121);
background: linear-gradient(120deg, rgba(24,107,121,1) 0%, rgba(76,134,139,1) 100%);
    
}

#caja2, #caja2b {
    background: rgb(157,208,213);
background: linear-gradient(120deg, rgba(157,208,213,1) 0%, rgba(108,186,194,1) 100%);
}

#caja3 {
    background: rgb(240,170,125);
background: linear-gradient(120deg, rgba(240,170,125,1) 0%, rgba(250,195,160,1) 100%);
}

main div {
    margin-bottom: 2em;
  
}

#caja0 {
    display: none;
}

h1 {
    margin-bottom: 0.50em;
    color: white;
    font-family: 'Viga', sans-serif;
    font-weight: 400;
}

#caja1, #caja2, #caja3, #caja1b, #caja2b {
    padding: 2em;
    display: flex;
    flex-direction: column;
   
}


.contenedor-caja1-inferior {
    display: flex;
    justify-content: space-between;
    margin-top: 3em;
    align-items: center;

}

    #llamamenu i {
        padding: 0;
        margin: auto;
    }


    header div img {
        max-height: 3rem;
        
    }

    main button{
       background-color: #1EBD97;
       padding: 1em;
       border-radius: 2rem;
       box-shadow: 14px 12px 11px -6px rgba(112,112,112,0.25);
       

    }

    a {
        text-decoration: none;
        color: white;
        
    }



    #caja3 img {
        max-height: 4rem;
    }

   


    /* PAGINA LIBROS CODE CSS */

    .contenedor-librosbuscados{
        width: 100%;
      margin: auto;
      position: relative;
      margin-top: -2em;
  }
  
  .contenedor-librosbuscados{
      width: 80%;
      min-width: 60%
  }

  
  .intro {
    color: black;
    text-align: center;
  }

  .autor {
    font-family: "Open Sans" sans-serif;
    margin-left: 2em;
    margin-right: 2em;
    margin-bottom: -7em;
    text-align: center;
}
.contendor-foto {
    padding: 4em;
}

.contendor-foto img {
    width: 100%;
}
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 65%;
    width: auto;
    margin-top: -22px;
    color: #E27222;
    font-weight: 800;
    font-size: 3em;
    transition: 0.6s ease;
    border-radius: 0 6px 6px 0;
}
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}


    #caja4 {
        display: flex;
        justify-content: row;
        width: 100%;
        align-content: center;
        background-color: white;
    }

    #caja4 a {
        margin-right: .5em;
    }

    #caja5  {
        text-align: center;
        
    }

    .caja5items input  {
        padding: 1em;
        border-radius: 2em;
        margin-top: 1em;
        width: 20em;
        margin-bottom: 2em;
        box-shadow: -1px 4px 16px -3px rgba(24,107,121,0.57);
-webkit-box-shadow: -1px 4px 16px -3px rgba(24,107,121,0.57);
-moz-box-shadow: -1px 4px 16px -3px rgba(24,107,121,0.57);
    }

    #caja5 ul li {
        background-color: white;
        border-radius: 2em;
        padding: 0.5em 1em;
        margin-bottom: 1em;
        margin-left: 1em;
        color: #186B79;
        
    }

    ul .tipodelibros {
        margin-top: 2em;
        display: inline-flex;
        flex-wrap: nowrap;
        margin-left: 2em;
    }

    main div#caja5 img {
        display: inline-block;
    }

    main div img {
        margin-top: 2em;
       
    }

    /* CODIGO PUNTOS DE RETIRO ALIAS MAPA */ 

    #puntoderetiro  {
        background-color: #9DD0D5;
        padding-top: 1em;
        padding-bottom: 1.5em;
        margin-top: 2em;
    }

    #puntoderetiro2  {
        background-color: #9DD0D5;
        padding-top: 1em;
        padding-bottom: 1.5em;
        margin-top: 3em;
    }

    #mapaimg{
    background-image: url(../imagenes/mapapersonalizado.jpg);
    width: 100%;
    height: 500px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
    

    .acceso-ubicacion {
        border: 1px rgba(0, 0, 0, 0.411) solid;
        border-radius: 1em;

    }

    
    


    .ubicacion {
        display: flex;
        justify-content: space-around;
        margin-top: 1em;

    }

    .advertencia {
        margin-left: 1em;
        margin-top: 2em;
    }


    /*QUIENES SOMOS*/ 
    
    #caja6 {
        background-color: #F0AA7D;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
   
    .redessociales {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        
    }

    #caja6 ul li  {
        margin-right: 0.5em;
        padding-right: 1em;
    }


    /*RESERVA DE LIBROS*/

    #reserva {
        display: flex;
        flex-direction: column;
        margin-left: 2em;
        text-align: center;
        
    }

    .disponibilidad {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        margin-top: -5em;
        margin-left: 6em;
        margin-right: 7em;
        align-items: center;
    }
    

    #reserva img {
        width: 40%;
    }

    #libroareservar {
        width: 100%;
        margin-right: 0.5em;
        display: inline-block;

    }

    

    #classreserva {
        font-size: 0.8em;
        display: inline-block;
    }

    select {
        width: 80%;
        margin-left: 2em;
        margin-right: 2em;
        border-radius: 2em;
        background-color: #E27222;
        overflow-x: hidden;
        padding: 1em;
        margin-bottom: 1em;
        color: white;
    }

    footer {
        background-color: white;
        color: #F0AA7D;
        bottom: 0px;
        width: 100%;
        font-size: 0.8em;
        text-align: center;
        
    }


    /*FORMULARIO*/ 
    
    .formulario  {
        display: flex;
        flex-direction: column;
        margin-left: 2em;
        margin-left: 2em;
        margin-right: 2em;
        

    }

    .formulario input {
        width: 80%;
        padding: 1em;
        border-radius: 3em;
        margin-bottom: 1em;

    }

    .datospersonales2, .datospersonales3 {
        display: flex;
        flex-direction: column;
        margin-left: 2em;
        margin-left: 2em;
        margin-right: 2em;
        
       }

  
    .formulario input label{
        vertical-align: text-bottom;
        }

       /*perfil*/
       .contenedor-caja1-inferiorb  {
        display: flex;
      flex-direction: column;
        margin-top: 3em;
        align-items: center;
        
         }

        .ilustraciones-onboarding {
            display: flex;
            flex-direction: row;
            width: 100%;
            align-items: center;
        } 

        .onboarding-general {
            display: flex;
            flex-direction: column;
            flex-wrap: nowrap;
            margin-left: 2em;
        }

        .onboarding-general i {
            background-color: #1EBD97;
            box-shadow: 14px 12px 11px -6px rgba(112,112,112,0.25);
            padding: 0.5em;
            border-radius: 3em;
            margin-right: 2em;
            
        }

        

     /***************MEDIA BREAKPOINTSSSSSSSS********/

    @media (min-width: 30em) {


        #caja0 {
            visibility: hidden;
        }

        #caja1, #caja1b, #caja2b
        {  
            
            border-radius: 3em;
            margin-left: 1.5em;
            margin-right: 1em;
            width: 40%;

        }

         #caja2, #caja3 {
            width: 40%;
            border-radius: 3em;
            margin-left: 1em;
            margin-right: 1em;
            
        }

        #caja3 {
            margin-right: 1.5em;
        }

        #caja4 {
            display: flex;
            justify-content: row;
            width: 100%;
           
            background-color: white;
        }
        

        main  {
            flex-direction: row;
            flex-wrap: nowrap;
            
            
        }

        .search {
            width: 100%;

        }

        .contenedor-caja1-inferior {
            display: flex;
            justify-content: space-between;
            margin-top: 3em;
            align-items: center;
        
        }


        #llamamenu {
            display: none;
        }

        #logo {
            margin-left: 2em;
            display: block;
        }

        header nav ul {
    display: flex;
    position: relative;
    top: auto;
    height: auto;
    width: 100%;
    padding-top: 0;
    border-radius: 3em;
        }

        header {
            margin-bottom: 3em;


            
        }

     
        

        

        /* libros */

         #caja5 {
            flex-direction: column;
            width: 100%;
            margin-top: 3em;
        }

        .abc {
            margin-bottom: 2em;
        }
        
        .def {
           
            margin-top: -2em;
        }
        
        #carrousel {
            width: 600px;
            display: flex;
            flex-direction: row;
            justify-content: center;
            align-self: center;
        }

        .disponibilidad {
            display: flex;
            flex-direction: row;
            align-self: center;
            width: 21em;
           
            
        }
       


        /* puntos(mapa) */ 

        section #mapa div {
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            width: 100%;
        }


        
    

    

       

        /*quienes somos*/ 
        
        #caja6 p {
            max-width: 50%;
        }

        #caja6 {
            display: flex;
            flex-direction: column;
            justify-content: space-around;
            max-width: 40%;
            border-radius: 2em;
            margin-left: 5em;
            box-sizing: border-box;
            padding-bottom: 2em;
        }


        /*reserva del libro*/
        
        #classreserva h4 {
            font-size: 3em;
            
        }

        #reserva {
            display: flex;
            flex-direction: column;
            width: 150%;
        }

        .opcionesderetiro {
            display: flex;
            flex-direction: row;
        }
        
        #reserva2 {
            display: flex;
            
        }

        #retiro2 {
            width: 60em;
            margin-top: 5em;
        }

        #reserva #classreserva {
            margin-bottom: 2em;
        }

        main .retirodelibros {
            display: flex;
        }

        /*perfil*/

        .perfilelementos {
            display: flex;
            flex-wrap: wrap;
            box-sizing: border-box;

        }

        #caja1b {
            width: 50%; 
            margin-right: 1.5em; 
            display: flex;
            flex-direction: row-reverse;
         justify-content: space-between; 
         align-items: center;

         
        }

        #caja3b {
            width: 42%;
        }

        .contenedor-caja1-inferior2 {
        display: flex;
            justify-content: space-between;
            margin-top: 3em;
         align-items: center;
         }
        
            /*contacto*/
        .datospersonales {
            display: flex;
            flex-direction: row;
            flex-wrap: nowrap;
            
        }
        
        .formulario{
            width: 100%;
        }
    

        .datospersonales3 {
            width: 30em;
            margin-left: 10em;
        }

        .datospersonales2 {
          
            width: 100%;
        }

        .datospersonales {
            margin-left: 2em;
        }

        .datospersonales3 label {
            text-align: left;
        }
        

        main .puntosderetiro{
            position: absolute;
            top: 30em;left: 5em;
            
        }

        .acceso-ubicacion-responsive {
            position: absolute;
            top: 30em;
            left: 5em;
            background: #ffffffb3;
         
        }

        .onboarding-general {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
        }
    


    @media (max-width: 50em) {

        #caja1b, .caja3b{
            align-items: center;
            text-align: center;
        }

        .img juana_lopez.png  #caja1b {
            align-items: center;
            text-align: center;

        }






    }



    }

    @media (min-width: 35em) {
    
        #llamamenu {
            display: none;
        }
        
        /* se muestran el menu horizontal */
        header nav ul {
            display: flex;
            flex-wrap: wrap;
            
            /* para que el menú vuelva al "fondo" */
            position: relative;
            top: auto;
            left: auto;
            height: auto;
            width: 100%;
            padding-top: 0;
        }
        
        header nav ul.visible {
            left: auto;
        }

       
    
    }
    