* { margin: 0; padding: 0;}
ul { list-style: none;}
a { text-decoration: none; color: #000;}
 
body, a { 
    font-family: 'Noto Sans KR', sans-serif;
    /* font-family: 'NotoSansKR-Regular-Alphabetic', sans-serif; */
    /* font-family: 'NotoSans-Regular'; */
}
.wrap {
    overflow: hidden;
}
.wrap_active {
    height: 100vh;
}
.contents_w {
    width: 100%;
    max-width: 1100px;
    height: 100%;
    margin: 0 auto; 
} 

.h_top_bar {
    height: 30px;
    line-height: 30px;
    font-size: 12px;
    background: #f5f5f5;
}

.h_top_menu {
    float: right; 
    user-select: none;
}
.h_top_menu > li {
    float: left;
    padding-left: 20px;
} 
.h_top_menu > li a {
    font-family: 'Lato', sans-serif;
    color: #555555;
} 
.h_top_menu > li > b {
    font-size: 13px;
}
.mypage::before, .logout::before {
    content: '';
    width: 1px;
    height: 10px;
    background: #9e9e9e;
    display: inline-block;
    margin: 0px 10px;
    box-sizing: border-box;
}

/* 헤더 */
.header {
    width: 100%;
    height: 100px;
    /* background: gray; */
    /* border-bottom: 2px solid #555555;  */
    border-bottom: 2px solid #bbb; 
    clear: both;
} 
.logo {
    width: 220px;
    height: 100%;

    float: left;
    left: 20px;
}
.logo h1 {
    width: 100%; 
    height: 100%;
}
.logo a {
    width: 100%;
    height: 100%;
    display: block;
    text-indent: -9999px;
    overflow: hidden; 
    background: url('../img/logo.png') no-repeat left / contain;
}

/* 네비게이션 바 */
.hamberg {
    display: none;
}
.gnb_nav {
    height: 100px;
    line-height: 100px;
    float: right;

    /* margin-left: 100px; */
}
.gnb_nav > li {
    float: left;
    padding-left: 50px; 
    font-weight: 900; 
}
.gnb_nav > li:first-child {
    padding-left: 0px; 
}
.gnb_nav > li a {
    padding: 5px;
    box-sizing: border-box; 
    font-size: 20px; 
}
.gnb_nav > li a:hover {
    color: #1596f9; 
} 


/* 클릭시 소스 나오는 부분 */
#read_source {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;

    z-index: 999999;

    background-color: rgba(0,0,0,0.8);

    display: none;
}
#page_source {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 90vh;
    background: #fff;
    box-shadow: 0 2px 10px 2px rgba(55,55,55,0.9);
    border-radius: 5px;
}

/* 공통 */
.main_section {
    /* 헤더130, 푸터 304 */
    min-height: calc(100vh - 132px - 304px);
    padding: 50px 0 0;
    box-sizing: border-box;
    overflow: hidden;
}
/* ========== 햄버거  ========== */ 
.line-top {
    animation: line-top .3s forwards ease-out,
    line-top-rotate .1s .3s forwards ease-out;
}
.line-mid {
    animation: line-mid .3s .1s forwards ease-out;
}
.line-bot {
    animation: line-bot .3s forwards ease-out,
    line-bot-rotate .1s .3s forwards ease-out;
}

.top-reverse {
    animation: line-top-rotate-reverse .1s forwards ease-out,
    line-top-reverse .3s .1s forwards ease-out;
} 
.mid-reverse {
    animation: line-mid-reverse .3s forwards ease-out;
}

.bot-reverse {
    animation: line-bot-rotate-reverse .1s forwards ease-out,
    line-bot-reverse .3s .1s forwards ease-out;
}

