main.footer-visible {
    filter: blur(5px);


}


footer:not(.visible) {
    border-radius: var(--border-radius);
    margin: var(--bm);
}

footer {

    transition: all var(--animation-duration) var(--animation-easing);
    scale: 1;
    padding: var(--bm);
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: auto 1fr auto;
    position: relative;
    z-index: 10;
    min-height: calc(100svh - var(--bm) * 2);

    background-color: black;
    color: white;
    max-height: calc(100svh - var(--bm) * 2);
    border-radius: 0;
    text-align: center;
    gap: 1rem;
    font-weight: normal;


    a {
        font-weight: normal;
    }

    h1.error {
        grid-column: 1/-1;
        font-size: var(--fs);
        word-spacing: 3rem;

        a {
            border-bottom: 1px solid white;
        }
    }

    section.footer-nav {
        grid-column: 1/-1;
        display: block;
        text-align: left;
        font-family: "Helvetius";
        width: 90%;
        margin: auto;
        max-width: var(--max-width-big);

        p {
            display: inline;
        }
    }

    section.address,
    section.quick-navigation {
        a:hover {
            color: white;
        }
    }

    section.address {
        grid-column: 1/4;

        display: flex;
        flex-direction: column;
        justify-content: space-between;

        picture {
            display: flex;
            justify-content: center;
            height: 25vh;
        }

        img {
            max-height: 50vh;
            width: auto;
            height: 100%;
            object-fit: contain;
        }

        p {

            padding: 0;
        }

        .copy {
            width: 50%;
            margin: 0 auto;
            text-wrap: balance;
        }
    }

    section.quick-navigation {
        grid-column: 4/-1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    section.logotypes {
        grid-row: 5;
        grid-column: 2/6;
        display: flex;
        flex-direction: row;
        gap: 3rem;
        align-items: center;
        max-width: var(--max-width-big);
        margin: auto;

        img {
            width: 4vw;
            object-fit: contain;
        }
    }

    .ornament {
        opacity: 1;
        font-size: 4vw;
        font-family: "Futura Stencil Rotated";

    }




}





footer h1,
footer a p,
footer section.address a,
footer section.quick-navigation a,
footer>section,
footer>section:not(.footer-nav) a,
footer>section:not(.footer-nav) li,
footer>section address,
footer>section.copy {

    color: transparent;
    animation: animatedBackground 300s linear infinite alternate;
    background-size: 100vw 100vh !important;
    background-repeat: repeat-x;
    background-position: top left;
    -webkit-background-clip: text;
    background-clip: text;
}

@media (width < 960px) {
    footer {
        max-height: fit-content;
        min-height: auto;
        font-size: var(--fs);
        display: flex;
        flex-direction: column;

        section.footer-nav {
            margin: 0;
            width: 100%;
        }

        .address,
        address a p,
        .quick-navigation.upper a {
            color: white;
        }

        section.address,
        section.quick-navigation {
            gap: 1lh;
        }

        section.address .copy {
            width: 100%;
            margin: 0 auto;

            a {}
        }

        section.logotypes {
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 1rem;
            margin-block: var(--gap);

            img {
                width: 15vw;
                object-fit: contain;
            }

            .ornament {
                font-size: 15vw;
            }
        }
    }

    footer .mediapoint p,
    footer .mediapoint a {
        font-size: var(--small-fs) !important;


    }

    footer li {
        font-size: var(--small-fs) !important;
        line-height: var(--line-height);
    }



}