@charset "utf-8";
/* CSS Document */

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

ul {
    padding: 0;
    list-style: none;
}

body {
    background: #fff;
    color: #333;
    font: 15px/1.6 '굴림', sans-serif;
}

a {
    color: #333;
    text-decoration: none;
}

/* 공통 */
html,
body {
    height: 100%;
}

.wrap {
    display: flex;
    /* 
        함수의 형식
            함수명(피연산자1 연산자 피연산자2)
            연산자: +, -, *, /
            calc(피연산자 - 피연산자) 
    */
    height: calc(100% - 120px);
}

/* 헤더 */
header {
    width: 200px;
    height: calc(100vh - 120px);
    padding-top: 30px;
    background: pink;
    text-align: center;
}

/* 내비게이션 */
.gnb {
    width: 160px;
    margin: 30px auto;
}

/* 1depth: 메인메뉴 */
.main>li {
    position: relative;
}

.main>li>a {
    display: block;
    height: 60px;
    line-height: 60px;
    border-bottom: 1px solid #ccc;
    font-size: 18px;
    font-weight: bold;
    background: #ddd;
}

.main>li>a:hover {
    background: #1A4975;
    color: #fff;
}

/* 2depth: 서브메뉴 */
.sub {
    z-index: 1;
    position: absolute;
    top: 0;
    left: 100px;
    visibility: hidden;
    opacity: 0;
    width: 200px;
    height: 150px;
    padding-top: 10px;
    background: rgba(0, 0, 0, 0.5);
}

.sub a {
    line-height: 2;
    padding: 2px 16px;
    font-size: 14px;
    color: #fff;
}

.sub a:hover {
    background: #074F51
}

/* 팝업창 */
.modal {
    display: none;
    z-index: 9999;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.popup {
    width: 500px;
    margin: 10% auto;
    background: #ec8d8d;
    padding: 20px;
}

.popup p {
    margin: 16px 0 32px;
}

.popup div {
    text-align: right;
}

.popup a {
    padding: 5px 10px;
    background: #b1b1b1;
}


/* 콘텐츠 */
.contents {
    width: 400px;
}

/* 배너 */
.banner {
    height: 20%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    background: #36B9FD;
}

.banner .cont {
    display: flex;
}

.banner .cont img {
    margin-right: 16px;
}


/* 공지사항 */
.notice {
    height: 25%;
    padding: 16px 13px 13px;
    background: #ADE4F9;
}

.notice h2 {
    margin-bottom: 8px;
}

.notice li {
    display: flex;
    justify-content: space-between;
    line-height: 2;
    border-bottom: 1px dotted #4ab5e7;
    color: #047db6;
}

.notice li a {
    color: #047db6;
}

.notice li:hover {
    border-bottom: 1px dashed #047db6;
    color: #333;
}

.notice li:hover a {
    color: #333;
}

/* 갤러리 */
.gallery {
    height: 35%;
    background: #56C8FE;
    padding-top: 16px;
}

.gallery h2 {
    margin-left: 13px;
    margin-bottom: 16px;
}

.gallery .inner {
    display: flex;
    justify-content: space-evenly;
}

/* 바로가기 링크 */
.link {
    height: 20%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background: #E2D9D4;
}

.link span {
    display: block;
}

/* 슬라이드 */
.slide {
    width: calc(100% - 600px);
    overflow: hidden;
}

/* 2025-05-26 추가 */
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide ul {
    position: relative;
    display: flex;
    width: 400%;
    height: 100%;
    animation: slide 8s infinite;
}

.slide li {
    width: 25%;
    font-size: 100px;
}

@keyframes slide {
    0% {
        left: 0%;
    }

    10% {
        left: -100%;
    }

    33% {
        left: -100%;
    }

    43% {
        left: -200%;
    }

    66% {
        left: -200%;
    }

    76% {
        left: -300%;
    }

    /* % 단위는 소수점은 최대 6자리까지 보통은 2~3자리로 표현한다. */
    99.999999% {
        left: -300%;
    }

    100% {
        left: 0%;
    }
}


/* 푸터 */
footer {
    display: flex;
    align-items: center;
    height: 120px;
    background-color: #333;
}

/* 하단 로고 */
.blogo {
    width: 200px;
}

/* 하단 메뉴, 주소, 저작권 */
.center_cont {
    width: calc(100% - 500px);
    padding-left: 60px;
    color: #777;
}

/* 하단 메뉴 */
.bmenu {
    display: flex;
    height: 30px;
}

.bmenu li {
    margin-right: 16px;
}

.bmenu li:not(:last-child):after {
    content: '|';
    margin-left: 16px;
}

.bmenu a {
    color: #c0c0c0;
}

.fs {
    width: 300px;
}