/* LAYER */
.layer {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	display: none;
}

.layer .layer_wrap {
	width: 100%;
	height: 100%;
	justify-content: center;
	align-items: center;
	display: flex;
}

.layer .layer_wrap .layer_contents {
	overflow-y: auto;
	width: fit-content;
	max-width: 95%;
	height: fit-content;
	max-height: 95%;
	border-radius: 10px;
	background-color: #fff;
}

.layer .layer_wrap .layer_contents .layer_body {
	line-height: 24px;
	font-size: 17px;
	padding: 30px;
	word-break: break-all;
}

.layer .layer_wrap .layer_contents .layer_footer {
	border-top: 1px solid #ececec;
	padding: 15px;
	text-align: right;
}

.layer .layer_wrap .layer_contents .layer_footer button {
	font-family: 'yg-jalnan', sans-serif;
	font-size: 18px;
	background-color: #028cee;
	color: #fff;
	border-radius: 5px;
	padding: 10px 25px;
}

/* LOGIN */
.login {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	background: url('/assets/img/login_bg.png') no-repeat;
	background-size: cover;
	justify-content: center;
	align-items: center;
	display: flex;
}

.login .login_wrap {
	max-width: 550px;
	padding: 80px 70px;
	margin: 0 30px;
	background-color: #fff;
	border-radius: 30px;
	box-shadow: 0 0 5px 2px #eee;
}

.login .login_wrap .logo {
	padding: 0 40px;
	margin-bottom: 50px;
	text-align: center;
}

.login .login_wrap .logo img {
	margin: 0 auto;
}

.login .login_wrap form * {
	font-family: 'yg-jalnan', sans-serif;
}

.login .login_wrap form input {
	height: 65px;
	border-radius: 50px;
	padding: 0 30px;
	font-weight: 600;
	margin-bottom: 15px;
}

.login .login_wrap form button {
	width: 100%;
	height: 65px;
	border-radius: 50px;
	color: #fff;
	font-weight: 600;
	text-align: center;
	margin-top: 30px;
	background-color: #2396ca;
}

.login .login_wrap .comment {
	font-family: 'NanumSquareNeo-Variable', sans-serif;
	font-weight: 300;
	text-align: center;
	margin-top: 20px;
}

.login .login_wrap .comment a {
	font-weight: 700;
}

.login .login_wrap .comment a:hover {
	text-decoration: underline;
}

.wrap {
	height: 100%;
	flex-flow: column;
	display: flex;
}

.header {
	padding: 15px;
	flex-shrink: 0;
	align-items: center;
	display: flex;
}

.header > a {
	flex-shrink: 0;
}

.header .logo {
	width: 200px;
}

.header .btns {
	width: 100%;
	margin-right: 10px;
	gap: 0 10px;
	justify-content: right;
	display: flex;
}

.header .btns a {
	height: 45px;
	border-radius: 50px;
	font-size: 17px;
	color: #fff;
	padding: 0 25px;
	justify-content: center;
	align-items: center;
	display: flex;
}

.header .btns a:nth-child(1) {
	background-color: var(--red-color);
	box-shadow: 0 2px 0 var(--sub-red-color);
}

.header .btns a:nth-child(2) {
	background-color: var(--yellow-color);
	box-shadow: 0 2px 0 var(--sub-yellow-color);
}

.header .btns a:nth-child(3) {
	background-color: var(--green-color);
	box-shadow: 0 2px 0 var(--sub-green-color);
}

.header .btns a:nth-child(4) {
	background-color: var(--blue-color);
	box-shadow: 0 2px 0 var(--sub-blue-color);
}

.header .logout {
	height: 50px;
}

.container {
	padding: 50px;
	background-color: #ebf2ff;
	border-radius: 50px 50px 0 0;
	flex-grow: 1;
}

.container .chapter_list {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	gap: 40px;
	flex-flow: wrap;
	display: flex;
}

.container .chapter_list li {
	position: relative;
	width: calc((100% - (40px * 3)) / 4);
	aspect-ratio: 1 / 0.85;
}

.container .chapter_list li .icon {
	position: absolute;
	top: -35px;
	left: -30px;
	z-index: 1;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background-color: #fff;
	border: 3px solid;
	border-color: inherit;
	padding: 4px;
}

.container .chapter_list li .icon:after {
	content: '';
	position: absolute;
	bottom: 5px;
	right: 5px;
	z-index: -1;
	width: 13px;
	height: 13px;
	background-color: #fff;
	border-radius: 0 0 50% 0;
	transform: rotate(180deg);
}

