@charset "UTF-8";

@-webkit-keyframes flash {
    from {
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
        -webkit-transition-timing-function: cubic-bezier(0.2, 0.7, 0.6, 1);
        transition-timing-function: cubic-bezier(0.2, 0.7, 0.6, 1);
    }

    to {
        -webkit-transform: translate3d(100%, 0, 0);
        transform: translate3d(100%, 0, 0);
    }
}

@keyframes flash {
    from {
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
        -webkit-transition-timing-function: cubic-bezier(0.2, 0.7, 0.6, 1);
        transition-timing-function: cubic-bezier(0.2, 0.7, 0.6, 1);
    }

    to {
        -webkit-transform: translate3d(100%, 0, 0);
        transform: translate3d(100%, 0, 0);
    }
}

@-webkit-keyframes fadeInRight {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(10%, 0, 0);
        transform: translate3d(10%, 0, 0);
        -webkit-transition-timing-function: cubic-bezier(0.65, 0.05, 0.36, 1);
        transition-timing-function: cubic-bezier(0.65, 0.05, 0.36, 1);
    }

    100% {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(10%, 0, 0);
        transform: translate3d(10%, 0, 0);
        -webkit-transition-timing-function: cubic-bezier(0.65, 0.05, 0.36, 1);
        transition-timing-function: cubic-bezier(0.65, 0.05, 0.36, 1);
    }

    100% {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

@-webkit-keyframes fadeInLeft {
    from {
        opacity: 0;
        -webkit-transform: translate3d(-10%, 0, 0);
        transform: translate3d(-10%, 0, 0);
        -webkit-transition-timing-function: cubic-bezier(0.2, 0.7, 0.6, 1);
        transition-timing-function: cubic-bezier(0.2, 0.7, 0.6, 1);
    }

    to {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        -webkit-transform: translate3d(-10%, 0, 0);
        transform: translate3d(-10%, 0, 0);
        -webkit-transition-timing-function: cubic-bezier(0.2, 0.7, 0.6, 1);
        transition-timing-function: cubic-bezier(0.2, 0.7, 0.6, 1);
    }

    to {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.character-section {
    background-repeat: no-repeat;
    background-position: 50% 0;
    background-size: cover;
    position: relative;
    z-index: 1;
    transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    opacity: 0;
    margin-top: 200px;
    overflow: hidden;
    height: 960px;
}

.character-section::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    background-image: url('https://landing.mangot5.com/template/fs1/web/images/cha_dec.png');
    width: 100%;
    height: 362px;
}

.character-section[class*="character-bg-"] {
    opacity: 1;
}

.character-section .tit {
    position: absolute;
    top: -190px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    padding: 0;
    margin: 20px auto;
}

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}

#carouselChar {
    width: 100%;
    height: 100%;
}

.carousel-inner {
    width: 100%;
    height: 100%;
}

.carousel-item {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
}

.carousel-item.active {
    opacity: 1;
    pointer-events: auto;
    transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
}

.carousel-item-next,
.carousel-item-prev {
    transform: none;
    transition: none;
}

.carousel-item-inner {
    width: 100%;
    height: 100%;
    position: relative;
}

.char-left {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: absolute;
    left: 320px;
    top: 32%;
    transform: translate3d(-60px, 0, 0);
    width: 800px;
    opacity: 0;
    transition: none;
    z-index: 2;
    max-width: 100%;
}

.char-left.is-enter {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: all 0.6s ease-in-out 0.3s;
}

.char-team-logo {
    filter: drop-shadow(0px 0px 23px rgba(0, 0, 0, 0.6));
}

.char-team-intro {
    filter: drop-shadow(0px 0px 23px rgba(0, 0, 0, 0.6));
}

.char-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

.char-desc {
    font-size: 16px;
    line-height: 1.8;
    color: #fff;
    white-space: pre-line;
    margin-left: 30px;
}

.char-right {
    position: absolute;
    overflow: hidden;
    bottom: -140px;
    right: 230px;
    opacity: 0;
    transform: translate3d(-60px, 0, 0);
    transition: none;
    z-index: 1;
}


.char-right.is-enter {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: all 0.6s ease-in-out;
}

