@import url(reset.css);
@import url(fonts.css);
@import url(media.css);
@import url(common.css);

body {
  width: 100%;
  height: 100%;
  background-color: #CDE5EE;
  overflow: hidden;
}

#intro {
  opacity: 0;
  visibility: hidden;
  width: 100%;
  height: 100%;
  transform: scale(.85);
}

#intro>.title {
  position: absolute;
  top: 63px;
  left: 50%;
  transform: translateX(-50%);
  width: 527px;
  height: 385px;
  background-image: url('../images/title.png');
  background-size: 100%;
  background-repeat: no-repeat;
}

#intro>.c {
  position: absolute;
  top: 292px;
  left: 50%;
  transform: translateX(-50%);
  width: 922px;
  height: 220px;
  background-image: url('../images/c-1.png');
  background-size: 100%;
  background-repeat: no-repeat;
}

#intro .share {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 225.76px;
  height: 42px;
  top: 30px;
  right: 30px;
  padding: 8px 20px 8px 20px;
  border-radius: 21px;
  background-image: url('../images/share.png');
  background-size: 16.76px 15px;
  background-position: 20px center;
  background-repeat: no-repeat;
}

#intro .share a {
  padding-left: 20.5px;
  font-family: 'SUIT';
  font-size: 22px;
  font-weight: 700;
  line-height: 26.4px;
  color: #89B0BF;
}

#intro .btns {
  position: absolute;
  top: 380px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
}
#intro .btns .btn-guide, #intro .btns .btn-start, .guide .inner .css-btn-y {text-shadow: none;}
#intro .btns .btn-guide span, #intro .btns .btn-start span, .guide .inner .css-btn-y span {position: relative; z-index: 1;}

#intro .btns .btn-guide span::before {position: absolute; top:0px; left: 0px; -webkit-text-stroke: 5.5px #5DA218; content:"활동 방법"; z-index: -1; color:#5DA218; z-index: -1;}
#intro .btns .btn-start span::before {position: absolute; top:0px; left: 0px; -webkit-text-stroke: 5.5px #CC8C0E; content:"시작하기"; z-index: -1; color:#CC8C0E; z-index: -1;}
.guide .inner .css-btn-y span::before {position: absolute; top:0px; left: 0px; -webkit-text-stroke: 5.5px #CC8C0E; content:"시작하기"; z-index: -1; color:#CC8C0E; z-index: -1;}

#intro .control {
  position: absolute;
  top: 520px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 573.73px;
  height: 55px;
  border-radius: 40px;
  border: 2px solid #fff;
  background-color: #A6CBD9;
}

#intro .control .left,
#intro .control .right {
  display: flex;
  justify-content: center;
  align-items: center;
}

#intro .control .left {
  position: relative;
}

#intro .control .left::after {
  position: relative;
  content: '';
  display: block;
  width: 3px;
  height: 31px;
  background-image: url('../images/line.png');
  background-size: 100%;
  margin: 0 20px;
}

#intro .control .title {
  font-family: 'SUIT';
  font-size: 24px;
  font-weight: 600;
  color: #375F6F;
}

#intro .control button {
  width: 50px;
  height: 33px;
  gap: 10px;
  margin-right: 10px;
  background-color: #fff;
  border-radius: 6px;
  color: #133578;
  font-family: 'SUIT';
  font-size: 24px;
  font-weight: 700;
  line-height: 28.8px;
}

#intro .control button:last-child {
  margin-right: 0;
}

#intro .control button.active {
  background-color: #133578;
  color: #fff;
}

#intro .control .title {
  margin-right: 20px;
}

.css-content {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  width: 100%;
  height: 100%;
  transform: scale(0.85);
}

.css-content::before {
  content: '';
  display: block;
  position: absolute;
  width: 1000px;
  height: 528px;
  top: 0;
  left: 0;
  border-radius: 40px;
  border: 3px solid #C69002;
  background: #F9DC36;
}

