*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "微软雅黑","Microsoft Yagei",Helvetica,"PingFang SC", sans-serif;
    font-size: 14px;
}
img{
    width: 100%;
}
/* 定义一个:root ，后边所有元素都可以用到 */
:root{
    --primary-color:#ff434f;/*主色调*/
    --secondary-color:#e3e3e3;
    --text-color-lightest:#e7e9ec;
    --text-color-darker:#2e2e2e;
    --text-color-dark:#494949;
    --text-color-gray:#8b8b8b;
    --text-color-dark-gray:#727272;
    --text-color-light-gray:#c6c6c6;
    --backdrop-color:rgba(42,42,42,0.69);/*遮罩层颜色*/

}
header{
    width: 100vw;
    height: 105px;
    display: grid;/*栅格布局*/
    /*grid-template-columns: 1fr 2fr;*/
    padding: 0 40px;/*上下为0 ，左右为40个像素*/
    align-items: center;
    position: relative;
    z-index: 200;
    background: #fff;
    text-align: center;
}

/*.logo{*/
/*    font-size: 24px;*/
/*    font-weight: 600;*/
/*    color: var(--text-color-lightest);*/
/*}*/

header nav{
    justify-self: center; /*放置在最后边*/
    width: 1200px;
    margin-top: 30px;
}
header nav img.logo{
    width: 38px;
    height: 31px;
    vertical-align:middle;
}
header nav div.logo{
    display:table-cell;
    vertical-align:middle;
    display: inline-block;
    color: #000000;
    font-size: 24px;
    height: 31px;
    line-height: 31px;
    font-weight: 400;
    color: #000000;
    /*color:var(--text-color-lightest);*/
    cursor: pointer;
    margin-left: 11px;/*上下为0 ，左右为8个像素*/
}
header nav i{
    color:var(--text-color-lightest);
    cursor: pointer;
}
header nav a{
    height: 31px;
    line-height: 31px;
    font-size: 16px;
    font-weight: 400;
    color: #000000;
    display: inline-block;
    /*color:var(--text-color-lightest);*/
    text-decoration: none;
    margin: 0 15px;/*上下为0 ，左右为24个像素*/
}
header nav a.selected {
    font-weight: bold;
    color: #0053A1;
}



header nav a.home {
    margin-left: 200px;
}
header.burger{
    display: none;
}

header.sticky{
    position: fixed;
    background-color: white;
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.1);
    animation: dropDown 0.5s ease-in-out forwards;
}
header.sticky .logo,
header.sticky nav a,
header.sticky nav i{
    color: var(--text-color-darker);
}
@keyframes dropDown{
    from {
        transform: translateY(-100px);
    }
    to{
        transform: translateY(0);
    }
}

.glide{
    position: relative;
    /*top: -80px;*/
    top: 0px;
    z-index: 50;
}

.glide__slide img,.glide__slide video{
    width: 100vw;
    height: calc(100vh - 105px);
    object-fit: cover;/*等比例的缩放*/
}

.slide-caption{
    position: absolute;
    z-index: 70;
    color: var(--text-color-lightest);
    text-align: center;
    max-width: 60vw;/*60vw表示占比60%*/
    /*margin-top: -100px;*/
}

.glide__slide{
    display: flex;
    align-items: center;
    justify-content: center;
}

@font-face {
    font-family: "PangMenZhengDao"; /* Project id 2932403 */
    src: url('fonts/PangMenZhengDao.ttf?t=1637165583995') format('truetype');
}

.slide-caption h1.main{
    font-size: 72px;
    font-family: "PangMenZhengDao";
    font-weight: 400;
    color: #FFFFFF;
}