.char-right.char-hoyeon {
    right: 100px;
}

.char-right.char-yuha {
    right: 0;
}

.char-right.char-thomson,
.char-right.char-rumi {
    right: 160px;
}

.zoom-btn {
    position: absolute;
    bottom: 240px;
    right: 80px;
    z-index: 99;
    width: 227px;
    height: 97px;
    background: url('https://landing.mangot5.com/template/fs1/web/images/zoom.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    transition: all 0.2s;
    border: none
}

.zoom-btn:hover {
    filter: brightness(1.2);
    transform: scale(1.05);
}

.zoom-btn:focus {
    outline: none;
    box-shadow: none;
}

.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 60%;
    transform: translateY(-50%);
    z-index: 20;
    width: 107px;
    height: 130px;
    opacity: 0.6;
    transition: opacity 0.3s;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control-prev {
    left: 150px;
}

.carousel-control-next {
    right: 150px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev:focus,
.carousel-control-next:focus {
    opacity: 0.6;
    outline: none;
    box-shadow: none;
}

.arrow-btn-R {
    background: url('https://landing.mangot5.com/template/fs1/web/images/cha_rightArrow.png');
    padding: 0;
    width: 107px;
    height: 130px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.arrow-btn-L {
    background: url('https://landing.mangot5.com/template/fs1/web/images/cha_leftArrow.png');
    padding: 0;
    width: 107px;
    height: 130px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.thumbs-wrapper {
    position: absolute;
    bottom: 80px;
    left: 250px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 20;
}

.char-thumb {
    width: 109px;
    height: 109px;
    cursor: pointer;
    overflow: visible;
    transition: all 0.3s;
    position: relative;
}

.char-thumb::before {
    content: "";
    position: absolute;
    width: 70.7%;
    height: 70.7%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    border: 1px solid transparent;
    pointer-events: none;
    z-index: 1;
}

.char-thumb:hover::before,
.char-thumb.active::before {
    border-color: #fff;
}

.char-thumb img {
    filter: brightness(0.6);
    transition: filter 0.3s;
}

.char-thumb:hover img,
.char-thumb.active img {
    filter: brightness(1);
}

.char-thumb-inner {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.all-chars-btn {
    background: url(https://landing.mangot5.com/template/fs1/web/images/character/home/more_btn.png);
    padding: 0;
    width: 109px;
    height: 109px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.all-chars-btn:hover {
    filter: brightness(1.5);
}

#zoom_modal .modal-body {
    padding: 0;
}

.close {
    color: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.close:hover {
    color: var(--accent);
}

.portrait-modal.show {
    background: rgba(0, 0, 0, 0.5215686275);
}

.portrait-modal .modal-dialog .modal-body {
    height: 360px;
    overflow-y: auto;
}

.portrait-modal .modal-dialog .modal-body::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #F5F5F5;
}

.portrait-modal .modal-dialog .modal-body::-webkit-scrollbar {
    width: 6px;
    background-color: #F5F5F5;
}

.portrait-modal .modal-dialog .modal-body::-webkit-scrollbar-thumb {
    background-color: #333333;
}

.portrait-modal .modal-dialog .modal-body .list ul {
    list-style: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
}

.portrait-modal .modal-dialog .modal-body .list ul li {
    width: calc(10% - 20px);
    margin: 10px;
    cursor: pointer;
    -webkit-filter: brightness(0.6);
    filter: brightness(0.6);
    position: relative;
    overflow: visible;
}

.portrait-modal .modal-dialog .modal-body .list ul li::before {
    content: "";
    position: absolute;
    width: 70.7%;
    height: 70.7%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    border: 1px solid transparent;
    pointer-events: none;
    z-index: 1;
}

.portrait-modal .modal-dialog .modal-body .list ul li.active,
.portrait-modal .modal-dialog .modal-body .list ul li:hover {
    filter: brightness(1);
}

.portrait-modal .modal-dialog .modal-body .list ul li.active::before,
.portrait-modal .modal-dialog .modal-body .list ul li:hover::before {
    border: 1px solid #fff;
}

.zoom-modal-body {
    width: 100%;
    /* height: 100%; */
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

@media (max-width: 1440px) {

    .char-right {
        right: 0px;
        bottom: -150px;
    }

    .char-left {
        left: 50px;
    }
}

@media (max-width: 1280px) {


    .portrait-modal .modal-dialog {
        max-width: 700px;
    }

    .portrait-modal .modal-dialog .modal-body .list ul li {
        width: 65px;
        height: 65px;
    }
}


@media (max-width: 1024px) {

    .char-left {
        scale: 0.9;
        left: 0px;
        top: 53%;
    }

    .char-desc {
        margin-left: 10px;
        text-shadow:
            0 2px 4px rgba(0, 0, 0, 1),
            0 0 10px rgba(0, 0, 0, 1),
            0 0 20px rgba(0, 0, 0, 1),
            0 0 30px rgba(0, 0, 0, 1),
            0 0 40px rgba(0, 0, 0, 1);
    }

    .char-info {
        gap: 10px;
    }

    .char-right.char-shalomet .zoom-btn {
        top: 12%;
    }

    .char-right.char-hoyeon,
    .char-right.char-thomson,
    .char-right.char-rumi {
        right: 0px;
    }

    .char-right.char-yuha {
        bottom: -10px;
    }

    .zoom-btn {
        background: url('https://landing.mangot5.com/template/fs1/web/images/zoom_mb.png') no-repeat center center;
        background-size: contain;
        width: 150px;
        right: unset;
        bottom: unset;
        transform: unset;
        top: 5%;
        left: 0%;
        max-width: 100%;
    }

    .thumbs-wrapper {
        max-width: 100%;
        left: 0px;
        right: 0px;
        justify-content: center;
        bottom: 30px;
    }

    .char-thumb {
        width: 80px;
        height: 80px;
    }

    .all-chars-btn {
        width: 80px;
        height: 80px;
    }

    #carouselChar::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 400px;
        bottom: 0px;
        left: 0px;
        background: linear-gradient(180deg, #00000000 0%, #000000d4 70%);
        z-index: 1;
    }

    .carousel-control-prev {
        left: 0;
    }

    .carousel-control-next {
        right: 0;
    }
}

@media (max-width: 767px) {

    .char-thumb {
        width: 60px;
        height: 60px;
    }

    .all-chars-btn {
        width: 60px;
        height: 60px;
    }

    .portrait-modal .modal-dialog {
        max-width: 480px;
    }

    .zoom-modal-body {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .character-section {
        margin-top: 0px;
        height: 900px;
    }

    .character-section .tit {
        top: 0;
        width: 300px;
    }

    .char-right {
        bottom: 0;
    }

    .char-right.char-yakumo,
    .char-right.char-ophelia,
    .char-right.char-deacon,
    .char-right.char-chitose,
    .char-right.char-maya,
    .char-right.char-boss,
    .char-right.char-ul-alice {
        bottom: -100px;
    }

    .char-right.char-mantis,
    .char-right.char-beauty,
    .char-right.char-nick,
    .char-right.char-shalomet {
        bottom: -150px;
    }

    .char-right.char-raymond,
    .char-right.char-christine {
        bottom: -300px;
    }

    .char-right.char-hoyeon {
        right: 0px;
        bottom: 50px;
    }

    .char-right.char-yuha {
        bottom: 150px;
    }

    .char-right.char-thomson,
    .char-right.char-rumi {
        right: 0px;
    }

    .char-thumb {
        width: 48px;
        height: 48px;
    }

    .all-chars-btn {
        width: 48px;
        height: 48px;
    }

    .portrait-modal .modal-dialog {
        max-width: 100%;
    }

    .zoom-btn {
        width: 70px;
    }

    .arrow-btn-L,
    .arrow-btn-R {
        display: none;
    }

    .char-left {
        top: 61%;
        gap: 5px;
    }

    .char-team-logo {
        width: 150px;
        height: auto;
        filter: drop-shadow(0px 0px 40px rgba(0, 0, 0, 1));
    }

    .char-info {
        gap: 8px;
    }

    .char-desc {
        width: 100%;
        white-space: unset;
        margin: 0;
        font-size: 12px;
        z-index: 1;
    }

}