@import url('https://fonts.googleapis.com/css2?family=Jua&display=swap');
@import url('reset.css');
@import url('https://fonts.googleapis.com/css2?family=Hanna&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nanum+Gothic&display=swap');

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}


body {
    font-family: 'Roboto', system-ui, sans-serif, Jua;
    /* font antialiased */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: auto;
    /* mobile chrome height */
    min-height: 100vh;
    min-height: -webkit-fill-available;
    height: 100%;
}


/* 폰트 */

.font-jua {
    font-family: 'Jua', sans-serif;
}

.spinner-wait {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    /* 반투명 검정 배경 (필요에 따라 색상/투명도 조절) */
    background: rgba(0, 0, 0, 0.4);
    z-index: 9999;
    display: flex;
    align-items: center; /* 수직 중앙 */
    justify-content: center; /* 수평 중앙 */
}

.spinner-wait img {
    /* 원하는 크기 및 스타일 추가 가능 */
    width: 10%; /* 필요시 사이즈 조정 */
    height: 20%;
}

/* .fade-in {
  animation: fade-in 1s ease-in-out;
} */

/* 헤더
======================== */
#header {
    width: 100%;
    height: 90px;
    background-color: #fff;
    box-shadow: 0 1px 10px rgba(0, 0, 0, .08);
    z-index: 9999;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    /* position: fixed; */
}

.header__wrap {
    width:100%;
    height: 100%;
    max-width: 1952px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#left-header {
    width: 30%;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

#left-header img {
    width: auto;
    height: 100%;
    max-height: 100px;
    cursor: pointer;
}

#title-header {
    font-size: 1.5rem;
    /* font-weight: bold; */
    margin-left: 0.5rem;
    font-family: 'Jua', sans-serif;
}

#right-header {
    width: 70%;
    height: 100%;
    display: flex;
    align-items: center;
    margin-right: 5%;
}

#right-header .menu-info__loged {
    display: flex;
    align-items: center;
    padding-right: 1rem;
}

#right-header .menu-info__loged .loged {
    cursor: pointer;
}

#right-header .login__icon img{
    width:33px;
    height: auto;
    margin-right: .25rem;
}

#right-header .nav__list {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

#right-header .nav__item {
    cursor: pointer;
    padding-right: 1rem;
    /* font-size: 1.125rem; */
    font-size: 1.0000rem;
}

#right-header .nav__item:last-child {
    padding-right: 0;
}

@media screen and (max-width:1023px) {
    #header {
        width: 100%;
        height: 80px;
    }
    
    .header__wrap {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }
    
    #left-header {
        width: 100%;
    }

    #left-header img {
        max-height: 30px;
    }
    
    #right-header {
        width: 100%;
    }

    #right-header .menu-info__loged {
        display: block;
    }

    #right-header .login__icon img{
        display: none;
    }
    
    #right-header .nav__list {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    #right-header .nav__item {
        width: calc(100% / 4);
        cursor: pointer;
        padding-right: .5rem;
        font-size: .875rem;
        text-align: center;
    }
    
    #right-header .nav__item:last-child {
        padding-right: 0;
    }
}