@font-face {
  font-family: 'twayair';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_tway@1.0/twayair.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

/* 공통 */

.game-intro .result-box .result-box-title:before,
.game-intro .game-count .count-label:before,
.game-result .result-box .result-box-title:before,
.game-result .result-box h3.result-box-title p:before,
.game-wrap .app-main .mark,
.game-wrapper.basic .test-lists-wrap .title:before,
.game-result .result-box.type .result-box-title:before,
.game-result .result-box.most .result-box-title:before {
  background: #c5d2ff;
}

.game-result .recommend-list:before {
  background-color: #4366e1;
}

.game-result .img-halt-box .list > li a:nth-child(4):hover {
  color: #ffffff;
}



.game-wrapper .game-body .question-options .question-option:active,
.game-wrapper .game-body .question-options .question-option:focus,
.game-intro .btn-game-start {
  background-color: #4366e1;
  color: #ffffff;
}

.game-wrapper.basic .game-intro .btn-game-start {
  border: 0.25rem solid #000000;
  box-shadow: 0.3rem 0.4rem 0 #222222;
  font-weight: 400;
}

.game-wrap .game-body.test-step-0 .question-options button.question-option,
.game-wrap .game-body .question-title,
.twayair-b {
  font-family: 'twayair' !important;
  font-weight: 400;
}

.game-wrap .game-body .question-options button.question-option,
.game-wrapper .game-title,
.result-box .result-box-title > span,
.game-result .result-box .result-box-title,
.game-result .result-box .result-box-title p,
.game-result .result-box.most .btn_myranking a,
.game-result .btn_retest a,
.test-lists-wrap .test-lists .test-list-item .item-wrap .item-info .item-title p,
.test-lists-wrap .test-lists .test-list-item .item-wrap .item-info .item-title span,
.test-lists-wrap .title,
.twayair-r {
  font-family: 'twayair' !important;
  font-weight: 400 !important;
}

/* intro */

.game-intro .game-intro-title,
.game-wrapper .game-body .question-options .question-option,
.game-intro .game-intro-text,
.game-intro .game-count .count-num,
.result-box .img-halt-box ul.list > li span.label-top.first,
.result-box .img-halt-box ul.list > li span.label-top.second,
.result-box .img-halt-box ul.list > li span.label-bottom,
.game-result .result-box .result-box-title,
.game-intro .result-box .result-box-title {
  color: #222222;
}

.result-box .img-halt-box ul.list > li span.label-top.first,
.result-box .img-halt-box ul.list > li span.label-top.second {
  text-shadow: 0.1rem 0.1rem #c5d2ff;
}

.game-intro .game-intro-title {
  font-size: 2rem;
}

.game-wrapper.basic .game-intro-text {
  color: #909090;
}

.game-wrapper.basic .game-intro-text span {
  font-family: 'RixGulim', sans-serif;
  font-weight: 800;
}

.game-result .recommend-list .inner .title,
.share-sns-list,
.game-result .share-sns-list span {
  font-weight: 900;
}

/* 문제페이지 - 공통 */

.game-result #result-title {
  padding-top: 0;
  margin-bottom: 0.5rem;
}

.game-result #result-title h1,
.game-result #result-title h2 {
  font-family: 'twayair';
  font-weight: 400;
}



#result-title h1 {
  font-size: 2rem;
}

.game-result #result-title h2 {
  font-size: 1.5rem;
  color: #4366e1;
  margin-bottom: 0;
}

.game-result #result-title .num-statement,
.game-result #result-title .num-statement > b {
  font-weight: 800;
}


.game-wrap .game-body .question-options button.question-option {
  min-height: 4rem;
  padding: 0.7rem;
}

.game-wrap .game-body .question-options button.question-option:hover,
.game-wrap .game-body .question-options button.question-option:active {
  background-color: #4366e1;
  color: #ffffff;
}


.game-wrapper .game-body.no-image.test-step-0 .question-title {
  font-family: 'twayair';
  font-size: 1.5rem;
  margin: 5rem auto 3rem;
}

.game-wrapper .test-step-0 .question-content {
  text-align: center;
  margin-bottom: 4.5rem;
  font-family: 'twayair';
  font-size: 1rem;
}

#page01 {
  text-align: center;
  margin: 6rem 0;
  font-size: 1rem;
  padding: 0 1.625rem;
}

#page01 > h2 {
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

#page01 > a {
  border: 1px solid #e1e1e1;
  width: 100%;
  display: inline-block;
  padding: 1rem 0;
  border-radius: 3rem;
  margin-top: 5rem;
  font-size: 1.2rem;
  color: #ffffff;
  background: #4366e1;
}

.game-wrapper .game-title {
  background-color: #4366e1;
  color: #ffffff;
}

#page01 > a:hover,
#page01 > a:active {
  background-color: #ffffff;
  color: #222222;
}

.game-wrapper .test-progress-header {
  border-top: 0.15rem solid #d4d4d4;
}

.game-wrapper .game-progress .game-progress-inner {
  background-color: #4366e1;
}

.game-wrapper.basic .result-box .img-halt-box ul.list > li span.label-bottom,
.game-wrapper.basic .result-box.most .img-halt-box .list.most_types li > span.label-bottom {
  font-weight: 900;
}

/* 결과페이지 */

.game-result {
  background-color: #ffffff;
}

.game-result .thumb-img-text {
  color: #222222;
}

.game-wrapper.basic .game-title.page,
.game-result .num-statement > span {
  color: #4366e1;
  font-family: 'Jalnan', sans-serif;
}

.game-wrapper .game-title {
  font-size: 1.25rem;
}

