/* 웹폰트 */
@import url('https://webfontworld.github.io/tmon/Tmon.css');
@import url('https://webfontworld.github.io/NexonLv1Gothic/NexonLv1Gothic.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;
}

/* 기울기 초기화 */
em { 
    font-style: normal;
}

/* 테이블 초기화 */
table { 
    width: 100%;
    border-spacing: 0;
    border-collapse: collapse;
}

/* 레이아웃 */
body {
    background-color: #f5f5f5;
}
#header {
    border-bottom: 1px solid #000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#main {
    padding: 20px 0;
    max-width: 1300px;
    margin: 0 auto;   /*가운데 정렬*/
}
#footer {
    padding: 40px;
    text-align: center;
}
#footer a:hover {
    text-decoration: underline;
}

/* 헤더 영역 */
#header {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 10000;
    backdrop-filter: blur(10px);
    box-sizing: border-box;
    padding: 14px 20px 5px 20px;
}
#header h1 a {
    font-size: 40px;
    font-weight: 500;
}
#header span {
    color: #666;
    padding-top: 20px;
}

/* 메인 영역 */
.main_header h2 {
    font-size: 80px;
    text-align: center;
    padding: 10% 10% 5% 10%;
    font-family: 'Tmon';
}
.main_header h2 em {
    font-size: 80px;
    color: #00dd72;
    font-family: 'Tmon';
}

.main_menu li {
    display: inline;
}
.main_menu li a {
    background-color: #00db72;
    padding: 5px 15px;
    display: inline-block;
    color: #fff;
    margin-bottom: 5px;

}
.main_menu li.active a {
    background-color: #000;
    color: #fff;
}

.main_rafer {
    border: 1px solid #000;
    padding: 30px;
    background-color: #fff;
    margin-top: 20px;
}
.main_rafer .table {
    text-align: center;
}
.main_rafer .table table {
    width: 100%;
    border: 1px solid #cdcdcd;
}
.main_rafer .table table tr th {
    background-color: #f5f5f5;
    font-weight: normal;
}
.main_rafer .table table tr th,
.main_rafer .table table tr td {
    border: 1px solid #cdcdcd;
    padding: 10px;
}
.main_rafer .table table tr td:nth-child(3) {
    text-align: left;
}
.main_rafer .table table tr:hover {
    background-color: #00db712c;
}
.main_rafer .table table tr a:hover {
    text-decoration: underline;
}
.main_rafer .table table tr td span {
    font-size: 16px;
    line-height: 1.6;
}
.main_rafer .table {
    overflow-x: auto;
}
.main_rafer .table table {
    min-width: 900px;
}
.main_rafer .table table tr th,
.main_rafer .table table tr td {
    font-size: 14px;
}

/* 티스토리용 문서 */
.document img {
    width: 100%;
    margin: 20px 0 50px 0;
}
.document i {
    font-style: normal;
    position: relative;
}
.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: 45px;
    margin-bottom: 45px;
}
.document .t_tit {
    font-size: 30px;
    line-height: 1.6;
    margin-bottom: 5px;
    font-weight: 500;
}
.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;
    color: #666;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}
.document .t_desc2 {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px !important;
    padding: 15px 20px !important;
    border-left: 4px solid #00db72;
    background-color: #f9f9f9;
}
.document .t_box {
    padding: 20px !important;
    background-color: #f9f9f9;
    margin-top: 10px;
    margin-bottom: 20px;
    color: #999;
}
.document .t_table {
    border: 1px solid #dcdcdc;
    width: 100%;
    border-spacing: 0;
    border-collapse: collapse;
    margin-bottom: 10px;
    /* 보더 초기화 */
}
.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%;
    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: #f8b705;
    color: #fff;
    margin: 40px auto;
    border-radius: 5px;
    text-align: center;
    padding: 10px;
}
.document .t_link a:hover {
	color: #fff;
    background-color: #ffa800;
    border-radius: 30px;
    transition : 0.3s;
    text-decoration: none;
}

/* 미디어 쿼리 */
@media (max-width: 800px){
    body {
        padding: 20px;
        
    }
}
@media (max-width: 460px){
    .main_header h2 {
        font-size: 30px;
        padding: 20px;
    }
    .main_header h2 em {
        font-size: 30px;
    }
}