/* 웹폰트 설정 */
@import url("https://webfontworld.github.io/NexonLv1Gothic/NexonLv1Gothic.css");

@font-face {
    font-family: "nanumSquareNeo";
    font-weight: 300;
    font-style: normal;
    src: url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Light.eot");
    src: url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Light.eot?#iefix") format("embedded-opentype"),
        url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Light.woff2") format("woff2"),
        url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Light.woff") format("woff"),
        url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Light.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "nanumSquareNeo";
    font-weight: 400;
    font-style: normal;
    src: url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Regular.eot");
    src: url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Regular.eot?#iefix") format("embedded-opentype"),
        url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Regular.woff2") format("woff2"),
        url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Regular.woff") format("woff"),
        url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Regular.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "nanumSquareNeo";
    font-weight: 700;
    font-style: normal;
    src: url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Bold.eot");
    src: url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Bold.eot?#iefix") format("embedded-opentype"),
        url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Bold.woff2") format("woff2"),
        url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Bold.woff") format("woff"),
        url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Bold.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "nanumSquareNeo";
    font-weight: 800;
    font-style: normal;
    src: url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-ExtraBold.eot");
    src: url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-ExtraBold.eot?#iefix") format("embedded-opentype"),
        url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-ExtraBold.woff2") format("woff2"),
        url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-ExtraBold.woff") format("woff"),
        url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-ExtraBold.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "nanumSquareNeo";
    font-weight: 900;
    font-style: normal;
    src: url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Black.eot");
    src: url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Black.eot?#iefix") format("embedded-opentype"),
        url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Black.woff2") format("woff2"),
        url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Black.woff") format("woff"),
        url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Black.ttf") format("truetype");
    font-display: swap;
}

.nanumSquareNeo {
    font-family: "nanumSquareNeo";
}

.nanumSquareNeo300 {
    font-family: "nanumSquareNeo";
    font-weight: 300;
}

.nanumSquareNeo400 {
    font-family: "nanumSquareNeo";
    font-weight: 400;
}

.nanumSquareNeo700 {
    font-family: "nanumSquareNeo";
    font-weight: 700;
}

.nanumSquareNeo800 {
    font-family: "nanumSquareNeo";
    font-weight: 800;
}

.nanumSquareNeo900 {
    font-family: "nanumSquareNeo";
    font-weight: 900;
}

@font-face {
    font-family: 'GmarketSans';
    font-weight: 300;
    font-style: normal;
    src: url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansLight.eot');
    src: url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansLight.eot?#iefix') format('embedded-opentype'),
        url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansLight.woff2') format('woff2'),
        url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansLight.woff') format('woff'),
        url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansLight.ttf') format("truetype");
    font-display: swap;
}

@font-face {
    font-family: 'GmarketSans';
    font-weight: 500;
    font-style: normal;
    src: url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansMedium.eot');
    src: url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansMedium.eot?#iefix') format('embedded-opentype'),
        url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansMedium.woff2') format('woff2'),
        url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansMedium.woff') format('woff'),
        url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansMedium.ttf') format("truetype");
    font-display: swap;
}

@font-face {
    font-family: 'GmarketSans';
    font-weight: 700;
    font-style: normal;
    src: url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansBold.eot');
    src: url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansBold.eot?#iefix') format('embedded-opentype'),
        url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansBold.woff2') format('woff2'),
        url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansBold.woff') format('woff'),
        url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansBold.ttf') format("truetype");
    font-display: swap;
}

/* 초기 셋팅값 */
:root {
    --fontN: "nanumSquareNeo";
    --fontG: "GmarketSans";
}

/* 여백 초기화 */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

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

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

/* 가운데 영역*/
.container {
    max-width: 1300px;
    width: 96%;
    margin: 0 auto;
}

@media (max-width: 800px) {
    .container {
        width: 90%;
    }
}

/* 헤더 영역 */
#header {
    text-align: center;
    padding: 40px;
    border-bottom: 1px dashed #dcdcdc;
}

#header h1 {
    margin-bottom: 20px;
}

#header h1 a {
    font-family: var(--fontG);
    font-size: 4vw;
    color: #8b35b3;
}

@media (max-width: 800px) {
    #header h1 a {
        font-size: 30px;
    }
}

#header nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

#header nav ul li {
    margin: 2px;
}

#header nav ul li a {
    font-family: var(--fontN);
    border: 1px solid #8b35b3;
    padding: 10px 20px;
    display: inline-block;
    color: #8b35b3;
}

#header nav ul li.active a {
    background-color: #8b35b3;
    color: #fff;
}

/* 메인 - 메뉴 */
.main__menu {
    padding: 40px 0;
    border-bottom: 1px dashed #dcdcdc;
}

.main__menu h2 {
    font-size: 20px;
    font-family: 'GmarketSans';
    font-weight: 500;
    margin-top: 30px;
    margin-bottom: 10px;

}

.main__menu ul li a {
    color: #8b35b3;
    line-height: 2;
    font-family: var(--fontN);
}

.main__menu ul li a em {
    font-style: normal;
    position: relative;
}

.main__menu ul li a em::before {
    content: '';
    width: 100%;
    height: 8px;
    border-radius: 10px;
    background-color: #ebc0ff;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: -1;
    transition: all 0.3s;
}

.main__menu ul li a:hover {
    text-decoration: underline;
    text-underline-position: under;
}

/* 메인 - 샘플 */
.main__sample {
    padding: 40px 0;
}

.main__sample .sample {
    margin-bottom: 100px;
}

.main__sample .sample h3 {
    font-size: 24px;
    font-family: var(--fontG);
    margin-bottom: 10px;
}

.main__sample .sample p {
    font-family: var(--fontN);
    margin-bottom: 10px;
    line-height: 1.5;
    color: #666;
}

.main__sample .sample .result {
    font-family: var(--fontN);
    line-height: 1.5;
    color: #666;
}

.main__sample .sample .notice {
    background-color: #F6F6F6;
    padding: 15px;
    border-left: 5px solid #ebc0ff;
    margin-bottom: 10px;
    margin-top: 5px;
}

.main__sample .sample ul {
    margin-bottom: 15px;
}

.main__sample .sample li {
    font-family: var(--fontN);
    line-height: 1.9;
    color: #666;
    position: relative;
    padding-left: 12px;
}

.main__sample .sample li::before {
    content: '';
    width: 4px;
    height: 4px;
    background-color: #ebc0ff;
    position: absolute;
    left: 0;
    top: 10px;
}

/* 푸터 */
#footer {
    height: 400px;
}