.css-content .tab {
  position: absolute;
  top: 10px;
  left: 240px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.css-content .tab .step {
  width: 62px;
  height: 50px;
  padding: 6px 15px 0px 15px;
  border-radius: 22px 22px 0px 0px;
  background-color: #B3E0EF;
  font-family: 'TmoneyRoundWindExtraBold';
  font-size: 24px;
  font-weight: 800;
  line-height: 28.8px;
  color: #2679D9;
  border-right: 2px solid #00000026;
  flex-shrink: 0;
}

.css-content .tab .step.active {
  background-color: #2679D9;
  color: #fff;
}


.css-content .tab .step.success {
  background-color: #299BFD;
  color: #fff;
}


.css-content .timer {
  position: absolute;
  bottom: 0;
  left: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 173.46px;
  height: 86.49px;
  padding-left: 60px;
  padding-top: 7px;
  font-family: 'DigitalNumbers-Regular';
  font-size: 40px;
  font-weight: 400;
  line-height: 48px;
  letter-spacing: -0.04em;
  background-image: url('../images/timer.png');
  background-repeat: no-repeat;
  background-size: 100%;
  color: #fff;
  z-index: 1;
}

.css-content .board {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 960px;
  height: 450px;
  border-radius: 20px;
  background-color: #fff;
  box-shadow: 0px 1px 6px 0px #00000040;
  z-index: 0;
}


.css-content .board p {
  margin: 52px 65px;
  font-family: 'SUIT';
  font-size: 50px;
  font-weight: 700;
  line-height: 75px;
  word-break: keep-all;
  position: relative;
  top:-40px;
}

.css-content .board input {
  display: block;
  margin: 0 auto;
  width: 390px;
  height: 80px;
  padding: 0 20px;
  border: 0;
  background-image: url(../images/input.png);
  background-repeat: no-repeat;
  background-size: 100%;
  color: #fff;
  font-family: 'SUIT';
  font-size: 33px;
  text-align: center;
  position: absolute;
  left: 50%;
  bottom: 100px;
  transform: translateX(-50%);
}

.css-content .board input:focus {
  border: none;
  outline: none;
}

.css-content .ox {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translate(-50%, 100%);
  width: 550px;
}

.css-content .ox.ani-text-s {
  animation: oxUp 2s ease 0s 1 normal forwards;
}

.css-content .ox.ani-text-l {
  animation: oxUp2 2s ease 0s 1 normal forwards;
}

.css-content .ox>button {
  width: 240px;
  height: 337px;
  background-repeat: no-repeat;
  background-size: 100%;
  margin-right: 60px;
  background-color: transparent;
}

.css-content .ox>button:hover {
  transform: scale(1.1);
}

.css-content .ox>button:last-child {
  margin-right: 0;
}

.css-content .ox button.o {
  background-image: url('../images/o-1.png');
}

.css-content .ox button.x {
  background-image: url('../images/x-1.png');
}

.css-content .ox button[disabled]:hover {
  transform: none;
}

.css-modal {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}

.css-modal .inner {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(.9);
}

.sf .inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  width: 800px;
  height: 400px;
  background-color: #FDCA4B;
  border-radius: 40px;
}

.sf .inner button {
  position: relative;
  width: 300px;
  height: 240px;
  padding-bottom: 60px;
  border-radius: 40px;
  background-color: #fff;
  box-shadow: 0px 1px 6px 0px #00000040;
}

.sf .inner button::before {
  content: '';
  display: block;
  position: absolute;
  top: -10px;
  left: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  border-radius: 40px;
  background-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0px 1px 6px 0px #00000040;
}

.sf .inner button::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 148.38px;
  height: 150px;
  background-repeat: no-repeat;
  background-size: 100%;
}

.sf .inner button.success-btn::after {
  background-image: url('../images/c-3.png');
}

.sf .inner button.fail-btn::after {
  background-image: url('../images/c-4.png');
}

.sf .inner button span {
  position: relative;
  font-family: 'TmoneyRoundWindExtraBold';
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.06em;
  color: #000;
}

.sf .inner button b {
  color: #FFE601;
  font-size: 50px;
}

.sf .inner button.fail-btn span {
  color: #EE4144;
  font-size: 50px;
}