.container .chapter_list li .icon img {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
}

.container .chapter_list li a {
	height: 100%;
	padding: 25px 0;
	display: block;
}

.container .chapter_list li a .kor_title {
	position: relative;
	padding: 0 15px 15px;
	color: inherit;
	font-size: 28px;
	font-weight: bold;
	text-align: right;
	background-color: inherit;
	text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
}

.container .chapter_list li a .kor_title:after {
	content: '';
	position: absolute;
	width: 80%;
	height: 2px;
	left: 0;
	bottom: 0;
	background-color: #fff;
}

.container .chapter_list li a .eng_subtitle {
	font-size: 20px;
	text-align: center;
	font-weight: bold;
	padding: 15px;
	color: #fff;
}

.container .chapter_list li.video_li a {
	padding: 0;
	flex-flow: column;
	display: flex;
}

.container .chapter_list li.video_li a .subject {
	height: 45px;
	font-size: 18px;
	color: #fff;
	font-weight: bold;
	padding: 0 10px;
	flex-shrink: 0;
	justify-content: center;
	align-items: center;
	display: flex;
}

.container .chapter_list li.video_li a video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.container .contents {
	width: 100%;
	max-width: 1280px;
	height: fit-content;
	margin: auto;
	gap: 0 15px;
	display: flex;
}

.container .contents .video_wrap {
	overflow: hidden;
	height: fit-content;
	border-radius: 25px 0 25px 25px;
	aspect-ratio: 16 / 9;
}

.container .contents .video_wrap .btns {
	position: absolute;
	top: 80px;
	left: 0;
	z-index: 2;
	width: fit-content;
	height: fit-content;
	padding: 25px;
	gap: 15px;
	flex-flow: column;
	justify-content: start;
	align-items: start;
	display: flex;
}

.container .contents .video_wrap .btns button {
	width: 70px;
	aspect-ratio: 1 / 1;
}

.container .contents .video_wrap .btns button.hide {
	display: none;
}

.container .contents .video_wrap .btns .speed_btn {
	/*border: 5px solid #fff;*/
	border: 5px solid #F18F8F ;
	border-radius: 50%;
	font-size: 20px;
	font-weight: 500;
	/*color: #fff;*/
	color: #F18F8F ;
	align-items: center;
	justify-content: center;
	display: flex;
}

.container .contents .video_wrap .finish_count {
	position: absolute;
	top: 25px;
	right: 25px;
	z-index: 2;
	overflow: hidden;
	width: fit-content;
	height: fit-content;
	font-family: 'yg-jalnan', sans-serif;
	background-color: rgba(255, 255, 255, 0.8);
	border: 1px solid rgba(237, 115, 115, 0.8);
	border-radius: 50px;
	display: flex;
}

.container .contents .video_wrap .finish_count * {
	font-size: 20px;
}

.container .contents .video_wrap .finish_count div {
	padding: 10px 20px;
	gap: 0 12px;
	display: flex;
}

.container .contents .video_wrap .finish_count div,
.container .contents .video_wrap .finish_count div span {
	font-family: inherit;
}

.container .contents .video_wrap .finish_count div i {
	color: #ed7373;
}

.container .contents .video_wrap .finish_count .fill {
	background-color: rgba(237, 115, 115, 0.8);
	color: #fff;
}

.container .contents .video_wrap .video {
	width: 100%;
}

.container .contents .video_wrap .video video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.container .contents .video_wrap .video .avg_score {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 1;
	width: fit-content;
	height: fit-content;
	background-color: rgba(91, 69, 193, 0.9);
	color: #ffe321;
	margin: auto;
	padding: 25px;
	font-size: 18px;
	gap: 30px;
	display: none;
}

.container .contents .video_wrap .video .content {
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 1;
	width: 100%;
	padding: 25px;
	background-color: rgba(37, 37, 37, 0.6);
	text-align: center;
}

.container .contents .video_wrap .video .content .eng {
	font-size: 24px;
	color: #fff;
	margin-bottom: 15px;
}

.container .contents .video_wrap .video .content .kor {
	font-size: 20px;
	color: #c8c8c8;
}

.container .contents .video_wrap .grade_img {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 999;
	max-width: 250px;
	margin: auto;
}

.container .contents .controls {
	width: fit-content;
	gap: 15px 0;
	flex-shrink: 0;
	flex-flow: column;
	display: flex;
}

