@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");
@import url('https://fonts.googleapis.com/css2?family=Bagel+Fat+One&family=Gowun+Dodum&display=swap');

:root {
    --std: 16px;
    --smallWidth: 320px;
    --middleWidth: 640px;
    --kColor: rgb(150, 0, 255);
    --ktColor: rgb(150, 0, 255, 0.25);
    --tColor: rgba(255, 255, 255, 0.75);
    --mColor: rgb(50, 50, 50, 0.75);
    --shadow: 0px 0px 8px rgba(50, 50, 50, 0.125);
}

* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    line-height: 1;
    text-decoration: none;
    text-transform: none;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    word-break: keep-all;
    overflow-wrap: break-word;
    word-wrap: break-word;
    list-style-type: none;
    /* font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif; */
    font-family: "Gowun Dodum", sans-serif;
}

html {
    font-size: 16px;
}

body {
    background-color: rgb(12.5, 12.5, 12.5);
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

#app {
    width: 100%;
    height: auto;
    opacity: 0;
}

#app.active {
    -webkit-animation-name: fadeIn;
            animation-name: fadeIn;
    -webkit-animation-duration: 1s;
            animation-duration: 1s;
    -webkit-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
}

:focus {
    outline: none;
}

a, button {
    cursor: pointer;
}

a:hover, button:hover {
    opacity: 0.5;
}

#cont-grid {
    position: fixed;
    z-index: 9999;
    display: none;
}

#cont-grid.active {
    display: block;
}

.grid {
    position: fixed;
}

.grid:nth-child(1) {
    top: calc(var(--std) * 1.5);
    left: 0;
    width: 100%;
    height: 1px;
    border-bottom: 1px solid rgb(255, 0, 255);
}

.grid:nth-child(2) {
    bottom: calc(var(--std) * 1.5);
    left: 0;
    width: 100%;
    height: 1px;
    border-bottom: 1px solid rgb(255, 0, 255);
}

.grid:nth-child(3) {
    top: 0;
    left: calc(var(--std) * 1.5);
    width: 1px;
    height: 100%;
    border-left: 1px solid rgb(255, 0, 255);
}

.grid:nth-child(4) {
    top: 0;
    right: calc(var(--std) * 1.5);
    width: 1px;
    height: 100%;
    border-left: 1px solid rgb(255, 0, 255);
}

.grid:nth-child(5) {
    top: 0;
    left: calc((100% - var(--smallWidth)) / 2);
    width: 1px;
    height: 100%;
    border-left: 1px solid rgb(0, 0, 255);
}

.grid:nth-child(6) {
    top: 0;
    right: calc((100% - var(--smallWidth)) / 2);
    width: 1px;
    height: 100%;
    border-left: 1px solid rgb(0, 0, 255);
}

::-webkit-scrollbar {
    width: calc(var(--std) * (1.5 * 0.375));
}

::-webkit-scrollbar-thumb {
    background-color: var(--kColor);
    border-radius: 0.5em;
}

::-webkit-scrollbar-track {
    background-color: var(--ktColor);
}