/* 웹폰트 */
@import url('https://webfontworld.github.io/NexonLv1Gothic/NexonLv1Gothic.css');
@import url('https://webfontworld.github.io/gmarket/GmarketSans.css');

/* 여백 초기화 */
* {
    margin: 0;
    padding: 0;
    font-family: 'NexonLv1Gothic';
    font-size: 16px;
    line-height: 1.6;
}

/* 링크 초기화 */
a {
    text-decoration: none;
    color: #0243f1;
}

/* 목록 초기화 */
li {
    list-style: none;
}

/* 제목 초기화 */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: normal;
}

/* 모든페이지 레이아웃 */
body {
    padding: 40px;
}

#header {
    border-bottom: 1px dashed #dcdcdc;
    padding-bottom: 40px;
    text-align: center;
}

#main {
    padding: 0px;
    border-bottom: 1px dashed #dcdcdc;

}

#footer {
    padding: 40px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#footer a:hover {
    text-decoration: underline;
}

/* container */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 40px;
}

/* 헤더 영역 */
#header h1 a {
    font-size: 80px;
    font-weight: 700;
    color: #0243f1;
}

.header_nav ul li {
    display: inline;
}

.header_nav ul li.active a {
    background-color: #f8f8;
    color: #fff;
}

.header_nav ul li a {
    border: 1px dashed #0243f1;
    padding: 10px 20px;
    display: inline-block;
    margin-bottom: 7px;
    font-family: 'GmarketSans';
    font-weight: 400;
    transition: all 0.5s;
    text-align: center;
}

.header_nav ul li a:hover {
    background-color: #f8f8;
    color: #fff;

}

.header_nav .study {
    margin-top: 10px;
}

.header_nav .study li a {
    border-radius: 50px;
    padding: 6px 30px;
    background-color: #000;
    color: #fff;
}

.header_nav .effect {
    margin-top: 10px;
}

.header_nav .effect li a {
    border-radius: 40px;
}

/* 메인 샘플 */
.main_sample {
    margin-top: 40px;
    border-top: 1px dashed #dcdcdc;
    padding-top: 40px;
    position: relative;


}

.main_sample h3 {
    font-size: 16px;
    margin-bottom: 5px;
}

.main_sample p {
    margin-bottom: 10px;
    color: #666;
}

.main_sample .result {
    margin-bottom: 80px;
    margin-top: 10px;
    background: rgba(255, 136, 255, 0.263);
    padding: 10px;
    border-radius: 5px;
    display: inline-block;
}

/* intro_menu*/
.intro_menu {
    position: absolute;
    width: 30vw;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.4);
    padding: 2.5vw;
    backdrop-filter: blur(10px);
    border-radius: 1vw;
    text-align: center;
    font-size: 1vw;
    color: #a52ae3;

}

.intro_menu li {
    margin-bottom: 10px;
}

.intro_menu li a {
    font-size: 16px;
    color: #ca44df;
}

.intro_menu li a:hover {
    color: #0243f1;
    transition: all 0.5s ease;
}

@media (max-width: 600px) {
    .intro_menu {
        width: 90px;
        font-size: 14px;
    }

    .intro_menu li {
        font-size: 16px;
    }

    .intro_menu li a {
        font-size: 16px;
    }
}

/* sample */
.sample {
    margin-bottom: 80px;
}

.sample .table {
    margin-bottom: 10px;
}

.sample .table table {
    width: 100%;
    border: 1px solid #e6e6e6;
    text-align: center;
}

.sample .table table tr th {
    font-weight: normal;
    background: #f5f5f5;
    padding: 3px;

}

.sample .table table tr td {
    border: 1px solid #e6e6e6;
    padding: 6px;
}

.sample .table table tr td[class*="_P"] {
    /* 속성 선택자 */
    color: #fff;

}

.sample .table table tr td[class*="_P"]:hover {
    /* 속성 선택자 */
    color: #000;
    cursor: help;

}

.sample .table.left tr td {
    text-align: left;
}

.sample .table.left .ce {
    text-align: center;
}

.sample .box {
    background: #f5f5f5;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    color: #666;
}

.sample .view {
    border: 1px solid #e6e6e6;
    padding: 30px 20px 20px 20px;
}

.sample .blue {
    background-color: #f8f8;
    padding: 10px 20px;
    border-radius: 5px 5px 0 0;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.974);
    border-bottom: 0;
    border-image-repeat: 1px solid #ededed;
}

