body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-image: url('imagenes/fondo2.jpg');
    background-size: cover;
}

.caveat-400 {
    font-family: "Caveat", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 1.5em;
  }

.images-section {
    display: flex;
    justify-content: space-around;
    margin-bottom: 40px;
}

.image-container {
    position: relative;
}


.image-container img {
    width: 120px;
    height: 500px;
}

.image-container1 img {
    width: 120px;
    height: 120px;
}

/* Áreas pequeñas para el popup */
.popup-area {
    position: absolute;
    width: 16%;  /* Establecer el tamaño del área a 2x2cm */
    height: 8%;
    cursor: pointer;
}

/* Primer área en la esquina inferior izquierda */
/* .popup-area-1 {
    bottom: 0;
    left: 0;
} */
.popup-area-1 {
    bottom: 9%;
    left: 54%;
}

.popup-area-5 {
    Top: 12%;
    left: 1%;
}

/* Segundo área en la esquina inferior derecha */
.popup-area-2 {
   Top: 13%;
    left: 64%;
}



.popup-area-3 {
    top: 20%;
    left: 65%;
}




/* Popup que aparece sobre el área */
.popup-image {
    display: none;
    position: absolute;
    bottom: calc(10% + 2cm); /* Se posiciona justo por encima del área */
    left: 10%;
    width: 300px;
    padding: 10px;
    background-color: white;
    border: 1px solid #ddd;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 10;
    text-align: center;
    box-sizing: border-box;
}

.popup-area:hover + .popup-pago {
    display: block;
}

.popup-pago {
    display: none;
    position: absolute;
    bottom: 16%; /* Mejor que top negativo */
    left: 50%;
    transform: translateX(-90%);
    width: 300px;
    padding: 10px;
    background-color: white;
    border: 1px solid #ddd;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 10;
    text-align: center;
    box-sizing: border-box;
}



.popup-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Mostrar el popup cuando el cursor pasa por encima de la zona */
.popup-area:hover + .popup-image {
    display: block;
}

.columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    /* margin-bottom: 40px; */
    margin: 20px;
}

.column {
    background: rgba(255, 255, 255, 0.8);
    padding: 10px;
    border-radius: 8px;
}

.column h3{
    text-align: center;
}


.column img {
    width: 100%;
}

.comments {
    display: flex;
    justify-content: space-around;
}

.comment {
    width: 45%;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 10px;
    border-radius: 8px;
}



.comment2 {
    display: flex; /* Esto hace que los elementos se alineen en línea */
    justify-content: space-between; /* Esto distribuye el espacio entre los elementos */
    align-items: center; /* Alinea los elementos verticalmente en el centro */
    width: 45%;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 10px;
    border-radius: 8px;

}

.comment3 {
    display: flex; /* Esto hace que los elementos se alineen en línea */
    justify-content: space-between; /* Esto distribuye el espacio entre los elementos */
    align-items: center; /* Alinea los elementos verticalmente en el centro */
    width: 45%;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 10px;
    border-radius: 8px;

}



.container {
    display: flex;
    font-family: 'Caveat', cursive; /* Usar la fuente Caveat para el título */
    justify-content: center;
    align-items: center;
    width: 100%;
}

.imagen-item {
    width: 20%;
    text-align: center;
}
.imagen-item img {
    width: 100%;
    height: auto;
    max-width: 100px;
   /*  margin-bottom: 10px; */
}


.imagen-item-col {
    width: 30%;
    text-align: center;
}
.imagen-item-col img {
    width: 100%;
    height: auto;
    max-width: 80px;
    margin-bottom: 10px;
}

.imagen-item-libro {
    width: 28%;
    text-align: center;
}

/* .imagen-item-libro img {
    width: 100%;
    height: auto;
    max-width: 250px;
    margin-bottom: 10px;
} */

.imagen-item-libro img {
    width: 100%;        
    height: 220px;      
    object-fit: cover;  
    
    /* 👇 Cambia 'center' por esto. Prueba con 30%, 20% o incluso 0% para pegarla más a la izquierda */
    object-position: 50% center; 

    display: block;
    margin: 0 auto;
}



.contenido {
    text-align: center;
    width: 60%;


 /*    background-image: url('imagenes/llavetrasparente60.png');
    background-size: 80%;
    background-position: 25% center;   
    background-repeat: no-repeat;  */

}
.titulo {
    font-size: 2.5em;
    color: #0105ff;
    /* color: #F604E1 ;  */
    margin: 0;
    padding: 20px 0;
}
.subtitulo {
    font-size: 1.5em;
    color: #3c19c6;
    margin-top: 10px;
}
.descripcion {
    font-size: 1em;
    color: #333;
}

.diseñador {
    text-align: center;
    width: 100%;
    color: #3814c666;
    font-size: 0.8em;
}

.comment2 {
    
    background-image: url('imagenes/llave40.png');


    background-size: cover;       /* Hace que la imagen cubra todo el recuadro */
    background-position: center;   /* Centra la imagen en el recuadro */
    background-repeat: no-repeat;  /* Evita que la imagen se duplique como mosaico */

     /* 👇 Esto cambia el color del texto */
    /* color: #ffee00;  */
}


