/* css/lector.css */
body {
    background-color: #000;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding-top: 60px; /* Espacio para el header fijo */
}

.lector-header {
    background-color: #181818;
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 1000;
    border-bottom: 1px solid #333;
    display: flex;
    align-items: center;
}

.header-content {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-link, .chapter-info {
    font-size: 1rem;
    font-weight: 500;
}

.back-link {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.3s;
}

.back-link:hover {
    color: #fff;
}

.chapter-nav {
    display: flex;
    gap: 0.5rem;
}

.nav-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.nav-btn:hover {
    background-color: #0056b3;
}

.nav-btn.disabled {
    background-color: #333;
    color: #777;
    cursor: not-allowed;
}

.lector-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lector-container img {
    max-width: 100%;
    /* Opcional: si quieres limitar el ancho máximo de las páginas */
    /* max-width: 800px; */ 
    height: auto;
    display: block; /* Elimina espacio extra debajo de la imagen */
}