/* Import czcionki DejaVu Sans w formacie .ttf */
@font-face {
    font-family: 'DejaVu Sans';
    src: url('/fonts/DejaVuSans.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


/* Styl dla okna modalnego */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
 
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 800px;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
}

#article-content {
    font-family: 'DejaVu Sans', Arial, sans-serif;
    line-height: 1.6;
}
/* Pełnoekranowe okno modalne na urządzeniach mobilnych */
@media screen and (max-width: 768px) {
    .modal {
        padding: 0;
    }

    .modal-content {
        margin: 0;
        padding: 10px;
        width: 100%;
 /*       height: 100%;
        max-height: 100vh;*/
        border: none;
        word-wrap: break-word;
        border-radius: 0;
        box-sizing: border-box;
    }

    #article-content {
       /* max-height: 90vh;  Więcej miejsca na treść */
    }

    .close {
        font-size: 32px; /* Większy przycisk zamykania dla łatwiejszego klikania */
        top: 10px;
        right: 15px;
    }
}