/* Bookshelf Section Container */
.bookshelf-container {
    text-align: center;
    margin: 0 auto;
    max-width: 1000px;
    padding: 20px;
}

/* Bookshelf Header */
.bookshelf-header {
    background-color: black;
    color: white;
    padding: 15px 0;
    font-size: 18px;
}

.bookshelf-header h2 {
    margin: 0;
    font-size: 22px;
}

.bookshelf-header p {
    margin: 5px 0;
    color: #444;
}

/* Flexbox Layout */
.bookshelf-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 10px;
}

/* Individual Book Container */
.bookshelf-book {
    text-align: center;
    flex: 1 1 150px; /* Responsive sizing */
    max-width: 150px;
}

.bookshelf-book img {
    width: 150px;
    height: 250px;
    /* width: 100%;
    height: auto; */
    border-radius: 5px;
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
}

.bookshelf-book img:hover {
    transform: scale(1.1);
}

.bookshelf-book p {
    margin-top: 5px;
    font-size: 14px;
    font-weight: bold;
}
.imgsize {
    width: 200px;
    height: 250px;
}
.bookshelf-book a {
    text-decoration: none;
}
/* Responsive Design */
@media (max-width: 768px) {
    .bookshelf-flex {
        justify-content: center;
    }

    .bookshelf-book {
        flex: 1 1 45%;
        max-width: 45%;
    }
}

@media (max-width: 480px) {
    .bookshelf-book {
        flex: 1 1 100%;
        max-width: 100%;
    }
}