.slide-caption h3.main{
    margin: 48px 0;
    font-size: 36px;
    font-weight: 400;
    color: #FFFFFF;
}
.slide-caption h1.saas{
    font-size: 48px;
    font-weight: 400;
    color: #FFFFFF;
    margin-left: -300px;
}
.slide-caption .saas span{
    font-size: 48px;
    font-weight: 400;
    color: #FFFFFF;
    letter-spacing:-8px;
}
.slide-caption h3.saas{
    font-size: 30px;
    color: #FFFFFF;
    line-height: 90px;
    margin-left: -300px;
}

.slide-caption.left{
    max-width: 80vw;
    text-align: left;
}
.slide-caption.right{
    max-width: 80vw;
    text-align: right;
}


.slide-caption h1.lcdp{
    font-size: 48px;
    font-weight: 400;
    color: #F6F8FB;
    margin-left: -300px;
}
.slide-caption h3.lcdp{
    font-size: 30px;
    font-weight: bold;
    color: #F6F8FB;
    margin-top: 35px;
    margin-left: -300px;

}


.slide-caption > *{ /*  “>*”只选中下一层（直接）的子元素*/
    opacity: 0;
}

.backdrop{
    background: var(--backdrop-color);
    position: absolute;
    z-index: 60;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    opacity: 0.1;/*透明度*/
}

.explore-btn{
    padding: 14px 32px;
    border: 0;
    border-radius: 4px;
    color: var(--text-color-lightest);
    background-color: var(--primary-color);
    font-size: 18px;
    cursor: pointer;
    outline: none;
}
.explore-btn span{
    display: inline-block;
    position: relative;
    transition: 0.5s;
}
.explore-btn span:after {
    content: '»';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -30px;
    transition: 0.5s;
}
.explore-btn:hover span {
    padding-right: 20px;
}
.explore-btn:hover span:after {
    opacity: 1;
    right: 0;
}

/* 关于我们 */

/* 内容区域，通用样式 */
.content-wrapper{
    display: flex;
    align-items: center;/*垂直居中*/
    justify-content: center;/* 水平居中,只针对content */
    flex-direction: column;
}

section{
    display: grid;/*栅格布局*/
    justify-items: center;/* 水平居中,只针对所有的列的对齐方式 */
    /*max-width: 1180px;*/
    padding: 0 80px;
}
.section-bg{
    position: relative;
}
.section-bg::before{
    content: "";
    display: block;
    position: absolute;
    background-color: #f9fbfb;
    width: 100vw;
    height: 100%;
    z-index: -1;
}

#product-introduction {
    height: 820px;
    padding-bottom: 40px;
}
#product-introduction .title {
    height: 27px;
    font-size: 32px;
    font-weight: bold;
    color: #000000;
    margin-top: 72px;
}
#product-introduction .intro {
    text-align: center;
    opacity: 0.8;
    height: 16px;
    font-size: 16px;
    font-weight: 400;
    color: #999999;
    margin-top: 30px;
}
#product-introduction .product-head {
    width: 100vw;
    height: 265px;
    background: #FFFFFF;
    box-shadow: 0px 3px 7px 0px rgba(204, 204, 204, 0.35);
}
#product-introduction .product-head-wrapper {
    display: grid;
    justify-items: center;
    max-width: 1180px;
    margin: 0 auto;
}

#product-introduction .product-btns{
    margin-top: 50px;
}
#product-introduction .product-btn{
    margin:0 7px;
    border: 0;
    padding: 5px 20px;
    cursor: pointer;
    transition: 0.4s;
    font-size: 18px;
    font-weight: 400;
    color: #020202;
}
#product-introduction .separate {
    width: 1px;
    height: 20px;
    background: #DFDFDF;
    display: inline-block;
    margin-left: 25px;
    margin-right: 25px;
}
#product-introduction .product-btn.active{
    outline: none; /*也可以在。product-btn中写outline:none，是一个效果*/
    font-weight: bold;
    color: #0053A1;
}
#product-introduction .product-btn.active::after{ /* ::after为尾元素*/
    content: "";
    position: absolute;
    width: 73px;
    height: 2px;
    background: #0053A1;
    display: inline-block;
    margin-top: 40px;
    margin-left: -74px;
}
#product-introduction .products {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}
#product-introduction .products img.product-wrapper {
    width: 786px;
    height: 466px;
}


