@font-face {
    font-family: "Naganoshi";
    src: url(/fonts/Naganoshi.ttf);
}

body {
    margin: 0;
    padding: 0;
}


@keyframes glitch {
    0% {
        transform: translate(0);
        opacity: 1;
    }

    20% {
        transform: translate(-3px, 3px);
        opacity: 0.8;
    }

    40% {
        transform: translate(3px, -3px);
        opacity: 1;
    }

    60% {
        transform: translate(-3px, -3px);
        opacity: 0.7;
    }

    80% {
        transform: translate(3px, 3px);
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: scale(1.2);
    }
}

.glitch-out {
    animation: glitch 0.5s ease-out forwards;
}

@keyframes fade {
    0% {
        opacity: 1;
    }

    25% {
        transform: translate(-2px, 2px);
    }

    50% {
        transform: translate(2px, -2px);
    }

    75% {
        transform: translate(-2px, -2px);
    }

    100% {
        opacity: 0;
    }
}

.fade {
    animation: fade 0.1s ease-in-out forwards;
}

#site-navbar,
#site-footer {
    display: none;
}


.side-text {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    height: 100vh;
    justify-content: center;
    align-items: center;
    writing-mode: vertical-rl;
    text-orientation: upright;
    text-align: center;
    white-space: nowrap;
    font-family: "Naganoshi";
    color: var(--color-text);
    font-size: 2em;
    margin-left: 0.2em;
    z-index: 9995;
    letter-spacing: 0.2em;
    pointer-events: none;
    overflow: hidden;
    background-color: transparent;
}

@media (max-height: 780px) {
    .side-text {
        font-size: calc(1.1em + 1vh);
    }
}

.side-text span {
    display: inline-block;
    opacity: 0;
}

#eyeImage {
    cursor: pointer;
    opacity: 1;
    transition: opacity 0.5s ease, transform 0.1s ease-out;
    pointer-events: auto;
}

#eyeImage:hover {
    opacity: 0.75;
}





.bg {
    justify-content: center;
    align-items: center;
    display: flex;
    min-height: calc(100vh - 6rem);
    -webkit-tap-highlight-color: transparent;
    z-index: 98;

}

.bg p {
    font-family: 'KATSUMI';
    color: rgb(227, 234, 240);
    font-size: 7em;
    position: relative;
    user-select: none;
    letter-spacing: 0.05em;
    text-align: center;
    text-shadow: 0px 5px 6px #ff0000;
}


.side-text span {
    display: inline-block;
}


@media (max-width: 670px) {

    .bg p {

        font-size: 4em;
    }

}

.bg .door {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99;
    pointer-events: none;
}

.bg .door::before {

    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 70%, black 100%),
    linear-gradient(to top, rgba(0, 0, 0, 0) 70%, black 100%),
        linear-gradient(to left, rgba(0, 0, 0, 0) 85%, black 100%),
        linear-gradient(to right, rgba(0, 0, 0, 0) 65%, black 100%);
    z-index: 1;
    mix-blend-mode: multiply;
}




.bg .door img {
    justify-content: center;
    display: flex;
    max-height: 100vh;
    background-size: cover;
    pointer-events: none;

}


.bg .eye-wrapper {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 8;
    animation: float var(--float-duration) infinite ease-in-out;
    animation-delay: var(--float-delay);
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

.bg .eye {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 8;
    pointer-events: auto;

}





.bg .eye img {
    justify-content: center;
    display: flex;
    max-height: 100vh;
    background-size: cover;

}




.container {
    display: flex;
    flex-direction: column;
    color: #e2e2e2;
}

.mono-font {
    font-family: monospace;
}


.side-text.on {
    display: none !important;
}