@keyframes line-top {
    0% {transform:translateY(0px)}
    100% {transform:translateY(9px)}
}
@keyframes line-top-rotate {
    0% {transform:translateY(9px) rotateZ(0deg)}
    100% {transform:translateY(9px) rotateZ(45deg)}
}
@keyframes line-mid {
    0% {transform:scale(1)}
    100% {transform:scale(0)}
}
@keyframes line-mid-reverse {
    0% {transform:scale(0)} 
    100% {transform:scale(1)}
}
@keyframes line-bot {
    0% {transform:translateY(0px)}
    100% {transform:translateY(-9px)}
}
@keyframes line-bot-rotate {
    0% {transform:translateY(-9px) rotateZ(0deg)}
    100% {transform:translateY(-9px) rotateZ(-45deg)}
}
@keyframes line-top-reverse {
    0% {transform:translateY(9px)}
    100% {transform:translateY(0px)}
}
@keyframes line-top-rotate-reverse {
    0% {transform:translateY(9px) rotateZ(45deg)}
    100% {transform:translateY(9px) rotateZ(0deg)}
}
@keyframes line-bot-reverse {
    0% {transform:translateY(-9px)}
    100% {transform:translateY(0px)}
}
@keyframes line-bot-rotate-reverse {
    0% {transform:translateY(-9px) rotateZ(-45deg)}
    100% {transform:translateY(-9px) rotateZ(0deg)}
}   
/* ========== 햄버거  ========== */



@media screen and (max-width: 1100px) {
    .contents_w:not(.main_top):not(.f_adv) {
        padding-left: 10px;
        padding-right: 10px;
        box-sizing: border-box;
    }
}
@media screen and (max-width: 1024px) {
    #page_source {
        width: 90%;
    }
    .h_top_bar {
        padding: 0 7px;
        box-sizing: border-box;
    }
}

@media screen and (max-width: 900px) {
    .header { 
        height: 80px;
        position: relative;
        /* padding: 0 10px; */
        box-sizing: border-box;
    }
    .logo {
        width: 170px;
    }
    .logo a {
        height: 80%;
        position: relative;
        top: 50%;
        transform: translateY(-50%);
    }
    /* 네비게이션 바 */
    .hamberg {
        display: block;
        position: absolute;
        right: 0;
        top: 50%;
        z-index: 9999;
        width: 50px; 
        transform: translateY(-50%);
        padding: 10px;
        box-sizing: border-box;
    }
    .hamberg > .line {
        width: 100%;
        height: 3px;
        background: #4e4e4e;
        margin: 6px 0;
        border-radius: 5px;
    }  
    .hamberg_bg {
        width: 100%;
        height: 100vh;
        position: fixed;
        left: 0;
        top: 110px;
        background: rgba(0,0,0,0.5);
        display: none;
        z-index: 9;
    }
    .gnb_nav { 
        width: 300px;
        height: calc(100vh - 30px);
        background: #f5f5f5;
        position: absolute;
        left: 100%;
        top: 80px; 
        float: none;
        line-height: 50px;
        z-index: 99999;
        padding-top: 20px;
        transition: all 0.3s ease-out;
    } 
    .gnb_nav > li {
        float: none;
        padding-left: 30px;
        font-weight: 900;
    }
    .gnb_nav > li:first-child {
        padding-left: 30px; 
    }
    .gnb_nav > li a {
        padding: 5px;
        box-sizing: border-box; 
        font-size: 16px; 
        display: block;
    }
    .gnb_nav > li a:hover {
        color: #1596f9; 
    } 
    
}

@media screen and (max-width: 480px) { 
    .header { 
        height: 60px; 
    }
    .h_top_menu > li {
        padding-left: 10px;
    }
    .logo {
        width: 170px;
    }
    .logo a {
        height: 80%;
        position: relative;
        top: 50%;
        transform: translateY(-50%);
    } 

    .gnb_nav { 
        width: 100%;
        height: 100vh; 
        top: 60px; 
        transition: none;
    } 
    /* .gnb_nav > li {
        padding-left: 0 !important;
        text-align: center;
    } */
    .h_top_bar {
        height: 25px;
        line-height: 25px; 
    }
    .hamberg {
        width: 45px;
        margin-right: 5px;
    }


    /* 햄버거 */
    .line-top {
        animation: line-top 0s forwards ease-out,
        line-top-rotate 0s 0s forwards ease-out;
    }
    .line-mid {
        animation: line-mid 0s 0s forwards ease-out;
    }
    .line-bot {
        animation: line-bot 0s forwards ease-out,
        line-bot-rotate 0s 0s forwards ease-out;
    }
    
    .top-reverse {
        animation: line-top-rotate-reverse 0s forwards ease-out,
        line-top-reverse 0s 0s forwards ease-out;
    } 
    .mid-reverse {
        animation: line-mid-reverse 0s forwards ease-out;
    }
    
    .bot-reverse {
        animation: line-bot-rotate-reverse 0s forwards ease-out,
        line-bot-reverse 0s 0s forwards ease-out;
    }
}






