:root {
    --primary-color: #000;
    --secondary-color: #fff;
    --header-padding: clamp(0.9375rem, 2vw, 0.5625rem);
    --toggle-size: clamp(2.5rem, 5vw, 3.28rem);
    --menu-font-size: clamp(2rem, 10vw, 6.25rem);
    --cursor-size: clamp(1.875rem, 4vw, 2.5rem);
    --back-to-top-size: clamp(3.125rem, 6vw, 4rem);
}

a {
    text-decoration: none;
}

header {
    padding: var(--header-padding) 2%;
    width: 100vw;
    align-items: center;
    justify-content: center;
    background: var(--primary-color) !important;
    z-index: 9999;
}

.toggle {
    position: relative;
    width: var(--toggle-size);
    height: var(--toggle-size);
    background: var(--secondary-color);
    box-shadow: 0 0.625rem 1.25rem rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    overflow: hidden;
    float: right;
    z-index: 9999;
}

.toggle.active {
    background: var(--primary-color);
}

.toggle span {
    position: absolute;
    width: 1.375rem;
    height: 0.1875rem;
    background: var(--primary-color);
    border-radius: 0.1875rem;
    transition: 0.5s;
}

.toggle span:nth-child(1) {
    transform: translateY(-0.4375rem);
}

.toggle.active span:nth-child(1) {
    width: 0.9375rem;
    transform: translateY(0) rotate(45deg);
    transition-delay: 0.125s;
    background: var(--secondary-color);
}

.toggle span:nth-child(2) {
    transform: translateY(0.4375rem);
}

.toggle.active span:nth-child(2) {
    width: 0.9375rem;
    transform: translateY(0) rotate(135deg);
    transition-delay: 0.25s;
    background: var(--secondary-color);
}

.toggle.active span:nth-child(3) {
    transform: translateX(3.75rem);
}

.menu-items {
    position: absolute;
    top: -100vh;
    left: 0;
    right: 0;
    height: 100vh;
    min-width: 100vw;
    background-color: var(--secondary-color);
    transition: top 0.5s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

header ul {
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}

header ul li {
    list-style: none;
}

header ul li a {
    position: relative;
    display: inline-block;
    margin: -2.5rem 0 0 0;
    color: var(--primary-color);
    transition: 0.2s;
    font-size: var(--menu-font-size);
    font-family: "Bruno Ace SC", serif;
}

#cursor,
#navcursor {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10001;
}

#cursor {
    width: var(--cursor-size);
    height: var(--cursor-size);
    transition: opacity 0.2s ease-in-out 0.5s;
}

#navcursor {
    width: calc(var(--cursor-size) * 1.33);
    height: calc(var(--cursor-size) * 1.33);
    background: var(--secondary-color);
    transition: 0.1s;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
}

@keyframes slide-down {
    from {
        border-bottom-left-radius: 50%;
        border-bottom-right-radius: 50%;
    }

    to {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
}

.open {
    top: 0;
    height: 100vh;
    animation: slide-down 0.8s ease-in-out;
}

.close {
    top: 100vh;
}

.closeTop {
    top: -100vh;
}

.nav-opacity {
    opacity: 0;
}

#header {
    position: fixed;
    width: 100vw;
    box-shadow: var(--darkreader-background-ff14ff, #ffffff) 2px 5px 13px 0px;
}

#header.sticky {
    position: fixed;
    width: 100vw;
    background-color: transparent;
    /* animation: animate2 1s forwards; */
}

@keyframes animate2 {
    from {
        transform: translateY(-12.5rem);
    }

    to {
        transform: translateY(0);
    }
}

#bodyTop {
    width: var(--back-to-top-size);
    height: var(--back-to-top-size);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    position: fixed;
    bottom: 6%;
    right: 6%;
    cursor: pointer;
    visibility: hidden;
    z-index: 500;
}

#bodyTop.sticky {
    visibility: visible;
    animation: animate .7s ease-in-out, floatingToTopBottom 1s ease-in-out .7s infinite;
}

@keyframes animate {
    from {
        transform: translateY(6.25rem)
    }

    to {
        transform: translateY(0);
    }
}

@keyframes floatingToTopBottom {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(0.3125rem);
    }
}

.menu-item {
    position: relative;
    text-transform: uppercase;
    cursor: pointer;
}

.menu-item-text {
    pointer-events: none;
    display: block;
    line-height: 1;
    position: relative;
    font-size: 2rem;
}

.menu-item>div:nth-child(1) span,
.menu-item>div:nth-child(2) span {
    will-change: transform;
    transform-style: preserve-3d;
    transition: 0.5s;
    transition-delay: calc(0.05s * var(--index));
    display: inline-block;
}

.menu-item>div:nth-child(1) span {
    transform-origin: bottom;
}

.menu-item>div:nth-child(2) span {
    transform-origin: top;
    transform: translate3d(0, 100%, 0) rotateX(-90deg);
}

.menu-item:hover>div:nth-child(1) span {
    transform: translate3d(0, -100%, 0) rotateX(-90deg);
}

.menu-item:hover>div:nth-child(2) span {
    transform: translate3d(0, 0%, 0) rotateX(0deg);
}



header .social-icon {
    font-size: clamp(0.75rem, 2vw, 1.2rem);
    margin-right: 20px;
    transition: color 0.3s ease;
    text-decoration: none;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 2px;
    font-weight: 800;
}

header .social-container {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    width: 100%;
    margin-top: 2rem;

}

header .social-container img {
    max-width: 3%;
    margin-left: -16px;
    margin-right: 26px;
    mix-blend-mode: difference;
}