.end {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  width: 100%;
  height: 100%;
}

.end .bg {
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center;
}

.end[data-type="success"] .bg {
  background-size: 796px 570px;
  background-image: url('../images/end-1.png');
}

.end[data-type="fail"] .bg {
  background-size: 590px 570px;
  background-image: url('../images/end-2.png');
}

.end[data-type="fail"] .bg:after {
  content: '아쉽지만 다시 도전해 보자.';
  display: block;
  position: absolute;
  width: 100px;
  top: 236px;
  left: 652px;
  text-align: center;
  font-family: 'SUIT';
  font-size: 26px;
  font-weight: 600;
}

.end .btns {
  position: absolute;
  bottom: 30px;
  right: 30px;
}

.end button {
  border-radius: 25px;
  color: #fff;
  background-size: 32px 32px;
  background-repeat: no-repeat;
}

.end button.btn-retry {
  width: 143px;
  height: 44px;
  padding-left: 20px;
  background-color: #299BFD;
  border: 1px solid #0000001A;
  background-image: url('../images/btn-retry.png');
  background-position: 4px center;
}

.end button.btn-end {
  width: 121px;
  height: 44px;
  padding-left: 20px;
  background-color: #F9B736;
  border: 1px solid #0000001A;
  background-image: url('../images/btn-end.png');
  background-position: 4px center;
}

.end button span {
  font-family: 'SUIT';
  font-size: 20px;
  font-weight: 700;
}

.guide .inner {
  gap: 50px;
  width: 990px;
  height: 540px;
  padding: 40px;
  border: 5px solid #FDCA4B;
  background-color: #fff;
  border-radius: 40px;
}

.guide .close-btn {
  position: absolute;
  top: 30px;
  right: 70px;
  z-index: 1;
  width: 44px;
  height: 45px;
  background-image: url('../images/modal-close.png');
  background-repeat: no-repeat;
  background-size: 100%;
  background-color: transparent;
}

.guide .inner .title {
  font-family: 'TmoneyRoundWindExtraBold';
  font-size: 50px;
  font-weight: 800;
  letter-spacing: -0.05em;
  margin-bottom: 30px;
}

.guide .inner .item {
  display: flex;
  gap: 15px;
  font-family: 'SUIT';
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 32px;
}

.guide .inner .item:last-child {
  margin-bottom: 0;
}

.guide .inner .item span.n {
  display: block;
  width: 50px;
  min-width: 50px;
  height: 50px;
  border-radius: 29px;
  background: #FFC500;
  font-family: 'TmoneyRoundWindExtraBold';
  font-size: 38px;
  font-weight: 800;
  text-align: center;
}

.guide .inner button {pointer-events: none;}

.guide .inner .css-btn-s.css-btn-yy {position:relative; top:-7px;}

/* warning */
.warning .inner {
  gap: 50px;
  width: 610px;
  height: 200px;
  padding: 45px;
  border: 5px solid #FDCA4B;
  background-color: #fff;
  border-radius: 40px;
}

.warning .close-btn {
  position: absolute;
  top: 180px;
  right: 240px;
  z-index: 1;
  width: 44px;
  height: 45px;
  background-image: url(../images/modal-close.png);
  background-repeat: no-repeat;
  background-size: 100%;
  background-color: transparent;
}

.warning .inner p {
  text-align: center;
  font-family: 'SUIT';
  font-size: 40px;
  font-weight: 600;
  word-break: keep-all;
}

/* data-type */
.css-content[data-type] .title {
  position: absolute;
  top: -22px;
  left: -10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 229.01px;
  height: 114.08px;
  background-image: url(../images/qz-title-1.png);
  background-size: 100%;
  background-repeat: no-repeat;
  color: #fff;
  font-family: 'TmoneyRoundWindExtraBold';
  font-size: 30px;
  font-weight: 800;
  line-height: 36px;
  z-index: 1;
}

.css-content[data-type] .title span {padding-bottom:10px;}

