/* styles.css */
body {
    font-family: 'Open Sans', sans-serif; 
    background-color: #ffffff; /* Ciemne tło dla całej strony */
    color: #000000; /* Biały kolor tekstu */
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body.dark-theme {
    font-family: 'Open Sans', sans-serif;
    background-color: #121212; /* Ciemne tło dla całej strony */
    color: #ffffff; /* Biały kolor tekstu */
}

.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/*#region HEADER*/
/*HEADERHEADERHEADERHEADERHEADERHEADERHEADERHEADERHEADERHEADERHEADERHEADERHEADERHEADERHEADERHEADERHEADERHEADERHEADER*/

header {
    position: sticky;
    top: 0;
    z-index: 100;
    /*background-color: #cfcfcf; !* Ciemne tło dla nagłówka *!*/
    /*border-bottom: 1px solid #333; !* Dodanie cienkiej linii pod nagłówkiem *!*/
    background-color: #1e1e1e; /* Ciemne tło dla nagłówka */
    border-bottom: 1px solid #333; /* Dodanie cienkiej linii pod nagłówkiem */
    padding: 10px 20px; /* Mniejsze wypełnienie nagłówka */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header.dark-theme{
    background-color: #1e1e1e; /* Ciemne tło dla nagłówka */
    border-bottom: 1px solid #333; /* Dodanie cienkiej linii pod nagłówkiem */
}

.header-content {
    margin-left: 25%;
    margin-right: 25%;
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

.logo {
    height: 40px; /* Ustawienie wysokości logo */
    width: auto;
}

.theme {
    /* Atrybuty dla prawidłowego rozmieszczenia tła 
    background-size: cover;
    background: url('./content/theme.png') no-repeat center;
    height: auto; /* Ustawienie wysokości logo */
    width: 20px;
    color: white;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #ffffff; /* Biały kolor linków */
    font-size: 16px;
}

nav ul li a:hover {
    text-decoration: underline;
}

/*HEADERHEADERHEADERHEADERHEADERHEADERHEADERHEADERHEADERHEADERHEADERHEADERHEADERHEADERHEADERHEADERHEADERHEADERHEADER*/
/*#endregion HEADER*/



/* Media query dla urządzeń o maksymalnej szerokości 768px (czyli tabletów) */
@media (max-width: 768px) {
    .header-content {
        margin-left: 5%; /* Zmniejszamy marginesy */
        margin-right: 5%;
    }
    
    footer .space-between{
        margin-left: 5%;
        margin-right: 5%;
        justify-content: center;
    }
}

/* Media query dla urządzeń o maksymalnej szerokości 480px (czyli smartfonów) */
@media (max-width: 480px) {
    .header-content {
        margin-left: 2%; /* Zmniejszamy marginesy jeszcze bardziej */
        margin-right: 2%;
    }

    footer .space-between{
        margin-left: 2%;
        margin-right: 2%;
        justify-content: center;
    }
}

main {
    flex: 1;
}

.image-container{
    position: relative;
}

.image-background {
    background: url('../content/image.png');
    width: 100%;
    height: 500px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    overflow: hidden; /* dodajemy tutaj overflow: hidden */
    /*filter: blur(3px);*/
    /*transform: scale(1.1);*/
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: rgba(0, 0, 139, 0.1); /* Navy blue filter */
}

.centered-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff; /* Biały kolor tekstu */
    z-index: 1; /* Upewnij się, że tekst jest nad overlay */
}

.section-line {
    border-bottom: 1px solid #333; /* Dodanie cienkiej linii pod każdą sekcją */
}

.section-padding{
    padding: 50px 20px;
}

section h2 {
    text-align: center;
    margin-top: 0;
    font-size: 24px;
}

section p {
    text-align: center;
    font-size: 18px;
    line-height: 1.6;
}


/*#region FOOTER*/
/*FOOTERFOOTERFOOTERFOOTERFOOTERFOOTERFOOTERFOOTERFOOTERFOOTERFOOTERFOOTERFOOTERFOOTERFOOTERFOOTERFOOTERFOOTERFOOTER*/

.copyrights {
    text-align: right;
    color: #c6c6c6;
}

footer .mail{
    text-align: left;
    color: #c6c6c6;
}

footer .space-between{
    font-size: smaller;
    margin-left: 25%;
    margin-right: 25%;
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

footer {
    background-color: #1e1e1e; /* Ciemne tło dla stopki */
    text-align: center;
    padding: 30px;
    border-top: 1px solid #333; /* Dodanie cienkiej linii nad stopką */
}

footer .content{
    display: flex;
    justify-content: left;
    align-items: center;
    font-size: smaller;
    color: #c6c6c6;
    margin-left: 25%;
    margin-right: 25%;
}

footer .content-h2{
    color: #ffffff;
}

footer .social-links a {
    margin: 0 10px;
    text-decoration: none;
    /*color: #1e90ff; /* Niebieski kolor linków */
}

footer .social-links a:hover {
    text-decoration: underline;
}

footer .social-link{
    color: white;
    font-size: 20px;
}

/*FOOTERFOOTERFOOTERFOOTERFOOTERFOOTERFOOTERFOOTERFOOTERFOOTERFOOTERFOOTERFOOTERFOOTERFOOTERFOOTERFOOTERFOOTERFOOTER*/
/*#endregion FOOTER*/
