: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%);
}

#header {
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: space-between;
    height: 64pt;
    width: auto;
    position: fixed;
    z-index: 100000;
    max-width: 2400px;
    left: 50%;
    will-change: auto;
    transform: translateX(-50%);
    margin-top: 12px;
    user-select: none;
    -webkit-user-select: none;
    transition: background-color 0.5s ease, backdrop-filter 0.4s ease, width 0.3s, scale 0.3s, box-shadow 0.3s, opacity 0.3s, filter 0.4s;
    transition-timing-function: linear(0, 0.02 2.1%, 0.081 4.7%, 0.467 15.7%, 0.645, 0.778 28.5%, 0.872 35.8%,
            0.909 40.1%, 0.938 44.9%, 0.977 56.5%, 0.994 72.3%, 1);
}

#header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 28px;
    mask-border: url("img/mask@2x.png") 49% fill / 120px;
    background: rgba(255, 255, 255, 0.85);
    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;
    background-position: center;
    will-change: auto;
    backdrop-filter: blur(45px) saturate(200%) brightness(105%);
    z-index: -1;
}

#header::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.1);
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.3)) drop-shadow(0 7px 24px rgba(0, 0, 0, 0.15));
    background-size: cover;
    background-position: center;
    z-index: -3;
}

#headerLogo {
    width: 36px;
    padding: 22pt;
    /* padding-right: 0px; */
    scale: 1;
    transition: scale 0.3s, padding-right 0.3s;
}

#headerLogo:hover {
    scale: 1.1;
}

#headerLogo:active {
    scale: 0.8;
}

#headerProjectName {
    cursor: url("img/cursor.svg"), auto;
    padding: 0;
    font-size: 13pt;
    font-weight: 400;
    text-overflow: none;
    text-decoration: none;
    color: var(--text-color);
    opacity: 1;
    margin-right: auto;
    transition: opacity 0.3s, filter 0.3s, transform 0.3s, width 0.3s, margin-right 0.3s, padding 0.3s;
    transform: translateY(32px);
    filter: blur(15px);
    opacity: 0;
    width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: none;
    transition-timing-function: linear(0, 0.02 2.1%, 0.081 4.7%, 0.467 15.7%, 0.645, 0.778 28.5%, 0.872 35.8%,
            0.909 40.1%, 0.938 44.9%, 0.977 56.5%, 0.994 72.3%, 1);
}

#headerTitleSizeReference {
    padding: 12pt;
    font-size: 13pt;
    font-weight: 400;
    width: auto;
}

#headerNameDivider {
    width: 2px;
    height: 18px;
    background-color: black;
    margin-right: 4px;
    margin-left: 4px;
    border-radius: 1px;
    opacity: 0.4;
    transform: translateY(32px);
    filter: blur(15px);
    transition: opacity 0.3s, filter 0.3s, transform 0.3s, scale 0.3s, background 0.3s;
}

#headerNameDividerHome {
    width: 2px;
    height: 18px;
    background-color: black;
    margin-right: 4px;
    margin-left: 4px;
    border-radius: 1px;
    align-items: center;

    opacity: 0.4;

    /* transform: translateY(32px); */
    /* filter: blur(15px); */

    transition: opacity 0.3s, filter 0.3s, transform 0.3s, scale 0.3s, background 0.3s;
}

#headerNameDividerHomeNarrow {
    width: 2px;
    height: 18px;
    background-color: black;
    margin-right: 4px;
    margin-left: 4px;
    border-radius: 1px;
    align-items: center;
    opacity: 0.4;
    transform: translateY(22px);
    transition: opacity 0.3s, filter 0.3s, transform 0.3s, scale 0.3s, background 0.3s;
}

.headerNameDividerHide {
    display: none;
}

#headerLinkSecondary1,
#headerLinkSecondary2,
#headerLinkSecondary3,
#headerLinkSecondary0 {
    opacity: 1;
    white-space: nowrap;
    text-overflow: clip;
    overflow: hidden;
    margin: 4px;
    padding: 12pt;
    mask-border: url("img/mask@2x.png") 49% fill / 21px;
    transition: opacity 0.5s, scale 0.3s, width 0.6s, margin 0.6s, padding 0.6s, background-color 0.3s, transform 0.15s linear, backdrop-filter 0.3s;
}


