@charset "UTF-8";
@font-face {
    font-family: 'Hana_handwriting';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/naverfont_05@1.0/Hana_handwriting.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Mongdol';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/naverfont_08@1.0/Mongdol.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Hardworking';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/naverfont_06@1.0/Hardworking.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'MonoplexKR-Regular';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_Monoplex-kr@1.0/MonoplexKR-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Happiness-Sans-Title';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2205@1.0/Happiness-Sans-Title.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Pretendard-Regular';
    src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'RIDIBatang';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_twelve@1.0/RIDIBatang.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'BMJUA';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_one@1.0/BMJUA.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Cafe24Ohsquareair';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2202@1.0/Cafe24Ohsquareair.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Middleschool_student';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/naverfont_08@1.0/Middleschool_student.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

.container, .footer{
	display:block;
	/* position: relative; */
}

/*index*/
.container{
	/* position: relative; */
	position: absolute;
	left: 50%;
	top: 45%;
	width: 100%;
	/* height: 100%; */
	transform: translate(-50%,-50%);
	text-align: center;
	/* border: 1px solid red!important; */
}
.container:after{
	content:"";
	display: block;
	clear:both;
}
.main-box{
	position: relative;
	border-radius: 8px;
    overflow: hidden;
	transition: 0.3s;
	box-shadow: 0 20px 35px rgba(0,0,0,0.3);
	margin: 10px;
    width: 40%;
    max-width: 400px;
    height: 40%;
	max-height: 800px;
	display: inline-block;
	text-align: center;
	z-index: 0;
}
.main-box:hover{
    transform: scale(0.95);
}
#index_i{
	display: block;
	max-width: 100%;
	max-height: 100%;
	margin: 0 auto;
}
.text-wrap{
	position: absolute;
	width: 100%;
	text-align: center;
	bottom:0;
	margin-bottom: 10%;
	z-index: 2;
}
.text-wrap h2{
	/* font-size: 24px; */
	font-weight: bold;
	margin-bottom: 8px;
	line-height: 1.5;
	color:white;
}
.text-wrap p{
	color:black;
	font-size: 20px;
    font-weight: bold;
	line-height: 1.5;
	margin-bottom: 2em;
}
.text-wrap button{
	position: relative;;
	width: 90%;
	height: auto;
	color: black;
	font-family: 'Happiness-Sans-Title';
	font-size: 16px;
    font-weight: bold;
	line-height: 1.5;
	/* display: none; */
}
.text-wrap button:hover{
	background-color: white;
	transition: 0.5s;
	outline: 0;
	cursor: pointer;
	box-shadow: 0 2px 4px rgba(0, 79, 255, 0.6);
	display: none;
}

/* ----------------- FOOTER ----------------- */

footer{
	position: absolute;
	bottom: 0.5%;
	width: 100%;
    margin-top: 20px;
    margin-bottom: 5px;    
	text-align:center; 	
	color: rgb(12, 12, 12);
}
.container_f{
	position: relative;
	width: 100%;
	margin: 0 auto;
	background-color: none;
	text-align:center; 	
	margin: 0;
}
.copyright{
	font-size: 11px;
}

@media all and (max-width: 779px){
	.text-wrap button{
		position: relative;;
		width: 92%;
		height: auto;
		color: black;
		font-family: 'Happiness-Sans-Title';
		font-size: 2vw;
		font-weight: bold;
		line-height: 1.5;
		/* display: none; */
	}
}

@media all and (max-width: 525px){
	.text-wrap button{
		position: relative;;
		width: 94%;
		height: auto;
		color: black;
		font-family: 'Happiness-Sans-Title';
		font-size: 2.2vw;
		font-weight: bold;
		line-height: 1.5;
	}
}

@media all and (max-width: 459px){
	.text-wrap{
		position: absolute;
		width: 100%;
		text-align: center;
		bottom:0;
		margin-bottom: 10%;
		z-index: 2;
	}
	.text-wrap h2{
		/* font-size: 24px; */
		font-weight: bold;
		margin-bottom: 8px;
		line-height: 1.5;
		color:white;
	}
	.text-wrap button{
		position: relative;;
		width: 90%;
		height: auto;
		color: black;
		font-family: 'Happiness-Sans-Title';
		font-size: 2.2vw;
		font-weight: bold;
		line-height: 1.5;
		/* display: none; */
	}
}
    
@media (orientation: landscape) {
	/* Landscape 가로 모드일 때 적용할 CSS */
	/*index*/
.container{
	position: absolute;
	left: 50%;
	top: 50%;
	width: 70%;
	transform: translate(-50%,-50%);
	text-align: center;
	overflow:visible;
	/* border: 1px solid red!important; */
	display: block;
}
.container:after{
	content:"";
	display: block;
	clear:both;
}
.main-box{
	position: relative;
	border-radius: 8px;
	transition: 0.3s;
	box-shadow: 0 20px 35px rgba(0,0,0,0.3);
	/* margin: 10px; */
    width: 40%;
    max-width: 400px;
    height: 30%;
	max-height: 500px;
	display: inline-block;
	text-align: center;
	z-index: 0;
}
.main-box:hover{
    transform: scale(0.95);
}
#index_i{
	display: block;
	max-width: 100%;
	max-height: 100%;
	margin: 0 auto;
}
.text-wrap button{
	position: relative;;
	width: 96%;
	height: auto;
	color: black;
	font-family: 'Happiness-Sans-Title';
	font-size: 11px;
    font-weight: bold;
	line-height: 1.5;
	/* display: none; */
}
footer{
	position: relative;
	margin-top: 90%;
	width: 100%;  
	text-align:center; 	
	color: rgb(12, 12, 12);
}
.container_f{
	position: relative;
	display: block;
	width: 100%;
	margin: 0 auto;
	background-color: none;
	text-align:center; 	
}
}