#product-introduction .product-desc {
    font-size: 16px;
    font-weight: 400;
    color: #333333;
    line-height: 48px;
    text-align: center;
    margin-top: -20px;
}

#solution {
    height: 908px;
    width: 100vw;
    background-image: url("images/solution-bg.jpg");
    background-size:100% 100%;
}
#solution .title {
    font-size: 32px;
    font-weight: bold;
    color: white;
    margin-top: 80px;
}
#solution .intro {
    font-size: 18px;
    font-weight: 400;
    color: white;
    opacity: 0.5;
}
#solution img {
    height: 643px;
    width: 1206px;
}



#core-technology {
    height: 798px;
    width: 100vw;
}
#core-technology .row {
  width : 1168px;
}
#core-technology .row .col{
    float:left;
    width: 559px;
}
#core-technology .row .separate{
    float:left;
    width: 50px;
}

#core-technology h2.title {
    height: 32px;
    font-size: 32px;
    font-weight: bold;
    color: #000000;
    margin-top: 82px;
}
#core-technology div.title {
    height: 18px;
    font-size: 18px;
    font-weight: bold;
    color: #000000;
}
#core-technology .title-intro {
    text-align: center;
    opacity: 0.8;
    height: 16px;
    font-size: 16px;
    font-weight: 400;
    color: #000000;
    margin-bottom: 20px;
}
#core-technology .intro {
    height: 157px;
    font-size: 14px;
    font-weight: 400;
    color: #333333;
    line-height: 50px;
    margin-top: 47px;
}


#core-technology .first .right img {
    width: 559px;
    height: 267px;
    margin-left: 10px;

}
#core-technology .jxjs01 {
    background-image: url("images/jxjs01.jpg");
    background-position: bottom right;
    background-repeat: no-repeat;
    height: 267px;
}

#core-technology .jxjs02 {
    background-image: url("images/jxjs02.jpg");
    background-position: bottom right;
    background-repeat: no-repeat;
    height: 267px;
}

#core-technology .second .left img {
    width: 559px;
    height: 267px;

}
#core-technology .second .title {
    margin-left: 50px;
}
#core-technology .second .intro {
    margin-left: 50px;
}



#platform-advantages {
    height: 934px;
    background: #F8F8F8;
    width: 100vw;
    /*background-image: url("images/bg.jpg");*/
    /*background-size:100% 100%;*/
}
#platform-advantages .title {
    font-size: 32px;
    font-weight: bold;
    color: #000000;
    margin-top: 80px;
}

#platform-advantages  .advantages{
    width: 1222px;
}
#platform-advantages  .advantages .advantage{
    float: left;
}

#platform-advantages  .advantages img{
    padding: 10px;
    box-shadow: 0px 0px 18px rgba(0, 0, 0, 0.06);
}

#platform-advantages  .advantages img:hover{
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24),0 17px 50px 0 rgba(0,0,0,0.19);;
    transition: 0.5s;
}

#platform-advantages  .advantages .advantage-content {
    font-size: 14px;
    font-weight: 300;
    color: #FFFFFF;
    position: absolute;
}

#platform-advantages  .advantages .p1 {
    width: 307px;
    height: 43px;
    margin-top: -65px;
    margin-left: 35px;
}
#platform-advantages  .advantages .p2 {
    width: 304px;
    height: 43px;
    margin-top: -65px;
    margin-left: 35px;
}
#platform-advantages  .advantages .p3 {
    width: 442px;
    height: 43px;
    margin-top: -65px;
    margin-left: 35px;
}

#platform-advantages  .advantages .p4 {
    width: 432px;
    height: 43px;
    margin-top: -65px;
    margin-left: 35px;
}

#platform-advantages  .advantages .p5 {
    width: 304px;
    height: 15px;
    margin-top: -65px;
    margin-left: 35px;
}

