* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;

    font-family: Arial, Helvetica, sans-serif;

    background: #0f172a;
    color: #ffffff;

    text-align: center;
}

.container {
    width: 100%;
    max-width: 100%;
    padding: 40px 20px;
}

/* Nazwa firmy */

.brand {
    margin-bottom: 35px;

    font-size: clamp(22px, 4vw, 34px);
    font-weight: 700;

    letter-spacing: 1px;
}

/* Numer 404 */

.code {
    margin-bottom: 30px;

    font-size: clamp(70px, 20vw, 120px);
    font-weight: 900;

    line-height: 0.9;
    letter-spacing: -8px;

    color: #38bdf8;
}

/* Główny komunikat */

h1 {
    margin: 0 0 15px;

    font-size: clamp(28px, 5vw, 48px);
    font-weight: 700;
}

/* Tekst */

p {
    margin: 0 0 30px;

    color: #94a3b8;

    font-size: 18px;
    line-height: 1.6;
}

/* Profil Facebook */

.facebook-profile {
    display: inline-flex;
    align-items: center;

    gap: 14px;

    padding: 10px 22px 10px 10px;

    border-radius: 50px;

    background: #1877f2;

    color: #ffffff;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.facebook-profile:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Zdjęcie profilowe */

.facebook-profile img {
    width: 52px;
    height: 52px;

    border-radius: 50%;

    object-fit: cover;

    display: block;
}

/* Tekst przy zdjęciu */

.facebook-profile span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    line-height: 1.3;
}

.facebook-profile strong {
    font-size: 16px;
}

.facebook-profile small {
    margin-top: 2px;

    font-size: 12px;

    opacity: 0.85;
}

/* Telefon */

@media (max-width: 480px) {

    .container {
        padding: 30px 15px;
    }

    .brand {
        margin-bottom: 28px;
    }

    .code {
        margin-bottom: 25px;
    }

    h1 {
        font-size: 30px;
    }

    p {
        font-size: 16px;
    }

    .facebook-profile {
        padding-right: 18px;
    }

    .facebook-profile img {
        width: 46px;
        height: 46px;
    }
}
.topic-image {
    display: block;
    width: 50%;
    max-width: none;
    height: auto;
    margin: 0 auto 35px;
    border-radius: 8px;
}
.contact-bar {
    margin-top: 50px;
    padding-top: 25px;

    border-top: 1px solid rgba(148, 163, 184, 0.2);

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;

    font-size: 16px;
}

.contact-bar {
    margin-top: 50px;
    padding-top: 25px;

    border-top: 1px solid rgba(148, 163, 184, 0.2);

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;

    font-size: 20px;
    font-weight: 600;
}

.contact-bar a {
    color: #ffffff;
    text-decoration: none;

    transition: color 0.2s ease;
}

.contact-bar a:hover {
    color: #38bdf8;
}

.contact-separator {
    color: #475569;
}