/* index */
.loading-page {
    animation: none;
}

.loading-text {
    white-space: nowrap;
    font-size: 1.3rem;
    line-height: 120%;
    position: absolute;
    top: 50vh;
    right: 50vw;
    transform: translate(50%, -50%);
}

.loading-text span {
    --s: 100;
    --m: 500;
    --b: 700;
    font-variation-settings: 'wght' var(--m);
    animation: weightAnimation 2.8s linear 1;
}

@keyframes weightAnimation {
    0% {
        font-variation-settings: 'wght' var(--m);
    }

    20% {
        font-variation-settings: 'wght' var(--s);
    }

    40% {
        font-variation-settings: 'wght' var(--b);
    }

    60% {
        font-variation-settings: 'wght' var(--m);
    }

    100% {
        font-variation-settings: 'wght' var(--m);
    }
}

.logo-p span {
    animation-delay: 3.2s;
}

.logo-p span:nth-of-type(2) {
    animation-delay: 3.26s;
}

.logo-p span:nth-of-type(3) {
    animation-delay: 3.32s;
}

.mainbody-banner {
    width: 100%;
    position: relative;
}

.banner-list {
    position: absolute;
    width: 100%;
    height: 100%;
}

.banner-list .banner-img {
    display: none;
}

.banner-list .banner-text {
    color: #fff;
    /* text-shadow: 0 0 2px rgb(51, 51, 51, 0.6); */
    font-size: 2.4rem;
    padding: 0.8rem;
    z-index: 2;
}

.banner-count {
    color: #fff;
    font-size: 1.6rem;
    position: absolute;
    right: 1.5rem;
    bottom: 2.4rem;
    z-index: 9;
    /* opacity: 0; */
}

.banner-bar {
    width: 2rem;
    height: 0.2rem;
    border-radius: 2rem;
    background-color: rgba(255, 255, 255, 0.3);
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 9;
    /* opacity: 0; */
}

.banner-bar .progress {
    width: 0;
    height: 0.2rem;
    border-radius: 2rem;
    background-color: #fff;
    position: absolute;
    left: 0;
    bottom: 0;
    transition: width 0s;
}

.mainbody-content {
    height: 100%;
    cursor: url('../images/middle.svg'), auto;
}

.cursor-left {
    width: 25%;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    cursor: url('../images/left.svg'), auto;
}

.cursor-right {
    width: 25%;
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    cursor: url('../images/right.svg'), auto;
}

.down-icon {
    width: 1.55rem;
    height: 0.55rem;
    flex-shrink: 0;
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translate(-50%, 20px);
    opacity: 0;
    animation: down 9s ease-in-out infinite;
}

@keyframes down {
    0% {
        transform: translate(-50%, 20px);
        opacity: 0;
    }

    55.56% {
        transform: translate(-50%, 20px);
        opacity: 0;
    }

    77.78% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 20px);
        opacity: 0;
    }
}

.mainbody-title {
    position: absolute;
    top: 15rem;
    left: 0;
}

.mainbody-title-p1 {
    color: #FFF;
    font-variation-settings: 'wght' 500;
    font-size: 2.4rem;
    line-height: 120%;
}

.mainbody-title-p2 {
    color: #ECECEC;
    font-weight: 400;
    line-height: 120%;
    margin-top: 1rem;
    font-size: 2rem;
}

.mainbody-desc {
    margin-top: 2.5rem;
    margin-bottom: 5rem;
    justify-content: flex-end;
}

.desc-wrapper {
    width: 100%;
    gap: 2.5rem;
    overflow: hidden;
}

.desc-title {
    color: #000;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    cursor: pointer;
    position: relative;
}

.desc-title span {
    display: block;
    white-space: nowrap;
    font-size: 1.6rem;
    font-variation-settings: 'wght' 650;
    transition: all 400ms;
    font-size: 1rem;
}

.desc-title:hover span {
    font-variation-settings: 'wght' 850;
}

.desc-title::after {
    content: "";
    display: block;
    width: 0px;
    height: 2px;
    background-color: #000;
    position: absolute;
    bottom: 2px;
    left: 0;
    opacity: 0;
    transition: all 400ms;
}

.desc-title:hover::after {
    width: 100%;
    opacity: 1;
}

.desc-title svg {
    width: 23px;
    height: 23px;
}

.desc-text {
    color: #000;
    font-variation-settings: 'wght' 500;
    font-size: 1rem;
    color: #000;
    transition: all 0.3s;
}

