@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

@font-face {
    font-family: "AGCJHS-R";
    src: url("./NanumEongGeongKwiCe.ttf") format("truetype");
}

:root {
    --std: 16px;
}

* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    line-height: 1;
    word-break: keep-all;
}

body {
    background-color: rgb(var(--bg), var(--bg), var(--bg));
}

*, html, body {
    -ms-scroll-chaining: none;
        overscroll-behavior: contain;
    -webkit-text-size-adjust: 100%;
       -moz-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
            text-size-adjust: 100%;
    font-family: "AGCJHS-R";
    text-decoration: none;
    text-transform: none;
    color: inherit;
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

#app {
    position: fixed;
    width: 100%;
    height: calc(var(--vh, 1vh) * 100);
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    -webkit-transition: opacity 2s ease-out;
    -o-transition: opacity 2s ease-out;
    transition: opacity 2s ease-out;
}

#app.show {
    opacity: 1;
    pointer-events: all;
}

#app.active {
    position: relative;
    height: auto;
    overflow-y: auto;
}

html {
    font-size: 16px;
}

#map {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

audio {
    pointer-events: none;
}

#sections {
    position: relative;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: calc(var(--vh, 1vh) * 100);
    z-index: 200;
}

.section {
    padding: calc(var(--std) * (1.5 * 2.0)) 0;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    min-height: calc(var(--vh, 1vh) * 100);
    height: auto;
    gap: calc(var(--vh, 1vh) * 100);
}

#title {
    gap: calc(var(--std) * 1.5);
}

#title > #start {
    padding: calc(var(--std) * 1.5);
    border: none;
    background-color: transparent;
    border-radius: 100%;
    cursor: pointer;
    width: calc(var(--std) * (1.5 * 10.0));
    height: calc(var(--std) * (1.5 * 10.0));
    overflow: hidden;
}

#title > #start:hover {
    -webkit-backdrop-filter: blur(calc(var(--std) * 0.15));
            backdrop-filter: blur(calc(var(--std) * 0.15));
    background-color: rgb(175, 175, 175, 0.125);
}

#start > .label {
    font-size: 1.75rem;
    color: transparent;
    color: rgba(0, 0, 0, 0.5);
}

#start > img {
    position: relative;
    top: calc(var(--std) * 0.25);
    left: calc(var(--std) * (-1));
    width: 100%;
    height: auto;
}

#app.active #title > #start {
    display: none;
    pointer-events: none;
}

#app #title > #start + #guide,
#app #title > #start + #guide + #source {
    display: none;
}

#app.active #title > #start + #guide {
    padding: calc(var(--std) * 2.0);
    display: block;
    font-size: 2.25rem;
    line-height: 1.175;
    text-align: center;
    opacity: 0;
    -webkit-animation-name: fadeIn;
            animation-name: fadeIn;
    -webkit-animation-delay: 0.25s;
            animation-delay: 0.25s;
    -webkit-animation-duration: 1s;
            animation-duration: 1s;
    -webkit-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
}

#app.active #title {
    position: relative;
}

#app.active #title > #start + #guide + #source {
    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;
    position: absolute;
    bottom: 0;
    padding: calc(var(--std) * 2.0);
    width: 100%;
    display: block;
    color: rgb(150, 150, 150);
    font-size: 1rem;
    line-height: 1.375;
    text-align: center;
    opacity: 0;
    -webkit-animation-name: fadeIn;
            animation-name: fadeIn;
    -webkit-animation-delay: 0.25s;
            animation-delay: 0.25s;
    -webkit-animation-duration: 1s;
            animation-duration: 1s;
    -webkit-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
}

.word {
    padding: calc(var(--std) * 2.0);
    font-size: 2.25rem;
    line-height: 1.175;
    font-weight: 100;
    width: 100%;
    min-height: calc(var(--vh, 1vh) * 100);
    height: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    text-align: center;
    color: transparent;
    text-shadow:
        0 0 calc(var(--std) * 0.125) rgba(255, 255, 255, 0.95),
        0 0 calc(var(--std) * 0.5) rgba(255, 255, 255, 0.5),
        0 0 calc(var(--std) * 1.0)  rgba(255, 255, 255, 0.25);
    color: rgb(0, 0, 0, 0.9);
}

#cont-reservation {
    margin-bottom: calc(var(--std) * (1.5 * 1.0));
    gap: calc(var(--std) * (1.5 * 1.5));
}

.form-title {
    font-size: 3.25rem;
    line-height: 1.125;
    color: rgb(255, 255, 255);
    text-align: center;
}

form {
    padding: calc(var(--std) * (1.5 * 2.0)) calc(var(--std) * 1.5);
    background-color: rgba(255, 255, 255, 0.125);
    border: 1px solid rgba(150, 150, 150, 0.1875);
    width: 300px;
    height: auto;
    border-radius: calc(var(--std) * 0.3125);

    display: -webkit-box;

    display: -ms-flexbox;

    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: calc(var(--std));
    -webkit-backdrop-filter: blur(calc(var(--std) * 0.15));
            backdrop-filter: blur(calc(var(--std) * 0.15));
}

form * {
    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;
}

input {
    padding: calc(var(--std) * 0.5);
    width: 100%;
    min-height: calc(var(--std) * 2.75);
    text-align: center;
    border: 1px solid rgba(150, 150, 150, 0.1875);
    border-radius: calc(var(--std) * 0.3125);
    background-color: rgba(0, 0, 0, 0.125);
    color: rgb(255, 255, 255);
    font-size: 1.125rem;
}

