
html { 
  overflow-y: scroll; 
  overflow-x: hidden; 
  height: 100%; 
  margin: 0;
  padding: 0; 
}

body { 
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
}

h1{
    color: #08d0ea;
    font-size: 1.7em;
}

/* Estilo del HEADER*/

header {
    background-color: #08d0ea;
    display: block;
    box-sizing: border-box;
    width: 100%;
    text-align: center;
    margin: 0;
    
}

div#contenedora{
    box-sizing: border-box;
    text-align: center;
}

nav#header {
    display: block;
    width: 80%;
    align-items: center;
    justify-content: space-between;
    padding: .50em;
    margin: 0;
} 

div#logo{ 
    display: flex;
    box-sizing: border-box;
    margin-left: 5%;
    text-align: center;
    justify-content: center;
    
}

.headerlogoimagen{
    width: 80%;

}


div#logoh{
    display: flex;
    align-items: center;
} 
    
.hamburguesa {
    align-self: center;
}


@media (min-width:768px) {
    .headertopimage {
      margin-top: -3%;  
    }
     
    .headerlogoimagen {
        width: 250px;
        margin-left: 70%;
    }

    #botones {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }

    .menuprincipal {
     width: 50%;
     justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    }

.menuprincipal p {
    padding-left: 20%;
    padding-right: 20%;
    width: 150%;
    align-content: center;

}


div.menuprincipal img{
     width: 14em !important;}

}

 /* Estilo del MENU PRINCIPAL*/

main {
    display: block;
    box-sizing: border-box;
    min-width: 320px; 
    max-width: 1170px; 
    margin: 0 auto; 
    padding: 1em;
    align-self: center;
    padding-bottom: 5em;
}
 
/* Estilo de BIBLIOTECAS*/

div#botones{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
    align-self: center;
    align-content: center;
    align-items: center;
    text-align: center;
}

div.menuprincipal img{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    background-color: aliceblue;
    margin-top: 1.5em;
    border-radius: 0.9em;
    width: 8em;
}

div.menuprincipal p{
    background-color: #08d0ea;
    height: 1.5em;
    text-align: center;
    align-items: center;
    color: white;
    border-radius: 0.5em;
    padding-top: 0.2em;
}


div#catalogomislibros{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    text-align: center;
}


/* Estilo del QUIENES SOMOS*/
article#somos li{
    padding: .50em;
}

article#somos h2{
    color: dimgrey;
}

article#somos img{
    width: 70%;
    margin-left: 3em;
    border-radius: 8em;
}


/* Estilo de MIS LIBROS*/

section.listado{
    display: flex;
    justify-content: space-between;     
    align-items: center;
}

section.listado hr{
padding-top: 20em;
padding-bottom: 20em;
}
section.listado h3{
    margin-top: 0;
    margin-bottom: 0.3em;
}
section.listado h4{
    margin-top: 0;
    margin-bottom: .3em;

}
section.listado p {
    margin-bottom: 0.3em;
}
.listado p{
    margin-top: 0.3em;
    font-size: .75em;
}
.sbn{
    margin-top: 0;
}
 .listado h4 {
    font-size: .9em;
 }
 
h4#estado{
    color: #08d0ea;
    margin-bottom: 0.5em;
    margin-top: .5em;
}
h4#noestado{
    color: red;
    margin-bottom: 0.3em;
}

div.descripciondellibro{
    width: 80%;
    margin-left: 1em;
}

div.librosmislibros{
    width: 30%;
}

.listado:hover{
    background-color:#cccccc;
    transition: 0.2s;
}