#headerLinksCurrentConnected {
    display: flex;
    gap: 0;
    transition: scale 0.3s;
}

#headerLinksCurrentConnected:hover {
    scale: 1.05;
}

#headerLinksCurrentConnected:active {
    scale: 0.95;
}

#headerLinks {
    display: flex;
    padding-right: 12pt;
    justify-content: flex-start;
}

.headerLink {
    padding: 12pt;
    text-wrap-mode: nowrap;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;
    gap: 4pt;
    font-size: 13pt;
    font-weight: 400;
    flex-wrap: nowrap;
    text-decoration: none;
    color: black;
    opacity: 0.8;
    transition: opacity 0.3s, scale 0.3s, background-color 0.3s, backdrop-filter 0.3s, transform 0.15s linear;
    border-radius: 14px;
    margin: 4px;
    user-select: none;
    background-color: rgba(0, 0, 0, 0);
    backdrop-filter: blur(5px) saturate(100%) brightness(1);
    mask-border: url("img/mask@2x.png") 49% fill / 21px;
    cursor: url("img/hand cursor.svg"), auto;
}

.headerLinkIcon {
    width: 16pt;
    height: 16pt;
    filter: invert(100%);
    cursor: url("img/hand cursor.svg"), auto;
}

.headerMobileLinkIcon {
    width: 20pt;
    height: 20pt;
    filter: invert(100%);
    cursor: url("img/hand cursor.svg"), auto;
}

#headerLinkCurrent2nd .headerLinkIcon,
.headerLinkDropdownLink .headerLinkIcon {
    filter: invert(0%);
}

.headerLinkText {
    margin: 0;
    cursor: url("img/hand cursor.svg"), auto;
}

@media (max-width: 800px) {

    .headerLinkText {
        font-size: 13pt;
    }

    #headerMobileLinks {
        display: flex;
        flex-direction: column;
        margin-right: 12pt;
        margin-left: 12pt;
        width: calc(100% - 24pt);
        height: 100%;
        box-sizing: border-box;
        margin-top: 64pt;
    }

}


#headerLinkCurrent1st,
#headerLinkCurrent2nd {
    font-weight: 500;
    text-decoration: none;
    color: white;
    background-image: var(--gradient-dark);
    border: 1px solid var(--color-border-light);
    box-shadow: inset 0 15px 53px rgba(255, 255, 255, 0),
        inset 0 21px 43px rgba(0, 0, 0, 0),
        inset 0 1px 1px -1px rgba(255, 255, 255, 0.5),
        inset 0 -1px 1px -1px rgba(255, 255, 255, 0.5),
        inset 0 -8px 13px -3px rgba(255, 255, 255, 0.08);
    transition: opacity 0.3s, scale 0.3s, transform 0.15s linear;
    background-color: rgba(0, 0, 0, 0.15);
    border-radius: 14px;
    user-select: none;
    opacity: 1;
    backdrop-filter: blur(45px);
    mask-border: url("img/mask@2x.png") 49% fill / 21px;
    margin: 1.5pt;
}

#headerLinkCurrent1st:hover,
#headerLinkCurrent2nd:hover {
    background-image: var(--gradient-dark-hover);
    border: 1px solid var(--color-border-dark);
    filter: brightness(1.2);
}

.headerLink:hover {
    opacity: 1;
    scale: 1.05;
    backdrop-filter: blur(5px) saturate(200%) brightness(0.85);
}

.headerLink:active,
#backBtn:active {
    scale: 0.8;
}

.headerLinkDropdownLink {
    display: flex;
    gap: 4pt;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    user-select: none;
}


.menu-icon {
    padding: 14px;
    margin-right: 12pt;
    border-radius: 14px;
    transition: opacity 0.3s, scale 0.3s, background-color 0.3s;
    cursor: url("img/hand cursor.svg"), auto;
}

.menu-icon:hover {
    scale: 1.2;
}

.menu-icon:active {
    scale: 0.7;
}

#top-bar,
#bottom-bar,
.menu-icon {
    transition: transform 0.3s, scale 0.3s, background-color 0.3s;
    transform-origin: center;
}

.menu-icon.active #top-bar {
    transform: translateY(4px) translateX(-5.5px) rotate(45deg);
}

.menu-icon.active #bottom-bar {
    transform: translateY(-4px) translateX(-5.5px) rotate(-45deg);
}

