@import url('https://fonts.googleapis.com/css?family=Libre+Baskerville:400,400i,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Noto+Sans+KR:100,300,400,500,700,900&display=swap&subset=korean');
@import url('https://fonts.googleapis.com/css2?family=Baloo+Chettan+2:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Josefin+Slab:wght@100;300;400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Antic+Slab&display=swap');

/*
font-family: 'Libre Baskerville', serif;
font-family: 'Noto Sans KR', sans-serif;
font-family: 'Josefin Slab', serif;
font-family: 'Antic Slab', serif;

*/

/* #gnb a{ color: #111; }
#gnb a:hover{ text-decoration: none;}

/* gnb z-index 1~10 사용*/


#gnb{
    position: fixed;
    width: 0;
    height: 85%;
    z-index: 1001;
    background-color: #0052af;
    right: 100px;
    display: flex;
    flex-direction: column;
    top: 10%;
    align-items: center;
    transition: all 0.5s ease-in-out;
    z-index: 50;
    background-image: url("../../../img/main-back.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
    overflow: hidden;
}

#gnb.is-on{
  width: 90%;
}
.menu-open{
    position: fixed;
    right: 0;
    top: 5%;
    height: 90%;
    width: 100px;
    background-color: transparent;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

#gnb_1dul{
    font-size: 2.60vw;
    font-family: 'Rozha One', serif;
    font-weight: 400;
    margin-right: 275px;
    transition: all 0.5s ease-in-out;
    
}

#logo{
    position: fixed;
    left: 100px;
    top: 65px;
    z-index: 1001;
}

.gnb_1dli{
    padding: 0 0 0;
}

.gnb_1dli a{
    color: #fff;
}

.gnb_2dul{
    font-size: 1.04vw;
    /* height: 0; */
    max-height:0;
    overflow: hidden;
    transition: all 0.5s ease-in-out;
}

.gnb_2dli{
    font-family: 'Montserrat', sans-serif;
}

.gnb_2dli:first-child{
    margin-top: 30px;
}

.gnb_2dli:last-child{
    margin-bottom: 30px;
}

.gnb_1dli:hover .gnb_2dul{
    max-height: 400px;
    transition: all 0.5s ease-in-out;
}

.gnb_2dui{
    font-family: 'Montserrat', sans-serif;
}




#btn-menu{
    position: absolute;
    padding: 10px;
    width: 55px;
    height: 55px;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    cursor: pointer;
}

#btn-menu .wrapper{
    position: relative;
}

#btn-menu .line{
    position: relative;
    z-index: 3;
    width: 100%;
    height: 1px;
    background: #fff;
    position: absolute;
    right: 0;
    transition: 0.5s ease;
    -webkit-transition: 0.5s ease;
}

#btn-menu .line2{
    width: 100%;
    height: 1px;
    background: #000;
    position: absolute;
    right: 0;
    transition: 0.5s ease;
    -webkit-transition: 0.5s ease;
}


#btn-menu.on .line.no1{
  top: 11px;
  transform: rotate(45deg);
}

#btn-menu.on .line.no3{
  display: none;
}

#btn-menu.on .line.no5{
  top: 11px;
  transform: rotate(-45deg);
}

#btn-menu.on .line2.no2{
    top: 11px;
    transform: rotate(45deg);
}
#btn-menu.on .line2.no4{
    display: none;
}

#btn-menu.on .line2.no6{
    top: 11px;
    transform: rotate(-45deg);
}


#btn-menu .line.no1{
    top: 0px;
}

#btn-menu .line2.no2{
    top: 1px;
}

#btn-menu .line.no3{
    top: 11px;
    width: 50%;
}
#btn-menu .line2.no4{
    top: 12px;
    width: 50%;
}

#btn-menu .line.no5{
    top: 21px;
}
#btn-menu .line2.no6{
    top: 22px;
}

#hd.on #btn-menu,
#hd.down #btn-menu {
	border:1px solid #000;
}
#hd.on #btn-menu .line,
#hd.down #btn-menu .line {
	background:#000;
}


#hd .menu-open{
    padding-right: 10px;
}
#hd .menu-open  a{
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: .2s;
    p{
        text-align: center;
        font-weight: bold;
        padding-top: 4px;
    }
    .img{
        width: 65px;
        background: #fff;
        border: 2px solid #0052AF;
        /*outline: 2px solid #0052AF;*/
        outline-offset: 2px;
        border-radius: 4px;
        aspect-ratio: 1/1;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px;

        img{
            width: 100% !important;
            height: 100% !important;
            object-fit: contain;
            object-position: center;
        }
    }

    &:hover{
        transform: translateX(-10px);
    }
}


.no4{
}


.menu-reserve{
    font-size: 16px;
}

