﻿.book-card img {
    width: 100%;
    height: auto;
}


.book-card {
    height: 400px;
}


@media (max-width: 576px) {
    .book-card {
        height: auto;
    }

    .col-3 {      
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.bio-container {
    background-color: #f5f5f5;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


.bio-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.bio-image img {
    border-radius: 10px;
    max-width: 100%;
    height: auto;
}

.bio-text {
    flex: 1;
    color: #333; 
}

   
    
    .book-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

    .book-card img {
        width: 100%;
        border-radius: 10px;
    }

    .book-card:hover {
        transform: scale(1.05);
    }

.book-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.book-card:hover .book-info {
    opacity: 1;
}

.book-info h5 {
    margin-bottom: 10px;
}

.book-info p {
    margin: 0;
    font-size: 0.9rem;
}