#platform-advantages  .advantages .p6 {
    width: 309px;
    height: 43px;
    margin-top: -65px;
    margin-left: 35px;
}





#showcases{
    height: 907px;
    background: #FFFFFF;
    width: 100vw;
}
#showcases h2.title {
    font-size: 32px;
    font-weight: bold;
    color: #000000;
}
#showcases .row {
    width : 1138px;
}
#showcases .row .col{
    float:left;
    width: 50%;
}
#showcases .row .left img{
    width: 569px;
    height: 674px;
    box-shadow: 0px 0px 18px rgba(0, 0, 0, 0.06);
}
#showcases .row .left img:hover{
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24),0 17px 50px 0 rgba(0,0,0,0.19);;
    transition: 0.5s;
}

#showcases .row .right {
    padding-left: 20px;
}
#showcases .row .right div.title{
    width: 150px;
    height: 24px;
    font-size: 24px;
    font-weight: bold;
    color: #000000;
}
#showcases .row .right div.title1{
    width: 76px;
    height: 18px;
    font-size: 18px;
    font-weight: bold;
    color: #000000;
    margin-top: 27px;
}
#showcases .row .right div.intro{
    width: 646px;
    font-size: 14px;
    font-weight: 400;
    color: #000000;
    line-height: 26px;
    margin-top: 21px;
}

#showcases .row .right img{
    margin-top: 20px;
}

#showcases .row .case {
    margin-top: 20px;
    width: 686px;
    height: 122px;
    background: #0053A1;
}

#showcases .row .case .add {
    color: red;
    font-size: 22px;
    font-weight: bold;
    line-height: 30px;
    padding-left: 3px;
}

#showcases .row .case .dec {
    color: yellow;
    font-size: 22px;
    font-weight: bold;
    line-height: 30px;
    padding-left: 3px;
}

#showcases .row .case .svg{
    margin-top: 14px;
    margin-left: 25px;
    float: left;
    font-size: 16px;
}

#showcases .row .case p{
    float: left;
    font-size: 16px;
    font-weight: bold;
    color: #FEFEFE;
    line-height: 30px;
    margin-top: 20px;
    margin-left: 20px;
}





#about-us{
    height: 920px;
    width: 100vw;
    background: #F8F8F8;


}
#about-us .title {
    font-size: 32px;
    font-weight: bold;
    color: #000000;
    margin-top: 80px;
}


#about-us .abouts {
    width: 1234px;
    margin-top: 30px;
}
#about-us .abouts .item {
   float: left;
   padding: 15px;
}

#about-us .abouts .item {
    float: left;
    padding: 15px;
}
#about-us .abouts .item img:hover{
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24),0 17px 50px 0 rgba(0,0,0,0.19);;
    transition: 0.5s;
}
#about-us .abouts .item .e3keji{
    width: 328px;
    height: 31px;
    font-size: 32px;
    font-weight: bold;
    color: #FFFFFF;
    line-height: 27px;
    position: absolute;
    margin-top: -175px;
    margin-left: 145px;
}
#about-us .abouts .item .intro {
    width: 586px;
    height: 337px;
    font-size: 14px;
    font-weight: 400;
    color: #333333;
    text-indent:35px;
    line-height: 25px;
}


#about-us .certificate{
    position: relative;
    margin: 10px auto;
    width: 1234px;
    height: 357px;
    overflow: hidden;
}
#about-us .certificate ul {
    position: absolute;
    left:0;
}
#about-us .certificate ul li {
    float:left;
    padding: 10px;
    list-style: none;
    width: 298px;
    height: 357px;
}
#about-us .certificate ul li img {
    width: 278px;
    height: 317px;
    background: #C2D7EA;
    box-shadow: 0px 0px 18px rgba(0, 0, 0, 0.06);
}
#about-us .certificate ul li img:hover{
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24),0 17px 50px 0 rgba(0,0,0,0.19);;
    transition: 0.5s;
}