.desc-box .desc-text {
    font-variation-settings: 'wght' 450;
    color: #A6A6A6;
    margin-top: 0.8rem;
}

.mainbody-projects {
    margin: 0 auto;
}

.projects-title {
    color: #000;
    font-variation-settings: 'wght' 500;
    font-size: 2.4rem;
    line-height: 1;
    text-transform: uppercase;
}

.projects-cardlist {
    flex-direction: column !important;
    margin: 2.5rem auto;
    width: 100%;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.projects-card {
    overflow: hidden;
    position: relative;
    width: 100% !important;
}
.card-img {
    width: 100%;
    height: 13rem;
    background-color: #D9D9D9;
    overflow: hidden;
    transition: all 0.5s;
    position: relative;
}

.card-desc {
    color: #000;
    font-variation-settings: 'wght' 600;
    font-size: 0.7rem;
    margin-top: 0.4rem;
}

.projects-card:hover p {
    opacity: 1;
    background: rgba(0, 0, 0, 0.5);
}

.projects-card:hover .card-desc span {
    opacity: 0;
    transform: translateY(0.25em);
    animation: cardDesc 0.2s cubic-bezier(0.35, 0.15, 0.5, 1) forwards;
}

@keyframes cardDesc {
    0% {
        transform: translateY(0.25em);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.work-more {
    text-align: center;
  }
  .work-more a {
      color: #000;
      font-size: 1.2rem;
      text-transform: uppercase;
      font-variation-settings: 'wght' 500;
      transition: all cubic-bezier(0.445, 0.05, 0.55, 0.95) 400ms;
      cursor: pointer;
      position: relative;
  }
  .work-more a::after {
      content: "";
      display: inline-block;
      width: 100%;
      height: 2px;
      background-color: #000;
      position: absolute;
      bottom: 4px;
      left: 0;
      transition: all 400ms;
  }

.mainbody-brand {
    height: 17rem;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    overflow: hidden;
}

.brand-top:hover,
.brand-middle:hover,
.brand-bottom:hover {
    animation-play-state: paused;
}

.brand-top {
    position: absolute;
    top: 2.5rem;
    transform: translateX(-50%);
    animation: topRight 90s linear infinite;
}

.brand-bottom {
    position: absolute;
    bottom: 2.5rem;
    animation: bottomLift 90s linear infinite;
}

@keyframes topRight {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}
@keyframes bottomLift {
    from {
        transform: translateX(-75%);
    }

    to {
        transform: translateX(-25%);
    }
}

.brand-middle {
    position: absolute;
    top: 6.79rem;
    animation: middleLift 90s linear infinite;
}
@keyframes middleLift {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}



.brand-icon {
    /* width: 9.685rem; */
    height: 3.428rem;
    position: relative;
    flex-shrink: 0;
    margin-right: 0.4em;
    cursor: pointer;
}

.mainbody-news {
    padding-bottom: 2.5rem;
}

.news-title {
    color: #000;
    font-variation-settings: 'wght' 500;
    font-size: 2.4rem;
    line-height: 1;
    margin-top: 2.5rem;
}

.news-swiper {
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
    width: 15.6rem;
}

.news-img {
    width: 100%;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.news-img img.out {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    z-index: -1;
}

/* .news-card2 .news-img{
    height: 16.95em;
}
.news-card3 .news-img{
    height: 22.6em;
} */
.news-content {
    color: #000;
}

.news-h {
    margin-top: 0.75rem;
    font-size: 0.7rem;
}

.news-text {
    font-variation-settings: 'wght' 400;
    margin-top: 0.3rem;
    font-size: 0.7rem;
    line-height: 120%;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
    /* 显示的行数，可以根据需要修改 */
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-date {
    margin-top: 1rem;
    font-size: 0.6rem;
}


.mainbody-more {
    text-align: center;
}

.mainbody-more a {
    color: #000;
    font-size: 1.2rem;
    text-decoration: underline;
    text-transform: uppercase;
    font-variation-settings: 'wght' 400;
    cursor: pointer;
    position: relative;
    transition: all cubic-bezier(0.445, 0.05, 0.55, 0.95) 400ms;
}

.mainbody-more a:hover {
    font-variation-settings: 'wght' 500;
}

.mainbody-more a::after {
    content: "";
    display: block;
    width: 0px;
    height: 2px;
    background-color: #000;
    position: absolute;
    bottom: 4px;
    left: 1%;
    transition: all 400ms;
}

.mainbody-more a:hover::after {
    width: 99%;
}

.mainbody {
    position: relative;
    z-index: 9;
    background: #fff;
}