.sample .sbox {
    width: 400px;
    height: 200px;
    background-color: #a2cbfa;
    border: 1px solid #a2cbfa;
    padding: 30px 20px 20px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    text-align: center;
    color: #fff;
    position: relative;
}

.sample .sbox::after {
    content: '';
    width: 480px;
    height: 280px;
    border: 1px dashed #4390e1;
    position: absolute;
    left: -21px;
    top: -21px;
}

.sample .sbox::before {
    content: '';
    width: 398px;
    height: 198px;
    border: 1px dashed #4390e1;
    position: absolute;
    left: 20px;
    top: 20px;
}

.sample .sResult {
    text-align: center;
    padding-top: 10px;
}

.sample .button {
    border: 1px #e6e6e6;
    padding: 20px;
    border-top: 0;
}

.sample .button a:hover {
    background-color: #f8f8;
    color: #fff;
}

.sample .button a {
    border: 1px solid #f8f8;
    color: #f8f8;
    border-radius: 40px;
    margin: 5px;
    display: inline-block;
    padding: 10px 20px;
}

/* Top */
.scriptTop {
    display: inline-block;
    width: 50px;
    height: 50px;
    background-color: #000;
    color: #fff;
    line-height: 50px;
    text-align: center;
    border-radius: 50%;
    position: absolute;
    cursor: pointer;
    right: 30%;
    bottom: -130px;
    opacity: 0;
    transition: all 1s ease;
}

.scriptTop.show {
    opacity: 1;
    bottom: 30px;

}

/* 화면이 작아지면 표에 스크롤이 생기게 해준다. */
@media(max-width: 800px) {
    .sample .table {
        overflow-x: scroll;
    }

    .sample .table table {
        width: 780px;
    }

    .sample .table table tr td[class*="_P"] {
        color: #000;
    }
}


/* 티스토리용 문서 */

.document i {
    font-style: normal;
    position: relative;
    /* background-color: #0242f136; */
}

.document i::before {
    content: '';
    background-color: #0242f136;
    width: 100%;
    height: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    border-radius: 20px;
}

.document hr {
    border: 0;
    border-top: 1px dashed #dcdcdc;
    margin-top: 30px;
}

.document .t_tit {
    font-size: 30px;
    line-height: 1.6;
    margin-bottom: 5px;
    font-weight: 400;
}

.document .t_tit2 {
    font-size: 20px;
    line-height: 1.6;
    margin-top: 50px;
    margin-bottom: 5px;
    font-weight: 400;

}

.document .t_tit3 {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin: 10px !important;
    padding: 15px 20px !important;
    border-left: 4px solid #af55d8d5;
    background-color: #F9F9F9;
}

.document .t_desc {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 10px !important;
}

.document .t_desc2 {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 10px !important;
    padding: 20px !important;
    padding-left: 20px;
    border-left: 4px solid #0243f1;
    background-color: #f9f9f9;
}

.document .t_desc3 {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 10px !important;
    padding: 20px !important;
    padding-left: 20px;
    border-left: 4px solid #ff00fb;
    background-color: #f9f9f9;
}

.document .t_box {
    padding: 20px !important;
    background-color: #f9f9f9;
    margin-bottom: 10px;
    color: #666;
    border-radius: 5px;
}

.document .t_table {
    border: 1px solid #dcdcdc;
    width: 100%;
    border-spacing: 0;
    border-collapse: collapse;
}

.document .t_table tr th {
    background-color: #f9f9f9;
}

.document .t_table tr th,
.document .t_table tr td {
    border: 1px solid #dcdcdc;
    font-weight: normal;
    padding: 8px 10px;
    color: #666;
}

.document .t_table .ce {
    text-align: center;
}

/* iframe */
.document .t_iframe {
    position: relative;
    padding-top: 56%;
    width: 100%;
    height: 0;
    margin-bottom: 10px;
}

.document .t_iframe iframe {
    border: 1px solid rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.document .t_link a {
    width: 200px;
    background-color: #f5f5f5;
    margin: 40px auto;
    border-radius: 5px;
    text-align: center;
    padding: 10px;
    transition: all 0.3s;
    display: block;
}

.document .t_link a:hover {
    background-color: #d6d6d6;
}

@media (max-width: 800px) {
    body {
        padding: 20px;
    }
}