@charset "utf-8";
@import url(reset.css);

*, *::after, *::before{
    box-sizing: border-box;
    margin: auto;
	padding: 0;
}

body{
    background: rgba(230, 255, 240, 0.6);
    font: 14px Malgun Ghothic, "맑은고딕", sans-serif;
    color: #252525;
    min-width: 150px;
	top: 0 !important;
    position: static !important;
}
/* 구글 번역 툴바 프레임 숨기기 */
.goog-te-banner-frame {
    display: none !important;
}
/* skiptranslate 클래스를 가진 요소(툴바 등) 숨기기 */
.skiptranslate {
    display: none !important;
}
/* 콤보박스는 유지하되 툴바와 관련된 불필요한 영역 제거 */
#google_translate_element {
    display: none !important;
}
.goog-te-banner-frame,
iframe.goog-te-banner-frame,
.goog-te-gadget,
.goog-te-balloon-frame {
    display: none !important;
}
.goog-logo-link,
.goog-te-gadget {
    display: none !important;
}
.goog-te-combo {
    position: absolute !important;
	top: -100px !important;
}
/* SPA */
.page { display: none; }
.page.active { display: block; }
#languageSelector{
    margin-top: 4px;
}

/* 클릭(is-active) 되었을 때 이미지 교체 */
/* 부모인 .app-box에 .is-active가 붙으면 하위 로고 이미지를 변경 */
.app-box.is-active .imghover {
	content: url(../images/paip2p5.png);
}

header{
	background: rgb(100, 0, 160);
    height: 60px;
    width: 100%;
	/* 상단 고정 핵심 코드 */
    position: fixed;    /* 화면에 고정 */
    top: 0;             /* 최상단에 붙임 */
    left: 0;            /* 왼쪽 끝에 붙임 */
    z-index: 1000;      /* 다른 요소보다 위에 보이게 설정 */
}
/* 1. 로고와 메뉴를 양 끝(왼쪽/오른쪽)으로 배치 */
.wrap {
    display: flex;
    align-items: center;           /* 세로 중앙 정렬 */
	height: 100%;
	max-width: 1008px; /* width 대신 max-width 사용 */
	position: relative;
}

wrap h1 {
	margin-left: -100px;
	position:absolute;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}
/* 2. 메뉴 항목들을 가로로 정렬 */
.menu {
    display: flex;            /* 불렛 포인트 제거 */
	align-items: center;
    gap: 80px;                     /* 메뉴 아이템 사이 간격 */
	margin-top: -20px;
    margin-right: 150px;
	margin-left: 100px;
    padding: 0;
}

.menu li {
	display: flex;
	align-items: center;
	white-space: nowrap;
}
/* 3. 메뉴 링크 스타일 (선택사항) */
.menu li a {
    color: #97fb00;
    font-size: 16px;
	font-weight: bold;
}
.menu li select {
	color: #1f3300;
    font-size: 16px;
	font-weight: bold;
}

/*버튼 스타일*/
button {
    margin: 0px;
}
.custom-btn {
	width: 110px;
	height: 30px;
	color: #fff;
	border-radius: 5px;
	padding: 2px 4px;
	font-family: 'Lato', sans-serif;
	font-weight: 300;
	background: transparent;
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
	display: inline-block;
	box-shadow:inset 2px 2px 2px 0px rgba(255,255,255,.5),
	7px 7px 20px 0px rgba(0,0,0,.1),
	4px 4px 5px 0px rgba(0,0,0,.1);
	outline: none;
	border: none; /* 테두리 제거 통합 */
}
/* 2 */
.btn-2 {
	background: rgb(96,9,240);
	background: linear-gradient(0deg, rgba(96,9,240,1) 0%, rgba(129,5,240,1) 100%);
}
/* 마우스오버(:hover) 및 클릭 중(:active) 효과 */
/* 터치 디바이스에서도 클릭하는 순간 이 효과가 나타납니다. */
.btn-2:hover, .btn-2:active {
    box-shadow: 1px 1px 1px 0 rgba(255,255,255,.5),
               -1px -1px 1px 0 rgba(116, 125, 136, .5),
    inset -1px -1px 1px 0 rgba(255,255,255,.2),
    inset 1px 1px 1px 0 rgba(0, 0, 0, .4);
}
/* 터치 시 파란색 하이라이트 제거 (모바일 최적화) */
.custom-btn {
    -webkit-tap-highlight-color: transparent;
}
/*버튼스타일끝*/

