html[data-bs-theme="light"] {
    --bs-body-bg: #c6cff3; /* Pale blue */
    --bs-body-color: #1e3a8a; /* Dark blue text */
}

body {
    background: #c6cff3;
    overflow: scroll;
    display: flex;
    justify-content: center;
    align-items: center;
}

img {
    vertical-align: middle;
    border-style: none;
}

h1 {
    font-size: 2.25rem;
    font-weight: 500;
    line-height: 1.2;
    margin-top: 0;
}

.accordion-button {
    background-color: #007bff; /* Change to your preferred color */
    color: white; /* Adjust text color */
}

.accordion-button:not(.collapsed) {
    background-color: #0056b3; /* Darker shade when active */
    color: white;
}

.accordion-item {
    border: 3px solid #000000; /* Custom border color */
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); /* Soft shadow */
}

.btn {
    border: 3px solid #000000; /* Custom border color */
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); /* Soft shadow */
}

.imgborder {
    border: 2px solid #000000; /* Custom border color */
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); /* Soft shadow */
}

.card-body img {
    transition: transform 0.3s ease-in-out;
}

.card-body:hover img {
    transform: scale(1.1);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

html {
    transition: background-color 0.4s ease, color 0.4s ease;
}

.book-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.book-container:hover .book-info {
    opacity: 1;
}

.news-flash {
    position: fixed;
    top: 100px;
    left: -300px; /* Start off-screen */
    width: 250px;
    background: #e7eaf7;
    padding: 15px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    transition: left 1.5s ease-in-out, opacity 1.5s ease-in-out;
    opacity: 0;
    border: 1px solid #1e3a8a;
}

.show-news {
    left: 20px; /* Slides in */
    opacity: 1;
}

.hide-news {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}