@charset 'utf-8';

/* font-style */
.font-green{
    color: #4FC297;
}

.bold{
    font-weight: bold;
}
/* header 영역 */
header{
    height: 50px;
    position: fixed;
    width: 100%;
    top:0;
    left:0;
    display: flex;
    justify-content: center;
    z-index: 99;
}

header h1{
    width: 50px;
    height: 50px;
}
header h1 a{
        display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}
header h1 img{
    width: 30px;
}
header .btn-nav-open{
    width: 50px;
    height: 50px;
    position: absolute;
    top: 0;
    right: 0;
}

header .btn-nav-open img{
    width: 24px;
}
/* main 영역 */
#main-index{
    background-image: url(../images/bg_index1.jpg);
    background-size: 765px auto;
    background-position: 0 -70px;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding:50px 20px;

}

.wrap-txt{
    width: calc(100% - 40px);
    position:fixed;
    bottom: 364px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 500px;

}
.wrap-txt .intro-txt .intro-tit{
    font-size: 20px;
    margin-bottom: 12px;
}

.wrap-txt .intro-txt2{
    display: none;
}


.wrap-btn{
    width: calc(100% - 40px);
    position:fixed;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 500px;

}

.wrap-btn div{
    width: 100%;
    height: 66px;
    text-align:center;
    border-radius: 15px;
    font-weight: bold;
    box-sizing: border-box;
}

.wrap-btn div a{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
}

.wrap-btn .btn-portfolio{
    background-color: #4FC297;
    color: #fff;
}

.wrap-btn .btn-introduce{
    background-color: #fff;
    border:2px solid #4FC297;
    color: #4FC297;
    margin:12px 0;
}

.wrap-btn .btn-contact{
    color: #4FC297;
    text-decoration: underline;
}
.wrap-btn .btn-contact a{
    width: auto;
    height: auto;
    margin-top: 24px;
}

footer{
    color: #fff;
    text-align: center;
    position: fixed;
    bottom: 0;
    height: 50px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
}

.sub-nav{
    position: fixed;
    top: 50px;
    left: 0;
    width: 100%;
    height: 50px;
    box-sizing: border-box;
    padding:0 20px;
    border-bottom: 2px solid #4FC297;
    padding-bottom: 12px;
    background-color: #fff;
    z-index: 30;
    overflow-x: auto;
    overflow-y: hidden;
     white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.sub-nav .wrap-nav{
  display: inline-flex;
  align-items: center;
  margin-top: 18px;

}

.sub-nav .sub-nav-list{
    margin-right: 24px;
}

.sub-nav .sub-nav-list:last-child{
    margin-right: 0;
}

.sub-nav .active{
    color: #4FC297;
    font-weight: bold;
}

/* 네비게이션 */

#gnb{
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(255,255,255,0.6);
    backdrop-filter: blur(10px);
    width: 100%;
    height: 100%;
    display: none;
    z-index: 9999;
}

#nav-main{
    width: 320px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

#nav-main .nav-main-list{
    text-align: center;
    margin-bottom: 24px;
}

#nav-main .nav-main-list span{
    display: block;
}
#nav-main .nav-main-list .kor{
    font-size: 20px;
    font-weight: 700;
}
#nav-main .nav-main-list.active .kor{
    color: #4FC297;
}

#nav-main .nav-main-list:hover .kor{
    color: #4FC297;
}

#nav-main .nav-main-list .eng{
    font-size: 14px;
    color: #808080;
}

#gnb .btn-close span{
    width: 24px;
    height: 4px;
    background-color: #4FC297;
    border-radius: 50px;
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
}

#gnb .btn-close .close-left{
    transform: rotate(-45deg);
}

#gnb .btn-close .close-right{
    transform: rotate(45deg);
}



/* 768px 이상 화면 */
@media all and (min-width:768px){

    #main-index{
        background-size: cover;
    }

}