/* Resetowanie stylów */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Styl dla całego body */
body {
    font-family: "Poppins", Arial, sans-serif;
    line-height: 1.8;
    background-color: #f0f5fa;
    color: #1b2a49;
    padding: 25px;
}

/* Nagłówek */
header {
    background: linear-gradient(135deg, #1b2a49 0%, #547aa5 100%);
    color: #ffffff;
    padding: 30px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15);
}

header h1 {
    font-size: 28px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

header p {
    font-size: 18px;
    opacity: 0.9;
}

/* Nawigacja */
nav {
    margin-top: 20px;
}

nav ul {
    list-style: none;
    text-align: center;
    padding: 14px;
    background: #365f91;
    border-radius: 12px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.12);
}

nav ul li {
    display: inline;
    margin: 0 20px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 17px;
    font-weight: bold;
    padding: 10px 16px;
    border-radius: 6px;
    transition: all 0.3s ease-in-out;
}

nav ul li a:hover {
    background-color: #547aa5;
    text-decoration: none;
    transform: scale(1.1);
}

/* Główna zawartość */
main {
    margin: 30px auto;
    max-width: 900px;
}

/* Artykuły */
article {
    background: #ffffff;
    padding: 22px;
    margin-bottom: 30px;
    border-radius: 12px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

article:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.18);
}

article h2 a {
    color: #1b2a49;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

article h2 a:hover {
    color: #547aa5;
    text-decoration: underline;
}

article p {
    font-size: 18px;
    margin-top: 12px;
    color: #333;
}

/* Stopka */
footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    background: linear-gradient(135deg, #1b2a49 0%, #547aa5 100%);
    color: white;
    border-radius: 12px;
    font-size: 16px;
    opacity: 0.9;
    box-shadow: 0px -5px 15px rgba(0, 0, 0, 0.12);
}

footer a {
    color: #aed2ff;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}
