/* Globalne style */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
}

html, body {
    height: 100%;
    line-height: 1.5;  /* Ustawienie globalnego line-height dla całego dokumentu */
    background-color: #ffffff;
}

.container {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.header, .footer, .content {
    margin: 15px;
    border-radius: 10px;
}

.header {
    background: linear-gradient(90deg, #00387b, #005bb5);
    padding: 20px;
    text-align: center;
}

.header img {
    width: 200px;
    height: auto;
}

.content {
    flex-grow: 1;
    padding: 0;
}

.section {
    margin: 15px 0;
    padding: 20px;
    border-radius: 10px;
    background: linear-gradient(90deg, #F5F5F5, #E6F0F3); 
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

h1 {
    margin-bottom: 20px;
    color: #00387b;
}

p {
    margin-bottom: 15px;
    line-height: 1.5;  /* Ustawienie line-height dla paragrafów */
    color: #333;
}

.footer {
    background-color: #d3d3d3; /* Jasno szare tło */
    padding: 20px;
    color: black; /* Czarny tekst */
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9em;
    line-height: 1.5;  /* Ujednolicenie line-height w stopce */
    flex-wrap: wrap;
    border-radius: 10px; /* Zaokrąglone rogi */
}

.footer-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 5px 0;
}

.footer p {
    margin: 3px 5px;
    color: black; /* Czarny tekst */
}

.footer .social-icon {
    margin: 0 2px; /* Zmniejszenie marginesu */
    height: 30px;
    width: 30px;
    transition: transform 0.3s;
}

.footer .social-icon:hover {
    transform: scale(1.1);
}

.footer .language-icon {
    width: 30px;
    height: auto;
    margin: 0 2px; /* Zmniejszenie marginesu */
}

.logo {
    width: 150px;
    height: auto;
    border: 0;
}

.responsive-img-title, .responsive-img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border: 0;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

#cookieConsent {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    padding: 10px;
    display: block;
}

.cookie-container {
    max-width: 800px;
    margin: 0 auto;
}

#cookieConsent p {
    color: white;
}

#acceptCookies {
    background-color: #005bb5;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

#acceptCookies:hover {
    background-color: #00387b;
}

@media (max-width: 768px) {
    .header, .footer, .content {
        margin: 10px;
    }

    .section {
        margin: 10px 0;
    }

    .footer {
        flex-direction: column;
        text-align: center;
    }

    .footer-section {
        margin: 10px 0;
    }

    .footer-section.social-icons {
        flex-direction: column;
    }
}

.section-text p {
    line-height: 1.5;  /* Ujednolicenie odstępów między wierszami */
}

.section-text ul {
    margin-top: 10px;
    line-height: 1.5;  /* Ujednolicenie odstępów w listach */
}