/* 로고 이미지 크기 조절 (필요 시) */
.imghover {
	margin-left: 60px;
	padding: 3px 3px;
    height: 57px;                  /* 로고 크기에 맞게 조절하세요 */
	width: 57px;
    display: block;
	object-fit: contain;    /* 이미지가 잘리지 않게 비율 유지하며 맞춤 */
}
/* 이미지교체 */
.imghover:hover{
    content: url(../images/paip2p5.png);
}

@media (max-width:800px) {
	header{
		background: rgb(100, 0, 160);
		height: 40px;
		width: 100%;
		/* 상단 고정 핵심 코드 */
		position: fixed;    /* 화면에 고정 */
		top: 0;             /* 최상단에 붙임 */
		left: 0;            /* 왼쪽 끝에 붙임 */
		z-index: 1000;      /* 다른 요소보다 위에 보이게 설정 */
	}
    .wrap{
		display: flex;
		align-items: center;           /* 세로 중앙 정렬 */
		height: 100%;
        width: 100%;
		position: relative;
    }
    .wrap h1{
        height: 40px;
        width: 40px;
		position: absolute;
		left: 0px;
		display: flex;
		align-items: center;
		justify-content: center;
		margin: 0;
    }
    /* 2. 메뉴 항목들을 가로로 정렬 */
	.menu {
		display: flex;            /* 불렛 포인트 제거 */
		align-items: center;
		margin: -20px 30px 0 45px;
		padding: 0;
		flex: 1;
		justify-content: space-between;
		gap: 5px;
	}
	.menu li {
		display: flex;
		align-items: center;
		flex-shrink: 1;
		min-width: 0;
		white-space: nowrap;
	}
	
	/* 3. 메뉴 링크 스타일 (선택사항) */
	.menu li a {
		color: #97fb00;
		font-size: 7px;
		font-weight: bold;
	}
	.menu li select {
		color: #1f3300;
		font-size: 7px;
		font-weight: bold;
		width: 45px;
		margin-top: 20px;
	}

	/*버튼 스타일*/
	button {
		margin: 0px;
	}
	.custom-btn {
		width: 60px;
		height: 20px;
		color: #fff;
		border-radius: 5px;
		padding: 0px 2px;
		font-family: 'Lato', sans-serif;
		font-weight: 300;
		background: transparent;
		cursor: pointer;
		transition: all 0.3s ease;
		position: relative;
		display: inline-block;
		box-shadow:inset 2px 2px 2px 0px rgba(255,255,255,.5),
		5px 5px 15px 0px rgba(0,0,0,.1),
		2px 2px 2px 0px rgba(0,0,0,.1);
		outline: none;
		border: none; /* 테두리 제거 통합 */
	}
	/* 2 */
	.btn-2 {
		background: rgb(96,9,240);
		background: linear-gradient(0deg, rgba(96,9,240,1) 0%, rgba(129,5,240,1) 100%);
	}
	/* 마우스오버(:hover) 및 클릭 중(:active) 효과 */
	/* 터치 디바이스에서도 클릭하는 순간 이 효과가 나타납니다. */
	.btn-2:hover, .btn-2:active {
		box-shadow: 1px 1px 1px 0 rgba(255,255,255,.5),
				-1px -1px 1px 0 rgba(116, 125, 136, .5),
		inset -1px -1px 1px 0 rgba(255,255,255,.2),
		inset 1px 1px 1px 0 rgba(0, 0, 0, .4);
	}
	/* 터치 시 파란색 하이라이트 제거 (모바일 최적화) */
	.custom-btn {
		-webkit-tap-highlight-color: transparent;
	}
	/*버튼스타일끝*/


	/* 로고 이미지 크기 조절 (필요 시) */
	.imghover {
		margin-left: 0px;
		padding: 2px 2px;
		height: 38px;                  /* 로고 크기에 맞게 조절하세요 */
		width: 38px;
		display: block;
		object-fit: contain;    /* 이미지가 잘리지 않게 비율 유지하며 맞춤 */
	}
	/* 이미지교체 */
	.imghover:hover{
		content: url(../images/paip2p5.png);
	}

}
