#header {
    min-height: 80px;
    background-size: cover;
    background-position: center;
    background-color: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xs);
    border-radius: 15px;
}

.container {
    padding: 48px 28px;
}

.container--header {
    padding: 18px 28px;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo {
    width: 300px;
    max-width: 100%;
}

nav ul {
    margin: 0;
    padding: 0;
}

@media (max-width: 900px) {
    .container {
        padding: 36px 20px;
    }

    .container--header {
        padding: 16px 20px;
    }

    .logo {
        width: 240px;
    }

    nav ul li {
        margin: 8px 14px;
    }

    nav ul li a {
        font-size: 18px;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 28px 16px;
    }

    .container--header {
        padding: 14px 16px;
    }

    nav {
        flex-direction: column;
        gap: 10px;
        justify-content: center;
    }

    .logo {
        width: 220px;
    }

    nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 6px 10px;
    }

    nav ul li a {
        font-size: 16px;
    }

    .sub-title {
        font-size: 32px;
    }
}

/* Style dla standardowych linków */
nav ul li {
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
}

nav ul li a {
    color: var(--text);
    text-decoration: none;
    font-size: 20px;
    position: relative;
    /* Ważne, aby pozycjonować komunikat względem tego linku */
}

nav ul li a::after {
    content: '';
    width: 0;
    height: 3px;
    background: var(--accent);
    /* Kolor podkreślenia */
    position: absolute;
    left: 0;
    bottom: -6px;
    /* Podkreślenie znajduje się tuż nad komunikatem */
    transition: 0.5s;
}

nav ul li a:hover::after {
    width: 100%;
    /* Podkreślenie rozszerza się na całą szerokość linku */
}

/* (removed) "In progress" hover label for My work */

.page-head {
    margin: 14px 0;
    text-align: center;
    color: var(--text);
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 10px 0;
}

.page-head h1 {
    margin: 0;
    font-size: clamp(20px, 3vw, 34px);
    letter-spacing: -0.01em;
    font-weight: 500;
    white-space: nowrap;
    font-family: "Titillium Web", sans-serif;
}

.page-head h1 span {
    color: var(--accent);
}

@media (max-width: 520px) {
    .page-head h1 {
        white-space: normal;
    }
}

.row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.sub-title {
    font-size: 40px;
    font-weight: 600;
    color: var(--accent);
    font-family: "Titillium Web", sans-serif;
}

.copyright {
    width: 100%;
    text-align: center;
    padding: 5px 0;
    font-style: italic;
    color: var(--muted);
}
