@charset "utf-8";
@import './fonts.css';
@import './font.css';
@import './reset.css';


* {
	-ms-user-select: none;
	-moz-user-select: -moz-none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	user-select: none;
}

body {
	min-width: 100vw;
	min-height: 100vh;
	overflow: hidden;
	font-family: 'MaplestoryBold';
	background: #000;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
body.off {
	opacity: 0;
}

#wrap {
	width: 1920px;
	height: 1080px;
	background-color: #fff;
	position: absolute;
	top: 50%;
	left: 50%;
	transform-origin: top left;
}

#wrap .blank {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #565656;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 40px;
	text-align: center;
	line-height: 1.5;
	display: none;
}
#wrap.off .blank {
	display: flex;
}
#contents {
	width: 100%;
	height: 100%;
}
#wrap.off #contents {
	opacity: 0;
}
u {
	text-decoration: underline;
	text-underline-offset: 8px;
}
.ls-2e {
	letter-spacing: -0.02em;
}
.ls-3e {
	letter-spacing: -0.03em;
}
.ls-4e {
	letter-spacing: -0.04em;
}
.ls-5e {
	letter-spacing: -0.05em;
}
.ls-6e {
	letter-spacing: -0.06em;
}
.btn {
	display: inline-block;
	text-indent: -9999px;
	cursor: pointer;
}

.btn_back {
	width: 208px;
	height: 85px;
	background: url(../../img/1/common/btn_back_S.png) no-repeat center / 100%;
}
.btn_again {
	width: 208px;
	height: 85px;
	background: url(../../img/1/common/btn_again_S.png) no-repeat center / 100%;
}

.btn_sound {
	position: fixed;
	left: 20px;
	bottom: 20px;
	width: 96px;
	height: 90px;
	background: url(../../img/1/common/sound_on.png) no-repeat center / 100%;
	z-index: 10;
}
.btn_sound.off {
	width: 96px;
	height: 90px;
	background: url(../../img/1/common/sound_off.png) no-repeat center / 100%;
}

.btn_rule {
	width: 327px;
	height: 124px;
	background: url(../../img/1/common/btn_rule.png) no-repeat center / 100%;
}

.btn_start {
	width: 327px;
	height: 124px;
	background: url(../../img/1/common/btn_start.png) no-repeat center / 100%;
}

.btn_yes {
	width: 327px;
	height: 124px;
	background: url(../../img/1/common/btn_yes.png) no-repeat center / 100%;
}
.btn_no {
	width: 327px;
	height: 124px;
	background: url(../../img/1/common/btn_no.png) no-repeat center / 100%;
}
.btn_rule:hover,
.btn_start:hover,
.btn_yes:hover,
.btn_no:hover {
	/* opacity: 0.8; */
	transform: scale(1.05);
}

/* 분수 */
/* <span class='fraction'><span>2</span><span>5</span></span> */
.fraction {
	display: inline-flex;
	align-items: center;
	flex-direction: column;
	justify-content: center;
	margin-top: -30px;
	vertical-align: bottom;
	margin: 0 8px;
}
.fraction > span {
	display: block;
	text-align: center;
	width: 100%;
	font-size: 30px;
}
.fraction > span + span {
	border-top: 1px solid;
}

.fixed_area .game_tit {
	position: fixed;
	top: 0;
	left: 20px;
	display: flex;
	align-items: center;
	font-size: 30px;
	color: #fff;
}

.fixed_area .lesson_name {
	padding: 44px 0;
	margin-left: 10px;
}

.fixed_area .btn_wrap {
	position: fixed;
	top: 20px;
	right: 20px;
	display: flex;
	z-index: 99;
}

.fixed_area .btn_back {
	margin-left: 10px;
}

.screen {
	width: 100%;
	height: 100%;
	display: none;
}

