@font-face {
    font-family: 'Paperlogy-8ExtraBold';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-8ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
}
#wrap * {
    font-family: 'Paperlogy-8ExtraBold';
}
header {
    padding: 40px 0 10px;
    
}
.header_wrap {
   max-width: 1200px;
   width: 100%;
   margin: 0 auto;
   display: flex;
   justify-content: space-between;
}
.header_wrap a {
    color: blue;
    font-size: 20px;
}

nav {
   
}

.header_wrap img {
    height: 20px;
}

.header_wrap ul {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.header_wrap ul li {
    margin-right: 20px;
}

.header_wrap ul li a {
    text-decoration: none;
    color: skyblue;
    font-weight: 600;
    font-size: 17px;
    padding: 5px 10px;
    border-radius: 5px;
}

main {
   
}
.header_mo  {
    display: none;
}

@media screen and (max-width: 767px) {
    header {
        display: none;
    }
    .header_mo {
        display: block;
        text-align: center;
        border-bottom: none;
        padding: 15px;
    }
    .header_wrap {
        width: 100%;
        margin: 0 auto;
        display: flex;
        justify-content: space-between; 
        align-items: center;
        position: relative;
    }
    .header_wrap h1 {
        margin: 0;
        text-align: left;
    }
    .header_wrap .center_logo {
        order: 1;
    }
    .header_wrap .right1 {
        order: 2; 
        text-align: right;
    }
    .header_mo .ham {
        width: 55%;
    }
    .header_mo img {
        width: 70%;
        height: 20%;
    }
    .header_mo a {
        width: unset;
        text-align: left;
    }
    .header_mo nav {
        position: fixed;
        top: 0;
        right: -71%; 
        width: 50%;
        min-height: 100vh;
        background: #fff;
        z-index: 999;
        transition: .3s;
        display: block;
        background-color: #fff;
    }
    .back1 {
        position: fixed;
        width: 100% !important;
        height: 100%;
        top: 0;
        display: none;
        z-index: 998;
        right: 0;
        background: #00000038;
    }
    nav.open + .back1 {
        display: block;
    }
    nav.open {
        right: 0; 
        width: 70%;
    }
    .nav_logo {
        width: 100%;
        height: 6rem;
        display: flex;
        justify-content: right;
        align-items: center;
        padding: 1.5rem;
    }
    .close {
        display: block;
        background: url(../img/mo-ham.png) no-repeat center/contain;
        width: 25px;
        height: 25px;
        cursor: pointer;
    }
    .nav_menu {
        flex-direction: column;
        padding: 15px;
        display: flex;
        gap: 10px;
    }
    .nav_menu li {
        padding: 15px;
        background-color: #fff;
        text-align: left;
        color: #fff;
        border-radius: 20px;
    }
    .nav_menu li:last-child {
        border-bottom: none;
    }
    .nav_menu li a {
        display: block;
        font-size: 18px;
        color: #c8c6c6;
        font-weight: 600;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-radius: 20px;
    }
    .nav_menu li.selected  {
        background-color: skyblue;
    }
    .nav_menu li a span {
        font-size: 16px;
        color: #c8c6c6;
        font-weight: 800;
        white-space: nowrap;
    }
    .nav_menu li .n {
        padding: 0;
    }
     .header_mo ul li.selected  {
        box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    }
     .header_mo ul li.selected a {
        color: #fff;
        font-weight: 600;
        font-size: 18px;
    }
    .arrow {
        width: 10px !important;
    }
}