#contact-us{
    height: 660px;
    width: 100vw;
}
#contact-us .title {
    font-size: 32px;
    font-weight: bold;
    color: #000000;
    margin-top: 80px;
}
#contact-us .contacts {
    width: 1204px;
}
#contact-us .contact {
    float: left;
    width: 602px;
    height: 600px;
    padding: 5px;
}
#contact-us .contact img {
    width: 602px;
    height: 261px;
    margin-top: 15px;
}
#contact-us div.ourpurpose{
    height: 18px;
    font-size: 18px;
    font-weight: bold;
    color: #000000;
    margin-top: 15px;
}
#contact-us div.purpose{
    font-size: 16px;
    color: #000000;
    line-height: 29px;
    margin-top: 15px;
    text-indent: 35px;
}
#contact-us .contact p {
    font-size: 18px;
    font-weight: 400;
    color: #000000;
    margin-top: 15px;
}
#contact-us .contact input {
    width: 518px;
    height: 50px;
    background: #F5F5F5;
    margin-top: 20px;
    outline-style: none ;
    border: 0px;
    padding: 7px 30px;
}
#contact-us .contact .required {
    position: absolute;
    margin-top: -30px;
    margin-left: 15px;
    color: red;
    font-size: 22px;
}

#contact-us .contact textarea {
    width: 518px;
    height: 90px;
    background: #F5F5F5;
    margin-top: 20px;
    outline-style: none ;
    border: 0px;
    padding: 7px 30px;
}



#contact-us .contact button {
    width: 519px;
    height: 50px;
    background: #3a6ff7;
    border: 0px;
    border-radius: 5px;
    margin-top: 21px;
    color: white;
    font-size: 18px;
    font-weight: bold;

}


form .error {
    color: #c00;
}

form label.error {
    color: #c00;
    font-size: 16px;
    font-weight: bold;
    position: absolute;
    width: 308px;
    display: none;
    margin-left: -20px;
    margin-top: 40px;
}

/*.title1{*/
/*    font-size: 34px;*/
/*    color: var(--text-color-dark);*/
/*}*/
/*.title1::after{ !* ::after为尾元素*!*/
/*    content: "";*/
/*    display: block;*/
/*    width: 80%;*/
/*    height: 4px;*/
/*    background-color: var(--primary-color);*/
/*    margin-top: 14px;*/
/*    transform: translate(10%); !* translate（10%）为移动到x轴10% *!*/
/*}*/

/*.intro{*/
/*    margin: 28px 0 60px 0;!* 距上边28px 距右边0 距下边60px 距左边0 *!*/
/*    font-size: 18px;*/
/*    color: var(--text-color-dark-gray);*/
/*}*/

.about-us{
    padding-bottom: 32px;/*距离底部32px*/
}

.features{
    display: grid;
    grid-template-columns: repeat(3,1fr);/*grid的3列布局,repeat(3,1fr)其中3是重复3次，1fr是重复的位置；此处也可以写成1fr 1fr 1fr*/
    grid-template-rows: 126px 126px; /* grid的2行布局*/
    column-gap: 5vw; /*列之间的间隙*/
}
.feature{
    display: grid;
    grid-template-areas:
        "icon title"
        "icon content";/*自定义行和列布局的名字和位置,后面的子元素用到areas的地方可直接写这里边的内容*/
    grid-template-columns: 60px 1fr;
    grid-template-rows:1fr 3fr;
}
.feature i.fas{
    grid-area:icon;
    font-size: 34px;
    color: var(--primary-color);
}
.feature-title{
    grid-area: title;
    font-size: 18px;
    color: var(--text-color-darker);
}
.feature-content{
    grid-area: content;
    color: var(--text-color-gray);
    margin-top: 10px;
}
/* 成功案例 */
.showcases{
    max-width: unset;
    padding: 0;
    padding-top: 72px;
}
.filter-btns{
    margin-top: 54px;
    margin-bottom: 38px;
}
.filter-btn{
    margin:0 7px;
    background-color: var(--secondary-color);
    border: 0;
    color: var(--text-color-dark-gray);
    padding: 8px 18px;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.4s;
}
.filter-btn:focus,
.filter-btn:active{
    outline: none; /*也可以在。filter-btn中写outline:none，是一个效果*/
}

