@font-face {
    font-family: 'SCDream4';
    src: url('../fonts/SCDream4.otf') format('opentype');
    font-weight: normal; /* light는 일반적으로 300의 폰트 가중치에 해당합니다. */
    font-style: normal;
}
@font-face {
    font-family: 'SCDream5';
    src: url('../fonts/SCDream5.otf') format('opentype');
    font-weight: normal; /* light는 일반적으로 300의 폰트 가중치에 해당합니다. */
    font-style: normal;
}
@font-face {
    font-family: 'SCDream7';
    src: url('../fonts/SCDream7.otf') format('opentype');
    font-weight: normal; /* light는 일반적으로 300의 폰트 가중치에 해당합니다. */
    font-style: normal;
}
@font-face {
    font-family: 'SCDream8';
    src: url('../fonts/SCDream8.otf') format('opentype');
    font-weight: normal; /* light는 일반적으로 300의 폰트 가중치에 해당합니다. */
    font-style: normal;
}

#wrap  * {
    font-family: 'SCDream5';
    
}

header {
    padding: 1.5rem;
    box-shadow: rgba(33, 35, 38, 0.2) 0px 10px 10px -13px;
    
}
.header_wrap {
   width: 100%;
   max-width: 1200px;
   margin: 0 auto;
   display: flex;
   justify-content: space-between;
}

nav {
   
}

.header_wrap img {
    height:35px;
}

.header_wrap ul li {
    margin-right: 0;
    display: flex; 
    align-items: center; 
    height: 60%; 
    padding: 0 40px;
}

.header_wrap ul li:last-child {
    border-right: none;
}

.header_wrap ul {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 60%;
    justify-content: flex-end;
    align-items: center;
    position: relative; /* 필요시 조정 */
}

.header_wrap ul li a {
    text-decoration: none;
    font-size: 18px;
    padding: 5px 10px;
    border-radius: 5px;
}


#wrap header ul li.selected a {
    color: #0099dd;
}

footer {
    border-top: 1px solid #dfe0e3;
    padding: 15px 20px;
    background-color: #eef2f7;
}
footer p{
    line-height: 1.3;
    font-size: 1.4rem;
    font-family: 'GmarketSans';
    font-weight: 300;
    color: #7e7e7e;
}
footer  span{
    line-height: 1.5;
    font-size: 1.4rem;
    color: #686868;
    font-weight: 300;
    font-family: 'GmarketSans';
}

@media screen and (max-width: 767px) {
.header_wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header_wrap img {
    height: 25px;
}
.header_wrap ul li {
    margin-right: 0;
    display: flex; 
    align-items: center; 
    height: 60%; 
}

.header_wrap ul li:last-child {
    border-right: none;
}

.header_wrap ul {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 70%;
    justify-content: flex-end;
    align-items: center;
    position: relative; /* 필요시 조정 */
}
.header_wrap ul li {
    padding: 0 0 0 20px;
}
.header_wrap ul li a {
    text-decoration: none;
    font-size: 14px;
    padding: 5px 6px;
    border-radius: 5px;
}
}