@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* --------------------------------------------------------REGLAS GENERALES----------------------------------------------------------- */

body {
    font-family: 'Lato', sans-serif;
    margin: 0;
}
                    
a {
    text-decoration: none;
}
                    
ul,
ol {
    list-style: none;
    padding: 0;
}
                    
header,
footer {
    background-color: rgb(42, 86, 198);
    color: white;
}

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



/* -------------------------------------------------------------HEADER---------------------------------------------------------------- */
header {
    position: sticky;
    top: 0;
    z-index: 9000;
}

header .contenedora{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.contenedora {
    max-width: 80rem;
    margin: 0 auto;
    padding: 1rem;
}

#logoapp {
    width: 12em;
    position: relative;
    z-index: 9999;
}

.menu-btn {
    background:white
}


nav {
    position: relative;
  }

.menu-btn,
.menu-fondo {
    border-radius: 50%;
    padding: .75rem;
    width: 3rem;
    height: 3rem;
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9000;
    cursor: pointer;
    transition: all 0.3s ease-out;
}

.menu-fondo {
    background: rgba(255, 255, 255, 0.25);
    z-index: 8000;
  }
  

.menuVisible .menu-fondo {
    background: rgb(42, 86, 198);
    width: 200vw;
    height: 200vw;
    right: -100vw;
    top: -100vw;
}  

.menu-btn .btn-linea {
    width: 25px;
    height: 3px;
    margin: 4px 0 4px 0;
    background: black;
    transition: all 0.3s ease-out;
    position: relative;
    z-index: 9000;
}

.menuVisible .menu-btn .btn-linea {
    transform: rotate(180deg);
}

.menuVisible .menu-btn .btn-linea:nth-child(1) {
    transform: rotate(45deg) translate(4px, 6px);
}
.menuVisible .menu-btn .btn-linea:nth-child(2) {
    opacity: 0;
}
.menuVisible .menu-btn .btn-linea:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -6px);
}

nav ul {
    position: absolute;
    right: 1rem; 
    top: calc(100% + 4rem);
    opacity: 0;
    visibility: hidden;
    z-index: 9999;
    transition: all .5s ease;
}

.menuVisible ul {
    visibility: visible;
    opacity: 100%;
    transition: all .5s .2s ease;
}

nav ul li a {
    border-bottom: solid 4px transparent;
    color:white;
    display: block;
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: .5rem;
    width: min(40vw, 15rem);
    text-align: right;
    padding: .5rem;
    text-decoration: none;
}

nav ul li a:hover {
    border-bottom: solid 4px rgba(255, 255, 255, 0.5);
    transition: all .3s;
}


/* ---------------------------------------------------------MAIN DEL INDEX------------------------------------------------------------ */

.index-contenedora {
    max-width: 75rem;
    margin: 0 auto;
    padding: 0.3rem;
}

.logoindex {
    max-width: 40%;
    margin: 10px auto 15px;
}      
                    
.tituloindex {
    font-size: 1.5em;
    text-align: center;
    line-height: 25px;
}

.registro {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 1.5em;
    margin-bottom: 1em;
}

#mailindex, #password {
    width : 20em;
    height: 2em;
    margin-top: 1em;
    padding: 1em;
    margin-bottom: 1em
}