.filter-btn.active,
.filter-btn:hover{
    background-color: var(--primary-color);
    color: var(--text-color-lightest);
}

.showcases .cases{
    width: 100vw;
}
.showcases .case-item{
    width: 25vw;
    height: 20vw;
    overflow: hidden; /*缩放时超出的部分不可见*/
}

.case-item img{
    height: 100%;
    object-fit: cover;/*自动等比例缩放*/
}

/*服务流程部分*/
.service {
    padding-top: 131px;
}

.services{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-template-rows: 1fr 1fr;
    column-gap: 38px;
    row-gap: 34px;
}
.service-item{
    display: grid;
    grid-template-areas:
        "ser-icon ser-title"
        "ser-icon ser-content";
    grid-template-columns: 70px 1fr;/*第一列70px，剩下的填满整个剩余空间*/
    grid-template-rows: 1fr 3fr;
    padding: 24px;
    box-shadow: 0px 0px 18px rgba(0, 0, 0, 0.06);
}
.service-item:hover{
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24),0 17px 50px 0 rgba(0,0,0,0.19);;
    transition: 0.5s;
}
.service-item i.fas{
    grid-area: ser-icon;
    font-size: 42px;
    color: var(--primary-color);
    padding: 6px;
}
.service-title{
    grid-area: ser-title;
    font-size:24px;
    color:var(--text-color-darker);
}
.service-item .service-content{
    grid-area: ser-content;
    color: var(--text-color-gray);
    line-height: 30px;
    font-size: 16px;
    margin-top: 8px;
}

/* 团队介绍 */
.team-intro{
    margin-top: 48px;
    padding-top: 62px;/* 上方内边距*/
    padding-bottom: 52px;
}
.team-members{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    column-gap: 24px;
    margin-top: 86px;
}
.team-member{
    background-color: white;
    box-shadow: 0 0 24px rgba(0,0,0,0.2);
    text-align: center;
    display: grid;
    padding-bottom: 28px;
    transition: 0.4s;
    justify-items: center;
}
.team-member .profile-image{
    overflow: hidden;/* 蒙版 */
}
.profile-image img{
    width: 100%;
    height: 264px;
    object-fit: cover;/* 自动等比例缩放*/
    object-position: top center;/* 等比例缩放后的位置为图片的中上方，这样的显示更好 */
}
.team-member .name{
    margin-top: 18px;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-color-dark);
}
.team-member .position{
    margin-top: 12px;
    color: var(--text-color-dark-gray);
    margin-bottom: 18px;
}
.team-member .social-links{
    width: 100%;
    max-width: 200px;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    column-gap: 10px;
}
.team-member .social-links li{
    list-style: none;
}
.social-links li a{
    color: var(--text-color-dark);
    text-decoration: none;
}
.team-member:hover{
    transform: translateY(-20px) scale(1.05); /* -的就是往上走，+就是往上走,scale(1.05)是放大到1.05倍 */
    box-shadow: 0 0 36px rgba(0, 0, 0, 0.1);
}

/* 数据区域 */
.data-section{
    max-width: unset;
    height: 255px;
    display: grid;
    grid-template-columns: repeat(4,minmax(auto,220px));
    width: 100vw;
    background-image: url("static/assets/images/adult-business-computer-contemporary-380769.jpg");
    background-size: cover;
    background-position: center;

    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 20;
}
.data-section::before{
    content: "";
    display: block;
    position: absolute;
    background-color: var(--backdrop-color);
    width: 100%;
    height: 100%;
    z-index: 1;
}
.data-piece{
    width: 255px;
    display: grid;
    grid-template-rows: repeat(3,1fr);
    color: white;
    justify-items: center;
    position: relative;
    z-index: 40;
}
.data-piece i.fas{
    font-size: 44px;
}
.data-piece .num{
    margin-top: 7px;
    font-size: 41px;
    font-weight: 600;
}
.data-piece .data-desc{
    font-weight: 500;
    font-size: 18px;
}