.pop_bg {
	display: none;
	overflow: hidden;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	z-index: 100;
}
.pop_ct {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	z-index: 101;
}
.pop_inner {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.pop_rule {
	width: 1820px;
	height: 1005px;
	background: url(../../img/1/common/pop_rule_ct.png) no-repeat center / 100%;
}

.pop_rule .pop_tit {
	position: relative;
	width: 1846px;
	height: 129px;
	background: url(../../img/1/common/pop_rule_title.png) no-repeat center / 100%;
	font-size: 64px;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
}

.pop_rule .pop_tit .close {
	width: 80px;
	height: 80px;
	background: url(../../img/1/common/btn_close.png) no-repeat center / 100%;
	border-radius: 100%;
	position: absolute;
	top: 20px;
	right: 32px;
}
.pop_rule .list_wrap {
	padding: 36px 44px 0 70px;
	width: 100%;
	box-sizing: border-box;
}
.pop_rule .pop_list {
	height: 752px;
	overflow-x: hidden;
	overflow-y: auto;
}
.pop_rule .pop_list li {
	position: relative;
}
.pop_rule .pop_list li + li {
	margin-top: 20px;
}
.pop_rule .pop_list li > em {
	border-radius: 10px;
	width: 46px;
	height: 46px;
	background: #c38a62;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 38px;
	color: #fff;
	position: absolute;
	top: 8px;
	left: 0;
}
.pop_rule .pop_list li > span {
	font-family: 'Noto Sans KR';
	font-size: 50px;
	font-weight: 500;
	padding-left: 64px;
	display: block;
	line-height: 1.2;
	word-break: keep-all;
}
.pop_rule .pop_list li.ref {
	padding-left: 60px;
	margin-bottom: 50px;
}
.pop_rule .pop_list li.ref span {
	padding-left: 0;
}
.pop_rule .pop_list li > span strong {
	font-weight: 700;
}
.pop_rule .pop_list li.ref2 {
	display: flex;
	gap: 14px;
}
.pop_rule .pop_list li.ref2 span {
	flex: 1;
}
.pop_rule .pop_list li.ref2::before {
	content: '*';
	width: 40px;
	font-family: 'Noto Sans KR';
	font-size: 50px;
	font-weight: 500;
	display: block;
	line-height: 1.2;
	word-break: keep-all;
}
.pop_stop {
	width: 1100px;
	height: 540px;
	padding-top: 96px;
	background: url(../../img/1/common/pop_stop.png) no-repeat center / 100%;
}
.pop_stop .txt {
	font-size: 62px;
	text-align: center;
	font-family: 'MaplestoryLight';
	width: 1012px;
	height: 286px;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1.2;
	margin-bottom: 42px;
}
.pop_stop .btn_no {
	margin-left: 30px;
}
.pop_finish {
	width: 100%;
	height: 100%;
}

.pop_finish .close {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 80px;
	height: 80px;
	background: url(../../img/1/common/btn_close.png) no-repeat center / 100%;
	border-radius: 100%;
}
.pop_finish .pop_inner {
	padding-top: 156px;
}
.pop_finish .btn_wrap {
	margin-top: 40px;
}
.pop_finish .btn_wrap .btn {
	width: 330px;
	height: 136px;
}
.pop_finish .btn_again {
	background: url(../../img/1/common/btn_again_L.png) no-repeat center / 100%;
}
.pop_finish .btn_back {
	background: url(../../img/1/common/btn_back_L.png) no-repeat center / 100%;
	margin-left: 120px;
}

.btn_again:hover,
.btn_back:hover,
.btn_suffle:hover {
	/* opacity: 0.8; */
	transform: scale(1.05);
}
/* 스크롤 커스텀 */
::-webkit-scrollbar {
	width: 16px;
	height: 16px;
}

::-webkit-scrollbar-thumb {
	background: #c38a62;
	border-radius: 16px;
}

::-webkit-scrollbar-track {
	background: #dad0b9; /*스크롤바 뒷 배경 색상*/
	border-radius: 16px;
}

/* Start */
#contents[data-name='start'] .fixed_area .game_tit {
	display: none;
}

#contents[data-name='start'] .fixed_area .btn_again {
	display: none;
}
#contents[data-name='start'] .screen.s1 {
	display: block;
}
.screen.s1 .lesson_tit {
	position: absolute;
	top: 135px;
	left: 50%;
	transform: translateX(-50%);
	width: 1084px;
	height: 238px;
	display: flex;
	justify-content: center;
}
.screen.s1 .lesson_name {
	font-size: 62px;
	color: #fff;
	line-height: 1.2;
	height: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.screen.s1 .btn_wrap {
	position: absolute;
	left: 50%;
	bottom: 50px;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
}

.screen.s1 .btn_start {
	margin-left: 38px;
}

/* Play */
#contents[data-name='play'] .screen.s2 {
	display: block;
}
