/* Ogólne stylizacje */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f9f9f9;
    font-size: 13px;
}

header {
    background-color: #001933;
    color: white;
    padding: 1.2rem 0 0.5rem;
    text-align: center;
    margin-top: -20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0.5rem auto;
    text-align: center;
}

nav a {
    text-decoration: none;
    color: #00509e;
    padding: 0.5rem 0.7rem;
    font-size: 13px;
    border-radius: 5px;
    margin: 0 8px;
    transition: 0.3s;
}

nav a:hover {
    background-color: #00509e;
    color: white;
}

section {
    max-width: 700px;
    margin: 1rem auto;
    background: white;
    padding: 1.2rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 13px;
}

h3 {
    font-size: 14px;
    margin-bottom: 8px;
}

/* Linki w sekcjach głównych */
section a {
    text-decoration: none;
    color: #0056b3;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    font-size: 13px;
    font-family: Arial, sans-serif;
}

section a:hover {
    color: #ff8800;
    text-shadow: 0 0 8px rgba(255, 136, 0, 0.7);
}

/* Linki w stopce */
footer a {
    color: #0056b3;
    text-decoration: none;
    font-size: 13px;
    font-family: Arial, sans-serif;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

footer a:hover {
    color: #ff8800;
    text-shadow: 0 0 8px rgba(255, 136, 0, 0.7);
}

/* Dla mobilnych - utrzymanie tej samej wielkości */
@media (max-width: 600px) {
    section a {
        font-size: 13px;
    }

    footer a {
        font-size: 13px;
    }

    .back-to-top {
        padding: 8px 15px;
        font-size: 13px;
    }
}

/* Przycisk "Wróć na górę" */
.back-to-top {
    display: block;
    text-align: right;
    margin-top: 1rem;
    background-color: #ffffff;
    color: #000000;
    padding: 12px 25px;
    border-radius: 8px;
    width: auto;
    cursor: pointer;
    font-size: 13px;
}

.back-to-top:hover {
    background-color: #007BFF;
    color: gold;
}

.back-to-top a {
    text-decoration: none;
    color: inherit;
    font-size: 13px;
}

/* Stopka */
footer {
    text-align: center;
    padding: 15px;
    background: #001933;
    color: #555;
    font-size: 13px;
    border-top: 1px solid #ccc;
}

footer p {
    margin: 0;
    color: #4a6fa5;
}

footer a {
    color: #4a6fa5;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 13px;
}

footer a:hover {
    color: #FFD700;
}

/* Neonowy baner */
#neon-banner {
    background-color: #00334d;
    color: #00FFFF;
    font-size: 13px;
    text-align: center;
    padding: 0px;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    width: 100%;
    white-space: nowrap;
    line-height: 0.5;
}

#neon-banner p {
    display: inline-block;
    animation: slide-left 10s linear infinite 0s;
}

@keyframes slide-left {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Linki w wersji mobilnej */
.mobile-links {
    display: none;
    text-align: center;
    margin-top: 10px;
}

.mobile-link {
    font-size: 13px;
    color: #00509e;
    text-decoration: none;
    padding: 0.4rem;
    border-radius: 5px;
    display: inline-block;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.mobile-link:hover {
    color: white;
    background-color: #00509e;
}

/* Responsywność */
@media (max-width: 768px) {
    header {
        padding: 1rem 0;
    }
    header h1 {
        font-size: 14px;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    nav a {
        font-size: 13px;
        padding: 0.6rem 1rem;
        margin: 5px;
        width: auto;
    }

    section {
        padding: 1rem;
    }

    footer {
        font-size: 13px;
    }

    .mobile-links {
        display: block;
    }
}

@media (max-width: 600px) {
    body {
        font-size: 13px;
    }
    h3 {
        font-size: 14px;
    }

    li, p, a {
        font-size: 13px;
    }
nav a {
        font-size: 16px !important; /* Wymusza większą czcionkę w menu na mobilnych */
    }}
