@font-face {
    font-family: 'Pretendard-Regular';
    src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

* {
    font-family: 'Pretendard-Regular';
}

body {
    background-color: #eff0fa;
}
body::-webkit-scrollbar {
    width: 6px;
    background-color: transparent
}
body::-webkit-scrollbar-thumb {
    border-radius: 3px;
    background-color: rgba(0, 0, 0, 0.3);
}

#wrap {
    width: 100%;
    height: 100%;
    min-height: 100vh;
}

/* navigation CSS start */
#width_error {
    min-width: 100vw;
    min-height: 100vh;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #eff0fa;
    z-index: 3;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    font-size: 14px;
    color: #2d3843;
}

#width_error::before {
    content: '';
    width: 100px;
    height: 80px;
    background-image: url('../img/change_device.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
    opacity: 0.5;
}

nav.demo-navi-bg {
    width: 220px;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #2d3843;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    z-index: 2;
}

.demo-navi-title {
    width: 100%;
    height: 102px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    padding: 30px;
    box-sizing: border-box;
}

.demo-navi-title>.demo-logo {
    width: 110px;
    height: 42px;
    background-image: url('../img/demo-logo.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.demo-navi-title>button {
    position: absolute;
    color: #fff;
    font-size: 20px;
    width: 50px;
    height: 50px;
    border-top-right-radius: 7px;
    border-bottom-right-radius: 7px;
    background-color: #2d3843;
    outline: none;
    border: 0;
    display: none;
}

.demo-navi-title>button.navbar-toggler_open {
    left: 220px;
    cursor: pointer;
}

.demo-navi-title>button.navbar-toggler_close {
    width: fit-content;
    height: fit-content;
    background-color: transparent;
    left: 180px;
    cursor: pointer;
}

.demo-navi-wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
    height: calc(100% - 120px);
    overflow-x: hidden;
    overflow-y: auto;
}
.demo-navi-wrap::-webkit-scrollbar {
    display: none;
}

.demo-navi-wrap>li {
    padding: 0 30px;
    width: 100%;
    box-sizing: border-box;
}

.demo-navi-wrap>.demo-mainnavi {
    background-color: transparent;
}

.demo-navi-wrap>.demo-mainnavi>a {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    color: #849bb2;
    font-size: 14px;
}

.demo-navi-wrap>.demo-subnavi {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 15px;
    padding: 10px 40px
}

