#home {
    position: relative;
}

/* galler block start */
.gallery-block {
    width: 100%;
    height: 100vh;
    /* border: 1px solid red; */
    background-color: var(--theme-text-primary);
    position: relative;
}

.gallery-block .name-title {
    font-family: var(--font-family);
    font-size: 18rem;
    position: absolute;
    bottom: 1rem;
    color: var(--theme-green-deep);
    color: var(--theme-green-bright);
    left: 50%;
    transform: translate(-50%, 23%);
    letter-spacing: .8rem;
    z-index: 9;
}

.gallery-block .content-wrapper {
    width: 100%;
    height: 100%;
    justify-content: space-between;
    box-sizing: border-box;
    padding: 0 1rem;
}
.gallery-block .content-wrapper div {
    align-items: center;
}
.gallery-block .content-wrapper div a {
    color: var(--theme-text-invert);
    text-align: center;
    font-family: var(--font-family);
    font-size: 1.4rem;
    font-weight: 600;
    transform: scaleX(1.1) scaleY(.9) translate(0, -6rem);
    z-index: 99999999;
}

.image {
    width: 20rem;
    height: 13rem;
    object-fit: cover;
    object-position: center;
    position: absolute;
    transform: translate(-50%, -50%);
    opacity: 0;
    border-radius: 1.5rem;
}

.image[data-status="inactive"] {
    /* display: none; */
}

.image[data-status="active"] {
    display: block;
    opacity: 1;
}

/* galler block end */

/* introduction block start */
.introduction-block {
    width: 100%;
    height: 90vh;
    background-color: var(--theme-text-primary);
    /* background-color: rgba(207, 207, 24, 0.373); */
    /* border: 1px solid red; */
    position: relative;
    align-items: center;
    justify-content: center;
}

.introduction-block .content-wrapper .img-wrapper {
    width: 30rem;
    height: 25rem;
    /* border: 1px solid red; */
}

.introduction-block .content-wrapper .img-wrapper svg {
    width: 30rem;
    height: 25rem;
}
.introduction-block .content-wrapper .right-wrapper .text-wrapper {
    flex-direction: column;
    color: var(--theme-text-invert);
    font-family: var(--font-family);
    max-width: 35rem;
}

.introduction-block .content-wrapper .right-wrapper .text-wrapper  h2 {
    font-size: 3rem;
    font-weight: 600;
    width: 40%;
    border-bottom: 1px solid var(--theme-green-bright);
    

}
.introduction-block .content-wrapper .right-wrapper .text-wrapper  p,
.introduction-block .content-wrapper .right-wrapper .text-wrapper  h1 {
    margin-top: 2rem;
    font-size: 1.6rem;
    line-height: 1.5;
    font-weight: 500;
}

/* introduction block end */