.botonregistrate {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.botoninvitado {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 4%;
    margin-bottom: 4%;
}
                    
.registrate {
    padding: 0.5em;
    background-color: rgb(42, 86, 198);
    border-radius: .25rem;
    color: white;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    min-width: 7em;
    text-decoration: none
}
                    
.invitado {
    color: rgb(42, 86, 198);
    text-align: center;
    font-weight: bold;
    text-decoration: none;
}

.GF {
    display: flex;
    flex-direction: row;
    justify-content: center;
    max-width: 90%;
    margin: auto;
    margin-top: 1em;
    margin-bottom: 2em;
}

.bajadaindex,
.pregunta {
    font-size: 0.9em;
    text-align: center;
    line-height: 19px;
    margin-top: 2%;
    margin-bottom: 1%
}

.conectar {
    margin-top: 8%;
}

.oconectarcon {
    text-align: center;
    color: rgb(88, 88, 88);
}

.logoindex,
.GF {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

/* ----------------------------------------------------------MAIN DE HOME------------------------------------------------------------- */

.home-contenedora {
    text-align: center;
    margin-top: 2em;
}

.titulobienvenidahome {
    font-size: 1.5em;
    margin-bottom: 0.4em;
}

.libroshome {
    max-width: 80rem;
        margin: 0 auto;
        padding: 1rem;
}

.tituloshome {
    font-size: 1.3em;
}

.populares, 
.peliculas,
.obrasdeteatro, 
.series {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 0.5em 0;
    padding: 1em;
    flex-wrap: wrap;
}

.populares article,
.peliculas article,
.obrasdeteatro article,
.series article {
        flex-basis: 30%
    }

.nombrelibros {
    max-width: 4em;
    font-size: 1em;
    margin-bottom: 0.5em;
}

.estrellas {
    margin-bottom: 20%;
    max-width: 70%;
}


/* --------------------------------------------------- MAIN DE BIBLIOTECA------------------------------------------------------------- */

.biblioteca-contenedora {
    text-align: center;
    margin-top: 2em;
}

.titulobiblioteca {
    font-size: 1.5em;
}

.biblioteca {
    max-width: 80rem;
        margin: 0 auto;
        padding: 1rem;
        margin-bottom: 4em
}

.librosbiblioteca {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 0.5em 0;
    padding: 1em;
    flex-wrap: wrap;
}

.librosbiblioteca article {
        flex-basis: 40%
}

.descargado {
    margin-bottom: 1em;
    font-weight: bold;
    color: rgb(19, 187, 93)
}

.botondescargar {
    margin-bottom: 1em;
    display: flex;
    flex-direction: row;
    justify-content: left;
}
.descargar {
    padding: 0.5em;
    background-color: rgb(42, 86, 198);
    border-radius: .25rem;
    color: white;
    font-weight: bold;
    text-align: center;
    min-width: 7em;
    text-decoration: none
}

/* ---------------------------------------------------------MAIN DE PERFIL------------------------------------------------------------ */

/* Section 1 */

.usuario {
    display: flex;
    flex-direction: row;
    text-align: center;
    justify-content: center;
}

.usuario img {
    object-fit: cover;
    display: block;
    margin: auto;
    width: 200px;
    height: 200px;
}

.name-usuario {
    text-align: center;
    color: rgb(22, 22, 22);
    padding: 0.5em;
    margin-top: -1em;
}

.tiempo {
    background-color: transparent;
    color:  rgb(42, 86, 198);
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    margin-top: -0.5em;
    margin-bottom: 2.5em;
}

.descripcion {
    color: rgb(22, 22, 22);
    margin-top: 1em;
    margin-bottom: 1em;
    margin-right: auto;
    margin-left: auto;
    max-width: 85%;
    padding: 1em;
    padding-bottom: 1em;
    text-align: center;
    font-weight: normal;
    background-color: rgba(219, 219, 219, 0.527);
}
            
      
/* Secction 2 */

.favoritos {
    margin-top: -1em;
    margin-bottom: -2em;
}

.fav-usuario {
    text-align: center;
    margin: 2em;
}

.grupo-autores {
    margin: 2em;
    padding: 1em;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.autores-fav li {
    font-size: 25px;
    text-align: center;
    margin-bottom: 1em;
}

.autores-fav img {
    max-width: 8em;
    margin-bottom: -0.9em;
}

.fav-usuario h3 {
    text-align: center;
    font-size: 25px;
    margin-bottom: -1em;
}

.interes h3 {
    text-align: center;
    font-size: 25px;
    margin-bottom: 1em;
}


/* Section 3 */

 .genero {
     margin-top: -0.5em;
     margin-bottom: 2em;
     display: flex;
     flex-direction: row;
     justify-content: center;
 }

 .genero p {
    display: inline-block;
    padding: 0.5em;
    margin: 0.5em;
    color:  rgb(42, 86, 198);
    font-weight: bold;
    text-align: center;
    font-size: 20px;
    background-color: rgba(219, 219, 219, 0.527);
}

/* ------------------------------------------------------ MAIN DE AJUSTES------------------------------------------------------------- */

.botonesajustes {
    max-width: 80rem;
    margin: 0 auto;
    padding: 1rem;
    margin-top: 1em;
    margin-bottom: 5em;
}

.ajustes-contenedora {
    text-align: center;
    margin-top: 2em;
}

.tituloajustes {
    font-size: 2.5em;
}

.botoncambiarcorreo, .botoncambiarcontrasena, .botoneliminarcuenta, .botoncerrarsesion{
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.cambiarcorreo, .cambiarcontrasena, .eliminarcuenta, .cerrarsesion{
    padding: 0.5em;
    margin-top: 2em;
    background-color: rgb(42, 86, 198);
    border-radius: .25rem;
    color: white;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    min-width: 14em;
    text-decoration: none   
}
.cerrarsesion{
    margin-bottom: 2em;
}

/* ------------------------------------------------------ MAIN DE NOSOTROS------------------------------------------------------------ */

.tituloacumar,
.titulonosotros,
.titulocontacto {
    font-size: 2.5em;
    color: black;
    text-align: center;
    padding: 0.2em;
    margin: 0.2em;
    margin-bottom: 0em;
}

.infoacumar,
.infonosotros {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contacto {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.video {
    position: relative;
    margin: 0 auto;
    height: 0;
    padding-bottom: 56.25%;
}

.video iframe {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    padding: 1em;
    padding-bottom: 0em;
}

.logonosotros{
    max-width: 100%;
    margin: auto;
    padding: 1em;
}

.sobreacumar,
.sobrenosotros,
.contacto {
    padding: 1em;
    margin: auto;
}

.contacto {
    padding-bottom: 2em;
}

.botonenviar {
    margin-top: 1em;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.enviar {
    padding: 0.5em;
    background-color: rgb(42, 86, 198);
    border-radius: .25rem;
    color: white;
    font-weight: bold;
    text-align: center;
    min-width: 7em;
    text-decoration: none
}

label {
    display:block;
}

#name, #mail {
    width : 20em;
    height: 2em;
    margin-top: 1em;
    padding: 1em;
    margin-bottom: 1em
}
#msg {
    width : 20em;
    height: 8em;
    margin-top: 1em;
    padding: 1em;
    margin-bottom: 1em
  }

/* ------------------------------------------------------- MAIN DE FICHA-------------------------------------------------------------- */

.titulolibro {
    font-size: 3em;
    margin-top: 0.2em;
    margin-bottom: 0.2em;
}

.fichalibro {
    display: flex;
    flex-direction: column;
    max-width: 80rem;
    margin: 0 auto;
    padding: 1rem;
}

.tapalibro {
    margin: auto;
}

.infolibro {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-wrap: wrap;
    text-align:center;
}
.infolibro img{
    margin: auto;
}

.autor {
    margin-top: 0.5em;
}

.sinopsis {
    margin-top: 1em;
    margin-bottom: 2em;
}

.botondescargarlibro,
.botonresena {
    margin-bottom: 1em;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.librosrecomendados {
    max-width: 80rem;
    padding: 1rem;
    margin: auto;
}

.recomendados {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 0.5em 0;
    padding: 1em;
    flex-wrap: wrap;
}

.recomendados article {
    flex-basis: 30%;
}

.titulolibrosrecomendados {
    font-size: 1.5em;
    padding: 0.5em;
    margin-top: -1em;
    text-align: center;
}

.estrellasficha {
    margin-bottom: 20%;
    max-width: 70%;
}

/* --------------------------------------------------------MAIN DE RESEÑAS------------------------------------------------------------ */

.resenas-contenedora {
    text-align: center;
    margin-top: 2em;
}

.tituloresenas {
    font-size: 1.5em;
    margin-bottom: 0em;
}

.resenasusuarios {
    padding: 1em;
}

.resenasusuarios article {
    margin: auto;
    padding: 1em;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.resenasusuarios img {
    border: solid .4em rgb(42, 86, 198);
    border-radius: 50%;
    width: 8em;
    margin: inherit;
}

.usuarioresena1,
.usuarioresena2 {
    text-align: center;
    margin-top: 0.5em;
}

.opinion {
    margin: auto;
}

.resena {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 1em;
    margin: auto;
}

#resena {
    width : 20em;
    height: 8em;
    margin-top: 1em;
    padding: 1em;
    margin-bottom: 1em
  }

/* ---------------------------------------------------------------FOOTER-------------------------------------------------------------- */
                    
.piedepagina {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
                    
#logoacumar {
    max-width: 8em;
    margin-top: 2em;
}
                    
.textopie {
    margin-top: 1em;
    margin-bottom: 1em;
    max-width: 80%;
}
                    
#parrafofooter {
    font-size: 0.8em;
    text-align: center;
    line-height: 19px;
    margin-top: 1%;
    margin-bottom: 1%;
}


/* -----------------------------------------------------------MEDIA QUERIES----------------------------------------------------------- */


/* -----------------------------------------------------------MEDIA 640 PX------------------------------------------------------------ */

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

/* ----------------
--------------- HEADER 640 PX ---------------
---------------- */    

header nav {
    position: relative;
}

.menu-btn {
    display: none;
}

header nav ul {
    display: flex;
    position: relative;
    opacity: 1;
    visibility: visible;
}

header nav ul li {
    min-width: 4em;
    margin: .25em 0 .25em .25em;
}

header nav ul li a {
    background-color: white;
    border-radius: .25em ;
    color: black;
    font-size: 1rem;
    width: auto;
    padding: .25em .5em;
    text-align: center;
    display: block;
}

header nav ul li a:hover {
    background-color: black;
    color: white;
}

/* ----------------
--------------- MAIN DEL INDEX 640 PX ---------------
---------------- */   

.botoninvitado {
    margin-top: 2%;
}

.conectar {
    margin-top: 4%;
}

/* ----------------
--------------- MAIN DEL HOME 640 PX ---------------
---------------- */   

.titulobienvenidahome {
    font-size: 2em;
    margin-bottom: 0.2em;
}

.populares article,
.peliculas article,
.obrasdeteatro article,
.series article {
    flex-basis: 21%
}

.nombrelibros {
    max-width: 10em;
    font-size: 1em;
}

.estrellas {
    margin-bottom: 10%;
    max-width: 60%;
}

.populares, 
.peliculas, 
.obrasdeteatro, 
.series {
    justify-content: space-between;

}

/* ----------------
--------------- MAIN DE LA BIBLIOTECA 640 PX ---------------
---------------- */

.titulobiblioteca {
    font-size: 2em;
}

.librosbiblioteca article {
    flex-basis: 26%
}

.librosbiblioteca {
    justify-content: space-between;
}

/* ----------------
--------------- MAIN DE AJUSTES 640 PX ---------------
---------------- */

.tituloajustes {
    font-size: 2.5em;
}

/* ----------------
--------------- MAIN DE FICHA 640 PX ---------------
---------------- */

.fichalibro {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: stretch;
    align-content: center;
    margin-top: 2em;
    max-width: 80rem;
    margin: 0 auto;
    padding: 1rem;
    width: 100%;
}
.infolibro{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items:flex-start;
    text-align:left;
    padding: 2em;
    max-width: 50%;
}
.infolibro img{
    max-width: 50%;
    height: 1em;
    position: left;
    margin: 0;
    border-radius: 3em;
}
.tapalibro{
    margin: 60px;
}
.tapalibro img{
    max-width: 100%;
}

.recomendados{
    justify-content: space-between;
}

.recomendados article {
    flex-basis: 21%;
}

.titulolibrosrecomendados{
font-size: 2em;
text-align: left;
}

/* ----------------
--------------- MAIN DE RESEÑAS 640 PX ---------------
---------------- */

.tituloresenas {
    font-size: 2em;
}

.opinion {
    max-width: 70%;

}

.usuarioresena1,
.usuarioresena2 {
    text-align: left;
}

/* ----------------
--------------- MAIN DE PERFIL 640 PX ---------------
---------------- */

.descripcion {
    max-width: 75%;
}
    

/* ----------------
--------------- FOOTER 640 PX ---------------
---------------- */

.textopie {
    margin: 1em;
}

/* --------------------------------------------------------------MEDIA 800 PX--------------------------------------------------------- */

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

/* ----------------
--------------- MAIN DEL HOME 800 PX ---------------
---------------- */

.titulobienvenidahome {
    font-size: 2.5em;
    margin-bottom: 0.1em;
}

.populares article,
.peliculas article,
.obrasdeteatro article,
.series article {
        flex-basis: 17%
}

.estrellas {
    margin-bottom: 10%;
    max-width: 60%;
}

.nombrelibros {
    max-width: 10em;
    font-size: 1.3em;
}

.populares, .peliculas, .obrasdeteatro, .series {
    justify-content: space-between;

}

/* ----------------
--------------- MAIN DE LA BIBLIOTECA 800 PX ---------------
---------------- */

.titulobiblioteca {
    font-size: 2.5em;
}

.librosbiblioteca article {
    flex-basis: 21%
}

.librosbiblioteca {
    justify-content: space-between;
}

/* ----------------
--------------- MAIN DE AJUSTES 800 PX ---------------
---------------- */

.tituloajustes {
    font-size: 2.5em;
}

/* ----------------
--------------- MAIN DE NOSOTROS 800 PX ---------------
---------------- */

.infoacumar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: -2em;
    margin-left: 3em;
    margin-right: 3em;
}

.infonosotros{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-left: 3em;
    margin-right: 3em;
}

.infoacumar> div,
.infonosotros> div {
    width: 50%;
}

.video {
    position: relative;
    margin: 3em auto;
    height: 0;
    padding-bottom: 56.25%;
    width: 100%;
}

.video iframe {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0px;
    left: 0px;
}

.logonosotros {
    width: 100%;
}

#name, #mail, #msg {
    width : 30em;
}

/* ----------------
--------------- MAIN DE FICHA 800 PX ---------------
---------------- */

.tapalibro{
    margin: 70px;
}

.infolibro {
    max-width: 58%;
}

.recomendados {
    justify-content:space-between;
}

.recomendados article {
    flex-basis: 17%;
}
.estrellasficha {
    margin-bottom: 10%;
    max-width: 60%;
}

/* ----------------
--------------- MAIN DE RESEÑAS 800 PX ---------------
---------------- */

.resenasusuarios article {
    max-width: 85%;
}

.opinion {
    max-width: 70%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#resena {
    width : 40em;
}

/* ----------------
--------------- MAIN DE PERFIL 800 PX ---------------
---------------- */

.usuario {
    display: flex;
    flex-direction: row;
    justify-content: center;

}

.descripcion {
    max-width: 65%;
}

/* ----------------
--------------- FOOTER 800 PX ---------------
---------------- */

.piedepagina {
    align-items: flex-start;
}

.textopie {
    margin: 2em;
    display: flex;
    flex-direction: row;
    justify-content: right;
}
}

/* --------------------------------------------------------------MEDIA 1200 PX-------------------------------------------------------- */

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

/* ----------------
--------------- MAIN DEL INDEX 1200 PX ---------------
---------------- */

.botoninvitado {
    margin-top: 1%;
}

/* ----------------
--------------- MAIN DEL HOME 1200 PX ---------------
---------------- */

.titulobienvenidahome {
    font-size: 3em;
    margin-bottom: 0.1em;
}

.populares article,
.peliculas article,
.obrasdeteatro article,
.series article {
    flex-basis: 15%
}

.estrellas {
    margin-bottom: 10%;
    max-width: 70%;
}

.populares, .peliculas, .obrasdeteatro, .series{
    justify-content: space-between;
}

/* ----------------
--------------- MAIN DE LA BIBLIOTECA 1200 PX ---------------
---------------- */

.titulobiblioteca {
    font-size: 3em;
}

.librosbiblioteca article {
    flex-basis: 15%
}

.librosbiblioteca {
    justify-content: space-between;
}

/* ----------------
--------------- MAIN DE AJUSTES 1200 PX ---------------
---------------- */

.tituloajustes {
    font-size: 3em;
}

/* ----------------
--------------- MAIN DE FICHA 1200 PX ---------------
---------------- */

.tapalibro{
    margin: 80px;
}

.infolibro {
    max-width: 70%;
}


.peliculas{
    flex-basis:15%;
    justify-content: space-between;
}
.estrellasficha {
    margin-bottom: 10%;
    max-width: 70%;
}

.infolibro img{
max-width: 50%;
height: 1em;
position: left;
margin: 0;
}

.recomendados {
    justify-content:space-between;
}

.recomendados article {
    flex-basis: 15%;
}

/* ----------------
--------------- MAIN DE NOSOTROS 1200 PX ---------------
---------------- */

#name, #mail, #msg {
    width : 45em;
}

/* ----------------
--------------- MAIN DE PERFIL 1200 PX ---------------
---------------- */

.descripcion {
    max-width: 50%;
}

/* ----------------
--------------- MAIN DE RESEÑAS 1200 PX ---------------
---------------- */

.resenasusuarios article {
    max-width: 60%;
}

#resena {
    width : 60em;
}

}

}