@import url(./nav.css);
@import url(./btn1.css);
@import url(./hover.css);

html,
body {
    font-size: 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Roboto", "Microsoft Yahei";
    font-weight: 500 !important;
    color: var(--bs-primary) !important;
    width: 100%;
    height: 100%;
    background: #f1f2f3 !important;
    /* overflow   : hidden; */
    gap: var(--gap);
    --ss-duration: 0.3s;
}
/* html {
    filter: grayscale(0.95);
    -webkit-filter: grayscale(0.95);
} 网站置灰 */
body::-webkit-scrollbar {
    display: none;
}
::-webkit-scrollbar {
    display: none !important;
}
a {
    text-decoration: none !important;
}
@media screen and (max-width: 768px) {
    .h-14 {
        height: 9rem !important;
    }
    .circle-1_5r {
        height: 1rem;
        width: 1rem;
    }
    .mb.fs-9 {
        font-size: 3rem !important;
    }
    .mb.fs-5 {
        font-size: 2rem !important;
    }
    .mb.fs-4 {
        font-size: 1.75rem !important;
    }
    .mb.fs-3 {
        font-size: 1.25rem !important;
    }
    .mb.fs-1 {
        font-size: 1rem !important;
    }

    .mb-4r {
        font-size: 4rem;
    }
    .w-sm-75 {
        width: 100%;
    }
    .margin--120px {
        margin-top: -120px;
    }
    .case-view-card {
        background: url(//qn1.10soo.net/assets24/202405251614942.png);
        background-size: cover;
    }
}
@media screen and (min-width: 768px) {
    .vh-sm-100 {
        height: 100vh;
    }
    .circle-1_5r {
        height: 1.5rem;
        width: 1.5rem;
    }
    .w-sm-75 {
        width: 75%;
    }
    .case-view-card {
        background: url(//qn1.10soo.net/assets23/202401061014559.svg);
        background-size: cover;
    }
}
@media screen and (min-width: 992px) {
    .vh-lg-100 {
        height: 100vh;
    }
    .md.fs-3 {
        font-size: 1.75rem !important;
    }
}

/* 新加的 */
.bg-info-1 {
    background: #f5faff;
}
.bg-cover {
    background-size: cover !important;
}
/********** transition **********/

.tran_1 {
    transition: all 1s;
}

.tran_0_5 {
    transition: all 0.5s;
}

.translateXY-wrap:hover .translateXY,
.translateXY:hover {
    transform: translate(-25px, -25px);
}

.rotate {
    -webkit-animation: rotate-around 8s linear infinite;
    animation: rotate-around 8s linear infinite;
}

@keyframes rotate-around {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(1turn);
        transform: rotate(1turn);
    }
}

.circle-1r {
    height: 1rem;
    width: 1rem;
}

.text-truncate-6 {
    -webkit-line-clamp: 6;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rotate-reverse {
    -webkit-animation: rotate_reverse 25s linear infinite;
    animation: rotate_reverse 25s linear infinite;
}

@keyframes rotate_reverse {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-1turn);
    }
}

/********** size **********/

