.book-library-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
}

.book-item {
    flex: 0 0 calc(25% - 20px);
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    transition: all 0.5s ease;
    justify-content: space-between;
}

.book-item-wrapper {
    display: flex;
    flex-direction: column;
}

.book-item:hover {
    box-shadow: 0 2px 18px rgba(13, 5, 129, 0.5);
}

.book-image {
    margin-bottom: 16px;
}

.book-image img {
    width: 100%;
    height: auto;
    display: block;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.book-title {
    font-size: 18px !important;
    margin-bottom: 14px;
    padding: 0 20px;
    font-weight: 500 !important;
    text-transform:unset !important;
    font-family: 'Montserrat', sans-serif !important;
}

.book-author {
    font-size: 14px!important;
    padding: 0 20px;
    margin-bottom: 16px;
}

.book-description {
    flex-grow: 1;
    margin-bottom: 14px;
    padding: 0 20px;
}

.book-action {
    margin: 0 20px 20px;
}

.book-pub-date {
    color: #3b3b3b;
    font-size: 14px;
    padding: 0 20px;
    display: none;
}

.book-download-button {
    position: relative;
    color: #222222;
    font-size: 12px;
    padding: 10px 26px;
    display: inline-block;
    border: 1px solid #222222;
    text-align: center;
    width: 100%;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
}

.book-download-button:hover {
    color: #ffffff;
    background-color: #040d34;
    border: 1px solid #040d34;
}

@media (max-width: 1024px) {
    .book-item {
        flex: 0 0 calc(33.33% - 20px);
    }

    .book-library-container {
        padding: 0 8px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .book-item {
        flex: 0 0 calc(50% - 20px);
    }

    .book-library-container {
        padding: 0 8px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .book-item {
        flex: 0 0 100%;
    }

    .book-library-container {
        padding: 0 14px;
    }
}