*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
 }
 
 body{
   background-image: linear-gradient(180deg, #e4e4e4 0%, #c7eef3 100%);
 }

 .contenedor_libros{
    box-shadow: 0 5px 7px rgba(0, 0, 0, .1);
    background-color: #c7eef3;
    height: 500px;
    padding: 40px 0;
    width: 90%;
   height: auto;
    transition: all 1s ease;
    margin: 0 auto;
    margin-top: 40px;   
    text-align: center;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
 }
 
 .libro {
   display: flex;
   height: auto;
   width: 100%;
   margin: 20px 0;
   
 }

 .libro {
   display: flex;
   height: auto;
   width: 80%;
   margin: 20px 60px; /* Agrega un margen uniforme en la parte superior e inferior */
}

 .libro img {
   max-width: 100%; /* Establece un ancho máximo para las imágenes */
   height: auto;
   border-radius: 20px;
   width: 200px;
   height: 200px;
   object-fit: cover; 
}


.info {
   width: 80%;
   justify-content: center;
   display: flex;
   flex-direction: column; /* Coloca el título y el género uno debajo del otro */ /* Centra el contenido verticalmente */
}

.titulo {
   margin: 3px 20px;
}

.genero {
   margin: 3px 20px;
}

.autor{
   margin: 3px 20px;
}

.editorial{
   margin: 3px 20px;
}

.descripcion{
   margin: 3px 20px;
   border: -5px;
   max-height: 100px; /* Establece la altura máxima que desees */
   overflow-y: auto;
}
 .container-form{
   border-radius: 20px;

   height: auto;
   width: 100%;
   transition: all 1s ease;
   padding-bottom: 40px;
   text-align: left;

}





 .form{
    margin: 30px 0 0 0;
 }

 .form label, select{
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    border-radius: 20px;
    padding: 0 10px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
 }

 .form label input, select{
    width: 100%;
    padding: 10px;
    background-color: #fff;
    border: none;
    outline: none;
    border-radius: 20px;
    color: #333;
 }

 .form label i{
    color: #a7a7a7;
 }

 .button{
   background-color: #9191bd;
    color: #fff;
    border-radius: 10px;
    border: none;
    padding: 10px 30px;
    cursor: pointer;
 }

 .form input[type="submit"]{
    background-color: #9191bd;
    color: #fff;
    border-radius: 10px;
    border: none;
    padding: 10px 30px;
    cursor: pointer;
    margin-top: 0px;
 }

 .form input[type="submit"]:hover{
    background-color: #7a7a9a;
 }

 .form select{
    cursor: pointer;
 }

.h3_libros{
   margin-top: 45px;
   margin-left: 70px;
}






.info-perfil {
   display: flex; /* Habilita Flexbox */
   align-items: center; /* Centra verticalmente los elementos */
   justify-content: center; /* Mantiene los elementos alineados a la izquierda */
   gap: 40px; /* Añade un espacio entre la imagen y el texto */
   margin-bottom: 20px;
}

.foto-perfil img {
   width: 150px; /* Ajusta el tamaño de la imagen */
   height: 150px; /* Asegura que la imagen tenga un tamaño adecuado */
   border-radius: 50%; /* Hace que la imagen sea circular */
   object-fit: cover; /* Hace que la imagen se ajuste sin deformarse */
}

.info-texto {
   display: flex;
   flex-direction: column; /* Apila los textos uno debajo de otro */
}

.info_texto_child {
   margin: 5px 0; /* Espaciado entre los párrafos */
}

.info_texto_childcorreo{
   margin: 5px 0; /* Espaciado entre los párrafos */
}




 .aviso{
   margin-top: 10px;
 }

 .texto_priv{
   margin: 40px;
   text-align: justify;
 }

h3{
   margin-top: 30px;
}

p{
   margin: 10px 0;
}

.cerrar_sesion{
   margin: 0;
   width: auto;
   display: inline-block;
}


.container_cerrar_sesion{
   display: flex;
   width: 100%;
   margin: 0 auto;
   align-items: center;
   justify-content: center;
}



.cerrar_sesion_b{
   margin: 0;
   width: auto;
}

.oculto {
  display: none;
}

.info-perfil{
   display: flex;
   margin-top: 30px;
 width: 100%;
 align-items: center;
 text-align: justify;
}

.form-information{
   display: flex;

   width: 90%;
   height: auto;
   text-align: left;
   background-color: #f8f8f8;
   border-bottom-left-radius: 20px ;
   border-bottom-right-radius: 20px;
   margin: 0 auto;
   
   box-shadow: 0 5px 7px rgba(0, 0, 0, .1);

}

.form-information-childs{
   display: block;
   width: 100%;
   min-height: 500px;
   
   padding: 0 30px;
}

.form-information-childs h2{
   color: #333;
   font-size: 2rem;
}

.form-information-childs p{
   color: #555;
}

.form{
   margin: 30px 0 0 0;
}
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}