iframe{
    scale: 1.15;
}
@media(max-width: 1024px){
	#btn-menu {
		display:block;
		top:13px;
	}
	#hd:hover {
		height:auto;
		background-color:transparent;
	}
	#hd.down {
		background-color: #fff;
		height:70px;
	}
	#hd.on {
		height:100%;
		overflow:auto;
		background-color:#fff;
	}
	
	#hd.on #btn-menu .line.no1{
        transform: rotate(-45deg);
		transform-origin: 92%;
		margin-left: -3px;
    }

    #hd.on #btn-menu .line.no3{
        transform: rotate(45deg);
		transform-origin: 96%;
		margin-left: -4px;
    }

    #hd.on #btn-menu .line.no2{
        margin: 5px 0;
        transform: translateX(20px);
        opacity: 0;
    }
	
    #logo{
        width: 100px;
        left: 50px;
        top: 35px;
    }

    #gnb_1dul{
        font-size: 45px;
    }

    .gnb_2dul{
        font-size: 18px;
    }

}

@media(max-width: 769px){

    #gnb{
        right: 70px;
    }

    #gnb_1dul{
        margin-right: 200px;
    }

    .gnb_1dli>a{
        font-size: 30px;
    }

    #gnb .gnb_2dli:first-child{
        margin-top: 0;
    }

    .gnb_2dli>a{
        font-size: 20px;
    }

    #btn-menu{
        right: 10px;
    }

    .menu-open{
        /*width: 75px*/
    }
}


@media(max-width: 560px){

    iframe{
        transform: translateY(-100px);
    }
    #logo{
        width: 50px;
        left: 25px;
        top: 15px;
    }

    #gnb{
        width: 0;
        height: 100%;
        top: 0;
        right: 50px;
        justify-content: center;
        align-items: unset;
    }

    #hd   .menu-open{
        flex-direction: row;
        gap: 18px;
        width: unset;
        height: 80px;
        top: 0;
        padding: 18px;
        font-size: 12px;
        a{
            .img{
                width: 55px;
                height: 55px;
                padding: 10px;
            }
        }
        a:hover{
            transform: unset;
            transform: translateY(5px);
        }

    }

    #btn-menu{
        right: 14px;
        top: 20px;
    }

    #hd #gnb{
        overflow-y: auto;
    }

    #gnb_1dul{
      font-size: 18px;
      margin-right: 0px;
      overflow-y: auto;
      padding-top: 50px;
      width: 100%;
      margin-left: 50px;
    }

    .gnb_2dli{
      font-size: 15px;
      padding: 5px 0;
    }

    .gnb_2dul{
      height: auto;
      max-height: unset;
    }

    .gnb_2dli:first-child{
      margin-top: 10px;
    }
    .gnb_2dli:last-child{
      margin-bottom: 10px;
    }

    /*.insta{*/
    /*    font-size: 30px;*/
    /*    left: 26%;*/
    /*    bottom: -15px;*/
    /*}*/
    /*.kakao{*/
    /*    width: 30px;*/
    /*    left: 26%;*/
    /*    bottom: -45px;*/
    /*}*/
    .naver{
        .img{
            /*width: auto !important;*/
            aspect-ratio: unset !important;
            text-align: center;
        }
    }
    #btn-menu{
        width: 45px;
        height: 45px;
    }
    iframe{
        scale: 1;
    }
    

}
/*

@media(max-width: 1500px){
    #hd{
        top: 0;
        padding: 0;
        height: 80px;
        position: fixed;
        width: 430px;
        left: auto;
        overflow: visible;
    }

    #hd:hover{
        height: 80px;
    }

    #logo{
        left: 20px;
        top: 15px;
        height: 50px;
        z-index: 9999;
    }



    #btn-menu{
        display: block;
    }

    #btn-menu.on .line.no2{
        left: 5px;
    }

    #gnb_1dul{
        visibility: collapse;
        position: fixed;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        text-align: center;
        padding: 0;
        overflow: auto;
        background: #59493f;
        margin: 0;
        padding: 100px 20px;
        opacity: 0;
        transition: 0.3s ease;
        -webkit-transition: 0.3s ease;
    }

    #hd.on #gnb_1dul{
        display: block;
        opacity: 1;
        visibility: visible;
    }

    #gnb_1dul>li{
        float: none;
    }

    #gnb_1dul>li>a{
        display: inline-block;
    }

    #gnb_1dul>li>ul{
        padding-left: 0;
        font-size: 16px;
    }

    #gnb_1dul>li>a{
        font-size: 25px;
    }

    #gnb_1dul>li>a:after{
        display: none;
    }

    #gnb_1dul>li>ul>li{
        display: inline-block;
        padding: 0 10px;
    }
}

@media(max-width: 768px){
    #hd{
        width: 100%;
    }

    #container{
        padding-top: 70px;
    }
}

@media(max-width: 520px){
    #hd,
    #hd:hover{
        height: 65px;
    }

    #container{
        padding-top: 65px;
    }

    #logo{
        left: 15px;
        top: 12px;
        height: 40px;
        z-index: 9999;
    }

    #btn-menu{
        width: 50px;
        top: 10px;
        right: 15px;
    }


    #gnb_1dul{
        text-align: left;
    }

    #gnb_1dul>li>a{
        font-size: 20px;
        line-height: 70px;
        padding: 0;
        padding-left: 10px;
    }

    #gnb_1dul>li>ul>li{
        padding: 2px 10px;
        font-size: 14px;
    }
}
*/
.img span{
    color: black;
    font-weight: bold;
}
