header {
    padding: 15px 0;
}

.header_wrap {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 5px 7px -3px;
    gap: 1.5rem;
}

header a {
    width: 100%;
    font-size: 16px;
    text-align: center;
}

header img {
    width: 40%;
    height: 20%;
}

header ul {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none; /* 리스트 마커 제거 */
}

header ul li {
    padding: .5rem 3rem;
    cursor: pointer;
    position: relative; /* 선택 상태의 border-bottom 위치를 위해 필요 */
}

header ul li a {
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: .5rem;
    color: #b6b7bb;
    text-decoration: none; /* 링크 기본 스타일 제거 */
}

header ul li img {
    width: 24px;
    height: 24px;
}

/* 선택된 메뉴의 아이콘 이미지 */
header ul li.selected img {
    content: url('../img/menu-on-icon-1.png'); /* 선택된 항목의 이미지를 on 상태로 변경 */
}

header ul li#li2.selected img {
    content: url('../img/menu-on-icon-2.png'); /* 선택된 항목의 이미지를 on 상태로 변경 */
}

header ul li#li3.selected img {
    content: url('../img/menu-on-icon-3.png'); /* 선택된 항목의 이미지를 on 상태로 변경 */
}

header ul li.selected {
    border-bottom: 3px solid #f37a36; /* 선택된 항목에 대한 스타일 */
}

header ul li.selected a {
    font-weight: bold; /* 선택된 항목의 텍스트 스타일 */
    color: #f37a36;
}

main {
    padding: 3rem 1.5rem 5rem;
}
footer {
    background-color: #f4f4f4;
    padding: 20px;
}
footer p{
    line-height: 1.3;
    font-size: 1.2rem;
}
footer p span{
    line-height: 1.5;
    font-size: 1.2rem;
    color: #4f4f4f;
    font-weight: 600;
}
