@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

@font-face {
    font-family: 'Pretendard';
    src: url('fonts/Pretendard-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Pretendard';
    src: url('fonts/Pretendard-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Pretendard';
    src: url('fonts/Pretendard-SemiBold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Pretendard';
    src: url('fonts/Pretendard-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Pretendard';
    src: url('fonts/Pretendard-ExtraBold.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
}


.sound_only {
    display: none;
}

body {
    font-family: 'Pretendard',
        sans-serif;
    font-weight: 400;
}

.mon {
    font-family: 'Montserrat', sans-serif;
}

@media (max-width: 1023px) {


    .container {
        max-width: 100%;
    }
}

.btn-slide {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.btn-slide:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #fff;
    transition: width 0.3s ease-in-out;
    z-index: -1 !important;
}

.btn-slide:hover {
    color: #000;
    border-color: transparent !important;
}

.btn-slide:hover:after {
    width: 100%;

}

@keyframes slide-up2 {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }

    30% {
        transform: translateY(30px);
        opacity: 0;
    }
}

/*
/* title animation */
.animate .char {
    animation: slide-up2 0.4s cubic-bezier(.5, 0, .5, 1) both;
    animation-delay: calc(70ms * var(--char-index));
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);

}

.fade-left {
    opacity: 0;
    transform: translateX(-30px);

}

.fade-right {
    opacity: 0;
    transform: translateX(30px);

}

/* 메인 */
.pc-categories .category-menu {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 0;
    font-size: 3rem;
    color: #585858;
    background: linear-gradient(180deg, #DEDEDE 0%, #CCD4D4 100%);
    font-weight: 600;
    cursor: pointer;
}

.pc-categories .category-menu span {
    writing-mode: vertical-rl;
}

.pc-categories .category-item {
    transition: width 0.7s ease-in-out;
}

.pc-categories .category-item .category-content {
    display: none;
}

.pc-categories .category-item.active .category-menu {
    display: none;
}

.pc-categories .category-item.active .category-content {
    display: block;
}

/* .swiper-slide-active 에 애니메이션 설정 적용 */
.swiper-slide.swiper-slide-active .fade-in {
    animation: text 1s 0.2s both;
    /* name duration delay fill-mode */
}

/* keyframes로 애니메이션 효과 적용 */
@keyframes text {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-1 {
    animation-delay: 0.6s !important;
}

.delay-2 {
    animation-delay: 1s !important;
}

#header .logo {
    background-image: url(../img/logo.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#header .mobile-menu-btn {
    background-image: url(../img/menu.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#header {
    transition: all 0.3s ease-in-out;
}

#header.active {
    background-color: #fff;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);
}

#header.active .logo {
    background-image: url(../img/logo_active.png) !important;
}

#header.active .mobile-menu-btn {
    background-image: url(../img/me.png);
}

.overlay {
    position: relative;
}

.overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 0;
}

.ctt_admin,
#ctt_himg {
    display: none !important;
}

/* Swiper pagination custom style */
.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5) !important;
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    opacity: 1 !important;
    margin: 0 1rem !important;
    position: relative !important;
}

.swiper-pagination-bullet-active {

    background: #fff !important;
    border-radius: 50% !important;
}

.swiper-pagination-bullet-active:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200%;
    height: 200%;
    border-radius: 50%;
    border: 1px solid #fff;
}


@keyframes banner {
    0% {
        transform: scale(1.2) translate(10px, 10px);
        filter: blur(5px);
    }

    100% {
        transform: scale(1) translate(0px, 0px);
        filter: blur(0px);
    }
}

.swiper-slide.swiper-slide-active .banner-img {
    animation: banner 1.5s 0.5s both;
}

/* .swiper-slide-active 에 애니메이션 설정 적용 */
.swiper-slide.swiper-slide-active .fade-in {
    animation: text 1s 0.2s both;
    /* name duration delay fill-mode */
}

.delay-1 {
    animation-delay: 0.6s !important;
}

.delay-2 {
    animation-delay: 1s !important;
}