@media (max-device-width: 767px) {
    body {
        font-size: 1.5rem;
    }
        .windows-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        overflow: hidden;
    }

    .window {
        width: 100vw !important;
        height: 100vh !important;
        max-width: 100%;
        max-height: 100%;
        margin: 0 !important;
        left: 0;
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
        box-shadow: none;
        border-radius: 0;
    }

    .window.hidden {
        display: none;
    }

    .window.active {
        display: block;
        z-index: 100;
    }

    /* Navigation buttons */
    .window-nav {
        position: fixed;
        top: 50%;
        transform: translateY(-50%);
        font-size: 24px;
        background: rgba(0, 0, 0, 0.5);
        color: white;
        padding: 10px;
        border-radius: 50%;
        cursor: pointer;
    }

    .prev-window {
        left: 10px;
    }

    .next-window {
        right: 10px;
    }

    #qrContainer, .fullscreen-button, #decrease-font, #increase-font, .plain-button, .sidebar-icon, #online, .sidebartop {
        display: none;
    }
    .window-header {
        align-items: left;
        justify-content: left;
        text-indent: 20px;
        font-size: 2.25rem;
        height: 70px;
    }

    .content {
        padding: 0;
    }
    h1 {
        text-align: left;
    }
    .selection-button {
        font-size: 3rem;
        width: 100%;
    }
    .close2-button {
        font-size: 2.25rem;
        padding: 0;
    }
    .speaker-tag::before {
        font-size: 1.25rem;
    }
    .chapter-title {
        font-size: 1.75rem;
    }

}