@charset "UTF-8";

a,
article,
blockquote,
body,
button,
caption,
dd,
div,
dl,
dt,
footer,
h1,
h2,
h3,
h4,
h5,
h6,
header,
html,
iframe,
img,
li,
nav,
ol,
p,
pre,
section,
small,
span,
strong,
table,
td,
th,
tr,
ul,
figure {
    background: 0;
    border: 0;
    font-size: 100%;
    line-height: 1;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: bottom;
    box-sizing: border-box;

}

a,
small,
span,
strong {
    vertical-align: baseline;
}

article,
footer,
header,
nav,
section {
    display: block;
    box-sizing: border-box;
}

li {
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

address,
th {
    font-style: normal;
}

:focus,
a:focus {
    outline: 0;
}

br {
    letter-spacing: normal;
}

img {
    height: auto;
    width: 100%;
}

textarea {
    resize: none;
}

a {
    text-decoration: none;
}


html {
    scroll-behavior: smooth;
}

body {
    background: #000;
    box-sizing: border-box;
    font-family: "Noto Sans", sans-serif;
}

/******************** top button *********************/
#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    background-color: #fff;
    color: #000;
    border: none;
    border-radius: 10px;
    padding: 0.4rem 0.6rem;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    font-family: "Koulen", sans-serif;
}

#scrollTopBtn.show {
    opacity: 0.8;
    visibility: visible;
    transform: translateY(0);
}

#scrollTopBtn:hover {
    background-color: #333;
    color: #fff;
}



/*********************** footer ************************/
footer {
    background-color: #000;
    box-sizing: border-box;
    border-top: 1px solid #ccc;
    color: #f2f2f2;
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
    display: flex;
    align-items: center;
    padding: 35px 300px 35px 30px;
}

.row-footer {
    display: flex;
}

@media screen and (max-width: 1150px) {
    footer {
        flex-direction: column;
        align-items: center;
        padding: 30px 20px;
    }

    .row-footer span {
        display: inline-block;
        padding: 0 0.5rem;
    }
}

footer .footer_logo.logo1 {
    height: 55px;
    width: 54px;
    align-items: center;
    display: inline-flex
}

footer .footer_logo.logo2 {
    height: 55px;
    width: 141px;
    margin-left: 1rem;
    align-items: center;
    display: inline-flex;
}

@media screen and (max-width: 1150px) {
    footer .footer_logo.logo2 {
        margin-left: 0
    }

    footer .footer_logo {
        margin-bottom: 10px;
    }
}

footer .footer_logo a {
    transition: all .3s;
}

footer .footer_logo a:hover {
    opacity: .5;
}

footer .copyright {
    font-size: 0.7291666667vw;
    text-align: center;
    line-height: 1.6;
    width: 100%;
}

@media (max-width: 980px) {
    footer .copyright {
        font-size: 1.4285714286vw;
    }
}

@media (max-width: 480px) {
    footer .copyright {
        font-size: 2.9166666667vw;
    }
}




/************************ 스크롤 이벤트 *********************/
.box {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.box:last-child {
    margin-bottom: min(2vw, 20px);
}

.box.show {
    opacity: 1;
    transform: translateY(0);
}

/*********************** key images **********************/
/* event-logo */
.logo-container {
    width: 90%;
    max-width: 1200px;
    margin: min(10vw, 20px) auto min(10vw, 30px);

}

.logo-container img {
    display: block;
    margin: auto;
    width: min(60vw, 800px);
}

/* box container */
.card-container {
    width: 90%;
    max-width: 1200px;
    margin: min(10vw, 30px) auto 0;

}

.logo-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 480px) {
    .logo-grid {
        gap: 0;
    }
}

.logo-card {
    width: 100%;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

.logo-card img {
    width: 100%;
    object-fit: contain;
}

/********************** 네비게이션 ***********************/
header {
    position: sticky;
    top: 0;
    z-index: 999;
    /* 최소 60px ~ 최대 100px 사이 */
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    border-bottom: 1px solid #000;
}

/* 1단 - 상단 바 */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    color: #222;
    padding: 0.6rem 1rem;
}

.logo {
    font-size: 1.5rem;
}

.logo img {
    height: 1.8rem;
    width: auto;
}

.social-links {
    display: flex;
    gap: 0.5rem;
}

.social-links a img {
    display: inline;
    width: 1.8rem;
    height: 1.8rem;

}

.social-links a:hover {
    opacity: 0.7;
}

/* 2단 - 내비게이션 */
.nav-bar {
    padding: 1.4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    font-family: "Koulen", sans-serif;
    transition:
        padding 0.4s ease-in-out,
        background-color 0.4s ease-in-out,
        box-shadow 0.4s ease-in-out,
        transform 0.4s ease-in-out;

}

.nav-bar.shrink {
    padding: 1rem;
}

@media (max-width: 768px) {
    .nav-bar.shrink {
        padding: 0;

    }

    header {
        border: 0 none;
    }
}



/********************* 링크 셀렉트 ******************/
.menu-container {
    position: relative;
    display: inline-block;
    /* 원하는 위치에 배치 가능 */
}

#relativeMenuBtn {
    padding: 0.3rem 0.4rem;
    margin: 0;
    background: #fff;
    color: #000;
    border: 2px solid #000;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-family: "Koulen", sans-serif;
    font-size: 1rem;
}

#relativeMenuBtn:hover {
    background: #000;
    color: #fff;
}