.listado:active {   
     background-color:#cccccc;}

 /* Estilo de generos*/
    
article.generos{
        display: flex;
        background-image:url(imagenes/aventura.svg);
        background-size: cover;
        background-position:  center;
        padding-bottom: 10em;
        margin: .50em 2em;
        border-radius: 1.5em 1.5em 0 0;
        opacity: 80%;
    }
    
 article.generos1{
        display: flex;
        background-image:url(imagenes/cienciaficcion.svg);
        background-size: cover;
        background-position: center;
        padding-bottom: 10em;
        margin: .50em 2em;
        border-radius: 1.5em 1.5em 0 0;
        opacity: 80%
    }
    
    article.generos2{
        display: flex;
        background-image:url(imagenes/policial.svg);
        background-size: cover;
        background-position: top center;
        padding-bottom: 10em;
        margin: .50em 2em;
        border-radius: 1.5em 1.5em 0 0;
        opacity: 80%;
    }
    article.generos3{
        display: flex;
        background-image:url(imagenes/infantil.svg);
        background-size: cover;
        background-position: center;
        padding-bottom: 10em;
        margin: .50em 2em;
        border-radius: 1.5em 1.5em 0 0;
        opacity: 80%;
    }
    
    div.titulogenero{
        background-color: #08d0ea;
        padding-left: 1em ;
        border-radius: 1.5em 0  1.5em;
        width: 70%;
        color: white;
    } 

/* reservar*/
section.libro{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: flex-start;
    }

div.tituloeimagen{
    display:flex;
    flex-direction: row;
    justify-content: flex-start;
    margin: 0;
}

div.imagenlibro{
    display: flex;
}

div.imagenlibro img{
    height: 100%;
    min-width: 9em;
    box-sizing: border-box;
    margin-right: 1em;
}
div.tituloreservar{
    display: flex;
    flex-direction: column;
}

div.tituloreservar h1{
    font-size: 2em;
    padding: 0;
    color:#08d0ea;
}

div.tituloreservar h3{
    font-size: 1.4em;
    font-style: oblique;
    color: dimgrey;
    padding: 0;
    margin-top: -1em;
}

div.sinopsis{
    display: flex;
    flex-direction: column;
}

div.sinopsis h4{
    margin-bottom: 0;
}

div#reservar{
    display: block;
    justify-content: center;
    background-color: #08d0ea;
    text-align: center;
    color: white;
    align-items: center;
    width: 10em;
    border-radius: .60em;
}

div#reservar a{
    color: white;
}

section.libro p{
    font-size: .70em;
    margin-bottom: 2em;
    text-align: justify;
}

/* RESERVAR parte de reseña*/

div#contenedoradeopiniones{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    
}
section.opiniones{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 50%;
    border: dashed;
    border-width: 1px;
    border-color: white;
    padding: .5em;
}

    
div#tituloestrella{
    display: flex;
    justify-content: space-between;  
    align-items: center;
      }

div#estrellas{
    display: block;
    width: 4em;
    max-width: 5em;
    }

section.opiniones h5{
    font-size: .70em;
    margin-right: 1.5em;
}
section.opiniones p{
    font-size: .50em;
}    

/* Estilo de notificaciones*/

div.notificacion{
    display: flex;
    justify-content: space-between;     
    align-items: center;
}

div.notificacion h3{
color:#08d0ea;
margin: 0.1em;
margin-left: 0;
}

div.notificacion p{
   font-size: .8em;
   margin-bottom: 0;
    }
     
 
div.descnotif{
    width: 75%;
}
 
div.iconnotif{
    width: 25%;}

    


 figcaption.niveles {
     text-align: center;}


div.instructivo{
    display: block;
    margin-top: 1em;
    text-align: center;
    min-width: 10em;
}

section.tituloinstructivo{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: aliceblue;
    border-radius: 0.9em;
    max-height: 4em;
    padding: 1em;
    text-align: center;
    padding-left: 1em;
}

section.tituloinstructivo img{
    display: block;
    align-items: center;
    padding-bottom: .70em;
    box-sizing: border-box;
    max-height: 4em;
}



div.instructivo img{
    display: flex;
    justify-content: space-between;
    text-align: center;
    align-content: center;
    background-color: aliceblue;
    margin-top: 1.5em;
    border-radius: 0.9em;
    width: 100%;
}

div.instructivo p{
    background-color: #08d0ea;
    height: 1.5em;
    text-align: center;
    align-items: center;
    color: white;
    border-radius: 0.5em;
    padding-top: 0.2em;
}


/* Estilo de medallas*/

div#cajamedallas{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    text-align: center;}

div#porcentaje img{width: 100%;
    height: 25em;align-items: center
}
figcaption.piedeporcentaje{text-align: center;font-size: 6rem;color:#08d0ea}

div#beneficios{
    display: flex;
    flex-direction: row;
    justify-content:center;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    text-align: center;padding-bottom:0.5em}

