@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Black+Han+Sans&display=swap');
@import url('reset.css');
@import url('https://fonts.googleapis.com/css2?family=Pretendard:wght@400;500;600;700&display=swap');

/* ========== ↓ mobile first ↓ ==========*/
html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  color: #fff;
  background: #222;
  line-height: 1.6;
  letter-spacing: -0.25px;
  font-size: 1rem;
  position: relative;
}

.SnapScroll {
  width: 100%;
  height: 1000px;
}

.SnapScroll:nth-of-type(2n) {
  background: #444;
}

.nav-up {
  top: -150px;
}

/* =============== ↓ 헤더 영역 ↓ =============== */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #00000097;
  z-index: 999;
  font-size: 1.2rem;
  transition: 0.5s;
}

.header_wrap {
  text-align: center;
  max-width: 85%;
  margin: 0 auto;
  padding: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header_wrap .GNB {
  width: 30%;
  display: flex;
  justify-content: space-between;
}

.header_wrap .GNB li a {
  color: #fff;
}

.top_btn {
  position: absolute;
  top: 800px;
  right: 100px;
  width: 70px;
  height: 70px;
  background: #ffffffcb;
  color: #444;
  border-radius: 50%;
  text-align: center;
  line-height: 70px;
  font-weight: 600;
  font-size: 1.3rem;
}

.top_btn a {
  display: inline-block;
  width: 70px;
  height: 70px;
}

/* =============== ↓ 메인 영역 ↓ =============== */

main {
  background: #222;
}

/* ==== con01 영역 ====*/

.con01_wrap .con01 {}

.con01_wrap .con01 .main_txt {}

.con01_wrap .con01 .sub_txt {}

.main_wrap_info_group {
  margin: 0 auto;
  width: 40%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.main_wrap_info {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 24px auto;
}

.main_wrap_info svg {
  transform: rotate(-90deg);
  display: block;
  width: 100%;
  height: 100%;
}

.circle_bg {
  stroke: inherit;
  stroke-width: 8;
  fill: none;
}

.circle_prog {
  /* stroke: #b74ae2; */
  stroke-width: 8;
  stroke-linecap: round;
  fill: none;
  stroke-dasharray: 408;
  stroke-dashoffset: 408;
  transition: stroke-dashoffset 1.5s 0.5s ease-in-out;
}

.percent {
  display: inline-block;
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 26px;
  font-weight: bold;
}

.percent_txt {
  display: inline-block;
  position: absolute;
  top: 62%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.skill-item {
  position: relative;
  width: 150px;
  text-align: center;
}

.main_wrap_tool_group {
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

.main_wrap_tool {
  margin: 0 auto;
  width: 100%;
  display: inline-block;
  text-align: center;
}

.main_wrap_tool p {
  display: inline-block;
  width: 150px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  align-self: flex-start;
  background: #383838;
  color: #e9e9e9;
  border-radius: 999px;
  padding: 0.9em 1.4rem;
  margin: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
}

.main_wrap_title {
  font-size: 2rem;
  letter-spacing: -0.5px;
  text-align: center;
  margin: 100px auto 10px;
}

.main_wrap_txt {
  font-size: 1.5rem;
  letter-spacing: -0.5px;
  text-align: center;
  margin: 0 auto;
}


/* =============== ↓ 미디어쿼리 영역 ↓ =============== */

/* ==== 미디어쿼리 1024px (Web) ====*/
@media (max-width: 1024px) {}


/* ==== 미디어쿼리 1023px (Tablet) ====*/
@media (max-width: 1023px) {
  .con01_wrap {
    padding-left: 2.5%;
    padding-right: 2.5%;
  }

  .header_wrap .GNB {
    width: 80%;
  }

  /* ↓↓↓ CONTENTS 영역 미디어쿼리 ↓↓↓ */

  .Game_Window {
    position: absolute;
    top: 49.8%;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    text-align: center;
  }

  .Game_Window .heart_wrap {
    width: 80%;
    justify-content: center;
    display: flex;
    text-align: center;
    margin: 0 auto;
  }

  .Game_Window img {
    width: 50%;
  }

  .button_wrap {
    position: absolute;
    top: 70.3%;
    left: 50%;
    transform: translateX(-50%);
    /* width: clamp(280px, 80vw, 500px); */
    width: 40%;
    display: flex;
    align-items: center;
    gap: clamp(8px, 2vw, 12px);
  }

  .button_wrap .text_box {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    font-size: clamp(14px, 4vw, 22px);
    padding: none;
    border-radius: clamp(8px, 1.5vw, 12px);
  }
}

/* ==== 미디어쿼리 ~767px (Moblie) ====*/
@media (max-width: 767px) {
  .con01_wrap {
    padding-left: 2.5%;
    padding-right: 2.5%;
  }

  .top_btn {
    position: absolute;
    top: 750px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: #ffffffcb;
    color: #444;
    border-radius: 50%;
    text-align: center;
    line-height: 70px;
    font-weight: 600;
    font-size: 1.3rem;
  }

  .header_wrap .GNB {
    width: 80%;
  }

  /* ↓↓↓ CONTENTS 영역 미디어쿼리 ↓↓↓ */

  .Game_Window {
    position: absolute;
    top: 49.8%;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    text-align: center;
  }

  .Game_Window img {
    width: 50%;
  }

  .Game_Window .heart_wrap {
    width: 80%;
    justify-content: center;
    display: flex;
    text-align: center;
    margin: 0 auto;
  }

  .button_wrap {
    position: absolute;
    top: 70.3%;
    left: 50%;
    transform: translateX(-50%);
    /* width: clamp(280px, 80vw, 500px); */
    width: 40%;
    display: flex;
    align-items: center;
    gap: clamp(8px, 2vw, 12px);
  }

  .button_wrap .text_box {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    font-size: clamp(14px, 4vw, 22px);
    padding: none;
    border-radius: clamp(8px, 1.5vw, 12px);
  }
}


/* =============== ↓ CONTETNS 영역 ↓ =============== */
@keyframes sub_ani {
  0% {
    top: 36.27%;
  }

  50% {
    top: 37.01%;
  }

  100% {
    top: 36.27%;
  }
}

.main_wrap {
  position: relative;
  width: min(100%, 1280px);
  margin: 50px auto;
  aspect-ratio: 1280 / 2040;
  height: auto;
  background: url('../images/main_bg.jpg') center/contain no-repeat;
  letter-spacing: -3px;
}

.game_stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.game_stage img {
  max-width: 100%;
  height: auto;
  display: block;
}

.sub_title {
  position: absolute;
  top: 36.3%;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(160px, 55vw, 420px);
  animation: sub_ani 1.5s infinite ease-in-out;
}

.Game_Window {
  position: absolute;
  top: 49.8%;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(280px, 70vw, 500px);
  text-align: center;
}

.Game_Window .window_wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: clamp(8px, 1.8vw, 22px);
}

.Game_Window .heart_wrap {
  width: 80%;
  justify-content: center;
  display: flex;
  text-align: center;
  margin: 0 auto;
}

.button_wrap {
  position: absolute;
  top: 70.3%;
  left: 50%;
  transform: translateX(-50%);

  display: flex;
  align-items: center;
  gap: clamp(8px, 2vw, 12px);
}

.button_wrap .text_box {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  font-size: clamp(14px, 4vw, 22px);
  padding: clamp(6px, 2vw, 20px);
  border-radius: clamp(8px, 1.5vw, 12px);
}

.button_go_wrap span,
.button_reset_wrap span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2px, 0.8vw, 6px);
}

/* ==== 푸터 영역 ====*/

.contents_btn {
  margin: 0 auto 80px;
  text-align: center;
}

.contents_btn button {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  align-self: flex-start;
  background: #2b2b2b;
  color: #e9e9e9;
  border: 1px solid #e9e9e9;
  border-radius: 999px;
  padding: 1.3rem 3.5rem;
  font-size: 1.35rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.contents_btn button:hover {
  background: #e9e9e9;
  color: #111;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

footer {
  z-index: 999;
  position: relative;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: #00000097;
  font-size: 1.2rem;
}

.footer_wrap {
  text-align: center;
  max-width: 85%;
  margin: 0 auto;
  padding: 2rem;
}