/* service block start */
.service-block {
    width: 100%;
    height: 100vh;
    background-color: var(--theme-text-primary);
    /* background-color: rgba(207, 207, 24, 0.373); */
    /* border: 1px solid red; */
    position: relative;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.service-block .img-wrapper {
   width: 60rem;
   height: 35rem; 
   transform: translate(5%, 0);
}

.service-block .text-wrapper {
    max-width: 45rem;
    color: var(--theme-text-invert);
    font-family: var(--font-family);
    flex-direction: column;
}
.service-block .text-wrapper p {
    text-align: center;
    font-size: 1.2rem;
    letter-spacing: .03rem;
}





/* service block end */

/* video block start */
.video-block {
    width: 100%;
    height: 200vh;
    background-color: var(--theme-text-primary);
    overflow:clip;          /* 如果设置成hidden，会影响sticky */
}


.video-block .content-wrapper {
    width: 100%;
    height: 100vh;
    /* border: 1px solid red; */
    align-items: center;
    position: sticky;
    top: 0;

    /* background-color: bisque;
    width: 100%;
    height: 90vh;
    position: sticky;
    top:0; */
}
.video-block .content-wrapper video {
    position: absolute;
    width: 30%;
    height: 30%;
    object-fit: cover;
    top:  35%;
    left: 35%; 
    /* scale: 3.4; */
}
.video-block .content-wrapper .text-bar-wrapper {
    width: 100%;
    justify-content: center;
    color: var(--theme-text-invert);
    color: var(--theme-green-bright);

    font-family: var(--font-family);
}
.video-block .content-wrapper .text-bar-wrapper span {
    font-size: 3rem;
    z-index: 9;
    font-weight: 700;
}

.video-block .content-wrapper .text-bar-wrapper .left-span {
    transform: translateX(-100%);
}
.video-block .content-wrapper .text-bar-wrapper .right-span {
    transform: translateX(95%);

}


/* video block end */



/* comment block start */

.comment-block {
    width: 100%;
    height: 600vh;
    /* border: 1px solid orange; */
    flex-direction: column;
    background-color: var(--theme-text-primary);
    overflow: clip;
    
}
.comment-block .sticky-content {
    perspective: 1000px;
    perspective-origin: 50%;
    transform-style: preserve-3d;
    position: sticky;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
}
.comment-block .sticky-content .stack {
    --w: 30rem;
    --h: 25rem;
    position: relative;
    flex-grow: 0;
    flex-shrink: 0;
    transform-style: preserve-3d;
    width: calc(var(--w) * 1);
    height: calc(var(--h) * 1);
    will-change: transform;
}
.comment-block .sticky-content .stack .comment-card {
    transform-style: preserve-3d;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    transform-origin: 50% 105% 0px;
    box-shadow: 0 .125rem .75rem 1px rgba(0,0,0,.05),
              0 0 .125rem 1px rgba(0,0,0,.1);
    margin-top: 0rem;
    z-index: calc( 12 - var(--in) + 1);
    border: 1px solid var(--theme-text-invert);
}
.comment-card > div {
    transform-style: preserve-3d;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    border-radius: inherit;
  }
  .comment-card .front {
    z-index: 1;
    backface-visibility: hidden;
    /* background-color: olivedrab; */
    background-color: var(--theme-text-primary);
    background-size: 89%;
    background-repeat: no-repeat;
    flex-direction: column;
    color: var(--theme-text-invert)
  }


.comment-card .front .header-wrapper{
    padding: 2rem 0 1rem 2rem;
    align-items: center;
    border-bottom: 1px solid var(--theme-text-invert);
    background-color: #f3f3f32c;

}

.comment-card .front .header-wrapper .avatar-wrapper{
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    overflow: hidden;
}
.comment-card .front .header-wrapper .avatar-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.comment-card .front .header-wrapper .name-wrapper span{
    font-family: var(--font-family);
    font-size: 1.6rem;
    margin: 0 0 0 1rem;

}
.comment-card .front .header-wrapper .country-wrapper {
    margin: 1rem;
}

.comment-card .front .comment-text-wrapper {
    width: 90%;
    align-self: center;
}
.comment-card .front .comment-text-wrapper p {
    margin: 3rem 0 0 0;
}

.comment-block .stack-title {
    position: sticky;
    top: 10rem;
    
    text-align: center;
    transform: translate(0, -4rem);
    font-family: var(--font-family);
    font-size: 3rem;
    color: var(--theme-text-invert);
}

/* comment block end */


/* test */
.certificate-block {
    flex-direction: column;
}

.certificate-block .certificate-header {
    width: 100%;
    height: 10rem;
    background-color: var(--theme-text-primary);
    align-items: center;
    justify-content: center;
    padding: 3rem 0 0 0 ;
    border-bottom-left-radius: 2rem;
    border-bottom-right-radius: 2rem;

}

.certificate-block .certificate-header span {
    color: var(--theme-text-invert);
    color: var(--theme-green-bright);

    font-family: var(--font-family);
    font-size: 6rem;
}

  #infinite-carousel1 {
    --spacing: 30px;
    display: hidden;
    /* position: absolute; */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  #infinite-carousel1 .carousel {
    display: flex;
    height: 100%;
    padding: var(--spacing) 0;
    will-change: transform;
  }
  #infinite-carousel1 .carousel-item {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 25vw;
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    margin-right: var(--spacing);
    background-color: var(--red);
    border-radius: var(--spacing);
    list-style: none;
  }

  #infinite-carousel2 {
    --spacing: 30px;
    display: hidden;
    /* position: absolute; */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  #infinite-carousel2 .carousel {
    display: flex;
    height: 100%;
    padding: var(--spacing) 0;
    will-change: transform;
  }
  #infinite-carousel2 .carousel-item {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 25vw;
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    margin-right: var(--spacing);
    background-color: var(--red);
    border-radius: var(--spacing);
    list-style: none;
  }
  #infinite-carousel2 .carousel-item .img-wrapper {
    width: 30vw;
    height: 20rem;
  }