@charset "utf-8";

/* 슬라이더 */
#mainVisual {
    position: relative;
    margin: 0 auto;
    padding: 0 1rem;
    width: 74.166%;
    aspect-ratio: 16 / 9;
    margin-bottom: 1.5rem;
}

#mainVisual > .wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

#mainVisual .swiper {
    width: 100%;
    height: 100%;
    border-radius: 30px;
}

#mainVisual .swiper .swiper-wrapper {
    border-radius: inherit;
}

#mainVisual .swiper .swiper-slide {
    width: 100% !important;
    height: 100%;
    border-radius: inherit;
    pointer-events: none;
}

#mainVisual .swiper .swiper-slide video,
#mainVisual .swiper .swiper-slide img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    object-fit: cover;
    border-radius: inherit;
    background-color: #c4c4c4;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

#mainVisual #mainVisualInfoSwiper {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    padding: 4.65rem 6.85rem;
    z-index: 2;
}

#mainVisual #mainVisualInfoSwiper .swiper-slide {
    display: flex;
    align-items: flex-end;
}

/* 페이지네이션 */
#mainVisual .paging {
    display: none;
}

#mainVisual .paging > .paging-inner {
    display: inline-flex;
    align-items: center;
}

#mainVisual .paging > .paging-inner > span {
    font-family: Poppins;
    font-size: var(--fs-smallest);
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: -0.01625rem;
    color: #FFF;
    display: inline-flex;
    align-items: center;
}

#mainVisual .paging > .paging-inner > span.total {
    color: rgba(255, 255, 255, 0.40);
}

#mainVisual .paging > .paging-inner > span.total:before {
    content: "";
    display: inline-block;
    margin: 0 0.5rem;
    width: 1.8125rem;
    height: 0.0625rem;
    background: rgba(255, 255, 255, 0.40);
}

/* 텍스트 영역 */
#mainVisual .text-area {
    display: flex;
    flex-direction: column;
    gap: 2.8125rem;
    width: 100%;
}

#mainVisual .text-area > .text-title {
    font-size: var(--fs-h1);
    font-style: normal;
    font-weight: 700;
    line-height: 118.182%;
    letter-spacing: -0.06875rem;
    color: #FFF;
}

#mainVisual .text-area > .text-title > span {
    font-weight: 100;
}

#mainVisual .text-area > .text-desc {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

#mainVisual .text-area > .text-desc > .txt {
    font-size: var(--fs-normal);
    font-style: normal;
    font-weight: 400;
    line-height: 162.5%;
    letter-spacing: -0.02rem;
    color: rgba(255, 255, 255, 0.70);
}

#mainVisual .text-area > .text-desc > a {
    justify-content: space-between;
}

#mainVisual .text-area > .text-pgbar {
    position: relative;
    display: block;
    width: 100%;
    height: 0.125rem;
    background: rgba(255, 255, 255, 0.20);
}

#mainVisual .text-area > .text-pgbar > .text-pgbar__progress {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: inline-block;
    width: 0;
    height: 100%;
    background: #FFF;
}

#mainVisual .swiper-slide.swiper-slide-active .text-area > .text-pgbar > .text-pgbar__progress {
    width: 100%;
    transition: width var(--autoplay-delay) linear;
    transition-delay: unset;
}

/* 버튼 */
#mainVisual .text-area > .text-desc i {
    font-size: var(--fs-bigger);
}

/* 스와이퍼 컨트롤 버튼 */
#mainVisual .control-btns {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% + 8.5rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#mainVisual .control-btns > button {
    display: flex;
    width: 3.25rem;
    height: 3.25rem;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.50);
    font-size: var(--fs-biggest);
    color: #FFF;
    border: none;
    transition: all .3s;
}

#mainVisual .control-btns > button > i {
    font-size: var(--fs-normal);
}

@media(hover:hover) {
    #mainVisual .control-btns > button:hover {
        background: rgba(0, 0, 0, 0.80);
    }
}



@media (max-width: 768px) and (orientation: portrait) {
    #mainVisual {
        width: 100%;
        height: 85vh;
        height: 85dvh;
        height: calc(var(--vh, 1vh) * 85);
    }
}

@media (max-width: 768px) {
    #mainVisual {
        width: 100%;
    }

    #mainVisual #mainVisualInfoSwiper {
        padding: 2.625rem 3.825rem;
    }

    #mainVisual .control-btns {
        width: 96%;
        z-index: 3;
    }

    #mainVisual .control-btns > button {
        width: 2.5rem;
        height: 2.5rem;
    }

    #mainVisual .text-area > .text-title {
        font-size: var(--fs-h2);
        line-height: 100%;
    }

    #mainVisual .text-area > .text-title > span {
        font-size: var(--fs-h4);
    }

    #mainVisual .text-area > .text-desc {
        flex-direction: column;
        gap: 2rem;
    }
}