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

/* Styl dla całego body */
body {
    font-family: "Lora", serif;
    line-height: 1.8;
    background-color: #eef2ff;
    color: #2c2c54;
    padding: 25px;
}

/* Nagłówek */
header {
    background: linear-gradient(135deg, #6a79ff 0%, #8e9bff 100%);
    color: #ffffff;
    padding: 35px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0px 5px 15px rgba(106, 121, 255, 0.3);
}

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

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

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

nav ul {
    list-style: none;
    text-align: center;
    padding: 15px;
    background: #5469d4;
    border-radius: 15px;
    box-shadow: 0px 5px 15px rgba(106, 121, 255, 0.2);
}

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

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

nav ul li a:hover {
    background-color: #8e9bff;
    color: #2c2c54;
    text-decoration: none;
    transform: scale(1.05);
}

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

/* Artykuły */
article {
    background: #ffffff;
    padding: 24px;
    margin-bottom: 35px;
    border-radius: 15px;
    box-shadow: 0px 5px 15px rgba(106, 121, 255, 0.15);
    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(106, 121, 255, 0.2);
}

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

article h2 a:hover {
    color: #8e9bff;
    text-decoration: underline;
}

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

/* Stopka */
footer {
    text-align: center;
    padding: 20px;
    margin-top: 50px;
    background: #6a79ff;
    color: white;
    border-radius: 15px;
    font-size: 16px;
    opacity: 0.9;
    box-shadow: 0px -5px 15px rgba(106, 121, 255, 0.15);
}

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

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