div#medallitas{
    display: block;
}
    
div.medallitas{
    flex-wrap: wrap;
    background-color: aliceblue;shape-margin: 1em;margin-top: 1em;
    margin-bottom: 0.5em;
    margin-left: 0px;
    margin-right: 0px;
    padding: 0px;border-radius:0.5rem;
}

figcaption.beneficiosSi{
    text-align: center;}

 figcaption.niveles {
     text-align: center}


/* PERFIL*/

section#miperfil{
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    text-align: center;
}
section#miperfil h1{
    margin-top: -.50em;
}

section#miperfil p{
    margin-top: -1em;
}

figure#fotoperfil {
    display: flex;
    justify-content: center;
    width: 60%;
    align-items: center;
    align-self: center;
}

div.iconosperfil {
    width: 30%;
    margin-right: -3em;
}

div.iconosperfil img {
   align-self: center;
   align-content: center;
}

figure img{
    border-radius: 50%;
}

#miperfil p{
    margin: .20em;
}

ul#conetenedoraperfil{
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    margin: 0;
    margin-top: 2em;
    background-color: #f1f1f1;
    border-radius:  1em;
    padding-bottom: 1em;
    padding-top: 1em;
}

li.datosperfil{
    display: flex;
    padding-top: 1em;
    align-items: center;
    color: grey;
}

.datosperfil div{
    display: flex;
    justify-content: flex-start;
    max-height: 2em;
    text-align: justify;
}

.datosperfil img{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 30%; 
}

/* galeria de imagenes */

.galeria {
    max-width: 75em;
    margin-left: auto;
    margin-right: auto;
    /* caja flexible */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.galeria h3 {
    padding: 1em;
    /* para que quede solo en la primera línea */
    width: 100%;
}

.galeria figure {
    width: 45vmin;
    margin: .125em;
    
    /* para que cada "figure" sea origen de coordenadas de sus elementos contenidos */
    position: relative;
    /* para ocultar lo que "excede" sus límites */
    overflow: hidden;
}

.galeria img {
    /* para que la imagen "llene" la etiqueta "img" aun con otras porporciones */
    object-fit: cover;
    object-position: left center;
    width: 70%;
    height: 45vmin;
    /* para que "desaparezca" el espacio que queda debajo de la imagen */
    display: block;
}

.galeria figcaption {
    background-color: black;
    color: white;
    padding: .5em;
    line-height: 2em;
    text-transform: uppercase;
    font-weight: 500;
    

    /* para superponer el epígrafe sobre la foto */
    position: absolute;
    width: 100%;
    height: 100%;
    top: calc( 100% - 2em );
    
    transition: all .6s ease-out;
}

.textoinstructivo p {
    color: white;
    font-size: 1em;
    border-radius: 0.5em;
    background-color: #08d0ea;
    align-items: center;
    text-align: center;
    padding: .5em;
}

.mySlides {
    display: block;
    margin-top: 1em;
    text-align: center;
    min-width: 10em
}


    
footer{ 
    background-color: #08d0ea;
    display: block;
    position: fixed;
    box-sizing: border-box;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    z-index: 1;
    width: 100%;
    text-align: center;
    max-height: 5em;
    padding-bottom: em;
}

div#footerbotones {
    box-sizing: border-box;
    max-height: 3em;
    text-align: center;
}

 div#footerbotones ul {
     display: flex;
     justify-content: space-between;
     margin: .40em;
     align-content: center;
     align-items: center;
     text-align: center;
}

div#footerbotones ul li{
    display: flex;
    justify-content: space-between;
    list-style: none;
    align-items: center;
    align-content: center;
    text-align: justify;
}

#footerbotones ul li img{
    width: 60%;
    text-align: center;
}

a{
    text-decoration: none;
    padding: 0;
    margin: 0;
} 