.menu-icon:not(.active) #top-bar {
    transform: translateY(0) rotate(0deg);
}

.menu-icon:not(.active) #bottom-bar {
    transform: translateY(0) rotate(0deg);
}

#mobileLinksContainer {
    position: fixed;
    top: 0px;
    left: 0;
    width: 100%;
    height: 100%;
    visibility: hidden;
    user-select: none;
    display: flex;
    background-color: rgba(255, 255, 255, 1);
    justify-content: flex-start;
    align-items: center;
    opacity: 0;
    max-height: 0;
    transition: opacity 0.45s linear(0, 0.02 2.1%, 0.081 4.7%, 0.467 15.7%, 0.645, 0.778 28.5%, 0.872 35.8%,
            0.909 40.1%, 0.938 44.9%, 0.977 56.5%, 0.994 72.3%, 1),

        visibility 0.45s linear(0, 0.02 2.1%, 0.081 4.7%, 0.467 15.7%, 0.645, 0.778 28.5%, 0.872 35.8%,
            0.909 40.1%, 0.938 44.9%, 0.977 56.5%, 0.994 72.3%, 1),

        max-height 0.45s linear(0, 0.02 2.1%, 0.081 4.7%, 0.467 15.7%, 0.645, 0.778 28.5%, 0.872 35.8%,
            0.909 40.1%, 0.938 44.9%, 0.977 56.5%, 0.994 72.3%, 1);
    z-index: 99999;
}

#mobileLinksContainer.active {
    visibility: visible;
    opacity: 1;
    max-height: 100vh;
}

#headerMobileLinks {
    display: flex;
    flex-direction: column;
    margin-right: 22pt;
    margin-left: 22pt;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    margin-top: 64pt;
}

#mobileLinks {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 22pt;
    width: 100vw;
    box-sizing: border-box;
}

.headerMobileLink:hover,
.headerMobileLinkIndent:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.1);
    scale: 1.02;
}

.headerMobileLink:active,
.headerMobileLinkIndent:active {
    background-color: rgba(0, 0, 0, 0.2);
    scale: 0.95;
}

.headerMobileLink {
    padding: 12pt;
    font-size: 18pt;
    font-weight: 400;
    text-decoration: none;
    color: black;
    opacity: 0.8;
    transition: opacity 0.3s, scale 0.3s, background-color 0.3s;
    border-radius: 18px;
    box-sizing: border-box;
    margin: 4px;
    width: 100%;
}

.headerMobileLinkIndent {
    padding: 12pt;
    font-size: 18pt;
    font-weight: 400;
    text-decoration: none;
    color: black;
    opacity: 0.8;
    transition: opacity 0.3s, scale 0.3s, background-color 0.3s;
    border-radius: 18px;
    margin: 4px;
    /* width: 100%; */
    box-sizing: border-box;
    margin-left: 24pt;
}

.headerMobileLink,
.headerMobileLinkIndent {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8pt;
}

#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;
}

.headerDropdown {
    position: relative;
    display: inline-block;
}

.headerDropdownLinksSideBySide {
    display: flex;
    margin-right: 12px;
    flex-wrap: nowrap;
}

#dropdownLinkCurrent1st,
#dropdownLinkCurrent2nd {
    font-weight: 500;
    text-decoration: none;
    color: white;
    background-image: var(--gradient-dark);
    border: 1px solid var(--color-border-light);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 3px 7px 0 rgba(0, 0, 0, 0.17), inset 0 15px 53px 0 rgba(255, 255, 255, 0.00), inset 0 21px 43px 0 rgba(0, 0, 0, 0.00), 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);
    opacity: 1;
    transition: opacity 0.3s, scale 0.3s, transform 0.15s linear;
    background-color: rgba(0, 0, 0, 0.15);
    border-radius: 14px;
    user-select: none;
    backdrop-filter: blur(45px);
    mask-border: url("img/mask@2x.png") 49% fill / 21px;

}

#dropdownLinkCurrent1st:hover,
#dropdownLinkCurrent2nd:hover {
    background-image: var(--gradient-dark-hover);
    border: 1px solid var(--color-border-dark);
    filter: brightness(1.2);
}


.everythingDropdown {
    min-width: 80px;
}

.uixDropdown {
    min-width: 70px;
}

