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

/* 리셋 */

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

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

/* 목록 초기화 */
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;
}
#main {
    padding: 40px 0;
    border-bottom: 1px dashed #dcdcdc;
}
#footer {
    padding: 40px 0;
    text-align: center;
}
#footer a:hover {
    text-decoration: underline;
}
/* container */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}
/* 헤더영역 */
#header {
    text-align: center;
}
#header h1 a{
    font-size: 60px;
    font-weight: 700;
    color: #4d6e0c;
    font-family: 'PyeongChangPeace';
}
.header_nav ul li {
    display: inline;
}
.header_nav ul li a {
    border-radius: 5px;
    color: #4d6e0c;
    border: 1px solid #4d6e0c;
    padding: 8px 25px;
    display: inline-block;
    margin-bottom: 7px;
    font-family: 'GmarketSans';
}
.header_nav ul li.active a {
    background-color: #4d6e0c;
    color: #fff;
    font-family: 'GmarketSans';
}
.header_nav ul li a:hover {
    background-color: #4d6e0c;
    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;
}
.main_sample h3 {
    font-size: 18px;
    margin-bottom: 5px;
}
.main_sample p {
    margin-bottom: 10px;
    color: #666;
}
.main_sample .result {
    margin-bottom: 80px;
    margin-top: 10px;
    background: #0242f111;
    padding: 10px;
    border-radius: 5px;
}
/* intro_menu */
.intro_menu {
    width: 60vw;
    max-width: 600px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.2);
    padding: 3vw;
    border-radius: 1vw;
}
.intro_menu ul li {
    margin: 5px;
    position: relative;
}
.intro_menu ul li a {
    color: rgb(154, 0, 201);
    font-weight: 600;
    display: inline-block;
    padding: 3px 10px 0;
    background: rgba(255, 255, 255, 0.842);
    border-radius: 50px;
    position: absolute;
    right: 0;
}
.intro_menu ul li a:hover {
    background: rgb(154, 0, 201);
    color: #fff;
}
@media (max-width: 600px){
    .intro_menu {
        width: 90%;
        padding: 14px;
    }
    .intro_menu ul li {
        font-size: 16px;
    }
    .intro_menu ul li a {
        font-size: 16px;
    }
}

/* sample */
.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-color: #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-color: #f5f5f5;
    padding: 10px;
    margin-bottom: 10px;
    color: #666;
}
.sample .view {
    border: 1px solid #e6e6e6;
    border-top: 0;
    padding: 30px 20px 20px;
}
.sample .blue {
    background: #faeaa2;
    padding: 10px 20px 8px;
    border-radius: 5px 5px 0 0;
    margin-bottom: 0;
    border: 1px solid #e6e6e6;
    border-bottom: 0;
}
.sample .sbox {
    width: 400px;
    height: 200px;
    background-color: #faeaa2;
    border: 1px solid rgb(228, 173, 23);
    padding: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    text-align: center;
}
.sample .sbox::after {
    content: '';
    width: 480px;
    height: 280px;
    border: 1px dashed rgb(228, 173, 23);
    position: absolute;
    left: -21px;
    top: -21px;
}
.sample .sbox::before {
    content: '';
    width: 398px;
    height: 198px;
    border: 1px dashed rgb(228, 173, 23);
    position: absolute;
    left: 20px;
    top: 20px;
}
.sample .sResult {
    text-align: center;
    padding-top: 10px;
}
.sample .button {
    border: 1px solid #e6e6e6;
    border-top: 0;
    padding: 20px;
}
.sample .button a {
    border: 1px solid rgb(228, 173, 23);
    color: rgb(228, 173, 23);
    border-radius: 40px;
    padding: 5px 12px 3px;
    display: inline-block;
    margin: 5px;
}
.sample .button a:hover {
    background-color: rgb(228, 173, 23);
    color: #fff;
}
@media (max-width: 800px) {
    .sample .table {
        overflow-x: scroll;
    }
    .sample .table table {
        width: 780px;
    }
    .sample .table table tr td[class*="_P"] {
        color: #000;
    }
}
/* scrollbar */
::-webkit-scrollbar-track {
    background-color: #282936;
}

::-webkit-scrollbar
{
    width: 10px;
    height: 10px;
    background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb
{
    background-color: #414358;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover
{
    background-color: #0243f1;
}

/* 티스토리용 문서 */
.document i {
    font-style: normal;
    position: relative;
}
.document i::before {
    content: '';
    background-color: #0242f11e;
    width: 100%;
    height: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    border-radius: 20px;
}
.document hr {
    border: 0;
    border-top: 1px dashed #cdcdcd;
    margin-top: 45px;
}
.document .t_tit {
    font-size: 30px;
    line-height: 1.6;
    margin-bottom: 5px;
    font-weight: 400;
}
.document .t_tit2 {
    font-size: 22px;
    line-height: 1.6;
    margin-top: 50px;
    margin-bottom: 5px;
    font-weight: 400;
}
.document .t_tit3 {
    font-size: 16px;
    line-height: 1.6;
    margin-top: 5px;
    margin-bottom: 5px;
    font-weight: 400;
}
.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: 15px 20px !important;
    border-left: 4px solid #0243f1;
    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;
}
.document .t_iframe {
    position: relative;
    padding-top: 56%; /* 16:9비율 */
    width: 100%;
    height: 0;
}
.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 {
    display: block;
    width: 200px;
    background-color: #f5f5f5;
    margin: 10px auto;
    border-radius: 5px;
    text-align: center;
    padding: 10px;
    transition: all 0.3s;
}
.document .t_link a:hover {
    background-color: #d6d6d6;
}


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