/*j-query*/
.accordion-container .accordion-title {
    position: relative;
    margin: 0;
    padding: 0.625em 0.625em 0.625em 2em;
    background-color: #08d0ea;
    font-size: 1.25em;
    font-weight: normal;
    color: #fff;
    cursor: pointer;
    border-radius: 0.5em 0.5em 0 0;
    margin-bottom: 0,1em;
  }
  
  .accordion-container .accordion-title:hover,
  .accordion-container .accordion-title:active,
  .accordion-title.open { 
    background-color: #08d0ea;
  }
  
  .accordion-container .accordion-title::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 25px;
    width: 15px;
    height: 2px;
    transform: rotate(90deg);
    background: #fff;
    transition: all .3s ease-in-out;
    
  }
  
  .accordion-container .accordion-title::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 25px;
    width: 15px;
    height: 2px;
    background: #fff;
    transition: all .2s ease-in-out;
  
  }
  
  .accordion-container .accordion-title.open::before {
    transform: rotate(180deg);
  }
  
  .accordion-container .accordion-title.open::after {
    opacity: 0;
  }
  
  .accordion-content {
    padding-left: 0.5em;
    border: 1px solid #08d0ea;
    border-radius: 0 0 0.5em 0.5em;
    font-size: .90em;
  }
  
.accordion-content a{
    color: black;
}
  div#imagendestacada{
      width: 40%;
  }
  
  div#destacadodelasemana{
      display: block;
      justify-content: flex-end
  }


* {box-sizing: border-box}
        .mySlides {display: none}
        
        /* Slideshow container */
        .slideshow-container {
          max-width: 1000px;
          position: relative;
          margin: auto;
        }
        
        /* Next & previous buttons */
        .prev, .next {
          cursor: pointer;
          position: absolute;
          top: 50%;
          width: auto;
          padding: 16px;
          margin-top: -22px;
          color: white;
          font-weight: bold;
          font-size: 18px;
          transition: 0.6s ease;
          border-radius: 0 3px 3px 0;
          user-select: none;
        }
        
        /* Position the "next button" to the right */
        .next {
          right: 0;
          border-radius: 3px 0 0 3px;
        }
        
        /* On hover, add a black background color with a little bit see-through */
        .prev:hover, .next:hover {
          background-color: rgba(0,0,0,0.8);
        }
        
        /* Caption text */
        .text {
          color: #f2f2f2;
          font-size: 15px;
          padding: 8px 12px;
          position: absolute;
          bottom: 8px;
          width: 100%;
          text-align: center;
        }
        
        /* Number text (1/3 etc) */
        .numbertext {
          color: #f2f2f2;
          font-size: 12px;
          padding: 8px 12px;
          position: absolute;
          top: 0;
        }
        
        /* The dots/bullets/indicators */
        .dot {
          cursor: pointer;
          height: 15px;
          width: 15px;
          margin: 0 2px;
          background-color: #bbb;
          border-radius: 50%;
          display: inline-block;
          transition: background-color 0.6s ease;
        }
        
        .active, .dot:hover {
          background-color: #717171;
        }
        
        /* Fading animation */
        .fade {
          -webkit-animation-name: fade;
          -webkit-animation-duration: 1.5s;
          animation-name: fade;
          animation-duration: 1.5s;
        }
        
        @-webkit-keyframes fade {
          from {opacity: .4} 
          to {opacity: 1}
        }
        
        @keyframes fade {
          from {opacity: .4} 
          to {opacity: 1}
        }
        
        /* On smaller screens, decrease text size */
        @media only screen and (max-width: 300px) {
          .prev, .next,.text {font-size: 11px}
        }


/* Estilo de involucrate*/

input#enviar { 
    background-color: #08d0ea;
    height: 1.5em;
    text-align: center;
    align-items: center;
    color: white;
    border-radius: 0.5em;
    padding-top: 0.2em;
    border: none ;
}

input#novedades{
    font-size: .25em;
}

article.involucrate p{
    font-size: .80em
}

article.involucrate h1{
    text-align: center;
}

/* Estilo de MUCHAS GRACIAS*/
div#muchasgracias {
    text-align: center;
    align-self: center;
    justify-content: center;
    align-content: flex-start;

}

input#volver { 
    background-color: #08d0ea;
    height: 1.5em;
    text-align: center;
    align-items: center;
    color: white;
    border-radius: 0.5em;
    padding-top: 0.2em;
    border: none ;
}