@font-face {
    font-family: "경기천년바탕OTF";
    font-weight: normal;
    src: url(../fonts/GGOTF_Regular.otf);

    font-display: block;
}

@font-face {
    font-family: "경기천년바탕OTF";
    font-weight: bold;
    src: url(../fonts/GGOTF_Bold.otf);

    font-display: block;
}

@font-face {
    font-family: "Chosun-Bold";
    src: url(../fonts/ChosunCentennial.otf);

    font-display: block;
}

@font-face {
    font-family: "Chosun-Regular";
    src: url(../fonts/ChosunCentennial.otf);

    font-display: block;
}

@font-face {
    font-family: "Apple SD Gothic Neo";
    src: url(../fonts/AppleSDGothicNeoR.ttf);

    font-display: block;
}

body {
    margin: 0;
    background-color: #FFFFFF;

    /* 텍스트 선택 방지 */
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

img {
    /* 이미지 드래그 비활성화 */
    user-drag: none;
    -webkit-user-drag: none;
}

/*테스트용 버튼임*/
.testBtns {
    position: fixed;
    display: flex;
    gap: 0px;
    bottom: 0px;
    left: 0px;
    z-index: 10;
    font-size: 8px;
}

.testBtns button {
    cursor: pointer;
    border: none;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    background: #000;
    opacity: 0.3;
    transition: opacity 0.2s ease;
}

.testBtns button:hover {
    border: none;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    background: #000;
    opacity: 1.0;
}

a,
a:visited,
a:hover,
a:active {
    color: inherit;
    text-decoration: none;
}

.btn {}

.btn.disabled {
    pointer-events: none;
}

.ui .logo {
    position: fixed;
    top: 30px;
    left: 40px;
}

.scenes {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.scenes .scene {
    height: 100%;
}

.main-scene .logo {
    position: fixed;
    top: 30px;
    left: 40px;
}

.main-scene .container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: #f00; */
    /* background: radial-gradient(circle, rgb(125, 119, 111) 0%, rgb(116, 110, 104) 50%); */
    /* background-image: url('../images/bg.png'); */
    background-size: cover;
    background-position: center;

    display: flex;
    justify-content: center;
    align-items: center;
}

.main-scene .container .contents {
    position: relative;
    aspect-ratio: 1920 / 1080;
    width: 100%;
    max-width: calc(100dvh * (1920 / 1080));
    /* 비율 16:9에 맞는 최대 너비 계산 */
    max-height: calc(100dvw * (1080 / 1920));
    /* 비율 16:9에 맞는 최대 높이 계산 */
    /* box-shadow: 0 20px 20px rgba(0, 0, 0, 0.3); */
}

/* @media (min-aspect-ratio: 1920 / 1080) {
    .main-scene .container .contents {
        height: 100%;
    }
} */

.main-scene .container .contents:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    z-index: 9999;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* box-shadow: 0 0 0 1px #0f0 inset; */
}

.main-scene .container .contents .video {
    position: absolute;
    left: 50%;
    top: 50%;
    /* 200으로 나중에 바꾸기 */
    width: 200%;
    /* height: calc(100dvw * 0.75); */
    transform: translate(-50%, -50%);

    /* background-image: url('../images/test.png'); */
    background-color: #FFFFFF;
    background-size: cover;
    background-position: center;


    /* top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; */

    /* height: 100%; */
    /* object-fit: cover; */
    /* position: absolute; */
    /* left: 0; */

    /* position: absolute;
    width: 100%;
    height: auto;
    aspect-ratio: 1920 / 1080;
    object-fit: contain;
    max-width: 100%;
    display: block;
    /* background-color: #f00; */
    /* background-image: url('../images/kitchen/kitchen_illust.png'); */
    /* background-size: cover; */
}

.start-loading-container {
    position: absolute;
    width: 100%;
    height: 100%;
    /* display: none; */
}

.start-loading-container .start-loading-bg {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 200%;
    height: 200%;
    transform: translate(-50%, -50%);
    background-color: #FFFFFF;
    background-size: cover;
    background-position: center;
}

.start-loading-title {
    background-image: image-set(url(../images/start_loading_title.png) 1x, url(../images/start_loading_title@2x.png) 2x);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 34.84%;
    height: 9.25%;
}

