@font-face{
  font-display:fallback;
  font-display:swap;
  font-family:"ConduitITCW01";
  font-style:normal;
  font-weight:200;
  src:
    local("Conduit ITC W01 Extra Light"),
    local("ConduitITCW01-ExtraLight"),
    url(../Static/dist/fonts/ConduitITCW01-ExtraLight.woff2) format("woff2"),
    url(../Static/dist/fonts/ConduitITCW01-ExtraLight.woff) format("woff")
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow: hidden;
}
body {
    background: #191919;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100vh;
    margin: 0;
    touch-action: none;
}

.container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
}

.item {
    position: absolute;
    width: 300px;
    height: 300px;
    background: transparent;
    border-radius: 20px;
    overflow: hidden;
    opacity: 1;
}

.item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


#navWrapper {
    position: absolute;
    width: 100vw;
    height: 100vh;
}

#navContainer {
    position: absolute;
    bottom: 50%;
    transition: all 0.5s;
    transform: translateY(50%);
    width: 70vw;
    border-radius: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    z-index: 2;
    backdrop-filter: blur(10px);
    background: linear-gradient(90deg, rgb(0, 245, 107, 0.6) 0%, rgb(43, 24, 158, 0.6) 50%, rgb(133, 24, 178, 0.6) 100%);

    /* Hack to get rid of bleeding radius background */
    background-clip: content-box;
    padding: 1px;
}

.navItem {
    text-align: center;
    padding: 4rem 5rem;
    z-index: 4;
    font-size: 1.8rem;
    color: #fff;
    user-select: none;
    
    font-family: "ConduitITCW01";
    font-size: 4rem;
    line-height: 4rem;
    text-transform: Uppercase;
    font-weight: 200;
    text-decoration: none;
}

#hoverItem {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-color: #191919;
    border-radius: 100vh;
    z-index: 3;
    width: 372px;
}
.hoverText {
    color: #00f56b;
}


#mobileInfo {
    z-index: 1;
    color: #fff;
    font-family: "ConduitITCW01";
    display: none;
    opacity: 0;
}


@keyframes fadein {
    100% { opacity: 1; }
}
@keyframes fadeout {
    100% { opacity: 0; }
}


@media (max-width: 1280px) {
    .navItem {
        padding: 2rem 4rem;
        font-size: 3rem;
        line-height: 3rem;
    }
    #hoverItem {
        width: 287px;
    }
    .item {
        width: 200px;
        height: 200px;
        border-radius: 20px;
    }
}

@media (max-width: 900px) {
    #navContainer {
        bottom: 10%;
    }
    .navItem {
        padding: 1.5rem 1.5rem;
        font-size: 1.1rem;
        line-height: 1.1rem;
    }
    #hoverItem {
        width: 106px;
    }
    .item {
        width: 130px;
        height: 130px;
        border-radius: 20px;
    }
    #mobileInfo {
        display: block;
        opacity: 1;
    }
}