.contenedor-intercambios{
   margin-top: 30px;
   text-align: left;

}

.valoracion-div{
   padding: 20px;
margin-top: 20px;
border: solid thin #9191bd;
border-radius: 10px;
box-shadow: 0 5px 7px rgba(0, 0, 0, .1);
margin-bottom: 20px;

}

.valo-titulo{
 color: #9191bd;
 text-align: center;
}


.button{
   margin-right: 20px;
   
}

.formulario-edicion input{
   width: 30%;
}

.container-buttons{
   width: 100%;
   display: block;
   margin: 0 auto;
   align-items: center;
   justify-content: center;
}

.container-buttons button{
   width: 100%;
   margin-top: 10px;
   
} 

.container-buttons .button{
   width: 100%;
}

.container-buttons .button:hover{
   background-color: #7a7a9a;
}



/*TABLETA----------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width: 850px){ 
   .info-perfil{
    display: block;
   }
 
   .info .descripcion{
    display: none;
  }
 
   .foto-perfil{
    display: block;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
   }
 
   .foto-perfil img{
    display: block;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
   }
 
   .contenedor-perfil{
    display: block;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
   }
 
   .info-texto h2{
    margin-top: 10px;
    font-size: 25px;
    text-align: center;
   }
 
   .info-texto{
    text-align: center;
   }
 
   .info-libros-perfil{
    margin-top: 40px;
   }


   .container_cerrar_sesion{
      width: 100%;
      display: block;
      margin: 0 auto;

   }

   .button{
      width: 100%;
      margin-bottom: 20px;
      
   }

   .container_cerrar_sesion form{
      width: 100%;
   }

   .container_cerrar_sesion form input{
      width: 100%;
   }
 

   .formulario-edicion input{
      width: 100%;
   }


   .container-buttons{
      width: 100%;
      display: block;
      margin: 0 auto;
      align-items: center;
      justify-content: center;
   }
   
  
  
 
 /*CELULAR----------------------------------------------------------------------------------------------------------------------------*/
 @media screen and (max-width: 450px){
    .contenedor_libros{
      display: block;
      height: auto;
    }
  
    .libro{
      display: block;
      text-align: center;
    }
  
    .info{
      width: 100%;
      text-align: center;
      justify-content: center;
    }
  
    .info p{
      margin-top: 10px;;
    }
  
    .info .descripcion{
      display: none;
    }


   
  } 
 
 }


 @media screen and (max-width: 350px){
   .info_texto_childcorreo{
      font-size: 10px;
   }

   .info_texto_child{
      font-size: 10px;
   }
 }


 @media screen and (max-width: 260px){
   .info_texto_childcorreo{
      display: none;
   }

   .logo{
      display: none;
   }

   .nav-bar{
      height: 72px;
   }
 }


 @media screen and (max-width: 200px){
   *{
      display: none;
   }
 }