.text-truncate-2 {
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.text-truncate-3 {
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.text-truncate-4 {
    -webkit-line-clamp: 4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.text-truncate-5 {
    -webkit-line-clamp: 5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.text-truncate-6 {
    -webkit-line-clamp: 6;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/********** 底部footer marquee **********/
.marquee_delay_40 {
    --ss-marquee-40: 40s;
}

.marquee-wrap {
    /* width: 100%; */
    /* position: relative; */
    transition: 0.5s cubic-bezier(0, 0.63, 0.32, 1.01);
    overflow: hidden;
}
@media screen and (max-width: 768px) {
    .marquee-wrap .marquee-anim {
        animation: fvAnim var(--ss-marquee-40) linear infinite;
        position: absolute;
        bottom: 40px;
        left: 50%;
        display: flex;
        transform: translate(-50%, 0%);
        white-space: nowrap;
        transition: all 0.3s;
    }
}
@media screen and (min-width: 768px) {
    .marquee-wrap .marquee-anim {
        animation: fvAnim var(--ss-marquee-40) linear infinite;
        position: absolute;
        bottom: 80px;
        left: 50%;
        display: flex;
        transform: translate(-50%, 0%);
        white-space: nowrap;
        transition: all 0.3s;
    }
}

@keyframes fvAnim {
    0% {
        transform: translate(-40%, 0%);
    }

    100% {
        transform: translate(-60%, 0%);
    }
}
.marquee-wrap .marquee-inline {
    display: block;
    padding-right: 0.3em;
    line-height: 1em;
    white-space: nowrap;
    text-align: center;
    white-space: nowrap;
}
@media screen and (max-width: 768px) {
    .marquee-wrap .marquee-inline {
        font-size: 8rem;
    }
}
@media screen and (min-width: 768px) {
    .marquee-wrap .marquee-inline {
        font-size: 12rem;
    }
}

/* tab切换 */

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    color: var(--bs-nav-pills-link-active-color);
    background-color: var(--bs-warning) !important;
    border-color: var(--bs-warning) !important;
}

/* accordion */
.accordion-button::after {
    background-image: url(//qn1.10soo.net/assets23/202312141634593.svg) !important;
}

.accordion-button:not(.collapsed)::after {
    background-image: url(//qn1.10soo.net/assets23/202312141638273.svg) !important;
}

.accordion-button:focus {
    z-index: 3;
    border-color: transparent;
    outline: 0;
    box-shadow: 0 0 0 !important;
}

.accordion-active-bg {
    --bs-accordion-active-bg: white !important;
}

.accordion-active-bg {
    --bs-accordion-btn-focus-border-color: transparent;
}

/* 线性渐变 */
.linear-gradient_info {
    background: linear-gradient(135deg, #0b56a7 0%, #0871e2 90%) !important;
}

.linear-gradient_wg {
    background: linear-gradient(to bottom, #fff 50%, #f1f2f3) !important;
}

.linear-gradient_bb {
    background: linear-gradient(to bottom, #0b56a7 50%, #0871e2) !important;
}

.linear-gradient_gg {
    background: linear-gradient(to bottom, #010017 20%, #272539) !important;
}

.linear-gradient_bi {
    background: linear-gradient(to bottom, #0634c9 20%, #00fbfc) !important;
}

.linear-gradient_bi-90 {
    background: linear-gradient(to bottom, rgba(6, 52, 201, 0.9) 20%, rgba(0, 251, 252, 0.9)) !important;
}

.linear-gradient_ii {
    background: linear-gradient(to top right, #0634c9, #00fbfc);
}

/* tab切换 */

.nav-pills .nav-link.active sup,
.nav-pills .show > .nav-link sup {
    color: var(--bs-white);
}

.marquee_partner_root {
    --size: clamp(10rem, 1rem + 40vmin, 18rem);
    --gap: calc(var(--size) / 14);
    --duration: 20s;
    --scroll-start: 0;
    --scroll-end: calc(-100% - var(--gap));
}

.marquee_partner {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: var(--gap);

    mask-image: linear-gradient(var(--mask-direction, to right), hsl(0 0% 0% / 0), hsl(0 0% 0% / 1) 20%, hsl(0 0% 0% / 1) 80%, hsl(0 0% 0% / 0));
}

.marquee_partner__group {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    /* gap               : var(--gap); */
    min-width: 100%;
    animation: scroll-x var(--duration) linear infinite;
}

@media (prefers-reduced-motion: reduce) {
    .marquee_partner__group {
        animation-play-state: paused;
    }
}

.marquee--reverse .marquee_partner__group {
    animation-direction: reverse;
    animation-delay: -3s;
}

@keyframes scroll-x {
    from {
        transform: translateX(var(--scroll-start));
    }

    to {
        transform: translateX(var(--scroll-end));
    }
}

@keyframes scroll-y {
    from {
        transform: translateY(var(--scroll-start));
    }

    to {
        transform: translateY(var(--scroll-end));
    }
}

/* Element styles */
.marquee_partner img {
    display: grid;
    place-items: center;
    width: var(--size);
    fill: var(--color-text);
    background: var(--color-bg-accent);
    /* aspect-ratio: 16/9; */
    /* padding     : calc(var(--size) / 25); */
    border-radius: 0.5rem;
}

.marquee_partner .marquee_partner__group div {
    display: grid;
    place-items: center;
    width: var(--size);
    fill: var(--color-text);
    background: var(--color-bg-accent);
    /* aspect-ratio: 16/9; */
    /* padding     : calc(var(--size) / 25); */
    border-radius: 0.5rem;
}

/* Parent wrapper */
.marquee_partner_wrapper {
    display: flex;
    flex-direction: column;
    /* gap           : var(--gap); */
    margin: auto;
    max-width: 100vw;
}

@keyframes fade {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

.shadow-case {
    box-shadow: 0 0 40px 10px rgba(0, 0, 0, 0.2);
}

.shadow-hangar {
    box-shadow: 0 0 20px 10px #0a4faf;
}

/* ********** lenis网站柔和滚动 ********** */
html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}
.text-justify {
    text-align: justify;
}
/* ********** width,height ********** */

.w-90 {
    width: 90% !important;
}

.h-30r {
    height: 30rem;
}

.h-15r {
    height: 15rem;
}
.bottom--40 {
    bottom: -30% !important;
}
.h-67 {
    height: 67% !important;
}
/* ********** animate ********** */

.animate-arrow {
    animation: kf-slideRight 1s linear infinite;
}

@keyframes kf-slideRight {
    0% {
        opacity: 1;
        transform: translatex(-1.5rem);
    }

    50% {
        opacity: 1;
        transform: translatex(0.5rem);
    }

    80% {
        opacity: 1;
        transform: translatex(0.5rem);
    }

    99% {
        opacity: 0;
        transform: translatex(0.5rem);
    }

    100% {
        opacity: 0;
        transform: translatex(-1.5rem);
    }
}
.animate-bounce {
    animation: kf-bounce 2s linear infinite;
}

@keyframes kf-bounce {
    0% {
        opacity: 1;
        transform: translatey(1.5rem);
    }

    50% {
        opacity: 1;
        transform: translatey(0.5rem);
    }

    100% {
        transform: translatey(1.5rem);
    }
}

/* ********** hover ********** */

.hover-bg-warning:hover,
.hover-bg-warning-wrap:hover .hover-bg-warning {
    background: var(--bs-warning) !important;
    transition: all 0.3s;
}

.hover-text-warning:hover,
.hover-text-warning-wrap:hover .hover-text-warning {
    color: var(--bs-warning) !important;
    transition: all 0.3s;
}

.hover-text-white:hover,
.hover-text-white-wrap:hover .hover-text-white {
    color: var(--bs-white) !important;
    transition: all 0.3s;
}

.hover-text-white50:hover,
.hover-text-white50-wrap:hover .hover-text-white50 {
    color: rgba(255, 255, 255, 0.5) !important;
    transition: all 0.3s;
}

.hover-bg-linear-gradient_info:hover {
    background: linear-gradient(135deg, #0b56a7 0%, #0871e2 90%) !important;
    transition: all 10s;
}

.scalex {
    transform: scaleX(0);
    transition: transform 0.3s;
    transform-origin: right;
    height: 2px;
}

.scalex-wrap:hover .scalex,
.scalex:hover.scalex {
    transform: scaleX(1) !important;
    transition: transform 0.3s;
    transform-origin: left;
}

.circle-arrow-trans-wrap:hover .circle-arrow-trans,
.circle-arrow-trans:hover {
    background: var(--bs-warning) url(//qn1.10soo.net/assets23/202312151357479.svg) no-repeat;
    background-position: center;
    transition: all 0.3s;
    border: 1px solid transparent !important;
}

.circle-arrow-trans {
    background: url(//qn1.10soo.net/assets24/202401181359135.svg) no-repeat;
    background-position: center;
}

/********** 新闻列表页面底部线条hover效果 **********/
.h-1p {
    height: 1px;
}

.hover-lineToRight::after,
.hover-lineToRight::before {
    height: 100%;
    top: 0;
    position: absolute;
    content: "";
    width: 100%;
}

.hover-lineToRight::after {
    background-color: var(--bs-warning);
    left: -100%;
}

.hover-lineToRight::before {
    background: var(--bs-gray-5);
    left: 0;
}

.hover-lineToRight-wrap:hover .hover-lineToRight::before {
    left: 100%;
    transition: left 0.3s;
}

.hover-lineToRight-wrap:hover .hover-lineToRight::after {
    left: 0;
    transition: left 0.3s 0.3s;
}

.news-img {
    opacity: 0;
    visibility: hidden;
}

.news-img:nth-of-type(1) {
    left: -4px;
}

.shisou-news:hover .news-img {
    opacity: 1;
    visibility: visible;
}
.bg-filter-6p {
    backdrop-filter: blur(6px);
}
/********** 新闻列表页面底部线条hover效果 **********/

/* ********** z-index ********** */

.z-1 {
    z-index: 1;
}

.z-2 {
    z-index: 2;
}

.z-3 {
    z-index: 3;
}

.z-4 {
    z-index: 4;
}

/* ********** 案例列表导航 ********** */

.tab-nav ul li .button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background-color: var(--bs-warning);
    border-radius: 25px;
    transform: scaleX(0);
    transform-origin: right;
    -webkit-transition: transform 0.6s cubic-bezier(0.785, 0.135, 0.15, 0.86);
    -moz-transition: transform 0.6s cubic-bezier(0.785, 0.135, 0.15, 0.86);
    -o-transition: transform 0.6s cubic-bezier(0.785, 0.135, 0.15, 0.86);
    transition: transform 0.6s cubic-bezier(0.785, 0.135, 0.15, 0.86);
}

.tab-nav ul li:hover .button {
    border: 1px solid transparent !important;
    color: white !important;
}

.tab-nav ul li:hover .button::before {
    transform: scaleX(1);
    transform-origin: left;
}

.tab-nav ul li .button.active sup {
    display: inline-block;
}

.tab-nav ul li .button sup {
    display: none;
}

/* ********** 案例详情页border **********  */
.border-hangar {
    margin: auto;
    box-sizing: border-box;
    border: 2px solid transparent;
    background-image: linear-gradient(#050321, #050321), linear-gradient(to bottom right, #4d4c5c, #050321);
    background-origin: border-box;
    background-clip: content-box, border-box;
}

/* ********** 回到顶部 **********  */
.toTop {
    bottom: 10%;
    right: 5%;
    z-index: 100;
}

/* ********** swiper2首页 字体反色 **********  */
.text-mixed {
    mix-blend-mode: difference;
}

/* ********** swiper2首页 字体反色 **********  */
.view img {
    margin: 10px auto;
    max-width: 100%;
    height: auto !important;
}

/* ********** footer **********  */

@media screen and (max-width: 768px) {
    .footer-pb {
        padding-bottom: 14rem;
    }
}
@media screen and (min-width: 768px) {
    .footer-pb {
        padding-bottom: 24rem;
    }
}

/*********** 鼠标跟随-案例列表 ***********/
body #mouse-trail {
    display: none;
    background: var(--bs-warning);
    border-radius: 100%;
    width: 110px;
    height: 110px;
    /* opacity   : 0.4; */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 99999;
}

body:has(.mouse_hover:hover) #mouse-trail,
#mouse-trail:hover {
    display: inline-block;
}

/*********** 微信弹出框 ***********/
.wx-qrcode-wrap .wx-qrcode,
.wx-qrcode-wrap .wx-qrcode-bot {
    opacity: 0;
    visibility: hidden;
}
.wx-qrcode-wrap:hover .wx-qrcode,
.wx-qrcode-wrap:hover .wx-qrcode-bot {
    opacity: 1;
    visibility: visible;
}
.wx-qrcode {
    left: 0px;
    top: -150px;
    width: 200%;
}
.wx-qrcode-bot {
    left: 0px;
    bottom: -150px !important;
    width: 200%;
}

/*********** 服务页面背景 ***********/
@media screen and (min-width: 992px) {
    .bg-service {
        background: url(//qn1.10soo.net/assets24/202401151509067.png) no-repeat center right;
        background-size: 50% 100%;
    }
}
/*********** 分页 ***********/
.page-item.active .page-link {
    background: var(--bs-warning) !important;
    color: var(--bs-white) !important;
}

.page-item:hover .page-link {
    background: var(--bs-warning) !important;
    color: var(--bs-white) !important;
}

.page-link:focus {
    z-index: 3;
    color: var(--bs-pagination-focus-color);
    background-color: var(--bs-pagination-focus-bg);
    outline: 0;
    box-shadow: 0 0 0;
}
.pagination {
    --bs-pagination-padding-x: 1.3rem !important;
    --bs-pagination-bg: transparent !important;
    --bs-pagination-color: white !important;
    --bs-pagination-active-border-color: white !important;
}
.pagination-transparent {
    --bs-pagination-padding-x: 1.3rem !important;
    --bs-pagination-bg: transparent !important;
    --bs-pagination-color: var(--bs-secondary) !important;
    --bs-pagination-active-border-color: var(--bs-gray-5) !important;
    --bs-pagination-border-color: var(--bs-gray-5);
}