/* 公司动态 */
.company-activities{
    margin-top: 62px;
    margin-bottom: 62px;
}
.activities{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    column-gap: 24px;
}
.activity{
    background-color: white;
    box-shadow: 0 0 24px rgba(0,0,0,0.2);
    padding-bottom: 28px;
    transition: 0.4s;
}
.activity:hover{
    transform: translateY(-20px) scale(1.05);
    box-shadow: 0 0 36px rgba(0, 0, 0, 0.1);
}
.activity .act-image-wrapper{
    overflow: hidden;
}
.activity img{
    width: 100%;
    height: 300px;
    object-fit: cover;/* 自动等比例缩放*/

}
.activity .meta{
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 10px 10px;
    color: var(--text-color-light-gray);
}
.activity .act-title,article{
    padding: 10px 10px;
}
.act-title{
    font-size: 18px;
}
article{
    color: var(--text-color-gray);
    letter-spacing: 0.54px;
    line-height: 24px;
}
.activity .read-more-btn{
    margin-left: 10px;
    border: 0;
    width: 30%;
    height: 40px;
    border-radius: 4px;
    color: var(--text-color-lightest);
    background-color: var(--primary-color);
    font-size: 18px;
    cursor: pointer;
    outline: none;
}
.read-more-btn span{
    display: inline-block;
    position: relative;
    transition: 0.5s;
}
.read-more-btn span:after {
    content: '»';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -30px;
    transition: 0.5s;
}
.read-more-btn:hover span {
    padding-right: 20px;
}
.read-more-btn:hover span:after {
    opacity: 1;
    right: 0;
}


/* footer:联系我们(底部) */
footer{
    margin-top: 124px;
    background-color: #181818;
    display: grid;
    justify-items: center;
    padding-top: 0px;
    padding-bottom: 24px;
}
.footer-menus{
    width: 100%;
    max-width: 1180px;
    display: grid;
    grid-template-columns: 2fr repeat(4,1fr);
    padding: 0 80px;
    position: relative;
}
.menu-title{
    font-size: 16px;
    color: white;
    font-weight: 500;
    margin-bottom: 20px;
}
.contact-us{
    justify-self: start; /* 水平上在最开始的部分 */
    color: var(--text-color-lightest);
}
.contact-us p:not(:first-child){
    /*padding-bottom: 16px;*/
}
.menu-items li{
    list-style: none;
    padding-bottom: 8px;
}
.menu-items li a{
    text-decoration: none;
    font-weight: 300;
    color: var(--text-color-lightest);
}
.icp-info{
    margin-top: 24px;
    margin-bottom: 16px;
}
.icp-info,
.rights {
    grid-column: 1 / -1;/* 从编号为1到最后一个，-2就是倒数第二个 */
    justify-self: center;
    color: white;
}
.scrollToTop{
    display: none;
    position: relative;
    z-index: 300;
}
.scrollToTop a{
    width: 32px;
    height: 32px;
    color: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    text-decoration: none;
    position: fixed;
    bottom: 60px;
    right: 30px;
}

