/* --- CONFIGURACIÓN GENERAL --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Para que el padding no afecte al ancho total */
    font-family: "Open Sans", sans-serif;
}

body {
    background-color: #001c39;
}

/* --- MENÚ HAMBURGUESA --- */

.hamburguesa {
  position: fixed;
  top: 1rem;
  right: 1rem;
  background-color: #a43e3e;
  color: #fff;
  border: 1px solid;
  font-size: 1.8rem;
  padding: 0.3rem 0.6rem;
  border-radius: 5px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s ease;
}

.hamburguesa:hover {
  background: #a05a44;
}

.menu {
  position: fixed;
  top: 75px;
  right: 1rem;
  background-color: #a43e3e92;
  border-radius: 8px;
  overflow: hidden;
  flex-direction: column;
  display: none;
  z-index: 9;
  border: 1px solid #ffff;

  backdrop-filter: blur(5px);
}
.menu.menu-active {
    display: flex;
}

.menu a {
    color: #fff;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
}

.menu a:hover {
    background: #a05a44;
}

/* --- TÍTULOS --- */
.titulos_libros {
    font-size: 60px;
    text-align: center;
    padding: 40px 20px;
    color: rgb(170, 181, 194);
    font-family: "Dancing Script", cursive;
}

/* --- ESTRUCTURA DE PAREJAS (EL CONTENEDOR) --- */
.contenedor-principal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding-bottom: 50px;
}

.pareja {
    width: 70vw; /* Ancho de la sección que contiene al par */
    background-color: rgba(136, 175, 199, 0.2); /* Fondo traslúcido suave */
    padding: 30px;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.pareja:hover {
    transform: scale(1.02); /* Efecto sutil al pasar el ratón */
}

.enlace-bloque {
    text-decoration: none;
    color: inherit;
    display: block;
}

.fila-flex {
    display: flex;
    justify-content: space-around;
    align-items: flex-start; /* Alinea las cajas arriba */
    gap: 20px;
}

/* --- LAS CAJAS DE IMAGEN (LIBRO Y PELI) --- */
.caja-img {
    background-color: rgb(151, 170, 179);
    padding: 15px;
    width: 40%; /* Ancho de cada ficha */
    border-left: 15px solid #04212e; /* Borde decorativo lateral */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.caja-img img {
    width: 100%;
    height: auto;
   /* border: 1px solid #ddd;*/
}

/* --- DECORACIÓN CENTRAL (FLOR) --- */
.caja-flor {
    width: 10%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 50px; /* Baja la flor para que quede centrada entre imágenes */
}

.caja-flor img {
    width: 100%;
    opacity: 0.8;
}

/* --- TEXTOS INFORMATIVOS --- */
.descvalorados {
    margin-top: 15px;
    background-color: rgb(151, 170, 179);
    text-align: left;
}

.descvalorados p {
    font-size: 14px;
    color: #000000;
    margin-bottom: 5px;
}

.descvalorados strong {
    font-size: 18px;
    color: rgb(13, 4, 29);
    display: block;
    margin: 5px 0;
}

/* --- FOOTER --- */
.footer {
    background-color: #2d2d2d;
    color: #f1f1f1;
    padding: 40px 80px 20px;
}

.footercontenedor {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    border-bottom: 1px solid #444;
    padding-bottom: 20px;
}

.logo {
    width: 70px;
}

.iconos a img {
    width: 25px;
    filter: invert(1);
}
