
/* 참고 블로그: https://shoppingkinglouis4.tistory.com/15 */

html.open {
    overflow: hidden;
}

#hamberger-menu.open {
    left: 0px;
}

.page_cover.open {
    display: block;
}

.hamberger-btn {
    width: 50px;
    height: 70px;
    /* position: absolute; */
    /* left: 10px;
    top: 10px; */
    z-index: 1;
    background-image: url('/static/imgs/main/hamberger-menu.png');
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    margin-right: 10px;
}

.hamberger-close {
    width: 50px;
    height: 50px;
    position: absolute;
    left: 20px;
    top: 20px;
    background-image: url('/static/imgs/main/hamberger-close.png');
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

#hamberger-menu {
    width: 200px;
    height: 65%;
    position: fixed;
    /* top: 5px; */
    left: -202px;
    top: 10%;
    /* left: -20%; */
    z-index: 10;
    border: 1px solid #c9c9c9;
    background-color: rgb(244, 234, 93);
    text-align: center;
    font-weight: bold;
    transition: All 0.2s ease;
    -webkit-transition: All 0.2s ease;
    -moz-transition: All 0.2s ease;
    -o-transition: All 0.2s ease;
    padding-top: 50px;
    padding-left: 0px;
    padding-right: 40px;
    border-radius: 25px;
}

#hamberger-menu a {
    padding: 0;
    text-decoration: none;
    text-align: left;
    padding-left: 50px;
    font-size: 18px;
    color: #25a4cd;
    display: block;
    transition: 0.3s;
    margin-top: 20px;
}

#hamberger-menu.open {
    left: 0px;
}

.page_cover.open {
    display: block;
}

.page_cover {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0px;
    right: 0px;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 4;
    display: none;
}

#hamberger-menu ul {
    width: 190px;
    margin: 0;
    padding: 0;
}

#hamberger-menu ul.nav li {
    position: relative;
    float: left;
    width: 100%;
    list-style-type: none;
    font-size: 18px;
}

#hamberger-menu ul.nav li a {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 50px;
    text-indent: 20px;
    text-align: left;
    color: #25a4cd;
    font-weight: bold;
    text-decoration: none;
}

#hamberger-menu ul.nav li a:hover {
    background: #eee;
}

#hamberger-menu ul.nav li .sub_mobile a {
    position: relative;
    float: left;
    display: block;
    width: 100%;
    z-index: 999;
    background: #ccc;
}

#hamberger-menu ul.nav li .sub_mobile a:hover {
    background: #787878;
    color: #fff;
    z-index: 999;
}


/* 미디어 쿼리 */
@media (max-width: 900px){
    .hamberger-container{
        visibility: visible;
    }
}