
.flipbook {
    max-width: 1200px;
    height: 650px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin-left:0 auto;
}

.flipbook .hard {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
}

.flipbook .page {
    background: #ffffff;
    border: 1px solid #e0e0e0;
}

/* Page content styling */
.book-page {
    display: flex;
    background-color: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    padding: 15px;
    flex-direction: column;
}

.book-page-left, .book-page-right {
    padding: 20px;
    flex-grow: 1; /* Allows the content to fill the available height */
    overflow-y: auto; /* Adds a scrollbar if content exceeds height */
    
}

.book-page-left {
    border: none;
    box-shadow:  0 4px 6px rgba(0, 0, 0, 0.1), 0 -5px 15px rgba(0, 0, 0, 0.2);
    
}

.book-page-left img {
    border-radius: 4px;
    height: auto; /* Ensures aspect ratio is maintained */
    max-height: 450px; /* Reduced max height */
    max-width: 100%; /* Ensures it doesn't overflow horizontally */
    object-fit: contain;
    margin-bottom: 15px;
    display: block; /* Ensures auto margins work correctly for centering */
    margin-left: auto; /* Centers the image if it's smaller than the container */
    margin-right: auto;
    background-color: #b19f9247;
}

.large-quote {
    font-size: 2.5em;
    color: #800000;
    line-height: 0.5;
    font-weight: bold;
}

.open-quote {
    margin-right: 5px;
}

.close-quote {
    margin-left: 5px;
    vertical-align: bottom;
}

/* Cover page styling */
.flipbook .cover {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.flipbook .cover h2 {
    font-size: 2.5rem;
    color: #333;
    margin: 0;
}