
.contenedor-book {
    width: 99vw;
    display: flex;
    justify-content: space-evenly;
    height: 98vh;
    align-items: center;
    margin: 0%;
    flex-direction: column;


}

.botones {
font-size: 30px;
font-weight: 700;


}

body {
background-image: url('../images/malublog2.png');
    background-size:cover;          /* Cubre todo el espacio, escala la imagen */
    background-position:initial;     /* Centra la imagen */
font-family: "Roboto Slab", serif;
font-weight: 300;
display: flex;
    flex-direction: column;
    align-items: center;

}



.book {
  border: 13px solid #1B1B1B;  
  background-image: url('../images/texturelabs_paper_290l.jpg');
  background-size: contain;
  border-radius: 28px;
  padding: 0 10px;
  width: 1300px; /* adjust size */
  max-width: 100%;
  height: 700px;
  aspect-ratio: 3 / 2;
  display: flex;
box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.342);;
}
.pageL,	.pageR {
  height: 100%;
  width: 50%;
  display: inline-block;
  position: relative;
  border-radius: 22px;
}
.pageL {
  border-left: 2px rgba(128, 128, 128, 0.507) solid;
}



.Parrafo-izq, .Parrafo-der {
    margin: 50px;
    height: 550px; /* Asegúrate que este número coincida con el JS */
    overflow: hidden;
    padding: 0;
    box-sizing: border-box;
    display: block;
    position: relative;
    line-height: 1.5; /* Altura de línea fija */
}

.Parrafo-izq p, .Parrafo-der p {
    hyphens: auto;          /* Cortará las palabras con guiones si son muy largas */
    line-height: 1.4;       /* Un poco de aire entre líneas para que sea legible */
margin-bottom: 1.5em; /* El mismo que el line-height */
    font-size: 1.6cap;
}

.Parrafo-izq img,
.Parrafo-der img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.pageR { 
  border-right: 2px rgba(128, 128, 128, 0.466) solid;
}
.seam {
  width:8px;
  background:
    linear-gradient(to right,
    rgba(255, 255, 255, 0.432), rgba(49, 36, 8, 0.541), rgba(255, 255, 255, 0.418));
        position: sticky;
}

.jacquard-24-regular {
  font-family: "Jacquard 24", system-ui;
  font-weight: 400;
  font-style: normal;
}
	
h1 {
  font-family: "Jacquard 24", serif;
  font-size: 3cap;
  font-weight: 300;
  margin: 0 0 10px 0; /* Asegúrate que el margen superior sea 0 */
  padding: 0;
  line-height: 1.1;
}

h2 {
font-size: 15px;
font-weight: 500;
letter-spacing: 0.5cap;
color: #221121;
margin: 0;

}

span {
  font-weight: 500;
  color: #7bb41e;
}

h2#postDateLibro, h2 {
    font-size: 14px;
    font-weight: 500;
    color: #221121;
    margin-top: -10px; /* Para que quede pegadito al título */
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Centrar títulos y fechas dentro de las páginas del libro */
.Parrafo-izq h1, 
.Parrafo-der h1,
#postDateLibro {
    text-align: center;
    width: 100%;
    display: block;
}

/* Ajuste opcional para la fecha */
#postDateLibro {
    margin-top: -5px; /* Para que no quede tan lejos del h1 */
    font-size: 14px;
    letter-spacing: 1px;
}

#prev, #next {
    background: none;      /* Quitamos el fondo del botón */
    border: none;
    width: 30px;
    height: 30px;
    cursor: pointer;
    padding: 0;
    position: absolute;
    bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* El estilo del dibujo (SVG) */
#prev svg, #next svg {
    width: 100%;
    height: 100%;
    fill: #1B1B1B;         /* Color inicial de la flecha */
    shape-rendering: crispedges; /* FUERZA el look pixelado, evita bordes borrosos */
}

/* Cambio de color al pasar el mouse */
#prev:hover svg, #next:hover svg {
    fill: #7bb41e;         /* Color al pasar el mouse */
}

/* Efecto al hacer clic */
#prev:active svg, #next:active svg {
    transform: scale(0.9); /* Se encoge un poquito al pulsar */
}

#prev { left: 40px; }
#next { right: 40px; }




/* MENU */

.menu-superior {
    display: flex;
    justify-content: center; /* Centra los botones */
    gap: 15px;               /* Espacio entre botones */
    flex-wrap: wrap;         /* Si son muchos, se acomodan abajo */
}

.boton-nav {
    background-color: #b2f14b; /* El marrón de tus flechas */
    color: #0c030c;            /* Color crema */
    text-decoration: none;     /* Quita el subrayado */
font-family: "Roboto Slab", serif;
    font-size: 14px;
    font-weight: 400;
    padding: 8px 16px;
    transition: transform 0.1s;
}

.boton-nav:hover {
    background-color: #b2f14b;
    color: #0c030c;
    transform: translateY(-2px); /* Pequeño salto al pasar el mouse */
}

.boton-nav:active {
    transform: translateY(2px);  /* Se hunde al clickear */
    border-bottom: 0px;          /* Desaparece la sombra al hundirse */
}


/* ARCHIVE */


/* --- ESTILO DE LA LISTA EN EL ARCHIVO --- */

.lista-archivo {
    list-style: none; /* Quitamos los puntos de la lista */
    padding: 0;
    margin: 20px 10px;
    font-family: "Jacquard 24", serif;
}

.lista-archivo li {
    margin-bottom: 12px;
    border-bottom: 1px dashed rgba(88, 55, 47, 0.3); /* Línea sutil de cuaderno */
    padding-bottom: 4px;
    transition: all 0.2s ease;
}

.lista-archivo a {
    text-decoration: none;
    color: #221121; /* El color marrón de tu texto */
    font-size: 1.9rem;
    display: block;
    line-height: 1.2;
}

/* Efecto al pasar el mouse sobre un post en el índice */
.lista-archivo li:hover {
    padding-left: 8px; /* Pequeño desplazamiento a la derecha */
    background-color: rgba(88, 55, 47, 0.05); /* Resaltado muy suave */
}

.lista-archivo a:hover {
    color: #7bb41e; /* Cambio sutil de color */
  
}

/* Título de la página de Archivo dentro del libro */
#izq h1, #der h1 {
    font-family: "Jacquard 24", serif;
    color: #6c537a;
    text-align: center;
    font-size: 3rem;
    margin-top: 10px;
    margin-bottom: 20px;
}


mark {
background-color: #b2f14b;

}