@charset "UTF-8";

@font-face {
    font-family: 'BMkkubulimTTF';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2410-1@1.0/BMkkubulimTTF-Regular.woff2') format('woff2');
}

@font-face {
    font-family: 'YoonChildfundkoreaMinGuk';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2408@1.0/YoonChildfundkoreaMinGuk.woff2') format('woff2');
}

@font-face {
    font-family: 'Ownglyph_ParkDaHyun';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2411-3@1.0/Ownglyph_ParkDaHyun.woff2') format('woff2');
}

@import url('//fonts.googleapis.com/earlyaccess/notosanskr.css');

* {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
	box-sizing: border-box;
	font-family: 'DOSMyungjo';
}

html, body {
	width: 100%;
	height: 100%;
	background: #fff;
	color: #000;
	font-size: 10px;
	overflow-x: hidden; /* 가로 스크롤 방지 */
}

/* 부드러운 스크롤 */
html {
	scroll-behavior: smooth;
}

img {
	width: 100%;
}

/* 컨텐츠 컨테이너 전환 효과 */
#contents_container {
	transition: opacity 0.3s ease;
}

a {
	text-decoration: none;
	color: #000;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

.pointColor {
	color: #fbb03b;
}

/* 공통 버튼 스타일 */
.btn {
	padding: 15px 30px;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
	font-size: 16px;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
}

.btn_primary {
	background-color: #007bff;
	color: white;
}

.btn_primary.on {
	background-color: #0056b3;
	transform: translateY(-2px);
}

.btn_secondary {
	background-color: transparent;
	color: #007bff;
	border: 2px solid #007bff;
}

.btn_secondary.on {
	background-color: #007bff;
	color: white;
	transform: translateY(-2px);
}

/* 공통 3D 버튼 스타일 */
.btn_3d {
	background: white;
	border: 3px solid #333;
	border-radius: 20px;
	padding: 10px 18px;
	font-size: 16px;
	font-weight: 600;
	margin: 0 5px;
	cursor: pointer;
	transition: all 0.1s;
	box-shadow: 2px 2px 0px #333;
}

.btn_3d:hover {
	transform: translateY(-1px);
	box-shadow: 3px 3px 0px #333;
}

.btn_3d:active {
	transform: translateY(1px);
	box-shadow: 1px 1px 0px #333;
}

/* 공통 입력 필드 스타일 */
.input_3d {
	background: white;
	border: 3px solid #333;
	border-radius: 25px;
	padding: 12px 20px;
	font-size: 14px;
	font-weight: 600;
	outline: none;
	box-shadow: 2px 2px 0px #333;
	transition: all 0.2s;
}

.input_3d:focus {
	transform: translateY(-1px);
	box-shadow: 3px 3px 0px #333;
}

/* 공통 팝업 스타일 */
.popup_overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(255, 255, 255, 0.95);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	z-index: 9999;
	text-align: center;
	font-size: 20px;
	font-weight: 700;
	border: 3px solid #333;
}

/* 공통 컨트롤 패널 스타일 */
.control_panel {
	position: fixed;
	bottom: 80px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 10;
	background: rgba(255, 255, 255, 0.95);
	padding: 20px 30px;
	border-radius: 30px;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
	border: 3px solid #333;
	backdrop-filter: blur(10px);
	text-align: center;
}

/* 반응형 유틸리티 */
@media screen and (max-width: 768px) {
	.btn_3d {
		padding: 8px 12px;
		font-size: 14px;
	}
	
	.input_3d {
		font-size: 12px;
	}
	
	.control_panel {
		padding: 15px 20px;
		bottom: 60px;
	}
}

@media screen and (max-width: 480px) {
	.btn_3d {
		width: 100%;
		margin: 2px 0;
	}
}