.game-result .result-box .result-box-title {
  font-size: 1.45rem;
}

.game-result .result-box .result-box-title:before {
  content: none;
}

.app-main .result-bot-text .mark + p {
  font-weight: 700;
}

.game-result .result-box.type .result-box-title:before,
.game-result .result-box.most .result-box-title:before {
  content: '';
}

.game-result ul.heart-ul {
  display: flex;
  justify-content: space-around;
  margin-top: 1rem;
}

.game-result ul.heart-ul li {
  width: 47%;
  font-family: 'twayair';
}

.game-result ul.heart-ul li > p {
  color: #4366e1;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

.game-result ul.heart-ul li > div {
  background: #4366e1;
  border: 0.2rem solid #ffc0bb;
  border-radius: 0.4rem;
  color: white;
  line-height: 1.3;
  font-size: 0.95rem;
  height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-result .subtitle.video {
  margin: 1.5rem 0 0.3rem;
}

.game-result .result-bot-text .subtitle {
  color: #4366e1;
}

.game-result .result-bot-text .mark {
  background-color: #4366e1;
}

.game-result .result-bot-text .mark + p span {
  color: #052363;
  font-weight: 900;
  font-size: 0.95rem;
}

.game-result .btn_retest a {
  background-color: #4366e1;
  border: 0.25rem solid #222222;
  color: #ffffff;
  box-shadow: 0.25rem 0.25rem #222222;
}

.game-result .good,
.game-result .bad {
  text-shadow: 0.1rem 0.1rem #c5d2ff;
  color: #222222;
}

.game-result .result-box.most .btn_myranking a {
  background-color: #92aaff;
  border-color: #222222;
  color: #ffffff;
}

.game-wrapper.basic .game-result .btn_retest > a,
.game-wrapper.basic .game-result .btn_myranking > a {
  font-size: 1.3rem;
}

.game-wrapper.basic .result-box > .result-bot-text + a {
  margin-top: 2rem;
  border: none;
  display: block;
  width: 95%;
  margin: 2rem auto 0;
}

.game-wrapper .game-result .result-box.most .btn_myranking a::after {
  background-image: url('https://cdn.banggooso.com/assets/images/game42/icon/list-w.png') !important;
}

.game-result .btn-gray-round {
  background-color: #4366e1;
  color: #ffffff;
}

#progressBarwrap {
  width: 100%;
  padding: 1.5rem 0;
}

#progressBarwrap #progressBar {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 2rem;
  margin-top: 1rem;
}

#progressBarwrap #progressBar .count {
  width: 3.5rem;
  height: 3.5rem;
  border-width: 0.25rem;
  border-style: solid;
  border-radius: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  z-index: 1;
  font-size: 1.3rem;
}

#progressBarwrap #progressBar .before-count {
  left: 0;
  border-color: #4366e1;
  color: #4366e1;
}

#progressBarwrap #progressBar .next-count {
  right: 0;
  border-color: #4095ff;
  color: #4095ff;
}

#progressBarwrap #progressBar #fill {
  width: 70%;
  background: #4095ff;
  height: 100%;
}

#progressBarwrap #progressBar #fill .before-fill {
  background: #4366e1;
  left: 0%;
  display: inline-block;
  height: 100%;
  position: absolute;
  z-index: 1;
}

#progressBarwrap #progressBar #fill .before-fill > img {
  display: block;
  position: absolute;
  width: 3rem;
  top: -0.5rem;
  right: -1.5rem;
}

#progressBarwrap > p:first-child {
  color: #4366e1;
  font-family: 'twayair';
  text-align: center;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

#progressBarwrap > .progress-title > img {
  width: 65%;
}

#progressBarwrap > .progress-title > p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  color: #656565;
  font-size: 1.1rem;
}

/*********************************/

/* list-type*/

.test-lists-wrap .title,
.test-lists-wrap .test-lists .test-list-item .item-wrap .item-info .item-title span,
.test-lists-wrap .test-lists .test-list-item.rank_list .num,
.test-lists-wrap .test-lists .test-list-item .item-wrap .item-info .item-tags li {
  color: #222222;
}

.test-lists-wrap .test-lists .test-list-item.rank_list .num {
  text-shadow: 3px 4px 0px #c7d3ff;
}

.test-lists-wrap .title:before {
  background-color: #c7d3ff;
}

.test-lists-wrap .test-lists .test-list-item .item-wrap .item-info .item-title p {
  color: #4366e1;
}

.test-lists-wrap .test-lists .test-list-item.rank_list .percen {
  background-color: #ededed;
  font-weight: 700;
}

.app .test-lists-wrap .test-lists .test-list-item:first-child {
  border-color: #4366e1;
}

.app .test-lists-wrap .test-lists .test-list-item:nth-child(2) {
  border-color: #87a2ff;
}

.app .test-lists-wrap .test-lists .test-list-item:nth-child(3) {
  border-color: #c9d5ff;
}

/**************************************************/

@media screen and (max-width: 500px) {
  .game-result ul.heart-ul li > div {
    font-size: 0.75rem;
  }
  .game-result .result-box .result-box-title {
    font-size: 1.35rem;
  }
  .game-wrap .game-body .question-options .question-option {
    font-size: 0.8rem;
  }
}

.game-wrapper.basic .game-result .result-box {
  padding: 1.5rem 0;
}

.game-wrapper.basic .game-result .result-box.most {
  padding: 1.5rem 1.1rem;
}

.game-wrapper.basic .game-result .result-box .result-bot-text {
  padding: 0 1.3rem;
}
