/*header*/
ul {
    list-style: none;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    width: 1519px;
    margin: 0 auto;
}
header {
    width: 100%;
    height: 100px;
    display: flex;
    text-align: center;
    border-bottom: 2px solid #00409B;
}
#logo {
    width: 350px;
    height: 100px;
    padding: 10px 10px;
    margin-left: 10px;
}
nav {
    flex: 1;
    display: flex;
    justify-content: center; /* 오른쪽 정렬 */
    align-items: center; /* 수직 가운데 정렬 */
    position: relative;
}
#topMenu {
    display: flex;
    justify-content: center; /* 오른쪽 정렬 */
    align-items: center; /* 수직 가운데 정렬 */
}
#topMenu > li {/*특정요소의 직계 자식 요소를 선태하는데 사용 topMenu의 li만 선택 */
    margin-left: 20px; /* 메뉴 항목 간격 설정 */
    margin-right: 20px;
    position: relative; /*부모요소 relative*/
}
#topMenu > li > a {
    color: black;
    text-decoration-line: none;
    font-weight: 600;
    padding: 20px 50px;
}
#topMenu > li > a > span {
    text-decoration-line: none;
    font-size: 0.5em;
}
#topMenu > li > a:hover {/*마우스 포인터 올리면 색상 바뀜*/
    color: #00409B;
    border-top: 3px solid #00409B;
    font-weight: bold;
}
.subMenu { /*subMenu = #topMenu > li > ul*/
    height: 0;
    overflow: hidden;
    position: absolute;
    background-color:  rgba(255,255,255,0.6);
    width: 165px;
    left: 10px;
}
.subMenu > li {
    padding: 10px 10px 10px 15px; /*시계 방향으로 패딩 설정 */
}
.subMenu > li > a {
    text-decoration-line: none;
    font-size: 14px;
    padding: 10px;
    color: black;
}
#topMenu > li:hover {
    transition-duration: 0.5s;
}
#topMenu > li:hover > ul{ /*메인 메뉴 항목 위로 오버 하면 서브 메뉴 표시 */
    height: 140px;
    transition-duration: 1s;
    z-index: 10;
}
.subMenu > li > a:hover{ /*메인 메뉴 항목 위로 오버 하면 서브 메뉴 표시 */
    color:  #00409B;
    font-weight: bold;
}
.highlight {
    border-top: 3px solid #00409B;
}
.en {
    position: absolute;
    background-color: #00409B;
    width: 150px;
    height: 30px;
    border-radius: 10px;
    margin-left: 1330px;
    margin-top: 35px;
}
.en a {
    text-decoration-line: none;
    padding-top: 10px;
    color: white;
    font-size: 15px;
    font-weight: bold;
}
.en a:hover{
    color: lightgray;
}
/*footer*/
footer{
    width: 1519px;
    height: 130px;
    display: flex;
    background-color: rgb(135, 132, 132);
    opacity: 0.9;
}
#logo2 {
    width: 300px;
    height: 100px;
    padding: 30px 20px;
    filter: opacity(0.4);
    display: flex;
}
#foot {
    flex: 1;
    height: 100px;
    padding: 10px 10px;
}
#notice, #company {
    height: 20px;
}
#company > ul {
    margin-top: 8px;
}
#company > ul > li {
    float: left;
    padding: 8px 10px; /*시계 방향 순으로 패딩 적용 */
    font-size: 12px;
}   
#company > ul > li:last-child {
    clear: left; /*플로팅 해제 = 다시 왼쪽 부터 적용 */
    padding: 8px 10px; 
    font-size: 12px;
}
#notice > ul >li {
    clear: left; 
    margin-top: 10px;
    padding: 8px 10px; 
    font-size: 12px;
    text-align: left;
}