.bookbody {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 30vh;
    text-align: center; /* Ensure centered content */
}

.bookcontainer {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* Book Gallery Improvements */
.bookgallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    width: 90%;
    max-width: 1200px;
}
		 
		 
.book {
    border: 1px solid #333;
    padding: 5px;
    background-color: #fff;
    border-radius: 3px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    z-index: 10; /* Ensures it is clickable */
}

.book a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 100;
}


.book img {
    width: 100%;
    height: auto;
    border-radius: 8px;
	pointer-events: auto; /* Ensures images allow pointer interactions */
}

.book:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    cursor: pointer; /* Add a pointer cursor on hover */
}

@media (max-width: 768px) {
    .bookgallery {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .bookgallery {
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    }
}

@media (max-width: 768px) {
    .bookgallery {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 480px) {
    .bookgallery {
        grid-template-columns: 1fr;
    }
}

