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

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

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

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

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

/* p 폰트 굵기 초기화 */
p {
    font-weight: 300;
}

/* 모든 페이지 레이아웃 */
body {
    padding: 40px;
}
#header {
    padding-bottom: 40px;
    border-bottom: 1px dashed #dcdcdc;
}
#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 {
    display: block;
    margin-bottom: 20px;
    font-size: 60px;
    font-weight: 700;
    /* color: rgb(0, 85, 255); */
    color: #ff9009;
}
.header_nav ul li {
    display: inline;
}
.header_nav ul li a {   
     display: inline-block;
     /* color: rgb(0, 85, 255);
     border: 0.5px dashed rgb(0, 85, 255); */
     color: #ff9009;
     border: 0.5px dashed #ff9009;
     padding: 8px 15px;
     margin-bottom: 7px;
     border-radius: 10px;
}

.header_nav ul li.active a {
    /* background-color: rgb(0, 85, 255); */
    background-color: #ff9009;
    color: #fff
}

.header_nav ul li a:hover {   
    transition: all 0.3s;
    background-color: #ff9009;
    /* background-color: rgb(0, 85, 255); */
    color: #fff;
}
.header_nav .study {
    margin-top: 10px;
}
.header_nav .study li a {
    padding: 6px 40px;
    border-radius: 50px;
    background-color: #ff9009;
    /* background-color: rgb(0, 85, 255); */
    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: #f6ece0;
    padding: 10px;
    border-radius: 5px;
}

/* intro_menu */
.intro_menu {
    width: 50vw;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    backdrop-filter: blur(3px);
    background: rgba(229, 252, 255, 0.154);
    padding: 3vw;
    border-radius: 1vw;
    font-size: 1vw;
    text-align: center;
}
.intro_menu li{
    color : #00159c;
    padding: 5px;
    font-size: 20px;
    margin-right: 5px;
}
.intro_menu li a {
    border-radius: 10px;
    padding: 5px;
    background: #9f00f4;
    color : #fff;
}
.intro_menu li a:hover {
    background: #fff;
    color : #9f00f4;
}
@media (max-width : 600px){
    .intro_menu {
        width: 90%;
        padding: 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-color: #f5f5f5;
    padding: 3px;
}
.sample .table table tr td {
    border: 1px solid #e6e6e6;
    padding: 6px;
}
.sample .table table tr td[class*="_P"] {  /*[class*"_P"]모든 클래스 중에 _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 .orange {
    background-color: #ffe9bc;
    padding: 10px 20px;
    border-radius: 5px 5px 0 0;
    margin-bottom: 0;
    color: #7e4909;
}
.sample  .sbox {
    width: 400px;
    height: 200px;
    background-color: #fbad10;
    border: 1px solid #f68700;
    padding: 20px;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    margin: 20px auto;
    color: #fff;
}
.sbox::after {
    content: '';
    width: 480px;
    height: 280px;
    border: 1px dashed #f68700;
    position: absolute;
    left: -21px;
    top: -21px;
}
.sample .sbox::before {
    content: '';
    width: 398px;
    height: 198px;
    border: 1px dashed #ffd6a5;
    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;
    text-align: center; 
}
.sample .button a {
    border: 1px solid #f68700;
    color: #f68700;
    border-radius: 40px;
    padding: 10px 20px;
    margin: 5px;
    display: inline-block;
} 
.sample .button a:hover {
    background-color: #f68700;
    color: #fff;
}

/* 모바일 작업 */
@media (max-width: 800px){
    /* 화면이 780px보다 작으면 스크롤이 생가게 한다. */
    .sample .table table {
        overflow-x: scroll;
    }
    .sample .table table {
        width: 780px;
    }
    .sample .table table tr td[class*="_P"] {
        color: #000;
    }
}



/* 티스토리용 문서 */
.document {
    /* word-break: keep-all; */
}
/* 형광펜 효과 */
.document i {
    font-style: normal;
    position: relative;
}
.document i::before {
    content: ''; 
    background-color: #f19d0236;
    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 !important;
    font-weight: 400;
}
.document .t_tit2 {
    font-size: 22px;
    line-height: 1.6;
    margin-top: 50px !important;
    margin-bottom: 10px;
    font-weight: 400;
}
.document .t_tit3 {
    font-size: 18px;
    line-height: 1.6;
    margin-top: 30px;
    margin-bottom: 10px;
    font-weight: 400;
}
.document strong {
    font-weight: 400;
}
.document .t_desc {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}
.document .t_desc2 {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px !important;
    padding: 15px 20px !important;
    border-left: 4px solid #ffa600;
    background-color: #f9f9f9;
}
.document .t_box {
    padding: 20px !important;
    background-color: #f9f9f9;
    margin-top: 10px;
    margin-bottom: 20px;
    color: #999;
}
.document .t_table {
    width: 100%;
    border: 1px solid #dcdcdc;
    /* 보더 초기화 */
    border-spacing: 0;
    border-collapse: collapse;
    margin-bottom: 20px;
}
.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;
}

/* 결과보기 버튼 */
.document summary {
    display: inline-block;
    cursor: pointer;
    padding: 5px 15px;
    border-radius: 20px;
    /* background: linear-gradient(70deg,#ffaf7a 30%, #ff947e 100%); */
    background: #ffa800;
    color: #fff;
    font-weight: 400;
    margin-top: 5px;
    margin-bottom: 5px;
    box-shadow: 1px 2px  #ce61e9;
    transition: all 0.2s;
}
.document summary:hover {
    color: #fff;
    text-shadow: 0 0 10px #fff, 0 0 30px #ffcead;
}
.document summary:active {
    transform: translateX(1px);
    transform: translateY(2px);
    box-shadow: none;
}
/* 샘플 맥브라우저 바 */
.document .t_sample {
    box-shadow: 1px 2px 10px rgb(0 0 0 / 7%);
    margin-bottom: 40px;
}
.document .t_sample > h3 {
    background: #f6f6f6;
    height: 30px;
    padding-top: 13px;
    margin-bottom: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.document .t_sample > h3 span {
    display: block;
    width: 15px;
    height: 15px;
    background-color: #E96E4C;
    border-radius: 50%;
    margin-left: 15px;
    align-items: center;
    position: relative;
}
.document .t_sample > h3 span::before {
    content: '';
    width: 15px;
    height: 15px;
    background-color: #E6A935;
    border-radius: 50%;
    position: absolute;
    left: 23px;
    top: 0;
}
.document .t_sample > h3 span::after {
    content: '';
    width: 15px;
    height: 15px;
    background-color: #85C33D;
    border-radius: 50%;
    position: absolute;
    left: 45px;
    top: 0;
}
.document .t_sample .svgBox {
    background: #fff;
    padding: 30px;
    display: flex;
    flex-wrap: wrap;
}
.document .t_sample .svgBox>svg{
    width: 160px;
    height: 160px;
    background: #FFEBEE;
    margin: 6px;
}

/* TOP버튼 */
#parallax__top {
    position: fixed;
    left: 50%;
    bottom: -220px;
    z-index: 10000;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.4);
    text-align: center;
    line-height: 40px;
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}
#parallax__top.show {
    bottom: 20px;
}
#parallax__top:hover {
    background-color: #fff;
    color: #000;
}

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