@font-face {
    font-family: SFProBold;
    src: url("/fonts/SFProText-Bold.ttf") format("truetype");
}

@font-face {
    font-family: SFProMedium;
    src: url("/fonts/SFProText-Medium.ttf") format("truetype");
}

@font-face {
    font-family: SFProRegular;
    src: url("/fonts/SFProText-Regular.ttf") format("truetype");
}

:root {
    --color-bread: #E57031;
    --color-active: #000000;
    --color-bg: #F2D8BA;

    --color-black: #000000;
    --color-white: #ffffff;
    --color-window: #ffffff;
    --color-window_alt: #CFF0FF;
    --color-mainback: #232323;
    --color-footerup: #1B1B1B;

    --color-list: #191919;
    --color-gray: #848484;

    --color-main: #A3A3A3;
}

* {
    margin: 0;
    padding: 0;
    -moz-user-select: none;
    -o-user-select:none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    transition: all 0.03s ease-in-out;
    -webkit-tap-highlight-color: transparent;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    overscroll-behavior: none; !important;
    overscroll-behavior-y: none; !important;
}

*.unselectable {
    pointer-events: none;
}

*,::after,::before {
    box-sizing: unset !important;
}

.content *,::after,::before {
    box-sizing: border-box !important;
}

body {
    position: relative;
    width: 100vw;
    font-size: 100%;
    max-width: 100vw;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--color-black);
    font-family: SFProMedium, sans-serif !important;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #0f0f10;
    z-index: 1;
    pointer-events: none;
}

html {
    overflow: hidden;
    overscroll-behavior: none !important;
}

html, body {
    position: fixed;
    overflow: hidden;
    overscroll-behavior: none;
    touch-action: none;
}

.content {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    height: 95vh;
}

a {
    text-decoration: unset !important;
    color: unset !important;
}

::-webkit-scrollbar {
    width: 0 !important;
}

::-webkit-scrollbar-track {
    background: transparent !important;
}

::-webkit-scrollbar-thumb {
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
}

._noscrollbar::-webkit-scrollbar {
    display: none
}

._noscrollbar {
    scrollbar-width: none
}

input {
    border: none;
    outline: none;
    background: none;
    font-size: 100%;
    font-family: SFProMedium, sans-serif !important;
}

.a { text-decoration: underline; font-family: InterSamiBold, sans-serif !important; }

.page {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
}

.slide-out-left { animation: slideOutLeft 0.2s linear; }
.slide-out-right { animation: slideOutRight 0.2s linear; }
.slide-in-right { animation: slideInRight 0.2s linear; }
.slide-in-left { animation: slideInLeft 0.2s linear; }

.app {
    width: 88%;
    max-width: 25rem;
    z-index: 1;
    margin: 0 auto;
    min-height: 100vh;
    position: relative;

    .content {
        width: 100%;
        position: absolute;
    }
}

.footer {
    max-width: 25rem;
    width: 80%;
    z-index: 2;
    color: var(--color-white);
    padding: 2% 10%;
    font-size: 73%;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-top: var(--color-footerup) 0.2px solid;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 0 18px rgb(0, 0, 0);

    .group.active {
        color: var(--color-white);

        .icon {
            filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7419%) hue-rotate(46deg) brightness(91%) contrast(97%) !important;
        }
    }

    .group {
        text-align: center;
        cursor: pointer;

        .title { font-size: 85%; }
        .icon {
            height: 3vh;
            width: 3vh;
            background-size: contain;
            background-position: center;
            background-repeat: no-repeat;
            margin: auto auto 0.3rem;
            filter: brightness(0) saturate(100%) invert(58%) sepia(0%) saturate(89%) hue-rotate(139deg) brightness(89%) contrast(99%);
        }
    }
}

@media screen and (max-width: 480px) { .column { font-size: 95%; } }
@media screen and (max-width: 380px) { .column { font-size: 85%; } }
@media screen and (min-height: 640px) {
    .content {
        padding-top: 2vh;
    }
}

@media screen and (max-height: 760px) {
    .app { overflow-y: auto; }

    .content {
        margin-top: 1rem;
        padding-bottom: 1rem;
        position: relative !important;
        top: unset !important;
        transform: unset !important;
    }

    .all { margin-bottom: 3vh !important; }
}

@keyframes slideOutLeft { from { left: 0; } to { left: -100%; } }
@keyframes slideOutRight { from { left: 0; } to { left: 100%; }  }
@keyframes slideInRight { from { left: 100%; } to { left: 0; } }
@keyframes slideInLeft { from { left: -100%; } to { left: 0; } }