.environmentsDropdown {
    min-width: 152px;
}

.artDropdown {
    min-width: 54px;
}

.dropdownIcon {
    width: 24px;
    height: 24px;
    display: inline-block;
    vertical-align: middle;
    transition: transform 0.3s;
}

.dropdownContent {
    opacity: 0;
    transform-origin: top left;
    scale: 0.8;
    height: 60px;
    display: flex;
    flex-direction: column;
    position: absolute;
    background-color: rgba(255, 255, 255, 0.5);
    transform: translateX(0pt);
    min-width: 200px;
    backdrop-filter: blur(35px) saturate(180%);
    mask-border: url("img/mask@2x.png") 49% fill / 40px;
    border-radius: 20pt;
    transition: height 0.4s, opacity 0.4s, scale 0.4s, filter 0.4s, background-color 0.9s;
    transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
    margin-top: 4px;
    padding: 12px;
    padding-left: 16px;
    padding-right: 16px;
    filter: blur(20px);
    z-index: 100000000;
    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.1), inset 0 2px 7px -1px rgba(255, 255, 255, 0.05), inset 0 -12px 43px -3px rgba(0, 0, 0, 0.04);
}

.dropdownSingle {
    padding: 12pt;
    font-size: 13pt;
    font-weight: 400;
    text-decoration: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8pt;
    color: black;
    opacity: 0.8;
    mask-border: url("img/mask@2x.png") 49% fill / 28px;
    border-radius: 14pt;
    box-sizing: border-box;
    transition: scale 0.3s, opacity 0.3s, background-color 0.3s, transform 0.15s linear;
}

.dropdownSingle:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.6);
    scale: 1.05;
}

.dropdownSingle:active {
    background-color: rgba(255, 255, 255, 0.7);
    scale: 0.95;
}

@media (max-width: 450px) {

    #headerProjectName,
    #headerProjectName1st,
    #headerProjectName2nd,
    #headerNameDivider {
        display: none;
    }
}

@media (max-width: 1050px) {
    #header {
        width: calc(100% - 24pt);
        left: 0;
        transform: none;
        max-width: 100vw;
    }

    #headerProjectName {
        margin-left: 16px;
        margin-right: auto;
        position: relative;
        left: 0;
    }

    #headerNameDivider,
    #headerNameDividerHome,
    .headerLink {
        display: none;
    }

    .headerDropdown {
        display: inline-block;
    }

    .headerLinkDropdownLink,
    .headerLinkWorkLink,
    .headerLinkCategory {
        display: flex;
    }

    #headerBackground {
        background: linear-gradient(180deg, rgba(242, 242, 247, 1) 0%, rgba(242, 242, 247, 0) 100%);
    }
}


@media (max-width: 450px) {

    #headerProjectName,
    #headerProjectName1st,
    #headerProjectName2nd,
    #headerNameDivider {
        display: none;
    }
}

@media (max-width: 1050px) {
    #header {
        width: calc(100% - 24pt);
        margin-left: 12pt;
        margin-right: 12pt;
        left: 0;
        transform: none;
        max-width: 100vw;
    }

    #headerProjectName {
        margin-left: 16px;
        margin-right: auto;
        position: relative;
        left: 0;
    }

    #headerNameDivider,
    #headerNameDividerHome {
        display: none;
    }

    .headerLink {
        display: none;
    }

    .headerDropdown {
        display: inline-block;
    }

    .headerLinkDropdownLink,
    .headerLinkWorkLink,
    .headerLinkCategory {
        display: flex;
    }

    #headerBackground {
        background: linear-gradient(180deg, rgba(242, 242, 247, 1) 0%, rgba(242, 242, 247, 0) 100%);
    }
}

@media (min-width: 1050px) {
    .headerDropdown {
        display: none;
    }
}

@media (max-width: 760px),
(min-width: 1051px) {
    #headerNameDividerHomeNarrow {
        display: none;
    }
}

@media (max-width: 760px) {
    .headerDropdown {
        display: none;
    }

    .headerLinkDropdownLink,
    .headerLinkWorkLink,
    .headerLinkCategory {
        display: none;
    }

    #headerNameDividerHome {
        display: none;
    }

    #footerIcons {
        display: none;
    }

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

@media (min-width: 760px) {
    .menu-icon {
        display: none;
    }
}

@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;
    }
}