.container .contents .controls .profile {
	left: -15px;
	width: calc(100% + 15px);
	padding: 20px;
	background-color: #fff;
	border-radius: 0 5px 5px 0;
	box-shadow: 0 2px 11px rgba(100, 122, 160, 0.3);
}

.container .contents .controls .profile * {
	font-size: 19px;
}

.container .contents .controls .profile span {
	font-family: 'yg-jalnan', sans-serif;
}

.container .contents .controls .profile .point {
	margin-top: 10px;
}

.container .contents .controls .profile .point span {
	color: #fdcd4a;
}

.container .contents .controls .next_btn {
	background-color: #83c03c;
	border-radius: 5px;
	padding: 12px 0;
	text-align: center;
	color: #fff;
}

.container .contents .controls .next_btn span {
	font-family: 'yg-jalnan', sans-serif;
	animation: bounce 1s ease-in-out infinite;
	gap: 0 10px;
	justify-content: center;
	align-items: center;
	display: flex;
}

.container .contents .controls .next_btn i {
	color: inherit;
}

@keyframes bounce {
	0% { transform: translateY(0); }
	50% { transform: translateY(2px); }
	100% { transform: translateY(0); }
}

.container .contents .controls .btns {
	overflow: hidden;
	width: 100%;
	height: 100%;
	background-color: #fff;
	border-radius: 5px;
	box-shadow: 0 2px 11px rgba(100, 122, 160, 0.3);
	flex-flow: column;
	display: flex;
}

.container .contents .controls .btns button {
	position: relative;
	height: 100%;
	border-top: 1px solid #ddd;
	gap: 10px 0;
	align-items: center;
	justify-content: center;
	flex-flow: column;
	display: flex;
}

.container .contents .controls .btns button:first-child {
	border-top: 0;
}

.container .contents .controls .btns button span {
	font-size: 20px;
}

.container .contents .controls .btns button img.act_img {
	display: none;
}

.container .contents .controls .btns button.active {
	background: linear-gradient(#3062b8 0%, #1b4181 82%);
}

.container .contents .controls .btns button.active span {
	color: #fff;
}

.container .contents .controls .btns button.active img {
	display: none;
}

.container .contents .controls .btns button.active img.act_img {
	display: block;
}

.container .mypage .tab {
	overflow: hidden;
	width: fit-content;
	border-radius: 50px;
	background-color: #fff;
	padding: 5px;
	margin: 0 auto 30px;
	box-shadow: 0 2px 11px rgba(100, 122, 160, 0.3);
	gap: 10px;
	display: flex;
}

.container .mypage .tab li a {
	font-family: 'SCoreDream', sans-serif;
	font-size: 16px;
	font-weight: 500;
	padding: 10px 15px;
	border-radius: 50px;
	transition: .2s ease-out all;
	gap: 10px;
	align-items: center;
	display: flex;
}

.container .mypage .tab li a:hover,
.container .mypage .tab li a.active {
	color: #e26a94;
	background-color: rgba(255, 214, 232, 0.4);
}

.container .mypage .tab li a i {
	font-size: 18px;
	color: inherit;
}

.container .mypage .my_point {
	overflow: hidden;
	width: fit-content;
	background-color: #fff;
	margin-bottom: 15px;
	border-radius: 5px;
	display: flex;
}

.container .mypage .my_point span {
	font-family: 'SCoreDream', sans-serif;
	font-weight: 500;
	font-size: 16px;
	padding: 7px 12px;
}

.container .mypage .my_point span.txt {
	background-color: #b2d8a7;
}

.container .mypage .list {
	gap: 15px;
	flex-flow: wrap;
	display: flex;
}

.container .mypage .list li {
	overflow: hidden;
	width: calc(50% - (15px / 2));
	border-radius: 10px;
	background-color: #fff;
	display: flex;
}

.container .mypage .list li.empty {
	line-height: 180px;
	font-family: 'SCoreDream', sans-serif;
	font-size: 16px;
	text-align: center;
	color: #888;
	justify-content: center;
}

.container .mypage .list li * {
	font-family: 'SCoreDream', sans-serif;
}

.container .mypage .list li .info {
	padding: 15px;
	background-color: #8eb8ff;
	color: #fff;
	text-align: center;
	gap: 10px;
	flex-shrink: 0;
	justify-content: center;
	flex-flow: column;
	display: flex;
}

.container .mypage .list li .info:after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	right: -7px;
	width: 14px;
	height: 14px;
	background-color: #8eb8ff;
	margin: auto 0;
	transform: rotate(45deg);
}

