body {
    background-color: #F9EAEA;
}
.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    color: #343a40;
}

.book-ads {
    padding-bottom: 80px;
}

.footer-nav {
    background-color: #FFE4E1;
    padding-top: 10px; /* Add space at the top */
    box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.1); /* Optional: Adds a shadow to make the footer stand out */
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}
.footer-nav .nav-link {
    color: #343a40;
    font-size: 1.2rem;
    padding: 0.5rem 0;
}
.footer-nav .nav-link.active {
    color: #007bff;
}

.card-grid {
    display: flex;
    min-height: 50vh;
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
    overflow-x: hidden;
}

.card3d {
    margin: 4px;
    transform: scale(1);
    perspective: 600px;
}

.card3d:hover {
    z-index: 10;
    transform: scale(1.3);
}


.card3d img {
    width: 180px; /* Ensures all images are the same width */
    height: 270px; /* Ensures all images are the same height */
    object-fit: cover; /* Maintains aspect ratio and fills the area */
    border: pink 4px solid;
    border-radius: 3px;
}

.card3d,
.card3d img {
    transition: all 250ms ease-out;
}

.modal.fade .modal-dialog {
    transform: scale(0.8) translateY(100px);
    opacity: 0;
    transition: transform 0.4s ease-out, opacity 0.4s ease-out;
}

.modal.show .modal-dialog {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.text-modal {
    color: #485785;
}