.demo-navi-wrap>.demo-subnavi>a {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.demo-navi-wrap>.demo-subnavi>a:hover {
    color: rgba(255,255,255,0.7);
}

.demo-navi-wrap>.demo-subnavi.current a.current, .demo-navi-wrap>.demo-subnavi .current:hover { 
    color: rgba(255,255,255,1); 
}

.download_mobile .download_btn{
	display: block;
}
.download_pc .download_btn{
	display: inline-block;
}

.download_btn a{
	display: block;
	width: 200px;
	padding: 15px 0;
	text-align: center;
	background: #dae3e8;
	color: #6c7b85;
	border-radius: 8px;
	margin-bottom: 10px;
}

.download_btn a:hover{ 
    background: #2bc48a; 
    color: #fff;
}

/* 기능소개 CSS start */
.chat-intro-wrap {
    width: calc(100% - 220px);
    height: 100%;
    margin-left: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.chat-intro-wrap>h1.chat-intro-title {
    width: 100%;
    padding-top: 80px;
    text-align: center;
    font-size: 35px;
    line-height: 1.3;
    color: #2d3843;
    font-weight: 300;
}

.chat-intro-wrap>h1.chat-intro-title>span {
    font-weight: bold;
}

.chat-intro-wrap>.chat-intro-subwrap {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 50px;
}

.chat-function-wrap {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
}

.chat-function-img {
    width: 200px;
}

.chat-intro-txtwrap {
    width: calc(100% - 200px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
}

.chat-function-name {
    width: 100%;
    font-size: 20px;
    color: #2bc48a;
    font-weight: bold;
}

.chat-function-suibtitle {
    width: 100%;
    font-size: 14px;
    font-weight: 200;
    color: #666;
    line-height: 1.5;
}

/* demo Sample CSS start */
.demo-sample-wrap {
    width: calc(100% - 220px);
    height: 100%;
    min-height: 100vh;
    margin-left: 220px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    z-index: 1;
}

.demo-headerbtn-wrap {
    width: 100%;
    height: 120px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.demo-headerbtn-subwrap {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.demo-headerbtn-subwrap>a.demo-header-btn {
    width: 200px;
    height: 50px;
    border-radius: 25px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    color: #2d3843;
    gap: 5px;
    background-color: #fff;
    box-shadow: 3px 3px 5px rgba(187 188 205 / 20%);
    font-size: 14px;
    transition: 0.3s;
}

.demo-headerbtn-subwrap>a.demo-header-btn#fullScreenMode {
    width: 50px;
}

.demo-headerbtn-subwrap>a.demo-header-btn svg path {
    fill: #2d3843;
}

.demo-headerbtn-subwrap>a.demo-header-btn:hover {
    color: #fff;
    background-color: #2d3843;
}

.demo-headerbtn-subwrap>a.demo-header-btn:hover svg path {
    fill: #fff;
}

.demo-frame-wrap {
    position: relative;
    width: 100%;
    height: calc(100% - 120px);
    min-height: calc(100vh - 170px);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-bottom: 50px;
}

.device-pc {
    position: absolute;
    width: 1200px;
    height: 675px;
    border: 4px solid #fff;
}

.device-mobile {
    position: absolute;
    width: 375px;
    height: 675px;
    border: 4px solid #fff;
}

.device-app {
    width: 331px;
    height: auto;
    border: 4px solid #fff;
    box-sizing: border-box;
    box-shadow: 3px 3px 5px rgba(187 188 205 / 20%);
}

iframe {
    display: block;
}

.stop_scroll {
    overflow:hidden; 
    touch-action:none;
}

.imgStyle {
    width: 100%;
    display: block;
}

.demo-headerbtn-subwrap>.app_btn_wrap {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.demo-headerbtn-subwrap>.app_btn_wrap>button {
    height: 50px;
    background-color: transparent;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    outline: none;
    border: 0;
    cursor: pointer;
}

.demo-headerbtn-subwrap>.app_btn_wrap>button.ios {
    width: 150px;
    background-image: url('../img/ico_ios_default.svg');
}

.demo-headerbtn-subwrap>.app_btn_wrap>button.android {
    width: 169px;
    background-image: url('../img/ico_android_default.svg');
}

.demo-headerbtn-subwrap>.app_btn_wrap>button.git {
    width: 150px;
    background-image: url('../img/ico_git_default.svg');
}

.demo-headerbtn-subwrap>.app_btn_wrap>button>span {
    display: none;
}

.slick-dotted.slick-slider {
    margin: 0;
}

.slick-arrow {
    width: 30px;
    height: 30px;
    opacity: 0.3;
    transition: 0.3s;
}

.slick-arrow:hover {
    opacity: 0.5;
}

.slick-arrow::before {
    content: '';
    height: 30px;
    width: 30px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
}

.slick-prev {
    left: -40px;
}

.slick-prev:before {
    background-image: url('../img/arr_left.svg');
}

.slick-next {
    right: -40px;
}

.slick-next:before {
    background-image: url('../img/arr_right.svg');
}

.slick-dots {
    bottom: -35px;
}

.slick-dots li button:before {
    transition: 0.3s;
}

/* popup CSS start */
.popup {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 10;
    display: none;
}

.popup.active {
    display: block;
}

.popup_dim {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.popup_dim>div {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup_dim>.popup_app_wrap {
    flex-direction: column;
    gap: 30px;
}

.popup_dim>.popup_app_wrap>.app_title::before {
    content: 'GitHub';
    color: #fff;
    font-size: 50px;
    display: block;
    width: 300px;
    height: 50px;
    text-align: center;
}

.popup_dim>.popup_app_wrap>.app_btn_wrap {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 90%;
    max-width: 280px;
    gap: 15px;
}

.popup_dim>.popup_app_wrap>.app_btn_wrap>button {
    width: 100%;
    height: 50px;
    border-radius: 25px;
    background-color: #fff;
    color: #2d3843;
    font-size: 14px;
    border: 0;
    outline: none;
    transition: 0.3s;
    cursor: pointer;
}

.popup_dim>.popup_app_wrap>.app_btn_wrap>button:hover {
    background-color: #2d3843;
    color: #fff;
}

.popup_dim>.popup_app_wrap>.app_btn_wrap>button.close {
    background-color: #fa1d1d;
    color: #fff;
}

.popup_dim>.popup_app_wrap>.app_btn_wrap>button.close:hover {
    background-color: #af1515;
}

.metaville-banner {
    width: 100%;
    height: 56px;
    display: block;
    box-sizing: border-box;
    border-radius: 5px;
    overflow: hidden;
}
.metaville-banner img {
    width: 100%;
    height: 100%;
}

/* 모바일 반응형 CSS start */
@media all and (max-width:1368px) {
    nav.demo-navi-bg {
        transform: translateX(-220px);
        transition: 0.7s ease-in-out;
    }

    nav.demo-navi-bg.active {
        transform: translateX(0);
        transition: 0.7s ease-in-out;
    }

    .demo-navi-title>button {
        display: block;
    }

    .demo-sample-wrap,
    .chat-intro-wrap {
        margin-left: 0;
        width: 100%;
    }

    .device-pc {
        border: 0;
    }

    .chat-intro-wrap>h1.chat-intro-title {
        width: 90%;
    }
}


@media all and (max-width:540px) {
    .chat-intro-wrap>h1.chat-intro-title {
        width: 90%;
        font-size: 20px;
        padding-top: 50px;
    }

    .chat-intro-wrap>h1.chat-intro-title>br {
        display: none;
    }

    .chat-intro-wrap>.chat-intro-subwrap {
        gap: 50px;
    }

    .chat-function-wrap {
        flex-direction: column;
        gap: 10px;
    }

    .chat-intro-txtwrap {
        width: 100%;
        gap: 10px;
    }

    .chat-function-name {
        text-align: center;
    }

}
@media all and (max-width:375px) {
    .demo-headerbtn-subwrap>.app_btn_wrap {
        gap: 10px;
    }
    .demo-headerbtn-subwrap>.app_btn_wrap>button.ios,
    .demo-headerbtn-subwrap>.app_btn_wrap>button.git {
        width: 100px;
    }
    .demo-headerbtn-subwrap>.app_btn_wrap>button.android {
        width: 111px;
    }
    .slick-arrow {
        display: none;
    }
}
@media all and (max-width:320px) {
    #width_error {
        display: flex;
    }
    .demo-sample-wrap {display: none;}
}
