/* dont show scroll-bar */
/* ::-webkit-scrollbar {
    width: 0;
    height: 0;
} */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;700&display=swap');

:root{
    --color-main: #fff;
    --color-sub: #FA7921;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans KR', sans-serif;
}

body {
    height: 100%;
    overflow: auto;
    margin: 0 auto;
    background-color: #090909;
    color: #fff;
    
}

header {
    position:absolute;
    top:0;
    left:0;
    right:0;
    margin: 0 auto;
    max-width: 1480px;
    padding: 20px 30px;
    z-index: 99;
    font-size: 1.3rem;
}


main{
    max-width: 1480px;
    margin: 0 auto;
    padding: 30px;
}

footer {
    background-color: #000;
    display: flex;
    margin:0 auto;
    /* border-top: 1px solid rgba(255,255,255,0.2); */
}



ul li {
    list-style: none;
}

a {
    text-decoration: none;
    /* color: #000; */
}

.wrap{
    margin: 0 auto;
    /* width: fit-content; */
    /* box-shadow: 5px 5px 5px 5px #000; */
}

main section h2 {
    color: var(--color-sub);
    border-bottom: 1px solid var(--color-sub);
    padding-bottom: 10px;
    margin-bottom: 40px;
}

main section h3 {
    color: var(--color-sub);
    margin-bottom: 10px;
} 

main section h4 {
    margin-bottom: 10px;
}

main section p {
    text-align: justify;
    text-align-last: left;
    hyphens: auto;
}


.sub-banner {
    position: relative;
    background-image: url('../../images/sub-banner.png');
    background-size: cover;
    background-position: center;
    height: 300px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* 오버레이가 부모 요소 밖으로 나가는 것을 방지 */
    color: #fff; /* 텍스트를 잘 보이게 하려면 흰색으로 설정 */
}

.sub-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2); /* 검은색 반투명 오버레이 */
    pointer-events: none; /* 오버레이가 내부 콘텐츠 클릭을 방해하지 않도록 */
    z-index: 1; /* 오버레이가 콘텐츠 아래에 있도록 */
}

.sub-banner * {
    position: relative;
    z-index: 2; /* 내부 콘텐츠가 오버레이 위에 나타나도록 */
}


.sub-banner h1{
    margin-top: 30px;
}

.page-nav{
    display:flex;
    justify-content:right;
    align-items:center;
    font-size:16px;
    text-align:right;
}


/* 기본적으로 두 사이드바 모두 숨김 */
.side-bar_box {
    display: none;
}

/* 1480px 이상에서는 large-screen 보이기 */
@media (min-width: 1480px) {
    .side-bar_box.large-screen {
        display: block;
    }
}

/* 1480px 이하에서는 small-screen 보이기 */
@media (max-width: 1479px) {
    .side-bar_box.small-screen {
        display: block;
        
    }
    .page-nav {
        display: none;
    }
}

@media (max-width: 787px) {
    .page-nav {
        display: none;
    }
    section span{
        font-size:.8em;
    }
    section p{
        font-size:.8em;
    }
    section div{
        font-size:.8em;
    }
    section td{
        font-size:.8em;
    }
    section li{
        font-size:.8rem;
    }
}

