@import url('https://fonts.googleapis.com/css?family=Lato:100,400,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Noto+Sans+KR:100,300,400,500,700,900&display=swap&subset=korean');

/*
font-family: 'Lato', sans-serif;
font-family: 'Noto Sans KR', sans-serif;
*/

#gnb a{ color: #fff; }
#gnb a:hover{ text-decoration: none;}

#hd{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100px;
    transition: 0.5s ease;
    -webkit-transition: 0.5s ease;
    overflow: hidden;
    z-index: 9999;
    background: rgba(0, 0, 0, 1);
}

#hd:hover{
    height: 400px;
}

#logo{
    height: 90px;
    max-width: 100px;
    position: absolute;
    left: 54px;
    z-index: 9999;
}

#btn-menu{
    display: none;
}

#logo img{
    max-width: 100%;
 
}

#gnb{
    padding-left: 215px;
}

#gnb ul{
    margin: 0;
}

#gnb>ul{
    display: inline-block;
    width: 100%;
}

#gnb>ul>li{
    float: left;
    position: relative;
}

#gnb>ul>li>a{
    font-size: 18px;
    font-family: 'Lato', 'Noto Sans KR', sans-serif;
    padding: 40px 37.5px 30px 37.5px;
    display: block;
    letter-spacing: 0.7px;
    font-weight: bold;
    text-transform: uppercase;
}

#gnb>ul>li>ul{
    position: absolute;
    left: 37.5px;
    top: 100px;
    opacity: 0;
    visibility: collapse;
    transition: 0.3s ease;
    -webkit-transition: 0.3s ease;
    font-weight: 100;
    font-family: 'Noto Sans KR', sans-serif;
}

#hd:hover #gnb>ul>li>ul{
    opacity: 1;
    visibility: visible;
}

@media (max-width: 1600px){
	#gnb>ul>li>a{
		padding: 50px 28.5px 40px 28.5px;
	}
	#gnb>ul>li>ul{
		    left: 28.5px;
	}
}

@media (max-width: 1500px){
    #hd{
        height: 90px;
    }

    #logo{
        height: 70px;
        max-width: 100px;
        left: 45px;
    }

    #gnb{
        padding-left: 155px;
    }

    #gnb>ul>li>a{
        font-size: 16px;
        padding: 33px 30px 30px 25px;
    }

    #gnb>ul>li>ul{
        left: 30px;
    }
}

@media (max-width: 1300px){
    #hd{
        overflow: inherit;   
    }

    #hd:hover{
        height: 90px;
    }

    #btn-menu{
        display: block;
        position: absolute;
        right: 30px;
        top: 30px;
        width: 35px;
        height: 40px;
        cursor: pointer;
        z-index: 9999;
    }

    #btn-menu .line{
        position: absolute;
        left: 0;
        width: 100%;
        height: 1px;
        background: #fff;
        transition: 0.3s ease;
        -webkit-transition: 0.3s ease;
    }

    #btn-menu .line.no1{
        top: 0;
    }

    #btn-menu .line.no2{
        top: 5px;
    }

    #btn-menu.on .line.no2{
        transform: translateX(5px);
    }

    #btn-menu .line.no3{
        top: 10px;
    }

    #btn-menu .btn-menu-txt{
        position: absolute;
        left: 0;
        width: 100%;
        top: 12px;
        text-align: center;
        color: #fff;
    }

    #gnb>ul{
        display: none;
    }

    #hd.on #gnb>ul{
        display: block;
        position: fixed;
        overflow: auto;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        background: #000;
        padding: 50px;
        text-align: center;
    }

    #gnb>ul>li>a{
        padding-bottom: 5px;
    }

    #gnb>ul>li{
        float: none;
    }

    #gnb>ul>li>ul{
        opacity: 1;
        visibility: visible;
        position: static;
    }

    #gnb>ul>li>ul>li{
        display: inline-block;
        padding: 5px;
    }

    #gnb>ul>li>ul>li>ul{
        display: none;
    }
}

@media (max-width: 520px){
    #hd{
        height: 70px;
    }

    #hd:hover{
        height: 70px;
    }

    #logo{
        left: 20px;
        height: 55px;
        max-width: 60px;
        top: 10px;
    }

    #btn-menu{
        top: 22px;
    }
}
