@charset "utf-8";
/* CSS Document */
.head_right{
    position: fixed;
    z-index: 20;
}
#openbtn{
 cursor: pointer;
}

#g-nav{
    position: relative;
    padding: 0;
    margin:0;
}
#nav-box{
    width: 100%;
    height: fit-content;
    position: relative;
    overflow: hidden;
    overflow-y: auto;
    display: flex;
    justify-content: center;
    background-color: rgba(255, 255, 255, .8);
    box-shadow: 3px 3px 3px rgba(0, 76, 109, .5);
}
#g-nav ul{
    width: 250px;
    margin: 0;
    padding: 46px 0 45px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}
#g-nav li{
    width: 100%;
    height: 40px;
    padding: 0;
    margin: 5px auto;
    text-align: left;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
#g-nav a{
    display: block;
    width: 100%;
    padding: 8px 0;
    height: 100%;
    color: #fff;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    background-image: linear-gradient(180deg, #1a5caa 20%, #36a2ce 50%);
    transition: 0.15s all;
}
#g-nav a:hover{
    background-image: linear-gradient(180deg, #1a5caa 50%, #36a2ce 100%);
    box-shadow: 3px 3px 3px rgba(0, 76, 109, .5);
}
#g-nav i{
    color: #fff;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

@media screen and (max-width:1200px){
    #g-nav li{
        width: 85%;
    }

}

@media screen and (max-width:1060px){

    .head_right{
        margin: 0 3vw;
        width: 10vw;
        min-width: 30px;
        height: 10vw;
        max-height: 80px;
        position: fixed;
        right: 0;
        display: flex;
        justify-content: center;
    }
    #openbtn{
        width: 100%;
        height: 100%;
        position: relative;
    }
    .openbtn-area{
        width: 100%;
        height: 100%;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
    }
    .openbtn-area span{
        position: relative;
        width: 80%;
        max-width: 50px;
        height: 3px;
        /* background-color: #fff; */
        transition: .4s;
        background-color: #004c6d;
        box-shadow: 3px 3px 0 rgba(255, 255, 255, .8);
    }
    #openbtn.active .open-line:nth-of-type(1){
        transform: rotate(45deg);
        top: 33%;
    }
    #openbtn.active .open-line:nth-of-type(2){
        opacity: 0;
    }
    #openbtn.active .open-line:nth-of-type(3){
        transform: rotate(-45deg);
        top: -33%;
    }
    nav{
        width: 100%;
    }
    #g-nav{
        width: 70%;
        height: 100vh;
        font-size: 18px;
        position: fixed;
        top: 0;
        right: -150%;
        transition: .4s;
        z-index: 10;
    }
    #g-nav.active{
        right: 0;
        opacity: 1;
    }
    #nav-box{
        height: 100%;
        margin: 0 0 50px 0;
        box-shadow: none;
    }
    #g-nav ul{
        width: 80%;
        margin: 5vw 0 0 0 ;
        min-height: 100vh;
        background-image: none;
        margin-bottom: 30vh;
    }
    #g-nav li{
        width: 100%;
        height: 2.6em;
        position: relative;
        left: 50%;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding: 0;
        opacity: 0;
        transition: .5s;
        transition-delay: .5s;
    }
    #g-nav.active li{
        left: 0;
        opacity: 1;
    }
    #g-nav li:nth-of-type(1){
        transition-delay: .1s;
    }
    #g-nav li:nth-of-type(2){
        transition-delay: .2s;
    }
    #g-nav li:nth-of-type(3){
        transition-delay: .3s;
    }
    #g-nav li:nth-of-type(4){
        transition-delay: .4s;
    }   
    #g-nav li:nth-of-type(5){
        transition-delay: .5s;
    }   
    #g-nav li:nth-of-type(6){
        transition-delay: .6s;
    }   
    #g-nav li:nth-of-type(8){
        transition-delay: .7s;
    }
    #g-nav li:nth-of-type(9){
        transition-delay: .8s;
    }
    #g-nav li:nth-of-type(10){
        transition-delay: .9s;
    }
    #g-nav li:nth-of-type(11){
        transition-delay: 1.0s;
    }
    #g-nav li:nth-of-type(12){
        transition-delay: 1.1s;
    }
    #g-nav li:nth-of-type(13){
        transition-delay: 1.2s;
    }
    #g-nav li:nth-of-type(14){
        transition-delay: 1.3s;
    }
    #g-nav li:nth-of-type(15){
        transition-delay: 1.4s;
    }
    
    #g-nav a{
        display: block;
        width: 100%;
        padding: 0.5em 0;
        height: 100%;
        text-decoration: none;
        color: #fff;
        font-weight: 500;
    }
        #g-nav i{
        color: #fff;
        position: absolute;
        right: 10vw;
        top: 50%;
        transform: translateY(-50%);
    }
}

@media screen and (max-width:780px){
    #openbtn{
        padding: 5px;
    }    
    .openbtn-area span{
        height: 2px;
    }
    #g-nav{
        width: 100%;
        font-size: 20px;
    }
}
@media screen and (max-width:412px){
    .openbtn{
        padding: 3px;
    }    


}