@charset "utf-8";

.lnb_top {
	width: 100%;
	margin: auto;
}

#logo {
	width: 130px;
	display: block;
	margin: 35px 20px;
	float: left;
}

.icon {
	width: 35px;
	height: 25px;
	float: right;
	position: fixed;
	top: 40px;
	right: 20px;
	z-index: 100;
	cursor: pointer;
}

.icon > span {
	width: 35px;
	height: 4px;
	position: absolute;
	background: rgb(255, 255, 255,0.5);
	box-shadow: 0 0 2px rgba(24, 29, 163, 0.6);
	border-radius: 40px;
	transition: all 0.3s ease-in-out;
}

#line1 {
	right: 1%;
}

#line2 {
	top: 10px;
	right: 1%;
}

#line3 {
	top: 20px;
	right: 1%;
}

.bar1 {
	transform: rotate(45deg) translate(4px, 10px) scale(1.1, 1);
	background: #F7F1ED;
}

.bar2 {
	transform: scale(0, 1);
	background: #F7F1ED;
}

.bar3 {
	transform: rotate(-45deg) translate(4px, -10px) scale(1.1, 1);
	background: #F7F1ED;
}


.scale {
	transform: translate(-400px, 0);

}


.lnb {
	width: 400px;
	background: #2F365F;
	position: fixed;
	z-index: 99;
	right: -400px;
	top: 0;
	bottom: 0;
	overflow: hidden;
	transition: all 0.4s ease-in-out;
}


.menu {
	height: 100%;
	width: 400px;
	margin-top: 250px;
	float: right;
	position: relative;
}

.menu > li > a {
	display: block;
	text-align: left;
	font: bold 2rem/2 'Montserrat';
	margin-bottom: 20px;
	margin-left: 50px;
	color: #F7F1ED;
}

.menu > li:nth-child(1) {
	width: 148px;
}

.menu > li:nth-child(2) {
	width: 200px;
}

.menu > li:nth-child(3) {
	width: 135px;
}

.menu > li:nth-child(4) {
	width: 170px;
}

.menu > li:nth-child(5) {
	display: none;
}

.menu > li:nth-child(6) {
	
	position: fixed;
	top: 40px;
	right: 100px;
	cursor: pointer;
}

.menu > li > a:hover {
	color: #FEBEB0;
	border-bottom: 5px double #F7F1ED;
	transition: all 0.2s ease-in-out;
}







/*태블릿(768이상)*/

@media all and (min-width:768px) {

	.lnb_top {
		width: calc(100%-20px);
		transition: all 0.3s ease-in-out;
	}

	.lnb_top {
		width: calc(100%-20px);
		transition: all 0.3s ease-in-out;
	}

	.icon {
		display: none;
	}
	
	#logo {
		z-index: 9999999999;
	}

	.lnb {
		background: none;
		position: static;
		z-index: 0;
		float: right;
		margin-top: 30px;
		margin-right: 20px;
	}

	.menu {
		z-index: 999999;
		height: 40px;
		width: 100%;
		margin: 0;
	}

	.menu > li {
		float: left;
	}

	.menu > li > a {
		text-align: center;
		font: bold 0.9rem/1 'Montserrat';
		color: #000;
		line-height: 40px;
		margin: auto;
	}

	.menu > li > a:hover {
		background: url(../img/pencil_line.png)center;
		background-size: cover;
		transition: all 0.2s ease-in-out;
	}



	.menu > li:nth-child(1) {
		display: block;
		width: 100px;

	}

	.menu > li:nth-child(2) {
		display: block;
		width: 100px;
	}

	.menu > li:nth-child(3) {
		display: block;
		width: 100px;
	}

	.menu > li:nth-child(4) {
		display: block;
		width: 100px;
	}

	.menu > li:nth-child(5) {
		position: fixed;
		top: 40px;
		right: 100px;
		cursor: pointer;
	}

	.menu > li:nth-child(6) {
	
		display: none;
	}

}

/* PC (1200이상)*/

@media all and (min-width:1200px) {

	.margin {
		width: 1200px;
		margin: auto;

	}

	.menu {
		height: 40px;
		width: 100%;
		margin: 0;
	}


}
