/* ====================================================
# carousel
==================================================== */
.carousel-main {
    position: relative;
    background-color: rgb(0, 20, 50)
}

.carousel-main .ci {
    position: absolute;
    bottom: 3%;
    justify-content: center;
}

.carousel-main .ci li {
    width: 12px;
    height: 12px;
    border: 2px solid #ffffff;
    border-radius: 25px;
    background-color: transparent;
    opacity: 1;
}

.carousel-main .ci li.active {
    background-color: #ffffff;
}

.cl-mask {
    position: absolute;
    overflow: hidden;
    z-index: 1;
    height: 100%;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #ffffff;
}

.cl-txt {
    text-align: center;
    padding: 2.5rem;
}


.cl-txt h2 {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 0.1rem;
    text-shadow: 2px 2px 4px #212121;
}

.cl-txt h4 {
    font-size: 2rem;
    font-weight: 400;
    color: var(--main-colorC);
}

.cl-txt p {
    margin-top: 1rem;
    font-size: 1.8rem;
    letter-spacing: 0.05rem;
    line-height: 1.5;
}

.cl-txt p strong {
    color: var(--main-colorC);
    font-size: 2.5rem;
}


.cl-left {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100%;
    width: 800px;
    left: 100px;
}


.btn-top {
    color: #ffffff;
    border: 1px solid #ffffff;
    background-color: transparent;
    letter-spacing: 0.3rem;
    padding: 0.5rem 2rem;
    transition: all 0.2s ease-in-out;
    display: inline-block;
    margin-top: 15px;
    min-width: 220px;
    position: relative;
    border-radius: 25px;
    text-align: center;
}

/* .btn-top::after {
    font-family: 'bootstrap-icons';
    content: "\F285";
    position: absolute;
    right: 15px;
} */

.btn-top:hover {
    color: #212121;
    border: 1px solid var(--main-colorC);
    background-color: var(--main-colorC);
}

.btn-topX {
    color: #ffffff;
    border: 1px solid #ffffff;
    background-color: rgba(122, 122, 122, 0.5);
    letter-spacing: 0.1rem;
    padding: 0.5rem 2rem;
    transition: all 0.2s ease-in-out;
    display: inline-block;
    margin-top: 15px;
    min-width: 220px;
    position: relative;
    border-radius: 25px;
    text-align: center;
}

.btn-topX:hover {
    color: #ffffff;
    background-color: rgba(122, 122, 122, 0.9);
}

.carousel-control-prev,
.carousel-control-next {
    z-index: 10;
}

.visixs {
    display: none;
}

@media (min-width: 1500px) and (max-width: 1800px) {
    .cl-left {
        width: 700px;
    }
}

@media (min-width: 1200px) and (max-width: 1500px) {
    .cl-left {
        width: 500px;
    }
}

@media (min-width: 900px) and (max-width: 1200px) {

    .cl-txt h2 {
        font-size: 3rem;
    }


}

@media (max-width:900px) {

    .cl-txt h2 {
        font-size: 2rem;
    }

    .visimd {
        display: none;
    }

    .visixs {
        display: block;
    }


}

@media (max-width: 576px) {
    .cl-txt h4 {
        font-size: 18px;
    }

    .cl-txt {
        padding: 1.5rem 3.5rem
    }

    .carousel-main .ci {
        bottom: 2%;
    }

    .ci {
        margin-left: 15%;
    }

    .btn-top {
        margin-top: 0;
    }

}

@media (max-width: 460px) {
    .cl-txt {
        padding: 10px 20px;
    }


    .cl-txt h2 {
        font-size: 1.5rem;

    }

    .cl-txt p {
        font-size: 16px;
        line-height: 20px;
    }

    .btn-top {
        letter-spacing: 0;
    }

    .cl-txt p strong {
        font-size: 1.8rem;
    }
}


/*====================================
# 影片
==================================== */
.section-kv {
    position: relative;
    margin-top: -72px;
    overflow: hidden;
    /* height: 98vh; */
}


.kv-content {
    position: absolute;
    overflow: hidden;
    z-index: 1;
    height: 100%;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.65) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.kv-viedeo {
    width: 100%;
    height: 100%;
}

.kv-viedeo video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.kv-txt {
    color: #ffffff;
    text-align: center;
}

.kv-txt img {
    max-width: 500px;
}

.section-kv h1,
.section-kv h2,
.section-kv h5 {
    text-shadow: 1px 1px 5px #333;
}

.section-kv h1 {
    font-size: 4rem;
    font-weight: 600;
}

.section-kv h2 {
    font-size: 3.6rem;
}

.section-kv h5 {
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.2rem
}


@media (max-width:576px) {
    /* .section-kv {
        height: 70vh;
    } */

    .section-kv h1 {
        font-size: 2.6rem;
    }

    .section-kv h2 {
        font-size: 2.2rem;
    }

    .section-kv h5 {
        letter-spacing: 0.05rem;
    }

    .section-kv .btn-top {
        margin-top: 2rem;
    }

}

/* =======================================
# scrolldown
========================================= */

.scrolldown {
    /*位置*/
    position: absolute;
    bottom: 30px;
    left: 50%;
}

.scrolldown .trail {
    margin-left: 3px;
    height: 15px;
    width: 15px;
    border: 1px solid;
    border-color: #fff transparent transparent #fff;
    transform: rotate(-135deg);
    -webkit-animation-delay: 0.1s;
    -moz-animation-delay: 0.1s;
    animation-delay: 0.1s;
    -webkit-animation: srcoll-trail 1.2s infinite;
    -moz-animation: srcoll-trail 1.2s infinite;
    animation: srcoll-trail 1.2s infinite;
}

.scrolldown .trail:nth-child(2) {
    -webkit-animation-delay: 0.2s;
    -moz-animation-delay: 0.2s;
    animation-delay: 0.2s;
}

@-webkit-keyframes scroll {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        -webkit-transform: translateY(10px);
        transform: translateY(10px);
    }
}

@-moz-keyframes scroll {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        -webkit-transform: translateY(10px);
        transform: translateY(10px);
    }
}

@-o-keyframes scroll {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        -webkit-transform: translateY(10px);
        transform: translateY(10px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        -webkit-transform: translateY(10px);
        transform: translateY(10px);
    }
}

@-webkit-keyframes srcoll-trail {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@-moz-keyframes srcoll-trail {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@-o-keyframes srcoll-trail {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes srcoll-trail {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}