/* INTRO 화면 */
@font-face {
    font-family: 'MapleStory';
    src: url('../font/Maplestory\ Bold.ttf') format("truetype");
    src: url('../font/Maplestory\ Light.ttf') format("truetype");
}

.jk-intro {
  padding: 1.5dvh 0 1.5dvh;
  justify-content: start;
}

.jk-quest-banner {
  width: 100%;
}
.jk-quest-panel {
  display: flex;
  flex-direction: column;
  align-items: start;
  margin-top: -5px;
  width: 312px;
  /* padding: 18px; */
  padding: 1.8dvh;
  border: 1px solid #FFF;
  border-radius: 26px;

  color: var(--text-color-white);
  font-size: 14px;
  line-height: 20px;
}
.jk-quest-labelled-section {
  display: flex;
  flex-direction: column;
  align-items: start;

  margin-bottom: 14px;
}
.jk-quest-label {
  display: flex;
  justify-content: center;
  align-items: center;

  background-color: #FFF;
  border-radius: 100px;
  color: #222;
  padding: 3px 9px;
  height: 30px;

  margin-bottom: 5px;
  font-weight: 700;
  font-family: 'MapleStory';
}
.jk-quest-section-context {
  margin-left: 7px;
}
.jk-quest-panel .highlight {
  color: var(--main-color);
}
.jk-quest-panel .bold {
  font-weight: 700;
}
.jk-quest-label,
#message_popup_text.jk-quest-label {
  color: #222;
}
.jk-quest-context {
  padding: 10px 7px;
  word-break: break-all;
}
#startARText.jk-start-ar {
  font-size: 12px;
  line-height: 16px;
  margin-top: 2.7dvh;
  margin-bottom: 2dvh;
  color: #FFFFFF;
}
.jk-button {
  width: 266px;
  height: 50px;
  font-size: 16px;
  box-shadow: none;
}

/* 튜토리얼 시작을 물어보는 팝업 */
#message_popup.jk-quest-start-popup,
#message_popup.jk-start-popup {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
}
#message_popup.jk-quest-start-popup {
  width: 324px;
  padding: 12px 13px 20px;
}
#message_popup_text.jk-quest-label {
  width: 110px;
  margin-bottom: 10px;
}
.jk-quest-item-display {
  position: relative;
  width: 100%;
  height: 132px;
  padding: 5px 0 13px;

  background-color: #32AAED;
  background-image: url(../image/event_specific/item_panel_deco.svg);
  background-position: top center;
  background-repeat: no-repeat;
  border-radius: 10px;

  margin-bottom: 10px;
}
.jk-quest-item-name {
  color: #FFF;
  font-family: 'MapleStory';
  font-size: 16px;
  font-weight: 700;
}
.jk-quest-item-display > img {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translate(-50%);
}
.jk-quest-guide {
  display: flex;
  flex-direction: column;
  align-items: start;

  width: 100%;
  height: 164px;
  padding: 12px;

  background-color: #FFF;
  border-radius: 10px;
}
.jk-quest-label-dark {
  background-color: #E9F7FF;
}
.jk-quest-guide-text {
  font-size: 14px;
  line-height: 20px;
  margin-left: 8px;
  font-weight: 500;
}
.jk-quest-guide .jk-quest-labelled-section:last-child{
  margin-bottom: 10px;
}
#message_popup .button_area button.jk-button {
  font-size: 14px;
  color: #FFF;
  font-family: 'Pretendard';
}
#message_popup.jk-quest-start-popup .button_area button.jk-button {
  font-size: 14px;
  color: #FFF;
  width: 144px;
  height: 46px;
  margin: 0;
}
#message_popup .button_area {
  margin-top: 18px;
}
#message_popup .button_area button.jk-button:first-child{
  margin-right: 10px;
}
#message_popup_yes.jk-button {
  background-color: #222;
}
#message_popup_no.jk-button {
  background-color: #523DE2;
}

#message_popup_no.jk-button > img {
  filter: brightness(1);
}

#message_popup.jk-start-popup .button_area {
  margin-top: 24px;
}
.jk-start-popup #message_popup_text {
  color: #090909;
  font-weight: 700;
}

/* 튜토리얼 이미지 슬라이드 */
#tutorial.slide-tutorial {
  background-color: rgba(0,0,0,0.5);
}
.slide_wrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.slides {
  width: 324px;
  height: 564px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  border: 2px solid #FFF;
  border-radius: 30px;
  background-color: #000;

  position: relative;
}

.slides > span {
  position: absolute;
  top: 52px;
  padding: 4px 10px;
  background-color: #222;
  border-radius: 100px;

  font-size: 14px;
  font-weight: bold;
}
.slides > img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}

.slide {
  width: 100%;
  height: 100%;

  position: relative;
  display: none;
}
.slide > img {
  position: absolute;
  bottom: 138px;
  left: 50%;
  transform: translate(-50%);
}
.slide > p {
  font-size: 15px;
  line-height: 20px;

  position: absolute;
  bottom: 62px;

  width: 100%;
  text-align: center;
}
.slide.is-active {
  display: block;
}
.control-button {
  position: absolute;
  bottom: 20px;

  display: flex;
  align-items: center;

  width: 92px;
  height: 40px;
}
#control-prev {
  left: 18px;
}
#control-prev img {
  transform: scale(-1);
}
#control-next,
#close-image-tutorial {
  right: 18px;
  background-color: #FFF;
}
#close-image-tutorial {
  width: 108px;
}


.jk-bak .bak-only{
  display: block;
}

#message_popup2 {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 268px;
    height: auto;
    z-index: 999;
}

.popup_content {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    border: 2px solid #FFF;
    padding: 32px 20px 25px;
    width: 100%;
    height: 180px;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #E9F7FF;
    z-index: 2;
}

#message_popup2 .click_blocker {
    z-index: -1;
}

#message_popup_icon {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

#message_popup_text2 {
    color: black;
    font-weight: bold;
    margin-top: 10px;
    font-size: 14px;
    line-height: 20px;
}

#message_popup2 .button_area2 {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 104px;
    height: 36px;
}

#message_popup2 .button_area2 button {
    position: relative;
    z-index: 1;
    margin: 0 6.5px;
    justify-content: center;
    width: 100%;
    height: 100%;
}

#message_popup_ok {
    background-color: #5B45FF;
    color: white;
}
.click_blocker {
    position: absolute !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 100vw;
    height: 100vh;
    transform: scale(2);
    background-color: rgba(0, 0, 0, 0);
}

.container-version-banner {
  position: relative;
}

.banner-content {
  position: absolute;
  top: 0;
  left: 0;

  display: flex;
  justify-content: center;
  /* align-items: center; */

  width: 100%;
  height: 100%;
}

.quest-name-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.quest-name-wrap > img:last-child {
  margin-top: 4px;
}

.quest-image {
  margin-left: 7.77%;
  margin-top: -13px;
}
