/* Use Custom Font */
@font-face {
    font-family: 'HindVadodara';
    src: url('/Fonts/HindVadodara-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'NotoSans';
    src: url('/Fonts/NotoSansGujarati-Bold.ttf') format('truetype');
}

.book-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 10px;
}

.book-card {
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 8px 8px rgba(0, 0, 0);
    background-color: rgba(252, 211, 158, 0.5);
}

.book-cover {
    width: 180px;
    height: 280px;
    object-fit: cover;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 5px black;
}

.book-title {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 10px;
    font-family: 'NotoSans';
    font-size: 20px;
}

.read-button {
    background-color: #3b1b00;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
}

button {
    font-size: 20px;
    /* margin-left: 555px; */
    /* margin-bottom: 20px; */
    background-color: #3b1b00;
    color: white;
    border: 2px solid black;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
    cursor: pointer;
    margin-right: 20px;
}

/* Mobile Layout */
@media (max-width: 600px) {
    .book-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 books per row for mobile */
    }

    button {
        margin-bottom: 10px;
        margin-right: 10px;
    }

    .book-cover {
        width: 150px;
        height: 230px;
    }
}