
.card-book {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    padding: 10px;
}

.book {
    position: relative;
    width: 220px;
    height: 240px;
    background-color: #4a3b2f; /* Dark brown for encyclopedia */
    border: 3px solid #3e3024; /* Darker border for leather-bound look */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

/* The book spine (simply represented as a strip on the left side) */
.spine {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 35px;
    background-color: #3e3024; /* Spine color, darker brown */
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    box-shadow: inset 0px 0px 5px rgba(0, 0, 0, 0.5); /* Inner shadow for texture */
}

/* Spine details: golden vertical lines */
.spine::before, .spine::after {
    content: '';
    position: absolute;
    left: 8px;
    width: 20px;
    height: 2px;
    background-color: gold;
    border-radius: 1px;
}

.spine::before {
    top: 20px;
}

.spine::after {
    bottom: 20px;
}

/* Book title with a golden accent */
.book-title {
    color: gold;
    font-size: 1.5em;
    font-weight: bold;
    padding: 36px;
    text-align: center;
    line-height: 1.2;
}

/* Optional subtitle or author */
.book-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1em;
    margin-top: 5px;
}

.pagination .page-item .page-link {
    background-color: transparent; /* Fundo transparente para efeito outline */
    color: #198754; /* Cor do texto igual ao botão outline-success */
    border: 1px solid #198754; /* Borda com a cor outline-success */
}

.pagination .page-item.active .page-link {
    background-color: #198754; /* Fundo verde para o item ativo */
    color: white;
    border-color: #198754;
}

.pagination .page-item .page-link:hover {
    background-color: #198754; /* Fundo verde ao passar o mouse */
    color: white;
    border-color: #198754;
}