.stick-container {
    position: absolute;
    display: flex;
    justify-content: center;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.stick {
    width: 2.3dvw;
    height: 0.3dvw;
    background: #323232;
    display: inline-block;
    margin-left: -0.25dvw;
}

.stick:nth-child(n) {
transform: rotate(30deg);
animation: fall 2s infinite;
}

.stick:nth-child(2n) {
transform: rotate(-30deg);
animation: rise 2s infinite;
}  

.start-loading {
    position: absolute;
    top: 48%;
    left: 50%;
    font-family: "Chosun-Regular";
    color: #323232;
    text-transform: uppercase;
    animation: fade-loading 2s infinite;
    font-size: 1.56dvw;
    line-height: 3.02dvw;
    text-align: center;
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
}

@keyframes rise {
    50% {
      transform: rotate(30deg);
    }
}
@keyframes fall {
    50% {
      transform: rotate(-30deg);
    }
}
@keyframes fade-loading {
    50% {
      opacity: 0.5;
    }
    100% {
      opacity: 1;
    }
}

.main-scene .guide {
    display: none;
}


.main-scene .ui {
    transition: opacity 1.0s ease;
    opacity: 1;
}

.main-scene .ui.disabled {
    opacity: 0;
    pointer-events: none;
}

.main-scene .ui button {
    all: unset;
    cursor: pointer;
    /* pointer-events: auto; */
    border: none;
}

.main-scene .ui .btn-start {
    background-image: image-set(url(../images/common/btn_start.png) 1x, url(../images/common/btn_start@2x.png) 2x);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    bottom: 8%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 11.61%;
    height: 8.89%;
    display: none;
}

.main-scene .ui .btn-restart {
    background-image: image-set(url(../images/common/btn_restart.png) 1x, url(../images/common/btn_restart@2x.png) 2x);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    bottom: 16%;
    left: 38.5%;
    transform: translate(-50%, -50%);
    width: 11.61%;
    height: 8.89%;
    display: none;
}

.main-scene .ui .btn-exit {
    background-image: image-set(url(../images/common/btn_exit.png) 1x, url(../images/common/btn_exit@2x.png) 2x);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    bottom: 16%;
    left: 50.7%;
    transform: translate(-50%, -50%);
    width: 11.61%;
    height: 8.89%;
    display: none;
}

.main-scene .ui .btn-more {
    background-image: image-set(url(../images/common/btn_more.png) 1x, url(../images/common/btn_more@2x.png) 2x);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    bottom: 16%;
    left: 63%;
    transform: translate(-50%, -50%);
    width: 11.61%;
    height: 8.89%;
    display: none;
}

.main-scene .ui .download-popup {
    background-image: image-set(url(../images/epilogue/download_popup.png) 1x, url(../images/epilogue/download_popup@2x.png) 2x);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 49%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 61.09%;
    height: 79.9%;
    display: none;
}

.main-scene .ui .download-popup .btn-close {
    position: absolute;
    top: 9%;
    left: 99%;
    transform: translate(-50%, -50%);
    width: 8.33%;
    height: 14.81%;
    border: none;
    background-image: image-set(url(../images/epilogue/popup_close.png) 1x, url(../images/epilogue/popup_close@2x.png) 2x);
    background-repeat: no-repeat;
    background-size: contain;
}

.main-scene .ui .download-popup .btn-download {
    position: absolute;
    top: 87%;
    /* left: 50%; */
    transform: translate(-50%, -50%);
    width: 15.61%;
    height: 7%;
    border: none;
    background-image: image-set(url(../images/common/btn_download.png) 1x, url(../images/common/btn_download@2x.png) 2x);
    background-repeat: no-repeat;
    background-size: contain;
}
.main-scene .ui .download-popup .btn-download:nth-child(2) {
    left: 28%;
}
.main-scene .ui .download-popup .btn-download:nth-child(3) {
    left: 72%;
}

.main-scene .ui .btn-skip {
    background-image: image-set(url(../images/common/btn_skip.png) 1x, url(../images/common/btn_skip@2x.png) 2x);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    bottom: 1%;
    left: 10%;
    transform: translate(-50%, -50%);
    width: 11.97%;
    height: 6.85%;
    display: none;
}

.main-scene .ui .btn-story-next {
    background-image: image-set(url(../images/common/btn_next.png) 1x, url(../images/common/btn_next@2x.png) 2x);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    bottom: 3%;
    right: 5%;
    transform: translate(-50%, -50%);
    width: 2.8%;
    height: 4.9%;
    display: none;

    animation: blinkMore 2s infinite;
}

.main-scene .ui .script {
    display: none;
    font-size: 1.56dvw;
    line-height: 3.02dvw;
    color: #ffffff;
    text-shadow: 2px 2px 3px rgba(255, 255, 255, 0.50);
    font-family: 'Chosun-Regular';
    text-align: center;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
}

.main-scene .ui .script strong {
    font-family: 'Chosun-Bold';
}

.main-scene .ui .script.fss,
.main-scene .ui .script .fss {
    font-size: 1.0dvw;
}

.main-scene .ui .script.fs,
.main-scene .ui .script .fs {
    font-size: 1.3dvw;
}

.main-scene .ui .script.fm,
.main-scene .ui .script .fm {
    font-size: 1.56dvw;
}

.main-scene .ui .script.fl,
.main-scene .ui .script .fl {
    font-size: 1.72dvw;
}

.main-scene .ui .bg {
    background-color: rgba(0, 0, 0, 0.6);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 50.5%;
    left: 49.8%;
    transform: translate(-50%, -50%);
    width: 77.2%;
    height: 79.8%;
    display: none;
}

.main-scene .ui .blur-bg {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    backdrop-filter: blur(3px);
}

.main-scene .ui .btn-poi {
    background-image: image-set(url(../images/common/btn_poi_hand.png) 1x, url(../images/common/btn_poi_hand@2x.png) 2x);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 19%;
    left: 20%;
    transform: translate(-50%, -50%);
    width: 10.42%;
    height: 18.52%;
    display: none;
    animation: blinkPOI 2s infinite;
}

.main-scene .ui .btn-light-archive {
    background-image: image-set(url(../images/common/btn_light_archive.png) 1x, url(../images/common/btn_light_archive@2x.png) 2x);
    position: absolute;
    display: none;
    top: 85%;
    left: 50%;
    width: 19.38%;
    height: 7.41%;
    background-size: contain;
    background-repeat: no-repeat;
    transform: translate(-50%, -50%);
    animation: blinkMore 2s infinite;
}

.main-scene .ui .btn-living-country-archive {
    background-image: image-set(url(../images/common/btn_living_country_archive.png) 1x, url(../images/common/btn_living_country_archive@2x.png) 2x);
    position: absolute;
    display: none;
    top: 85%;
    left: 41%;
    width: 19.3%;
    height: 7.4%;
    background-size: contain;
    background-repeat: no-repeat;
    transform: translate(-50%, -50%);
    animation: blinkMore 2s infinite;
}

.main-scene .ui .btn-living-use-archive {
    background-image: image-set(url(../images/common/btn_living_use_archive.png) 1x, url(../images/common/btn_living_use_archive@2x.png) 2x);
    position: absolute;
    display: none;
    top: 85%;
    left: 60%;
    width: 19.3%;
    height: 7.4%;
    background-size: contain;
    background-repeat: no-repeat;
    transform: translate(-50%, -50%);
    animation: blinkMore 2s infinite;
}

.main-scene .ui .click-guide {
    background-image: image-set(url(../images/common/click_guide.png) 1x, url(../images/common/click_guide@2x.png) 2x);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 80%;
    left: 43.3%;
    transform: translate(-50%, -50%);
    width: 12.9%;
    height: 7.4%;
    /* display: none; */
}

.main-scene .ui .btn-invitation {
    background-image: image-set(url(../images/common/btn_invitation.png) 1x, url(../images/common/btn_invitation@2x.png) 2x);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    bottom: 13%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 11.6%;
    height: 8.8%;
    display: none;
}

.timeline-bar {
    position: absolute;
    left: 50%;
    bottom: 2.96%;
    width: 55.57%;
    height: 9.91%;

    transform: translate(-50%, 0);

    display: flex;
    justify-content: center;
    align-items: center;
}

.timeline-bar .btn-time {
    position: relative;
    width: 11.112%;
    height: 100%;
    cursor: pointer;
}

.timeline-bar .btn-time:before {
    content: '';
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 22.43%;
    height: 22.43%;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.3);
    transition: background-color 0.4s ease;
}

.timeline-bar .btn-time.selected:before {
    background-color: #B7A87D;
}

.timeline-bar .btn-time:after {
    content: '';
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 14.95%;
    height: 14.95%;
    border-radius: 50%;
    background-color: #fff;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.timeline-bar .btn-time.visited:after {
    opacity: 1;
}