/* 实现响应式 */
@media(max-width:1100px){
    header nav {
        display: none;
    }

    header .burger{
        display: block;
        width: 20px;
        height: 6px;
        position: relative;
        justify-self: end;
        cursor: pointer;
    }
    .burger-line1,
    .burger-line2,
    .burger-line3{
        width: 20px;
        height: 2px;
        background-color: var(--text-color-lightest);
    }
    .burger-line1{
        position: absolute;
        top: -6px;
    }
    .burger-line3{
        position: absolute;
        top: 6px;
    }

    header.open nav{
        display: grid;
        position: absolute;
        left: 0;
        top: 0;
        width: 100vw;
        height: 100vh;
        background-color: white;
        grid-auto-rows: max-content;
        justify-items: end;

        padding: 0 40px;
        opacity: 0;
        animation: slideDown 0.6s ease-out forwards;
    }
    header.open nav > *{
        color: var(--text-color-darker);
        animation: showMenu 0.5s linear forwards 0.4s;
        font-size: 18px;
        margin: 4px 0;
        opacity: 0;
    }
    header.open nav > i.fas{
        margin-top: 10px;
    }

    header.open .burger-line1,
    header.open .burger-line2,
    header.open .burger-line3,
    header.sticky .burger-line1,
    header.sticky .burger-line2,
    header.sticky .burger-line3{
        background-color: var(--text-color-darker);
        transition: 0.4s ease;
    }

    header.open .burger-line1{
        transform: rotate(45deg) translate(3px,5px);/* rotate(45deg)是旋转45度*/
    }
    header.open .burger-line2{
        transform:translateX(5px);
        opacity: 0;/*透明的，不可见*/
    }
    header.open .burger-line3{
        transform: rotate(-45deg) translate(3px,-5px);
    }

    header.open .logo{
        z-index: 40;
        color: var(--text-color-darker);
    }

    @keyframes slideDown{
        from{
            height: 0;
            opacity: 0;
        }
        to{
            height: 100vh;
            padding-top: 80px;
            opacity: 1;
        }
    }
    @keyframes showMenu{
        from{
            opacity: 0;
            transform: translateY(-1vh);
        }
        to{
            opacity: 1;
            transform: translateY(0);
        }
    }
    .service-item .service-title{
        font-size: 20px;
    }
    .service-item .service-content{
        font-size: 14px;
        line-height: 24px;
    }
    .team-members{
        grid-template-columns: repeat(2,1fr);
        row-gap: 36px;
        column-gap: 6vw;/* vw是浮动的 */
    }
    .activities{
        grid-template-columns: repeat(2,1fr);
        row-gap: 36px;
    }
}

@media(max-width:992px){
    .slide-caption h1{
        font-size: 48px;
    }
    .slide-caption h3{
        font-size: 18px;
    }

    .features,.services{
        grid-template-columns: repeat(2,1fr);
        grid-template-rows: unset;
    }

    .data-section {
        grid-template-columns: repeat(2,minmax(200px,auto));
        padding: 24px 0;
        height: auto;
        row-gap: 24px;
        background-size: 200%;
    }
    .showcases .case-item{
        width: calc(100vw/3);
    }
}
@media(max-width:768px){
    section,.footer-menus{
        padding: 0 40px;
    }
    .footer-menus{
        grid-template-columns: 2fr repeat(2,1fr);
    }
    .contact-us{
        grid-row: 1/3;
    }
    .footer-menu{
        text-align: right;
    }
    .activities{
        grid-template-columns: 1fr;
        row-gap: 36px;
    }
    .data-section{
        grid-template-columns: 1fr;
        background-size: 300%;
    }
    .team-members{
        grid-template-columns: minmax(200px,400px);
    }
    .features,.services{
        grid-template-columns: 1fr;
    }
    .showcases .case-item{
        width: calc(100vw/2);
        height: 30vw;
    }
}

@media(max-width:576px){
    .slide-caption h1{
        font-size: 28px;
    }
    .slide-caption h3{
        font-size: 14px;
    }
    .explore-btn{
        font-size: 14px;
        padding: 8px 18px;
    }
    .showcases .case-item{
        width: 100vw;
        height: 60vw;
    }
    .footer-menus{
        grid-template-columns: 1fr;
        row-gap: 20px;
    }
    .footer-menu{
        justify-self: start;
        text-align: left;
    }
}