.css-content[data-type="text"] .board:before {
  position: absolute;
  right: 50%;
  bottom: -70px;
  transform: translateX(50%);
  content: '';
  display: block;
  width: 423.27px;
  height: 152.49px;
  background-image: url('../images/c-2.png');
  background-repeat: no-repeat;
  background-size: 100%;
}

.answer[data-type] .all-fail-btn {
  position: absolute;
  right: 20px;
  top: 10px;
}

.answer[data-type] .title {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: unset;
  width: 130px;
  height: 125px;
  padding-top: 20px;
  background-image: url('../images/qz-title-2.png');
  background-size: 100%;
  background-repeat: no-repeat;
  color: #fff;
  font-family: 'TmoneyRoundWindExtraBold';
  font-size: 30px;
  font-weight: 800;
  line-height: 36px;
  z-index: 1;
}

.answer[data-type="ox"] .board {
  display: flex;
  justify-content: center;
  align-items: center;
}

.answer[data-type="ox"] .board p {
  width: 395px;
  height: 334px;
  margin: 0;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  position: relative;
  top:0;
}

.answer[data-type="ox"] .board p[data-user="o"][data-answer="o"] {
  background-image: url('../images/o-2.png');
}
.answer[data-type="ox"] .board p[data-user="x"][data-answer="o"] {
  background-image: url('../images/o-2.png');
}
.answer[data-type="ox"] .board p[data-user="x"][data-answer="x"] {
  background-image: url('../images/x-2.png');
}
.answer[data-type="ox"] .board p[data-user="o"][data-answer="x"] {
  background-image: url('../images/x-2.png');
}
.answer[data-type="text"] .board {
  display: flex;
  align-items: center;
  justify-content: center;
}

.answer[data-type="text"] .board:before {
  position: absolute;
  left: -90px;
  bottom: -40px;
  transform: rotateY(180deg);
  content: '';
  display: block;
  width: 212.49px;
  height: 203.97px;
  background-image: url('../images/c-5.png');
  background-repeat: no-repeat;
  background-size: 100%;
}

.answer[data-type="text"] .board p {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 450px;
  padding:0 20px;
  height: 170px;
  border-radius: 20px;
  background: #D8F5FF;
  border: 6px solid #299BFD;
  font-family: 'SUIT';
  font-size: 90px;
  font-weight: 800;
  line-height: 120px;
  text-align: center;
  top:0;
}

.answer[data-type="text"] .board p::before {
  content: '';
  display: block;
  position: absolute;
  top: -110px;
  left: 50%;
  transform: translateX(-50%);
  width: 54.93px;
  height: 92.95px;
  background-image: url('../images/light.png');
  background-repeat: no-repeat;
  background-size: 100%;
}

.btn-next {
  position: absolute;
  bottom: 30px;
  right: 30px;
  opacity: 0;
  visibility: hidden;
  width: 143px;
  height: 44px;
  background-color: #299BFD;
  border: 1px solid #0000001A;
  border-radius: 25px;
  box-shadow: 0px 4px 0px 0px #FFFFFF1A inset, 0px 3px 0px 0px #0000001A;
}

.btn-next span {
  font-size: 20px;
  font-weight: 700;
  line-height: 26px;
  color:#fff;
}

.answer1.long {
  position: absolute;
  bottom: 30px;
  right: 30px;
  width: 143px;
  height: 44px;
  background-color: #299BFD;
  border: 1px solid #0000001A;
  border-radius: 25px;
  box-shadow: 0px 4px 0px 0px #FFFFFF1A inset, 0px 3px 0px 0px #0000001A;
}

.answer1.long span {
  font-size: 20px;
  font-weight: 700;
  line-height: 26px;
  color:#fff;
}

.retry-timer {
  position: absolute;
  bottom: 30px;
  right: 30px;
  width: 143px;
  height: 44px;
  padding-left: 20px;
  background-color: #299BFD;
  border: 1px solid #0000001A;
  border-radius: 25px;
  background-image: url(../images/btn-retry.png);
  background-position: 4px center;
  background-repeat: no-repeat;
}

.retry-timer span {
  font-size: 20px;
  font-weight: 700;
  line-height: 26px;
  color:#fff;
  padding-left:10px;
}