.timeline-bar .btn-time .line {
    position: absolute;
    z-index: 1;
    top: 50%;
    right: 61%;
    transform: translate(0, -50%);
    width: 77.7%;
    height: 5.61%;
    background-color: rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.timeline-bar .btn-time.visited .line {
    right: 57%;
    width: 86%;
}

.timeline-bar .btn-time.selected .line {
    right: 61%;
    width: 82%;
}

.timeline-bar .btn-time:first-child .line {
    visibility: hidden;
}

.timeline-bar .btn-time .line:after {
    content: '';
    position: absolute;
    top: 50%;
    width: 100%;
    height: 33%;
    transform: translate(0, -50%);
    background-color: rgba(255, 255, 255, 1);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.timeline-bar .btn-time.visited .line:after {
    opacity: 1;
}

@keyframes blinkPOI {
    0% {
        opacity: 0;
        transform: scale(1.2);
    }

    40% {
        opacity: 1;
        transform: scale(1);
    }

    60% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(1.2);
    }
}

@keyframes blinkMenu {
    0% {
        box-shadow: 0 0 15px 10px rgba(186, 159, 103, 0.5),
            0 0 30px 20px rgba(186, 159, 103, 0.3),
            0 0 45px 30px rgba(186, 159, 103, 0.1);
    }

    50% {
        box-shadow: 0 0 20px 15px rgba(186, 159, 103, 0.6),
            0 0 40px 25px rgba(186, 159, 103, 0.4),
            0 0 60px 35px rgba(186, 159, 103, 0.2);
    }

    100% {
        box-shadow: 0 0 15px 10px rgba(186, 159, 103, 0.5),
            0 0 30px 20px rgba(186, 159, 103, 0.3),
            0 0 45px 30px rgba(186, 159, 103, 0.1);
    }
}

@keyframes scaleMenu {
    0% {
        transform: scale(1.0);
    }
    
    50% {
        transform: scale(1.03);
    }

    100% {
        transform: scale(1.0);
    }    
}

@keyframes blinkMore {
    0% {
        opacity: 0.5;
    }

    40% {
        opacity: 1;
    }

    60% {
        opacity: 1;
    }

    100% {
        opacity: 0.5;
    }
}

.illust {}

.illust .living,
.illust .light {
    position: absolute;
    display: none;
    width: 20.83%;
    height: 37.03%;
    background-size: cover;
    transform: translate(-50%, -50%);
    /* cursor: pointer; */
}

.illust .light.light-1 {
    background-image: url('../images/illust/light/light_1.png');
}

.illust .light.light-2 {
    background-image: url('../images/illust/light/light_2.png');
}

.illust .light.light-3 {
    background-image: url('../images/illust/light/light_3.png');
}

.illust .light.light-4 {
    background-image: url('../images/illust/light/light_4.png');
}

.illust .living.living-1 {
    background-image: url('../images/illust/living/living_1.png');
}

.illust .living.living-2 {
    background-image: url('../images/illust/living/living_2.png');
}

.illust .living.living-3 {
    background-image: url('../images/illust/living/living_3.png');
}

.illust .living.living-4 {
    background-image: url('../images/illust/living/living_4.png');
}

.illust .legation,
.illust .architecture {
    position: absolute;
    display: none;
    width: 11.78%;
    height: 4%;
    background-size: cover;
    transform: translate(-50%, -50%);
    /* cursor: pointer; */
}

.illust .legation.legation-1 {
    background-image: image-set(url(../images/illust/legation/legation_1.png) 1x, url(../images/illust/legation/legation_1@2x.png) 2x);
}

.illust .legation.legation-2 {
    background-image: image-set(url(../images/illust/legation/legation_2.png) 1x, url(../images/illust/legation/legation_2@2x.png) 2x);
}

.illust .legation.legation-3 {
    background-image: image-set(url(../images/illust/legation/legation_3.png) 1x, url(../images/illust/legation/legation_3@2x.png) 2x);
}

.illust .legation.legation-4 {
    background-image: image-set(url(../images/illust/legation/legation_4.png) 1x, url(../images/illust/legation/legation_4@2x.png) 2x);
}

.illust .legation.legation-5 {
    background-image: image-set(url(../images/illust/legation/legation_5.png) 1x, url(../images/illust/legation/legation_5@2x.png) 2x);
}

.illust .legation.legation-6 {
    background-image: image-set(url(../images/illust/legation/legation_6.png) 1x, url(../images/illust/legation/legation_6@2x.png) 2x);
}

.illust .architecture.architecture-1 {
    background-image: image-set(url(../images/illust/architecture/architecture_1.png) 1x, url(../images/illust/architecture/architecture_1@2x.png) 2x);
}

.illust .architecture.architecture-2 {
    background-image: image-set(url(../images/illust/architecture/architecture_2.png) 1x, url(../images/illust/architecture/architecture_2@2x.png) 2x);
}

.illust .architecture.architecture-3 {
    background-image: image-set(url(../images/illust/architecture/architecture_3.png) 1x, url(../images/illust/architecture/architecture_3@2x.png) 2x);
}

.illust .architecture.architecture-4 {
    background-image: image-set(url(../images/illust/architecture/architecture_4.png) 1x, url(../images/illust/architecture/architecture_4@2x.png) 2x);
}

.illust .architecture.architecture-5 {
    background-image: image-set(url(../images/illust/architecture/architecture_5.png) 1x, url(../images/illust/architecture/architecture_5@2x.png) 2x);
}

.illust .vase,
.illust .bubble {
    position: absolute;
    display: none;
    /* width: 15.3%;
    height: 31.6%; */
    background-size: cover;
    transform: translate(-50%, -50%);
}

.illust .vase.vase-1 {
    width: 15.3%;
    height: 31.6%;
    background-image: image-set(url(../images/illust/vase/vase.png) 1x, url(../images/illust/vase/vase@2x.png) 2x);
}

.illust .bubble.content-1 {
    width: 15.62%;
    height: 24%;
    background-image: image-set(url(../images/illust/vase/speech_balloon1.png) 1x, url(../images/illust/vase/speech_balloon1@2x.png) 2x);
}

.illust .bubble.content-2 {
    width: 14%;
    height: 19.7%;
    background-image: image-set(url(../images/illust/vase/speech_balloon2.png) 1x, url(../images/illust/vase/speech_balloon2@2x.png) 2x);
}

/* spaceviewer */
.scenes .scene>.space-container {
    position: absolute;
    display: none;

    /* width: 100%; */
    /* height: 100%; */
    /* display: none; */
}

.mediabook-modal {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

/* .mediabook-modal.blur {
    backdrop-filter: blur(3px);
    pointer-events: auto;
} */

.mediabook-modal .modal-vase {
    background-image: image-set(url(../images/book_modal/vase_movie.png) 1x, url(../images/book_modal/vase_movie@2x.png) 2x);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 61.09%;
    height: 79.9%;
    display: none;

    box-sizing: border-box;
    padding: 0% 4.9%;
}

.mediabook-modal .modal-vase:after {
    content: '';
    background-image: image-set(url(../images/book_modal/vase_viewer.png) 1x, url(../images/book_modal/vase_viewer@2x.png) 2x);
    visibility: hidden;
}

.mediabook-modal .modal-vase.gradient {
    background-image: image-set(url(../images/book_modal/vase_viewer.png) 1x, url(../images/book_modal/vase_viewer@2x.png) 2x);
}

.mediabook-modal .modal-vase video {
    position: absolute;
    width: 88.8%;
    height: 64.54%;
    top: 52%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.mediabook-modal .modal-vase progress {
    position: absolute;
    width: 84.5%;
    height: 0.7%;
    bottom: 14.7%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 0;
    background-color: #B7A87D;
}

.mediabook-modal .modal-vase progress::-webkit-progress-value {
    background-color: #B7A87D;
}


.mediabook-modal .modal-vase .btn-viewer {
    background-image: image-set(url(../images/book_modal/btn_viewer.png) 1x, url(../images/book_modal/btn_viewer@2x.png) 2x);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    bottom: 1%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 19.01%;
    height: 8.57%;

    cursor: pointer;
}

.mediabook-modal .modal-vase .btn-movie {
    background-image: image-set(url(../images/book_modal/btn_movie.png) 1x, url(../images/book_modal/btn_movie@2x.png) 2x);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    bottom: 1%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 19.01%;
    height: 8.57%;
    display: none;

    cursor: pointer;
}

.mediabook-modal .modal-vase .btn-close {
    background-image: image-set(url(../images/book_modal/btn_book_close.png) 1x, url(../images/book_modal/btn_book_close@2x.png) 2x);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 6%;
    left: 99%;
    transform: translate(-50%, -50%);
    width: 6.82%;
    height: 9.26%;

    cursor: pointer;
}

.mediabook-modal .modal-vase .modal-vase-viewer {
    /* position: absolute;*/
    position: relative;
    height: 48.89%;
    /* height: 62.58%;    살라미나 viewer size 조절 */
    top: 50%;
    left: 50%;
    /* padding: 8% 34.9% 0% 34.9%; */
    transform: translate(-50%, -50%);
    transition: opacity 0.4s ease;
}

.mediabook-modal .modal-vase .modal-vase-viewer.hide {
    opacity: 0;
    pointer-events: none;
}

/* vase viewer */
.modal-vase-viewer {
    position: relative;
    /* padding: 8% 34.9% 0% 34.9%; */
    /* 살라미나 viewer size 조절 */
    /* height: 48.89%; */
    height: 62.58%;
}

.modal-vase-progress-bar {
    position: relative;
    display: none;
    width: 30%;
    height: 1.0%;
    background-color: #FFFFFF;
    left: 50%;
    top: 48%;
    transform: translate(-50%, -50%);
}

.modal-vase-progress {
    width: 2%;
    height: 100%;
    background-color: #1CAAD9;
}

.modal-vase-loadingdesc {
    position: relative;
    display: none;
    text-align: center;
    font-size: 0.6dvw;
    color: white;
    left: 50%;
    top: 52%;
    transform: translate(-50%, -50%);
}

.scenes .scene .close-image-space-viewer {
    position: absolute;
    width: 151px;
    height: 41px;
    top: 40px;
    right: 30px;
    /* top: 1%; */
    /* left: 50%; */
    /* transform: translate(-50%, 0%); */
    cursor: pointer;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.scenes .scene .close-image-space-viewer.hide {
    opacity: 0;
}

/*Yoon - loading image */
.loading-container {
    position: absolute;
    display: none;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(42, 42, 42, 0.90);
    backdrop-filter: blur(27.5px);
    z-index: 9999;
}

.loading-container .loading-bg {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-image: image-set(url(../images/map.png) 1x, url(../images/map@2x.png) 2x);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    filter: blur(30px);
}

.loading-container .spaceviewer-loadingdesc {
    /* display: none; */
    position: absolute;
    font-family: "Chosun-Regular";
    /* font-size: 1.56vmin; */
    font-size: 2.06vmin;
    color: white;
    top: 41.2%;
    left: 50%;
    transform: translate(-50%, 0%);
}

.loading-container .progress-percent {
    /* display: none; */
    position: absolute;
    font-family: "Chosun-Regular";
    font-size: 2.06vmin;
    color: white;
    top: 46.15%;
    left: 50%;
    transform: translate(-50%, 0%);
}

.loading-container .loading-comment {
    position: absolute;
    font-family: "Chosun-Regular";
    font-size: 1.03vmin;
    color: white;
    top: 51.15%;
    left: 50%;
    transform: translate(-50%, 0%);
}

/* objectviewer */
.object-container {
    position: absolute;
    display: none;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1111;
}

.object-viewer-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 500px;
    bottom: 0;
}

.object-viewer-container .progress-bar {
    position: absolute;
    width: 10%;
    height: 5px;
    background-color: #FFFFFF;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
}

.object-viewer-container .progress-bar .progress {
    width: 2%;
    height: 100%;
    background-color: #1CAAD9;
}

.object-viewer-container .loadingdesc {
    position: absolute;
    font-size: 2vmin;
    color: white;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.object-detail-container .close-image {
    position: fixed;
    width: 80px;
    height: 80px;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

.object-detail-container {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 380px;
    background-color: white;
    overflow-y: auto;
    padding: 100px 60px;
}

.object-detail-container .title {
    margin-bottom: 25px;
    font-family: "Chosun-Regular";
    font-size: 30px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    color: #323232;
}

.object-detail-container .desc {
    color: rgba(50, 50, 50, 0.70);
    position: relative;
    text-align: left;
    font-family: "Apple SD Gothic Neo";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 210%;
    /* line-height: 60px; */
    /* padding: 0px 218px 157px 115px; */
}

/* panoramaviewer */
.scenes .scene>.panorama-container {
    position: absolute;
    display: none;
}

.scenes .scene .close-image-panorama-viewer {
    position: absolute;
    width: 4vmin;
    height: 4vmin;
    top: 1%;
    left: 50%;
    transform: translate(-50%, 0%);
    cursor: pointer;
}

/* modal */
.modal {
    position: absolute;
    display: none;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    width: 536px;
    padding: 60px;
    right: 10%;
    top: 50%;
    transform: translate(0%, -50%);
}

.info-modal {
    position: absolute;
    display: none;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    width: 536px;
    padding: 60px;
    left: 38px;
    top: inherit;
    bottom: 101px;
    transform: inherit;
}

.modal-container {
    position: relative;
    max-height: 750px;
    overflow-y: auto;
    overflow-x: hidden;
}

.modal-close,
.info-close {
    position: absolute;
    top: -29px;
    right: -24px;
    width: 79px;
    height: 79px;
    cursor: pointer;
}

.modal-title,
.info-title {
    font-family: '경기천년바탕OTF';
    font-weight: bold;
    font-size: 30px;
    color: rgba(49, 14, 14, 0.80);
    margin-bottom: 35px;
}

.modal-source {
    color: rgba(0, 0, 0, 0.50);
    font-family: "Apple SD Gothic Neo";
    text-align: right;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-top: -30px;
    visibility: visible;

}

.modal-source.hidden {
    visibility: hidden;
}

.modal-subtitle {
    color: rgba(0, 0, 0, 0.40);
    /* font-family: "Apple SD Gothic Neo"; */
    font-family: '경기천년바탕OTF';
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin-bottom: 15px;
}

.modal-desc,
.info-desc {
    font-family: '경기천년바탕OTF';
    text-align: left;
    color: rgba(0, 0, 0, 0.60);
    line-height: 180%;
    font-size: 18px;
}

.modal-viewer-container {
    position: relative;
    display: none;
    height: auto;
    margin-bottom: 35px;
}

.modal-viewer-container .modal-image {
    position: relative;
    display: none;
    height: 300px;
    width: auto;
    left: 50%;
    transform: translate(-50%, 0%);
    border-radius: 3px;
}

/* .modal-viewer {
    position: relative;
    display: none;
    width: 100%;
    height: 100%;
} */

.modal-3D-viewer {
    position: relative;
    display: none;
    width: 100%;
    /* height: 340px; */
    height: 360px;
}

.modal-3D-viewer .help{
    position: absolute;
    display: none;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-3D-viewer .help .help-desc{
    position: absolute;
    width: 408px;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.modal-3D-viewer a.icon-help{
    position: absolute;
    top: 10px;
    right: 5px;
}

.modal-3D-viewer .icon-help img{
    /* width: 60px; */
    /* height: 60px; */
    width: 50px;
    height: 50px;
    content: url('../images/help_button@2x.png');
}

.modal-3D-viewer .icon-help img.close{
    content: url('../images/help_close_button@2x.png');
}

.modal-3D-viewer canvas {
    border-radius: 3px;
}

.modal-progress-bar {
    position: absolute;
    width: 30%;
    height: 5px;
    background-color: #FFFFFF;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
}

.modal-progress {
    width: 2%;
    height: 100%;
    background-color: #1CAAD9;
}

.modal-loadingdesc {
    position: absolute;
    font-size: 13px;
    color: white;
    left: 50%;
    top: 51%;
    transform: translate(-50%, 0%);
}

.book-modal {
    position: relative;
    /* display: block; */
    display: none;
    aspect-ratio: 1920 / 1080;
    width: 100%;
    height: 100%;
    max-width: calc(100dvh*(16 / 9));
    max-height: calc(100dvw*(9 / 16));
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.book-modal .book-modal-bg {
    position: absolute;
    /* display: none; */
    /* width: 31.72%;
    height: 79.91%; */

    width: 54.48%;
    height: 71.3%;
    /* aspect-ratio: 609 / 863; */
    aspect-ratio: 1046 / 770;
    /* 이미지 비율 유지 */
    background-image: url('../images/book_modal/book_modal_bg@2x.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.book-modal .book-modal-close {
    position: relative;
    width: 100%;
    height: 100%;
    top: 15.1%;
    left: 74.8%;
    cursor: default;
}

.book-modal .book-modal-close img {
    width: 4.17%;
    height: 7.41%;
    cursor: pointer;
}

.book-modal .book-modal-container {
    position: absolute;
    display: flex;
    width: 100%;
    height: 53.98%;
    top: 25.85%;
    padding: 0% 27% 0% 26%;
    box-sizing: border-box;
    gap: 2.86%;
}

.book-modal .book-modal-desc::-webkit-scrollbar {
    display: none;
}

.book-modal-viewer {
    position: relative;
    width: 63%;
    height: 95%;

    /* height: 62.58%; */
    /* height: 80%; */
    /* padding: 0% 29.9%; */
    /* margin-bottom: 1.35%; */
}

.book-modal-detail {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 37%;
    height: 100%;

    /* height: 62.58%; */
    /* height: 80%; */
    /* padding: 0% 29.9%; */
    /* margin-bottom: 1.35%; */
}

.book-modal-video {
    position: relative;
    display: none;
    width: 100%;
    /* padding-top: 1.35%; */
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin-top: 2%;
}

.book-modal-viewer .book-modal-image {
    position: relative;
    display: none;
    width: 100%;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.book-modal-viewer canvas {
    position: absolute;
    width: 100%;
    height: 100%;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* padding: 0% 29.9%; */
}

.book-modal .book-modal-title {
    position: relative;
    display: block;
    font-size: 1.56dvw;
    color: #ECDCAF;
    font-family: "Chosun-Regular";
    font-style: normal;
    font-weight: 600;
    margin-top: 10%;
    margin-bottom: 5%;
}

.book-modal .divider {
    margin-bottom: 6%;
}

.book-modal .book-modal-subtitle {
    position: relative;
    display: block;
    font-size: 0.76dvw;
    color: #ECDCAF;
    font-family: "Apple SD Gothic Neo";
    font-style: normal;
    font-weight: 400;
    line-height: 156.25%;
    margin-bottom: 8%;
}

.book-modal .book-modal-desc {
    position: relative;
    font-family: "Apple SD Gothic Neo";
    font-size: 0.86dvw;
    /* font-size: 0.94dvw; */
    text-align: left;
    color: #ECDCAF;
    font-style: normal;
    font-weight: 500;
    line-height: 188.889%;
    /* height: inherit; */
    /* max-height: 24.78%; */
    overflow-y: auto;
    overflow-x: hidden;
    /* padding: 0% 29.9%; */
    margin-bottom: 1.35%;
}

.book-modal-progress-bar {
    position: relative;
    display: none;
    width: 30%;
    height: 1.0%;
    background-color: #FFFFFF;
    left: 50%;
    top: 48%;
    transform: translate(-50%, -50%);
}

.book-modal-progress {
    width: 2%;
    height: 100%;
    background-color: #1CAAD9;
}

.book-modal-loadingdesc {
    position: relative;
    display: none;
    text-align: center;
    font-size: 0.6vw;
    color: white;
    left: 50%;
    top: 52%;
    transform: translate(-50%, -50%);
}

.book-modal .book-modal-3d-desc {
    position: relative;
    display: none;
    width: 80%;
    height: auto;
    top: 100%;
    left: 50%;
    margin-top: 1%;
    transform: translateX(-50%)
}

.space-description {
    position: absolute;
    display: none;
    bottom: 29px;
    left: 38px;
}

.space-description img {
    width: 50px;
    height: 50px;
}

.space-name {
    position: absolute;
    display: none;
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    border-radius: 15px;
    /* width: 199px; */
    height: 50px;
    left: 38px;
    bottom: 34px;
    padding-left: 80px;
    padding-right: 40px;
    font-family: 'Apple SD Gothic Neo';
    font-size: 14px;
    text-align: center;
    line-height: 50px;
}

/* Yoon - global light */
.global-light {
    position: absolute;
    left: 38px;
    bottom: 163px;
}

.global-light img {
    display: none;
    width: 50px;
    height: 89px;
}

.btn-map {
    position: absolute;
    display: none;
    bottom: 82px;
    left: 28px;
}

.btn-map img {
    width: 70px;
    height: 70px;
}

.btn-kitchen {
    position: absolute;
    display: none;
    bottom: 18px;
    /* bottom: 23px; */
    right: 35px;
}

.btn-kitchen img {
    width: 208px;
    height: 70px;
}

.btn-menu {
    position: absolute;
    display: none;
    bottom: 115px;
    right: 108px;
    transition: bottom 0.5s ease;
    animation: blinkMenu 5s infinite;
    border-radius: 25px;
}

.btn-menu img {
    position: relative;
    width: 161px;
    height: 209px;
    margin: -48px;
}

.btn-menu.close {
    bottom: -180px;
}

.menu {
    visibility: hidden;
    position: absolute;
    width: 556px;
    height: 953px;
    /* bottom: -30px; */
    bottom: -953px;
    right: 13px;
    background-image: url('../images/menu.png');
    background-repeat: no-repeat;
    transition: bottom 1.0s ease;
}

.menu.active {
    visibility: visible;
}

.menu.open {
    bottom: -70px;
}

.menu .menu-close {
    position: absolute;
    top: -15px;
    right: -15px;
    opacity: 0;
    cursor: pointer;
    pointer-events: none;
}

.menu.open .menu-close {
    opacity: 1;
    pointer-events: all;
}

.menu .menu-close img {
    width: 90px;
    height: 90px;
}

.menu-desc {
    position: absolute;
    width: 373px;
    height: 32px;
    left: 50%;
    transform: translate(-50%, -50%);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url(../images/dinning/menu_desc@2x.png);
}

.menu-container {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    padding: 303.5px 91px 98.5px 91px;
}

.menu-list {
    position: absolute;
    display: flex;
    flex-direction: column;
    /* gap: 21px; */
}

.menu-list .item {
    cursor: pointer;
    width: 377px;
    height: 50px;
    transition: transform 0.2s ease-out, filter 0.2s ease-out, opacity 0.3s ease-out;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 1;
    animation: scaleMenu 2s infinite;    
}

.menu-list .item.ready {
    transform: scale(1.315);
    opacity: 0;
}

.menu-list .item:hover {
    transform: scale(1.06);
    filter: drop-shadow(4px 4px 4px rgba(1, 1, 1, 0.4));
}

.menu-list .item.consomme {
    background-image: url(../images/dinning/menu_consomme@2x.png);
}

.menu-list .item.fish {
    background-image: url(../images/dinning/menu_fish@2x.png);
}

.menu-list .item.grapes {
    background-image: url(../images/dinning/menu_grapes@2x.png);
}

.menu-list .item.foiegra {
    background-image: url(../images/dinning/menu_foiegras@2x.png);
}

.menu-list .item.truffle {
    background-image: url(../images/dinning/menu_truffle@2x.png);
}

.menu-list .item.asparagus {
    background-image: url(../images/dinning/menu_asparagus@2x.png);
}

.menu-list .item.steak {
    background-image: url(../images/dinning/menu_steak@2x.png);
}

.menu-list .item.beens {
    background-image: url(../images/dinning/menu_beens@2x.png);
}

.menu-list .item.salad {
    background-image: url(../images/dinning/menu_salad@2x.png);
}

.menu-list .item.cheese {
    background-image: url(../images/dinning/menu_cheese@2x.png);
}

.menu-list .item.dessert {
    background-image: url(../images/dinning/menu_dessert@2x.png);
}

.room-list {
    position: absolute;
    display: none;
    justify-content: space-between;
    /* width: 38.96%; */
    /* justify-content: center; */
    max-width: 70%;
    left: 50%;
    /* bottom: 30px; */
    bottom: 35px;
    transform: translate(-50%, 0%);

    border-radius: 15px;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(5px);
    /* gap: 25px; */
}

.room-list.bright {
    background: rgba(255, 255, 255, 0.5);
}

.room-list .room {
    font-family: "Apple SD Gothic Neo";
    /* padding: 14px 0px; */
    padding: 1.85% 0%;
    text-align: center;
    min-width: 130px;
    color: white;
    cursor: pointer;
    font-size: 14px;
}

.room-list .room.bright {
    color: rgba(50, 50, 50, 0.8);
}

.room-list .room.selected {
    background-color: white;
    color: #323232;
    border-radius: 15px;
    /* font-weight: bold; */
    font-size: 16px;
}

.room-list .room:hover {
    font-weight: bold;
}

/* kitchen */
.kitchen-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #e2dad7;
    display: flex;
    align-items: center;

    background-image: url('../images/kitchen/kitchen_top_bg.png');
    background-position: top center;
    background-size: 100% 50%;
    background-repeat: no-repeat;
}

.kitchen {
    position: absolute;
    width: 100%;
    height: auto;
    aspect-ratio: 1920 / 1080;
    object-fit: contain;
    max-width: 100%;
    display: block;
    background-image: url('../images/kitchen/kitchen_illust.png');
    background-size: cover;
}

.hidden {
    display: none;
}

.kitchen-close {
    background-image: image-set(url(../images/kitchen/btn_kitchen_close.png) 1x, url(../images/kitchen/btn_kitchen_close@2x.png) 2x);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right;
    position: fixed;
    width: 11.83%;
    height: 8%;
    bottom: 20px;
    right: 20px;
    cursor: pointer;
}

.animation-notice {
    background-image: image-set(url(../images/kitchen/animation_notice.png) 1x, url(../images/kitchen/animation_notice@2x.png) 2x);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    width: 14.21%;
    height: 2.96%;
    top: 44%;
    right: 8.3%;
}

.kitchen .mold {
    position: absolute;
    width: 5.88%;
    height: 10.46%;
    background-size: cover;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.kitchen .mold.mold-1 {
    background-image: url('../images/kitchen/mold_1.png');
}

.kitchen .mold.mold-2 {
    background-image: url('../images/kitchen/mold_2.png');
}

.kitchen .mold.mold-3 {
    background-image: url('../images/kitchen/mold_3.png');
}

.kitchen .mold.mold-4 {
    background-image: url('../images/kitchen/mold_4.png');
}

.kitchen .mold.mold-5 {
    background-image: url('../images/kitchen/mold_5.png');
}

.kitchen .mold.mold-6 {
    background-image: url('../images/kitchen/mold_6.png');
}

.kitchen .bread {
    position: absolute;
    width: 5.88%;
    height: 10.46%;
    background-size: cover;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.kitchen .bread.bread-1 {
    background-image: url('../images/kitchen/bread_1.png');
}

.kitchen .bread.bread-2 {
    background-image: url('../images/kitchen/bread_2.png');
}

.kitchen .bread.bread-3 {
    background-image: url('../images/kitchen/bread_3.png');
}

.kitchen .bread.bread-4 {
    background-image: url('../images/kitchen/bread_4.png');
}

.kitchen .bread.bread-5 {
    background-image: url('../images/kitchen/bread_5.png');
}

.kitchen .bread.bread-6 {
    background-image: url('../images/kitchen/bread_6.png');
}


.shake-anim {
    animation: shake-anim 2s linear infinite;
}

.shake-anim.light-1,
.shake-anim.living-1 {
    animation: shake-anim 2s linear 0s infinite;
}

.shake-anim.light-2,
.shake-anim.living-2 {
    animation: shake-anim 2s linear 0.1s infinite;
}

.shake-anim.light-3,
.shake-anim.living-3 {
    animation: shake-anim 2s linear 0.2s infinite;
}

.shake-anim.light-4,
.shake-anim.living-4 {
    animation: shake-anim 2s linear 0.3s infinite;
}

.shake-anim.click-guide {
    animation: none;
}

/* Yoon - poi */
.kitchen button {
    all: unset;
    cursor: pointer;
    /* pointer-events: auto; */
    border: none;
}

.kitchen .btn-poi {
    background-image: image-set(url(../images/poi/poi_3d.png) 1x, url(../images/poi/poi_3d@2x.png) 2x);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    transform: translate(-50%, -50%);
    width: 2.7%;
    height: 4.81%;
    /* animation: blinkPOI 2s infinite; */
}

@keyframes shake-anim {
    0% {
        transform: translate(-50%, -50%) rotate(0);
    }

    5% {
        animation-play-state: running;
    }

    10% {
        transform: translate(-50%, -50%) rotate(6deg) scale(100%);
    }

    15% {
        transform: translate(-50%, -50%) rotate(3deg) scale(100%);
    }

    20% {
        transform: translate(-50%, -50%) rotate(-3deg) scale(105%);
    }

    25% {
        transform: translate(-50%, -50%) rotate(-6deg) scale(110%);
    }

    30% {
        transform: translate(-50%, -50%) rotate(-3deg) scale(110%);
    }

    35% {
        transform: translate(-50%, -50%) rotate(2deg) scale(105%);
    }

    40% {
        transform: translate(-50%, -50%) rotate(4deg) scale(100%);
    }

    45% {
        transform: translate(-50%, -50%) rotate(2deg) scale(100%);
    }

    50% {
        animation-play-state: paused;
    }

    100% {
        animation-play-state: paused;
    }
}

.molding-anim {
    animation: molding-anim 1s ease-in-out forwards;
}

@keyframes molding-anim {
    0% {
        transform: translate(-50%, -50%) translateY(0);
    }

    50%,
    70% {
        transform: translate(-50%, -50%) translateY(-100px);
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    95% {
        opacity: 0.5;
    }

    100% {
        transform: translate(-50%, -50%) translateY(0);
        opacity: 0;
    }
}

.breadmodling-anim {
    animation: breadmodling-anim 1s ease-in-out 0.7s forwards;
}

@keyframes breadmodling-anim {
    0% {
        opacity: 0;
    }

    50% {
        transform: translate(-50%, -50%) scale(110%);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(100%);
    }
}

/* Han - fade image 클래스 */
.fade-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100dvw;
    height: 100dvh;
    z-index: 9998;
}

.epilogue {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 55%;
    height: 55%;
    background: #000;
    box-shadow: 0 20px 20px rgba(0, 0, 0, 0.3);
}

.epilogue .epilogue-text {
    position: absolute;
    font-size: 2.78dvh;
    top: -6%;
    left: 50%;
    font-family: "Chosun-Regular";
    color: #323232;
    transform: translate(-50%, -50%);
}

.epilogue .epilogue-video {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.epilogue .btn-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8.33%;
    height: 14.81%;
    cursor: pointer;
    border: none;
    background-color: initial;
    background-image: image-set(url(../images/epilogue/btn_play.png) 1x, url(../images/epilogue/btn_play@2x.png) 2x);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.epilogue progress {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100.2%;
    height: 1.5%;
    border-radius: 0;
    background-color: #B7A87D;
}

.epilogue progress::-webkit-progress-value {
    background-color: #B7A87D;
}

.epilogue .btn-play.playing {
    background-image: image-set(url(../images/epilogue/btn_pause.png) 1x, url(../images/epilogue/btn_pause@2x.png) 2x);
}

.main-scene .ui .btn-epilogue-next {
    display: none;
    background-image: image-set(url(../images/common/btn_next.png) 1x, url(../images/common/btn_next@2x.png) 2x);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    bottom: 0;
    right: 1.62%;
    transform: translate(-50%, -50%);
    width: 2.8%;
    height: 4.9%;
}

@media only screen and (max-width: 768px),
only screen and (max-height: 768px) {
    .main-scene .logo {
        top: 10px;
        left: -13px;
        transform: scale(0.6);
    }

    .main-scene .guide {
        background-color: rgba(0, 0, 0, 0.50);
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-position: center;
        background-size: cover;
        backdrop-filter: blur(5px);
    }

    .main-scene .guide img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: 60%;
        height: auto;
    }

    .info-modal {
        width: 300px;
        padding: 30px;
        /* bottom: 140px;
        left: initial;
        right: 3.5%; */
        bottom: 80px;
        left: 3.5%;
    }

    .modal-close,
    .info-close {
        position: absolute;
        top: -29px;
        right: -24px;
        width: 60px;
        height: 60px;
        cursor: pointer;
    }

    .info-modal-detail-container {
        max-height: 180px;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .info-title {
        font-family: '경기천년바탕OTF';
        font-weight: bold;
        font-size: 20px;
        color: rgba(49, 14, 14, 0.80);
        margin-bottom: 20px;
    }

    .info-desc {
        font-family: '경기천년바탕OTF';
        text-align: left;
        color: rgba(0, 0, 0, 0.60);
        line-height: 180%;
        font-size: 12px;
    }

    .modal {
        background-color: initial;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        padding: initial;
        border-radius: initial;
        width: initial;
        transform: initial;
    }

    .modal-container {
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;

        max-height: inherit;
        overflow-y: hidden;
        overflow-x: hidden;
    }

    .modal-viewer-container {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin-bottom: initial;
        height: 50%;
        background: #2E2E2E;
    }

    .modal-viewer-container .modal-image {
        border-radius: initial;
        width: auto;
        height: 100%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .modal-viewer-container .modal-image.crop {
        border-radius: initial;
        width: 100%;
        height: auto;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .modal-3D-viewer {
        position: absolute;
        display: none;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: initial;
        height: initial;
    }

    .modal-3D-viewer canvas {
        border-radius: inherit;
    }

    .modal-detail-container {
        position: absolute;
        background-color: white;
        top: 50%;
        left: 0;
        right: 0;
        bottom: 0;
        height: 50%;
        padding: 0 40px;
        overflow-x: auto;
    }

    .modal-close {
        top: 10px;
        right: 10px;
    }

    .modal-source {
        position: absolute;
        text-align: center;
        left: 20px;
        bottom: 10px;
    }

    .modal-subtitle {
        margin-top: 40px;
    }

    .modal-title {
        /* margin-top: 40px; */
        margin-right: 45px;
    }

    .modal-desc {
        margin-bottom: 40px;
    }

    .room-list {
        width: 46.96%;
        bottom: 22px;
        /* width: 93%; */
        max-width: initial;
        /* gap: initial; */
    }

    .room-list .room {
        flex: 1;
        padding: 12px 0px;
        font-size: 13px;
        min-width: initial;
    }

    .room-list .room.selected {
        font-size: 14px;
    }

    .room-list .room:hover {
        font-weight: initial;
    }

    .btn-map {
        bottom: 66px;
        left: calc(3.5dvw - 10px);
    }

    .btn-menu {
        position: absolute;
        display: none;
        /* bottom: 38.4px; */
        /* right: 28.6px; */
        /* bottom: 89px;
        right: initial;
        left: 50%; */
        /* bottom: 12px; */
        bottom: 96px;
        right: 9.1%;
        transform: translate(-50%, 0);
    }

    .btn-menu img {
        width: 104.65px;
        height: 135.85px;
    }

    .btn-menu.close {
        bottom: -136px;
    }

    .btn-kitchen {
        bottom: 13px;
        right: 1.78%;
    }

    .btn-kitchen img {
        width: 156px;
        height: 52.5px;
    }

    .space-description {
        bottom: 14px;
        left: 3.5%;
        /* bottom: 80px;
        right: 3.5%;
        left: initial; */
    }

    .space-name {
        left: 3.5%;
        bottom: 80px;
    }

    .global-light {
        left: 3.5%;
        bottom: 144px;
    }

    .scenes .scene .close-image-space-viewer {
        transform: scale(0.8);
        top: 18px;
        right: 0px;
    }

    .loading-container .spaceviewer-loadingdesc {
        top: 43%;
        font-size: 3vmin;
    }

    .loading-container .progress-percent {
        font-size: 3vmin;
        top: 46%;
    }

    .loading-container .loading-comment {
        top: 49.48%;
        font-size: 1.8vmin;
    }
}

@media only screen and (max-width: 768px) and (orientation: landscape),
only screen and (max-height: 768px) and (orientation: landscape) {
    .modal-viewer-container {
        position: absolute;
        top: 0;
        left: 0;
        right: initial;
        bottom: 0;
        margin-bottom: initial;
        width: 50%;
        height: 100%;
    }

    .modal-detail-container {
        position: absolute;
        background-color: white;
        top: 0;
        left: 50%;
        right: 0;
        bottom: 0;
        width: initial;
        height: 100%;
    }

    .kitchen-close {
        position: fixed;
        width: 104px;
        height: 35px;
        bottom: 10px;
        right: 10px;
    }

    .menu {
        right: 10px;
        transform: scale(0.50) translate(52.5%, 68%);
        background-position: 0px -205px;
    }

    .menu-container {
        padding: 75.5px 91px 98.5px 91px;
    }

    .menu.open {
        bottom: -9.0%;
    }

    .menu .menu-close {
        top: -35px;
        right: -3px;
    }

    .menu-desc {
        top: -2.5%;
    }

    .loading-container .spaceviewer-loadingdesc {
        top: 37%;
    }

    .loading-container .progress-percent {
        top: 44%;
    }

    .loading-container .loading-comment {
        top: 51%;
    }

    .modal-3D-viewer .help .help-desc{
        width: 350px;
        height: auto;
    }
}


@media (min-aspect-ratio: 1920 / 1080) {
    .main-scene .ui .script {
        font-size: 2.78dvh;
        line-height: 5.37dvh;
    }

    .main-scene .ui .script.fss,
    .main-scene .ui .script .fss {
        font-size: 2.0dvh;
    }


    .main-scene .ui .script.fs,
    .main-scene .ui .script .fs {
        font-size: 2.31dvh;
    }

    .main-scene .ui .script.fm,
    .main-scene .ui .script .fm {
        font-size: 2.78dvh;
    }

    .main-scene .ui .script.fl,
    .main-scene .ui .script .fl {
        font-size: 3.06dvh;
    }
}

/* iOS devices */
/* @supports (-webkit-touch-callout: none) { */
@media only screen and (max-width: 768px),
only screen and (max-height: 768px) {
    .main-scene .container .contents .video {
        background-image: url('../images/start_bg.png');
    }

    .main-scene .ui .script {
        font-size: calc(2.78dvh / 1.3);
        line-height: calc(5.37dvh / 1.3);
        text-shadow: 2px 2px 3px rgba(255, 255, 255, 0.10);
    }

    .main-scene .ui .script.fs,
    .main-scene .ui .script .fs {
        font-size: calc(2.0dvh / 1.3);
    }

    .main-scene .ui .script.fs,
    .main-scene .ui .script .fs {
        font-size: calc(2.31dvh / 1.3);
    }

    .main-scene .ui .script.fm,
    .main-scene .ui .script .fm {
        font-size: calc(2.78dvh / 1.3);
    }

    .main-scene .ui .script.fl,
    .main-scene .ui .script .fl {
        font-size: calc(3.06dvh / 1.3);
    }
}

/* iPad (세로): */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
    .main-scene .guide {
        background-color: rgba(0, 0, 0, 0.50);
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-position: center;
        background-size: cover;
        -webkit-backdrop-filter: blur(5px);
        backdrop-filter: blur(5px);
    }

    .main-scene .guide img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: 60%;
        height: auto;
    }

    .main-scene .container .contents .video {
        /* background-color: #FF3B14; */
        background-image: url('../images/start_bg.png');
    }
}

/* iPad (가로): */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
    .main-scene .container .contents .video {
        /* background-color: #FF3B14; */
        background-image: url('../images/start_bg.png');
    }

    .main-scene .guide {
        background-color: rgba(0, 0, 0, 0.50);
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-position: center;
        background-size: cover;
        -webkit-backdrop-filter: blur(5px);
        backdrop-filter: blur(5px);
    }

    .main-scene .guide img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: 60%;
        height: auto;
    }
}