* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #1D89E4;
    --color-hover: #48A1EA;
    --color-dark: #222222;
    --color-light: #f2f2f2;
    --color-grey: #e0e0e0;

    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;

    /* ========= LINE HEIGHT ========= */
    --lh-body: 1.6;
    --lh-heading: 1.25;

    /* === Space=== */
    --space-section: clamp(3rem, 6vw, 6rem);

    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;

    /*  */
    --radius-lg: 1.25rem;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/montserrat-v31-latin-ext-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/montserrat-v31-latin-ext-regular.woff2') format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Montserrat';
}

footer {
    background-color: var(--color-dark);
    min-width: 100%;
    padding-block: 1.5rem;
    padding-inline: 1rem;
}

.site-footer {
    color: var(--color-light);
}

.site-footer a {
    text-decoration: none;
    color: var(--color-light);
    padding-block: 4px;
}

.container {
    max-width: 1140px;
    margin-inline: auto;
}

footer .logo {
    text-align: center;
    padding: 1rem;
    font-weight: 700;
}

footer .logo span {
    color: var(--color-primary);
}

footer .inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    padding: 1.5rem;
}

footer .description {
    width: 300px;
}

.links a {
    display: block;
}

.social-media {
    margin-top: 1rem;
    text-align: center;
}

.privace-policy {
    margin-top: 1rem;
    font-size: 13px;
    text-align: right;
    font-weight: 600;
}

.copyright {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-light);
    font-size: 13px;
    color: #9c9c9c;
    text-align: center;
}

/* Przewijanie strony scroll-top */
.scroll-top {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;

    width: 3rem;
    height: 3rem;

    display: grid;
    place-items: center;

    background-color: var(--color-primary);
    border: none;
    border-radius: 50%;

    cursor: pointer;
    z-index: 100;

    /* Fade */
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.scroll-top.is-visible {
    opacity: 1;
    pointer-events: auto;
}