.container .mypage .list li .info .type {
	font-weight: 500;
	font-size: 17px;
	color: inherit;
}

.container .mypage .list li .info .date {
	font-size: 14px;
	color: inherit;
}

.container .mypage .list li .content {
	width: 100%;
	padding: 15px 25px;
	gap: 15px;
	justify-content: center;
	flex-flow: column;
	display: flex;
}

.container .mypage .list li .content .subject {
	font-size: 17px;
	font-weight: 600;
	gap: 10px;
	flex-flow: column;
	align-items: start;
	display: flex;
}

.container .mypage .list li .content .subject span {
	min-width: 60px;
	font-size: 13px;
	font-weight: 500;
	padding: 5px;
	background-color: #ffe680;
	border-radius: 5px;
	text-align: center;
	flex-shrink: 0;
}

.container .mypage .list li .content .detail {
	gap: 5px;
	flex-flow: column;
	display: flex;
}

.container .mypage .list li .content audio {
	max-width: 100%;
}

.container .paging {
	overflow: hidden;
	width: fit-content;
	margin: 35px auto 0;
	background-color: #fff;
	border-radius: 50px;
	padding: 5px;
	box-shadow: 0 2px 11px rgba(100, 122, 160, 0.3);
	gap: 5px;
	display: flex;
}

.container .paging li a {
	width: 30px;
	height: 30px;
	font-family: 'SCoreDream', sans-serif;
	font-size: 13px;
	border-radius: 50%;
	transition: .2s ease-out all;
	justify-content: center;
	align-items: center;
	display: flex;
}

.container .paging li a:hover,
.container .paging li.active a {
	color: #e26a94;
	background-color: rgba(255, 214, 232, 0.4);
}

.container .paging li a i {
	color: inherit;
}

@media(max-width: 1024px) {
	.header .logo {
		width: 150px;
	}

	.header .btns a {
		height: 40px;
		font-size: 15px;
		padding: 0 15px;
	}

	.header .logout {
		height: 45px;
	}

	.container .chapter_list {
		gap: 30px;
	}

	.container .chapter_list li {
		width: calc((100% - (30px * 3)) / 4);
	}

	.container .chapter_list li .icon {
		top: -22px;
		left: -22px;
		width: 65px;
		height: 65px;
	}

	.container .chapter_list li a {
		padding: 20px 0;
	}

	.container .chapter_list li a .kor_title {
		font-size: 25px;
	}

	.container .chapter_list li a .eng_subtitle {
		font-size: 18px;
	}

	.container .contents .video_wrap .btns,
	.container .contents .video_wrap .video .content {
		padding: 20px;
	}

	.container .contents .video_wrap .btns {
		top: 60px;
	}

	.container .contents .video_wrap .btns button {
		width: 45px;
	}

	.container .contents .video_wrap .btns .speed_btn {
		border-width: 3px;
		font-size: 14px;
	}

	.container .contents .video_wrap .video .avg_score {
		padding: 20px;
		font-size: 16px;
		gap: 20px;
	}

	.container .contents .video_wrap .finish_count {
		top: 20px;
		right: 20px;
	}

	.container .contents .video_wrap .finish_count div {
		padding: 8px 12px;
		gap: 0 8px;
	}

	.container .contents .video_wrap .video .content .eng {
		font-size: 22px;
		margin-bottom: 10px;
	}

	.container .contents .video_wrap .video .content .kor {
		font-size: 18px;
	}

	.container .contents .video_wrap .grade_img {
		max-width: 200px;
	}

	.container .contents .controls .profile {
		padding: 15px 10px 15px 20px;
	}

	.container .contents .video_wrap .finish_count *,
	.container .contents .controls .profile * {
		font-size: 15px;
	}

	.container .contents .controls .next_btn {
		font-size: 13px;
		padding: 10px 0;
	}

	.container .contents .controls .btns button {
		gap: 5px 0;
	}

	.container .contents .controls .btns button span {
		font-size: 17px;
	}

	.container .contents .controls .btns button:nth-child(1) img {
		width: 45px;
	}

	.container .contents .controls .btns button:nth-child(2) img {
		height: 45px;
	}

	.container .contents .controls .btns button:nth-child(3) img {
		width: 55px;
	}
}

@media(max-width: 900px) {
	.container .chapter_list li {
		width: calc((100% - (30px * 2)) / 3);
	}
}