
@font-face {
    font-family: 'Medium';
    src: url(../fonts/paybooc\ Medium.ttf) format('woff');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'ExtraBold';
    src: url(../fonts/paybooc\ ExtraBold.ttf) format('woff');
    font-weight: 400;
    font-style: normal;
}

#wrap  * {
    font-family: "Medium";
}
header {
    padding: 1.5rem 1.5rem 2rem;
    border-bottom: 1px solid #f2f2f2;
}
.header_wrap {
   width: 100%;
   max-width: 1200px;
   margin: 0 auto;
   display: flex;
   justify-content: space-between;
   flex-direction: column;
   align-items: center;
   gap: 10px;
}


.header_wrap img {
    height: 35px;
}

.header_wrap ul li {
    margin-right: 0;
    display: flex; 
    align-items: center; 
    height: 30%; 
    width: 33%;
    justify-content: center;
    border-right: 1px solid #e7e7e7;
}

.header_wrap ul li:last-child {
    border-right: none;
}
.header_wrap ul {
    display: flex;
    list-style-type: none;
    margin-top: 20px;
    padding: 0;
    width: 60%;
    justify-content: center;
    align-items: center;
    position: relative; /* 필요시 조정 */
}

.header_wrap ul li a {
    text-decoration: none;
    font-size: 18px;
    padding: 0 15px;
    border-radius: 5px;
    font-weight: 400;
    font-family: 'ExtraBold' !important;
}


#wrap header ul li.selected a {
    color: #6674e6;
}


@media screen and (max-width: 767px) {
    header {
        padding: 1.5rem 1rem 2.5rem;
    }
    .header_wrap {
        width: 100%;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 5px;
    }
    .header_wrap img {
        height: 22px;
    }
    .header_wrap ul {
        width: 100%;
        position: relative;
        justify-content: center;
    }
    .header_wrap ul li {
        height: 8px;
    }
    .header_wrap ul li:nth-child(1) {
        width:33.33%;
    }
    .header_wrap ul li:nth-child(2) {
        width: 33.33%;
    }
    .header_wrap ul li:nth-child(3) {
        width: 33.33%;
    }
    .header_wrap ul li a {
        font-size: 15px;
        padding: 5px 9px;
        width: 100%;
        text-align: center;
    }
}