@charset "utf-8";

@font-face {
    font-family: 'KotraHope';
    src: local('KotraHope'),
        url('./fonts/subset-KOTRAHOPE.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

.main-visual {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #1a1a1a;
}

.mb-swiper {
    width: 100%;
    height: 100%;
    position: relative;
    user-select: none;
    overflow: hidden;
    background: #1a1a1a;
}

.mb-swiper .swiper-wrapper {
    height: 100%;
    transform: none !important;
}

.mb-swiper .swiper-slide {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    transform: none !important;
    opacity: 0;
    z-index: 0;
}

.mb-swiper .swiper-slide:first-child {
    opacity: 1;
    z-index: 1;
}

.mb-swiper .mv-img {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.mb-swiper .mv-img::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 55%);
}

.mb-swiper .mv-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mb-swiper .copy-area {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -42%);
    z-index: 10;
    max-width: 78%;
    width: 90%;
    color: #fff;
    text-align: left;
    word-break: keep-all;
    pointer-events: none;
    user-select: none;
}

.mb-swiper .copy-area .title {
    position: relative;
    left: 0;
    transform: scale(0.85) translateX(-3%);
    opacity: 0;
    animation: mvTitleZoomIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.mb-swiper .copy-area .desc {
    margin-top: 2.4rem;
    font-family: 'KotraHope', sans-serif;
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0em;
    text-shadow: 0 0.2rem 0.8rem rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(6rem);
    animation: mvFadeUp 2s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}



.mb-pagination.mv-desc-fade {
    animation-delay: 0.55s;
}

@keyframes mvTitleZoomIn {
    0% {
        opacity: 0;
        transform: scale(0.85) translateX(-3%);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateX(-3%);
    }
}

@keyframes mvFadeUp {
    0% {
        opacity: 0;
        transform: translateY(6rem);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {

    .mb-swiper .copy-area .title,
    .mb-swiper .copy-area .desc,
    .mb-swiper .mv-desc-fade {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

.mb-pagination {
    position: absolute;
    left: 11%;
    max-width: 78%;
    width: min-content;
    bottom: 10rem;
    z-index: 20;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 6rem;
    padding: 0 0 0 4rem;
    color: #fff;
    font-family: "Pretendard Variable", Pretendard, sans-serif;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.mb-pagination .swiper-pagination {
    position: absolute;
    top: 50%;
    left: 0;
    right: 14rem;
    bottom: auto;
    width: auto;
    transform: translateY(-50%);
    font-size: 0;
}

.mb-pagination .swiper-pagination-current,
.mb-pagination .swiper-pagination-total {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    line-height: 1;
    color: #fff;
}

.mb-pagination .swiper-pagination-current {
    left: 0;
    font-weight: 600;
}

.mb-pagination .swiper-pagination-total {
    right: 0;
    font-weight: 500;
    opacity: 0.5;
}

.mb-pagination .swiper-progress-bar-wrap {
    position: relative;
    flex: 1;
    max-width: 20rem;
    min-width: 20rem;
    width: 100%;
    height: 0.4rem;
    background: rgba(255, 255, 255, 0.5);
    overflow: hidden;
}

.mb-pagination .swiper-progress-bar {
    left: 0;
    bottom: 0;
    transform: translateX(0);
    display: block;
    width: 0;
    height: 100%;
    background: #fff;
    will-change: width;
}

.mb-pagination .swiper-control {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.mb-pagination .swiper-control button {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: #fff;
    font-size: 2.4rem;
    cursor: pointer;
    transform: none;
    transition: opacity 0.2s ease;
}

.mb-pagination .swiper-control button:hover {
    opacity: 0.75;
}

.mb-pagination .swiper-control button::after {
    display: none;
}

.mb-pagination .swiper-autoplay-toggle {
    font-size: 2.8rem;
}

#bo_btn {
    position: absolute;
    left: 2rem;
    bottom: 2rem;
    z-index: 2000;
}

#bo_btn a {
    display: inline-block;
    font-size: 2.5rem;
    color: #fff;
    transition: all .3s ease;
}

#bo_btn a:hover {
    opacity: 0.7;
}

@media screen and (max-width:1920px) {
    .mb-swiper .copy-area {
        max-width: 150rem;
    }
}

@media screen and (max-width: 1440px) {
    .main-visual {
        height: 80rem;
    }

    .mb-swiper .copy-area {
        left: 5%;
        right: 5%;
        transform: translate(0, -45%);

    }

    .mb-swiper .copy-area .title {
        font-size: 5.6rem;
    }

    .mb-swiper .copy-area .desc {
        font-size: 2.4rem;
    }

    .mb-pagination {
        left: 5%;
        right: 5%;
        bottom: 6rem;
    }
}

@media screen and (max-width: 1180px) {
    .main-visual {
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .mb-swiper .copy-area .title {
        min-width: 30rem;
        width: 50%;
        aspect-ratio: 1 / 0.4;
    }

    .mb-swiper .copy-area .title img {
        height: 100%;
    }

    .mb-swiper .copy-area .desc {
        font-size: 2rem;
        margin-top: 1.6rem;
    }
}

@media screen and (max-width: 786px) {
    .main-visual {
        aspect-ratio: 4 / 5;
    }

    .mb-swiper .copy-area {
        max-width: none;
        transform: translateY(-50%);
    }

    .mb-swiper .copy-area .desc {
        font-size: 1.8rem;
    }

    .mb-pagination {
        left: 5%;
        right: 5%;
        bottom: 3.2rem;
        padding: 0 11rem 0 4rem;
    }

    .mb-pagination .swiper-pagination {
        right: 11rem;
    }

    .mb-pagination .swiper-pagination-current,
    .mb-pagination .swiper-pagination-total {
        font-size: 1.6rem;
    }

    .mb-pagination .swiper-control button {
        width: 3.2rem;
        height: 3.2rem;
        font-size: 2rem;
    }

    .mb-pagination .swiper-autoplay-toggle {
        font-size: 2.2rem;
    }
}

@media screen and (max-width: 515px) {

    .mb-pagination {
        padding: 0 10rem 0 3.2rem;
    }

    .mb-pagination .swiper-pagination {
        right: 10rem;
    }
}