@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

:root {
  --project-primary-color: #1b83c6;
}
/* 0. common */

* {
  font-family:
    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-weight: 500;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
  width: 100%;
  height: 54px;
  box-sizing: border-box;
}
.container {
  height: 100%;
  background-color: #111;
}
.container.hall .header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(51, 51, 51, 0.3) 100%
  );
  backdrop-filter: blur(6px);
}
.main_logo {
  display: inline-block;
  width: 200px;
  height: 28px;
  background-position: left center;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("../../static/img/logo/logo-brand-bk.png");
}
.header.tour .main_logo {
  background-image: url("../../static/img/logo/logo-brand-bk.png");
}
.main_logo img {
  height: 100%;
}

.btn_box {
  display: inline-block;
  vertical-align: middle;
}
.btn.btn_default {
  padding: 10px 50px;
  color: #fff;
  font-size: 20px;
  border-color: #fff;
  background-color: transparent;
}
.hidden {
  display: none !important;
}
.is_visible {
  display: block !important;
}

/* 0-1.project gnb */
.gnb_wrap {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 999;
}

.header .gnb_wrap {
  display: none;
}
.header.tour .gnb_wrap {
  display: block;
  height: 100%;
}
.header.tour .gnb_nav {
  height: 100%;
}
.gnb_list {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
}

.gnb_list .gnb_item {
  height: 100%;
}
.gnb_list .gnb_item .title_btn {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.6);
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  font-size: 20px;
  line-height: 130%;
  padding: 4px 48px;
  height: 100%;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
}
.gnb_list .gnb_item:hover .title_btn {
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.1) 100%
  );
}

.gnb_list .gnb_item .title_btn span {
  font-weight: 600;
}

.gnb_list .gnb_item.is_active .title_btn {
  border-bottom: 2px solid #ff8500;
  background: linear-gradient(
    180deg,
    rgba(255, 133, 0, 0) 0%,
    rgba(255, 133, 0, 0.1) 100%
  );
}
.gnb_list .gnb_item.is_active .title_btn span {
  color: #fff;
  text-shadow: 0 0 16px #ff7e00;
  font-weight: 500;
  line-height: 130%;
}

.util_wrap {
  position: relative;
  z-index: 1000;
}

.util_list {
  display: flex;
}

.util_list .util_item + .util_item {
  margin-left: 10px;
}

.util_item .util_btn {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 100%;
}

.util_audio .util_btn:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url(../../static/img/icon/ic-sound-off.svg) no-repeat center / 60%
    auto;
}

.util_audio .util_btn.is_unmute:after {
  background-image: url(../../static/img/icon/ic-sound-on.svg);
}
.util_help {
  display: none;
}
.header.tour .util_help {
  display: block;
}
.util_help .util_btn {
  border: none;
}
.util_help .util_btn:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url(../../static/img/icon/ico-info.svg) no-repeat center / 100%
    100%;
}

.btn_sound_desc {
  position: absolute;
  z-index: 10;
  top: 50%;
  padding: 5px 10px;
  color: #000;
  font-size: 14px;
  border-radius: 5px;
  white-space: nowrap;
  background: rgba(237, 237, 237, 0.9);
  transform: translateY(-50%);
}
.btn_sound_desc.right {
  right: 100%;
  margin-right: 5px;
}
.container.hall .util_audio {
  display: none;
}

.fadeOut-effect {
  animation: fadeOut-effect 0.5s ease-in-out forwards;
}

/* 1. intro page */
.intro-skip-box {
  display: block;
  position: fixed;
  z-index: 150;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
}
.main_video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pre_video_wrap {
  height: 100%;
  overflow-y: hidden;
}
/* 1-1. entry page */
.hall .pre_video_wrap {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: -1;
}
.entry_video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 2. lobby contents */
.content {
  display: none;
}
.lobby_box {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 150;
  width: 100%;
  height: 100%;
  text-align: center;
  background: url("../../static/img/bg-landing.png") no-repeat center center /
    cover;
}

.contents_box {
  overflow: hidden;
  position: relative;
  z-index: 800;
  top: 0;
  width: 100%;
  height: 100%;
}
.vr-player {
  position: relative;
  width: 100%;
  height: 100%;
}
.vr-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
}
.sub_pr-center .contents_box {
  top: 60px;
  height: calc(100% - 60px);
}

/* use only desktop action */
@media screen and (min-width: 1024px) {
  .btn.btn_default:hover {
    color: #333;
    background-color: #fff;
  }
  .depth_list .depth_item:hover a {
    font-weight: 900;
  }
}

@media screen and (max-width: 1023px) {
  .main_logo {
    width: 180px;
  }
}
@media screen and (max-width: 768px) {
  .container.hall .header {
    height: auto;
    padding-top: 10px;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    padding-left: 0;
    padding-right: 0;
  }
  .header.tour .gnb_wrap {
    position: relative;
    left: initial;
    top: initial;
    transform: none;
    height: 44px;
  }
  .header.tour .util_wrap {
    position: absolute;
    right: 15px;
    top: 20px;
  }
  .header.tour .util_item .util_btn {
    width: 34px;
    height: 34px;
  }
  .gnb_list .gnb_item .title_btn {
    font-size: 20px;
  }
  .contents_box {
    padding-top: 90px;
  }
}
@media screen and (max-width: 480px) {
  .util_wrap {
    width: 40px;
  }
  .util_item.util_audio {
    position: fixed;
    top: 10px;
    z-index: 900;
  }
  .btn_sound_desc {
    display: none;
  }
  .indicatorBox {
    bottom: 14.3vw;
  }
  .popup_btn {
    height: 12vw;
    font-size: 5vw;
  }
  .header.tour .gnb_wrap {
    width: 100%;
  }
  .gnb_list .gnb_item {
    width: 50%;
  }
  .gnb_list .gnb_item .title_btn {
    justify-content: center;
  }
}

@keyframes swipe-icon {
  0% {
    transform: translateX(-20px);
    opacity: 1;
  }
  100% {
    transform: translateX(20px);
    opacity: 0.5;
  }
}

@keyframes fadeOut-effect {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}
