pre {
    font-family: 'Monaco', monospace;
    font-size: large;
}

.content p {
    color: #f5f5f5 !important;
}

.reader-container {
    background-image: url('/static/jackpines-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    padding: 2rem 1rem;
}

.content-box {
    background: rgba(0, 0, 0, 0.95);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 900px;
    transition: all 0.3s ease;
}

.font-controls {
    background: rgba(30, 30, 30, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px 12px 0 0;
}

.ebook-content {
    line-height: 1.7;
    text-align: justify;
    transition: font-size 0.3s ease;
}

.font-small { font-size: 16px; }
.font-medium { font-size: 22px; }
.font-large { font-size: 28px; }

.font-btn {
    transition: all 0.2s ease;
}

.font-btn:hover {
    transform: translateY(-1px);
}

.font-btn.is-active {
    background-color: #3273dc !important;
    color: white !important;
}

/* Mobile optimizations */
@media screen and (max-width: 768px) {
    .reader-container {
        padding: 0.5rem;
        background-attachment: scroll;
    }

    .content-box {
        margin: 0;
        border-radius: 8px;
    }

    .font-controls {
        border-radius: 8px 8px 0 0;
    }

    .ebook-content {
        padding: 1rem !important;
    }

    .font-small { font-size: 13px; }
    .font-medium { font-size: 15px; }
    .font-large { font-size: 17px; }
}