input, button {
  touch-action: auto;
  -webkit-user-select: text;
  user-select: text;
}

input:focus {
    background-color: rgba(255, 255, 255, 0.125);
}

::-webkit-input-placeholder {
    color: rgb(150, 150, 150);
    font-size: 1.125rem;
}

::-moz-placeholder {
    color: rgb(150, 150, 150);
    font-size: 1.125rem;
}

:-ms-input-placeholder {
    color: rgb(150, 150, 150);
    font-size: 1.125rem;
}

::-ms-input-placeholder {
    color: rgb(150, 150, 150);
    font-size: 1.125rem;
}

::placeholder {
    color: rgb(150, 150, 150);
    font-size: 1.125rem;
}

.notice {
    margin: calc(var(--std)) 0;
    color: rgb(175, 175, 175);
    font-size: 1.0625rem;
    line-height: 1.5;
    text-align: center;
}

.notice > a:hover {
    cursor: pointer;
    opacity: 0.5;
}

button#submit {
    padding: calc(var(--std) * (1.5 * 0.5)) calc(var(--std) * ((1.5 * 0.5) * 2.0));
    border: none;
    background-color: rgba(255, 255, 255, 0.125);
    border: 1px solid rgba(150, 150, 150, 0.125);
    border-radius: 10em;
    -webkit-box-shadow: 0px 0px 8px rgba(150, 150, 150, 0.125);
            box-shadow: 0px 0px 8px rgba(150, 150, 150, 0.125);
    font-size: 1.125rem;
    color: rgb(255, 255, 255);
    width: 100%;
    min-height: calc(var(--std) * 2.75);
    cursor: pointer;
}

button#submit:hover {
    background-color: rgba(255, 255, 255, 0.375);
}

button#submit.loading {
    background-color: rgba(0, 0, 0, 0.125);
    pointer-events: none;
}

#after-form {
    padding: calc(var(--std) * (1.5 * 2.0)) calc(var(--std) * 1.5);
    background-color: rgba(255, 255, 255, 0.125);
    border: 1px solid rgba(150, 150, 150, 0.1875);
    width: 300px;
    height: auto;
    border-radius: calc(var(--std) * 0.3125);
    display: none;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: calc(var(--std));
    -webkit-backdrop-filter: blur(calc(var(--std) * 0.15));
            backdrop-filter: blur(calc(var(--std) * 0.15));
}

form.active {
    display: none;
    pointer-events: none;
}

form.active + #after-form {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

#after-form * {
    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;
}

#after-form p {
    font-size: 1.0625rem;
    line-height: 1.5;
    color: rgb(255, 255, 255);
}

#after-form .notice {
    margin: 0;
    margin-bottom: calc(var(--std) * 0.125);
    padding-bottom: calc(var(--std) * 1.5);
    border-bottom: 1px solid rgba(150, 150, 150, 0.1875);
}

button#go-home {
    margin-top: calc(var(--std));
    padding: calc(var(--std) * (1.5 * 0.5)) calc(var(--std) * ((1.5 * 0.5) * 2.0));
    border: none;
    background-color: rgba(255, 255, 255, 0.125);
    border: 1px solid rgba(150, 150, 150, 0.125);
    border-radius: 10em;
    -webkit-box-shadow: 0px 0px 8px rgba(150, 150, 150, 0.125);
            box-shadow: 0px 0px 8px rgba(150, 150, 150, 0.125);
    font-size: 1.125rem;
    width: 100%;
    min-height: calc(var(--std) * 2.75);
    color: rgb(255, 255, 255);
    cursor: pointer;
}

button#go-home:hover {
    background-color: rgba(255, 255, 255, 0.375);
}

/* common */
::-webkit-scrollbar {
    width: calc(var(--std) * 0.75);
}

::-webkit-scrollbar-thumb {
    background: rgba(75, 75, 75);
}

::-webkit-scrollbar-track {
    background: rgba(125, 125, 125, 0.125);
}

/* responsive */
@media screen and (max-width: 1000px) {
    :root {
        --std: 14px;
    }

    html {
        font-size: 14px;
    }

    html::-webkit-scrollbar,
    body::-webkit-scrollbar {
        display: none;
    }

    html,
    body {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    #title > #start:hover,
    form, #after-form {
        -webkit-backdrop-filter: blur(calc(var(--std) * 0.25));
                backdrop-filter: blur(calc(var(--std) * 0.25));
    }

    #cont-reservation {
        margin-bottom: calc(var(--std) * (1.5 * 2.0));
    }
}

@media screen and (max-width: 700px) {
    :root {
        --std: 12px;
    }

    html {
        font-size: 12px;
    }

    form, #after-form {
        width: 220px;
    }
}

/* grid */
#cont-grid {
    position: fixed;
    z-index: 9999;
    display: none;
}

.grid {
    position: fixed;
}

.grid:nth-child(1) {
    width: 1px;
    height: 100%;
    background-color: rgb(255, 0, 255);
    top: 0;
    left: calc((100% - 1px) / 2);
}

.grid:nth-child(2) {
    width: 100%;
    height: 1px;
    background-color: rgb(255, 0, 255);
    top: calc((100% - 1px) / 2);
    left: 0;
}