@media screen and (max-width: 1045px)
{
    .book-container
    {
        height: 1000px !important; 
    }

    .book-card
    {
        display: flex !important;
        flex-direction: column !important;
    }
}

.book-container {
    display: flex;

    align-items: center;
    justify-content: center;
    justify-self: center;
    gap: 20px;
    height: 600px;
    width: 100%;

    filter: drop-shadow(0px 0px 10px var(--col-gold-shadow));
    
}

/* The Main Book Box */
.book-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: #eedcb3;
    border: 2px solid #8b6830;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* Left Page (Image Box) */
.book-page-left {
    padding: 30px;
    height: auto;
    width: auto;
    overflow: auto;

    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(0, 0, 0, 0.15); 
    /* flex: 0; */
}

.book-page-left img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Right Page (Text Content Box) */
.book-page-right {
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
}

.project-tag {
    /* font-size: 12px; */
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #7d655c;
}

.project-title {
    /* font-size: 28px; */
    margin: 0 0 15px 0;
    letter-spacing: 1px;
}

.divider {
    width: 100%;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
    margin-bottom: 10px;
}

.project-description {
    font-size: 18px;
    line-height: 1.6;
    white-space: pre-line;
}

.page-number
{
    bottom: 30px;
    left: 40px;
    font-size: 14px;
    color: #7d655c;
}

/* Navigation Arrow Button Styling */
.nav-arrow {
    background: none;
    border: none;
    font-size: 30px;
    color: #eedcb3;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.nav-arrow:hover {
    transform: scale(1.2);
}