#relativeMenuLayer {
    position: absolute;
    top: calc(100% + 0.2rem);
    /* 버튼 아래로 */
    right: 0;
    background: white;
    border: 2px solid #000;
    border-radius: 4px;
    padding: 0.6rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transform: translateY(10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 999;
    font-family: "Koulen", sans-serif;
}

#relativeMenuLayer.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#relativeMenuLayer a {
    color: #000;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 1.2rem;
}

#relativeMenuLayer a:hover {
    color: #000;
    text-decoration: underline;
}



/* 모바일에서는 숨김 */
@media (max-width: 768px) {

    .menu-container,
    .social-links {
        display: none !important;
    }
}

/**************** 햄버거 버튼 *****************/
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 36px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    position: absolute;
    right: 1rem;
    transform: translateY(-50%);

}

.bar {
    height: 3px;
    background: #000;
    border-radius: 2px;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    /* 살짝 튀는 효과 */
}

.bar.top,
.bar.middle,
.bar.bottom {
    width: 100%;
}

.menu-toggle.active .top {
    transform: translateY(15px) rotate(45deg) scaleX(1.2);
    background: #666;
}

.menu-toggle.active .middle {
    opacity: 0;
    transform: scale(0);
}

.menu-toggle.active .bottom {
    transform: translateY(-2px) rotate(-45deg) scaleX(1.2);
    background: #666;
}


/************************ 메뉴 링크 ********************/
.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li a {
    padding: 0 0.6rem;
    font-size: 1.6rem;
    color: #fff;
    transition: all .3s;
}

.nav-links li a:hover {
    padding: 0 0.6rem;
    background-color: #333;
    border-radius: 4px;
    transition: all 0.4s ease;
}

.mobile-links {
    display: none
}


/* 반응형 */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        height: 100dvh;
        width: 100%;
        background: #000;
        transform: translateX(-100%);
        opacity: 0;
        transition: transform 0.4s ease, opacity 0.3s ease;
        z-index: 1000;
        gap: 2rem;
    }

    .nav-links.active {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-bar {
        justify-content: flex-start;
        padding: 0;

    }

    .nav-links li a {
        font-size: 1.5rem;
    }

    /* 모바일 소셜 */

    .mobile-links {
        display: block;
    }

    .mobile-links .year {
        color: #ffff00;
        display: block;
        text-align: center;
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }

    .mobile-links img {
        display: inline-block;
        width: 3rem;
        height: 3rem;
    }

    .mobile-links .rem {
        color: #333
    }
}

/*** 서브 링크  메뉴 ***/
/* 공통: 서브메뉴 기본 숨김 */
.submenu {
    display: none;
    position: absolute;
    padding: 0.5rem 0;
    list-style: none;
    z-index: 1000;
    background: #000;
}

.submenu li {
    display: inline-block;
}

.submenu li>a {
    font-size: 1.4rem;
}

.submenu li>a.s1 {
    color: #2d76fe;
}

.submenu li>a.s2 {
    color: #a40000;
}

.submenu li>a:hover {
    background: transparent;
    text-decoration: underline;
}

.has-submenu {
    position: relative;
}

.has-submenu a:hover {
    background-color: transparent !important;
    cursor: pointer;
}

.has-submenu:hover .submenu {
    display: flex;
}

/* 모바일: 항상 보이도록 변경 */
@media (max-width: 768px) {
    .submenu {
        display: flex !important;
        position: static;
        background: transparent;
    }

    .has-submenu {
        text-align: center;
    }
}


/******* 언어 선택 *******/
.language-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.2rem);
    background: #fff;
    padding: 0.2rem 0.6rem;
    z-index: 1000;
    border-radius: 4px;
    border: 2px solid #000;
    transform: translateY(10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#languageToggleBtn {
    padding: 0.3rem 0.4rem;
    margin: 0;
    background: #000;
    color: #fff;
    border: 2px solid #000;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-family: "Koulen", sans-serif;
    font-size: 1rem;
}

#languageToggleBtn:hover {
    background: #fff;
    color: #000;
    border: 2px solid #000;
}

.language-menu.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.language-menu a {
    display: inline-block;
    color: #666;
    font-family: "Koulen", sans-serif;
    font-size: 1rem;
    cursor: default;

}

.language-menu a:hover {
    opacity: 1;
}

.language-menu a.active {
    color: #000;
    cursor: pointer;
    opacity: 1;
    font-weight: bold;

}

.language-menu a.active:hover {
    color: #000;
    text-decoration: underline;
}

/************** 팝업 *************/
.thumbnail-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.thumbnail {
    max-width: 150px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.thumbnail:hover {
    transform: scale(1.05);
    border: 1px solid #2d76fe;
}

/* 모달 스타일 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    padding: 1rem;
    box-sizing: border-box;
}

.modal-body {
    background: #fff;
    max-width: 1100px;
    width: 90%;
    padding: 0.3rem;
    border-radius: 6px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 4rem;
    color: white;
    cursor: pointer;
    z-index: 1001;
}

@media (max-width: 768px) {
    .modal {
        padding: 0
    }

    .modal-body {
        max-width: 100%;
        padding: 0.2rem;
    }
}

/* main-kintex */
.main-kintex {
    width: 100%;
    margin-top: 4rem;
}

.main-kintex img {
    display: block;
    width: min(100vw, 100%);
    margin: auto;
    object-fit: cover;
}