*{
    padding: 0;
    margin: 0;
}
.page{
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    background: #F7EFDB;
}
img{
    width: 100%;
}
.top img{
    width: 100%;
}
.block1{
    position: relative;
}
.con {
    top: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    z-index: 2;
    left: 0;
    /* background: rgba(0, 0, 0, 0.4); */
    padding: 3.75rem 2.5rem 3.75rem;
    box-sizing: border-box;
    column-gap: .9375rem;
    row-gap: 1.25rem;
}
.con div,.con1 div{
    display: flex;
    justify-content: center;
    align-items: center;
}
  
.image-container {
  position: relative;
  display: inline-block; /* 或者其他适合的布局方式 */
}


.image-container .caption {
  position: absolute;
  bottom: 0;
  top:120%;
  left: 0;
  font-size: 3.4667vw;
  color: #963E35;
  padding: 0px; /* 文字内填充 */
  width: 100%; /* 和图片宽度一致 */
  text-align: center; /* 文字居中 */
}
.con1{
    top: 0;
    left: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    display: grid;
}
.block-con{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.block-con .title {
    height: 11.2vw;
    padding-top: 4vw;
    font-size: 6.6667vw;
    color: #fff;
    font-weight: bold;
    text-align: center;
}

.p-b{
    position: relative;
    width: 92vw;
    margin: 4vw auto 0;
}
.flex-box{
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.num{
    /* background: rgba(0, 0, 0, 0.4); */
    width: 8vw;
    height: 100%;
    padding-left: 10vw;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3.7333vw;
    color: #fff;
}
.text{
    flex:1;
    font-size: 5.3333vw;
    margin-left: 2.6667vw;
    display: flex;
    align-items: center;
    height: 100%;
}

.block3{
    padding: 4vw 5.3333vw;
    box-sizing: border-box;
    font-size: 3.3333vw;
}
.block3-title{
    margin-bottom: 4vw;
}
.icon{
    width: 7.4667vw;
    height: 7.4667vw;
    border-radius: 50%;
    margin-right: 1.3333vw;

}
.p{
    margin:  0 auto;
}
.p span{
    color: red;
}
.btn{
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    background: #28C445;
    height: 7.4667vw;
    border-radius: .6667vw;
    width: 26.6667vw;
}

.btn img{
    width: 4.2667vw;
    height: 4.2667vw;
    margin-right: 1.3333vw;
}

.title2 {
    height: 16.5333vw;
    padding-top: 7.8667vw;
    font-size: 6.6667vw;
    color: #fff;
    font-weight: bold;
    text-align: center;
}

.p-c{
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 1.0667vw;
    margin-top: 4vw;
    margin-left: auto;
    margin-right: auto;
    width: 85vw;
    height: 8vw;
    padding: 0 2.6667vw;
    box-sizing: border-box;
}

.r-text{
    color: #963E35;
    font-size: 5.3333vw;
    margin-right: 1.3333vw;
}
.w-text{
    font-size: 3.4667vw;
}


.tt{
    width: 74.6667vw;
    height: 33.3333vw;
    /* background: rgba(0, 0, 0, 0.4); */
    margin: 0 auto;
    font-size: 10.6667vw;
    padding: 5.3333vw 5vw 1.3333vw;
    box-sizing: border-box;
}


.card{
    width: 90vw;
    /* height: 53.3333vw; */
    background: #F4EAE2;
    border: 1px solid #9D5547;
    border-radius: 2.6667vw;
    margin:  0 auto;
    padding-top: 4vw;
    padding-left: 9.3333vw;
    padding-right: 2.6667vw;
    box-sizing: border-box;
}

.card-title{
    width: 35.4667vw;
    height: 10.6667vw;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    background: #9D5547;
    font-size: 6.6667vw;
    border-radius: 2.6667vw;
    margin:  0 auto 5.3333vw;
}

.r{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 100%;
}

.r-b{
    height: 18.6667vw;
    color: #fff;
    font-size: 5.0667vw;
    background: #FC2C4B;
    padding: 1.3333vw 0;
    box-sizing: border-box;
}
.user-name{
    width: 20vw;
}
.p2{
    color: #9D5547;
    font-size: 4vw;
    margin-bottom: 4vw;
}

.wraper{
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0,0.5);
    left: 0;
    top: 0;
    z-index: 999;
    /* display: flex; */
    align-items: center;
    justify-content: center;
    display: none;
}

.popup{
    width: 80vw;
    padding: 2.6667vw;
    border-radius: 1.3333vw;
    background: #fff;
    text-align: center;
    font-size: 3.4667vw;
}

.popup .red{
    font-size: 4vw;
    color: red;
    font-weight: bold;
    padding: 2.6667vw 0;
}

.popup .btn2{
    width: 40vw;
    height: 10.6667vw;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #2F8EE2;
    color: #fff;
    margin: 0 auto 2.6667vw;
    border-radius: 1.3333vw;
}
.scroll-block{
    display: flex;
}
.btn-con{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
.scroll-container {
    flex: 1;
    height: 16vw; /* 容器高度 */
    overflow: hidden; /* 隐藏超出部分 */
    position: relative
  }
  .scroll-container .btn{
    display: none;
  }
  .scroll-content {
    display: flex;
    flex-direction: column;
    animation: scroll 10s linear infinite; /* 循环滚动动画 */
    height: 400%; /* 内容高度是容器高度的两倍 */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
  }

  @keyframes scroll {
    0% {
      transform: translateY(0);
    }
    100% {
      transform: translateY(-100%);
    }
  }