:root {
    background-image: linear-gradient(90deg, #c0e1c8, #d6e6b4);
    cursor: default;
}

body {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    font-family: Nosutaru, monospace;
    unicode-bidi: isolate;
}

body::-webkit-scrollbar {
    display: none;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

@font-face {
    font-family: Nosutaru;
    src: url('/assets/fonts/Nosutaru-dotMPlusH.ttf');
}

@font-face {
    font-family: 'Yoppa Fude';
    src: url('/assets/fonts/Yoppa Fude.ttf');
}

.left-side-sign {
    border-top: solid #c30d23 5px;
    border-right: solid #c30d23 4px;
    border-bottom: solid #c30d23 5px;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    padding: 40px;
    margin-top: 40px;
    margin-left: -8px;
    margin-right: 15px;
    background-color: #f6f3f3;
    color: #171717;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: start;
    text-align: left;
    height: fit-content;
    font-size: 18px;
    transition: padding 0.25s linear;
    min-width: min-content;
    max-width: 100%;
    flex-grow: 0;

    span,
    a {
        padding-top: 2px;
        padding-bottom: 2px;
    }

    a {
        color: #171717;
        text-decoration: none;

        &:hover {
            text-decoration: underline;
        }
    }
}

a.empty-link {
    pointer-events: none;
    user-select: none;
    text-decoration: none;

    &:hover {
        text-decoration: none;
    }
}

.main-box {
    width: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 2;
}

.center-sign {
    font-family: 'Yoppa Fude', Arial, sans-serif;
    font-size: 30px;
    text-align: center;
    margin-top: 15px;
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 40px;
    transition: font-size 0.25s linear;

    br {
        user-select: none;
    }

    span.sushi {
        color: #c30d23e3;
    }

    span.vore {
        color: #ff0000;
    }
}

.right-side-sign {
    border-top: solid #c30d23 5px;
    border-left: solid #c30d23 4px;
    border-bottom: solid #c30d23 5px;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    padding: 40px;
    margin-top: 40px;
    margin-right: -8px;
    margin-left: 15px;
    background-color: #f6f3f3;
    color: #171717;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: end;
    text-align: center;
    height: fit-content;
    font-size: 18px;
    transition: padding 0.25s linear;
    min-width: min-content;
    max-width: 100%;
    flex-grow: 0;

    span,
    a {
        padding-top: 2px;
        padding-bottom: 2px;
    }

    a {
        color: #171717;
        text-decoration: none;

        &:hover {
            text-decoration: underline;
        }
    }
}

figure.game-logo {
    user-select: none;
    max-width: 210px;

    img {
        pointer-events: none;
        user-select: none;
        image-rendering: auto;
        width: 100%;
    }
}

figure.footer-logo {
    user-select: none;
    max-width: 210px;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;

    a {
        display: flex;
        flex-flow: column nowrap;
        align-items: center;
    }

    img {
        pointer-events: none;
        user-select: none;
        image-rendering: auto;
        width: 120%;
    }
}

figure.menu-pages {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;

    &:hover {
        -ms-overflow-style: scrollbar !important;
        scrollbar-width: thin !important;
    }
}

figure.menu-pages {
    max-width: 100vw;
    user-select: none;
    display: flex;
    flex-flow: row nowrap;
    overflow-x: scroll;
    overflow-y: hidden;
    border-top: solid #c30d23 5px;
    border-left: solid #c30d23 4px;
    border-right: solid #c30d23 4px;
    border-bottom: solid #c30d23 5px;
    background-color: #f6f3f3;
    border-radius: 8px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: thin;

    img {
        max-width: 100%;
        pointer-events: none;
        scroll-snap-align: center;
        scroll-margin: 25px;
    }
}

article {
    margin-top: 5px;
    margin-bottom: 5px;
}

footer {
    margin-top: 30px;
    text-align: center;
}

a.return-404 {
    color: #c30d23;
    text-decoration: none;

    &:hover {
        text-decoration: underline;
    }
}

.center-sign.extra-title {
    margin-bottom: 5px !important;
}

div.menu-pages {
    display: flex;
    flex-flow: wrap row;
    justify-content: space-evenly;
    gap: 5px;

    a {
        background-color: #f6ebcc;
        border: 4px #8ebf73 solid;
        padding: 2px;
        border-radius: 8px;
        color: #171717;
        text-decoration: none;

        &:hover {
            text-decoration: underline;
            filter: brightness(95%);
        }
    }
}

div.health-bar {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    gap: 5px;
    padding: 10px;
    border-radius: 8px;
    font-family: 'Yoppa Fude';
    user-select: none;
    pointer-events: none;

    .stamina-bar {
        width: 100%;
        height: 20px;
        background-color: #f98409;
        border: #2a201c 2px solid;
        text-align: center;
        color: #171717;
        padding-top: 2px;
        padding-bottom: 2px;
    }

    .health-point-bar {
        width: 100%;
        height: 20px;
        background-color: #12ff0a;
        border: #2a201c 2px solid;
        text-align: center;
        color: #171717;
        padding-top: 2px;
        padding-bottom: 2px;
    }
}

.game-over-title {
    font-family: 'Yoppa Fude';
    font-size: calc(100% + 30px);
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    text-align: center;
    margin-top: 5px;
    font-weight: bold;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    line-height: 44.50px;
    transition-timing-function: cubic-bezier(0.18, 0.89, 0.32, 1.28);
    animation: game-over 1.5s infinite;
    animation-play-state: running;
    margin-top: 10px;
    margin-bottom: -5px;

    span {
        font-size: calc(100% - 5px);
    }

    &::selection {
        background-color: transparent;
        color: #c30d23;
    }
}

@keyframes game-over {
    40% {color: #c30d23;}
    50% {scale: 1.2584;}
    90% {color: currentColor;}
}

div.sushi-menu {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
    gap: 10px;

    span {
        display: flex;
        flex-direction: column;
        align-items: center;

        &[lang] {
            font-family: 'Yoppa Fude';
        }
    }

    div.keihou-event {
        border-color: #c30d23;
    }

    div.keihou-bonus {
        border-style: solid;
        border-width: 4px;
        display: flex;
        flex-direction: column;
        align-items: center;

        img.keihou-bonus {
            width: 7vw;
            height: auto;
            min-width: 150px;
            image-rendering: auto;
            pointer-events: none;
            user-select: none;
        }
    }

    div {
        background-color: #f6ebcc;
        border: #8ebf73 solid 4px;
        border-radius: 8px;
        padding: 10px;
        flex-grow: 1;

        &.menu-center {
            display: flex;
            flex-direction: column;
            align-items: center;
            border: none;
            user-select: none;

            img {
                width: 7vw;
                min-width: 70px;
                image-rendering: pixelated;
                pointer-events: none;
                user-select: none;
            }

            img.keihou {
                height: 7vw !important;
                min-height: 85px;
                width: auto;
                image-rendering: auto;
            }

            img.keihou-text {
                width: 10vw;
                height: auto;
                min-width: 150px;
                image-rendering: auto;
            }
        }
    }
}