:root {
    --color-text-dark: rgba(0, 0, 0, 0.75);
    --color-text-light: #fff;
    --color-border-light: rgba(0, 0, 0, 0.03);
    --color-border-dark: rgba(0, 0, 0, 0.09);
    --color-shadow-light: rgba(0, 0, 0, 0.09);
    --color-shadow-mid: rgba(0, 0, 0, 0.11);
    --color-shadow-strong: rgba(0, 0, 0, 0.17);

    --shadow-card: 0 6px 34px var(--color-shadow-light),
        0 3px 6px -3px var(--color-shadow-mid);
    --shadow-button: 0 3px 7px var(--color-shadow-strong);
    --shadow-common: inset 0 15px 53px 0 rgba(255, 255, 255, 0.05), inset 0 21px 43px 0 rgba(0, 0, 0, 0.07), inset 0 1px 1px -1px rgba(255, 255, 255, 0.50), inset 0 -1px 1px -1px rgba(255, 255, 255, 0.50), inset 0 -8px 13px -3px rgba(255, 255, 255, 0.08);

    --radius-lg: 16pt;
    --radius-md: 14pt;
    --radius-sm: 11pt;

    --cursor-default: url("img/cursor.svg"), auto;
    --cursor-hand: url("img/hand cursor.svg"), auto;
    --cursor-zoom: url("img/picture zoom.svg"), auto;

    --gradient-dark: linear-gradient(180deg, #272727 0%, #020202 100%, #0B0B0B 100%);
    --gradient-dark-hover: linear-gradient(180deg, #383B3B 0%, #161919 100%, #161919 100%);
}


#footerCopywrite {
    display: flex;
    flex-direction: column;
    margin-left: 32pt;
}

#footerCopywriteText {
    margin-top: 4px;
    margin-bottom: 0;
}

#footerLogo {
    width: 36px;
    scale: 1;
    transition: scale 0.3s;
}

#footerIcons {
    display: flex;
    flex-wrap: nowrap;
    margin-right: 16pt;
    height: 70px;
    margin-top: 24pt;
    margin-bottom: 24pt;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 36px;
    mask-border: url("img/mask@2x.png") 49% fill / 44px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 6px 34px 0 rgba(0, 0, 0, 0.05), 0 3px 6px -3px rgba(0, 0, 0, 0.07), inset 0 -3px 3px -1px rgba(255, 255, 255, 0.4), inset 0 2px 7px -1px rgba(255, 255, 255, 0.60), inset 0 -12px 43px -3px rgba(0, 0, 0, 0.04);
    background-size: cover;
    box-sizing: border-box;
    background-position: center;
    will-change: auto;
    backdrop-filter: blur(45px) saturate(200%) brightness(105%);
    z-index: -1;
}

footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    justify-content: space-between;
    position: relative;
    box-sizing: border-box;
    margin-bottom: 24pt;
    margin-left: 32pt;
    margin-right: 32pt;
    border-radius: 36px;
    box-shadow: 0 6px 34px 0 rgba(0, 0, 0, 0.03), 0 3px 6px -3px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: scale 0.3s, box-shadow 0.3s, opacity 0.3s;
    transition-timing-function: ease-out;

    @starting-style {
        opacity: 0;
        scale: 0.95;
    }
}

.footerIconRetro {
    width: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: scale 0.3s, box-shadow 0.3s, opacity 0.3s, transform 0.15s cubic-bezier(.25, .8, .25, 1);
    padding: 6pt;
    cursor: url("img/link.svg"), auto;
    overflow: hidden;
}

.footerIconRetro:hover {
    scale: 1.1;
}

.footerIconRetro:active {
    scale: 0.8;
}

.footerIconRetro:hover::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 14px;
    box-sizing: border-box;
}

.footerIconImg,
.footerIconImgRetro {
    width: 60px;
    margin-bottom: 4px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: scale 0.3s, box-shadow 0.3s, opacity 0.3s;
}

#footerInstagram:hover #footerInstagramFlat {
    opacity: 0;
}

#footerYT:hover #footerYTFlat {
    opacity: 0;
}

#footerTiktok:hover #footerTiktokFlat {
    opacity: 0;
}

#footerMastodon:hover #footerMastodonFlat {
    opacity: 0;
}

#footerEmail:hover #footerEmailFlat {
    opacity: 0;
}

#footerStore:hover #footerStoreFlat {
    opacity: 0;
}

#footerBluesky:hover #footerBlueskyFlat {
    opacity: 0;
}

@media (max-width: 760px) {

    #footerIcons {
        display: none;
    }

    #footerCopywrite {
        margin-bottom: 24pt;
    }
}

@media (max-width: 900px) {
    footer {
        justify-content: center;
    }

    #footerIcons {
        width: 100%;
        justify-content: space-between;
        margin: 24pt 24pt;
    }

    #footerCopywrite {
        width: 100%;
        margin-top: 24pt;
    }
}

@media (max-width: 800px) {

    .footerIconRetro,
    .footerIconImgRetro,
    .footerIconImg {
        width: 60px;
    }
}

@media (max-width: 500px) {
    footer {
        margin-bottom: 12pt;
        margin-left: 12pt;
        margin-right: 12pt;
    }
}