body {
    background-color: #f2f2f2;
}

p {
    line-height: 2;
    color: rgb(51, 51, 51);
    font-size: 14px;
}

.navContainer {
    width: 100%;
    background-color: white;
    padding: 8px;
    display: flex;
    justify-content: center;
}

.navContainer>nav {
    width: 1200px;
    display: inline-flex;
}

.navContainer>nav a {
    padding: 22px 15px;
    border-right: 1px solid #eee;
    position: relative;
    transition-duration: 400ms;
}

nav .hover,
.navContainer>nav a:hover {
    color: #fff;
    background: rgb(0, 70, 141);
    ;
}

.navContainer>nav a::after {
    content: '';
    position: absolute;
    left: 50%;
    margin-left: -7px;
    bottom: 15%;
    width: 14px;
    height: 8px;
    background: url(../image/icon-dd2.png) no-repeat center;
    z-index: 9;
}

.content {
    padding: 0px 0;
}

.content>h3 {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin: 20px 0;
}

.content>p {
    text-align: center;
    font-size: 16px;
    max-width: 620px;
    margin: 0 auto;
}

.content .resumeContainer {
    margin-top: 30px;
    /* background-image: url('../img/banner8.jpg'); */
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.resume {
    width: 50%;
    background-color: rgba(20, 20, 20, .3);
    color: white;
    min-height: 300px;
    padding: 30px 30px 10px 30px;
    text-align: center;
}

.resume h4 {
    font-size: 26px;
    font-weight: bold;
    text-align: left;
    margin-bottom: 20px;
}

.resume p {
    color: white;
    text-align: left;
    font-size: 16px;
}

.resume .operateContainer {
    width: 180px;
    display: inline-flex;
    justify-content: center;
    margin-top: 20px;
}

.resume section {
    height: 160px;
    overflow: hidden;
}

.resume .operateContainer a:hover {
    background: url(../image/jiantou_hover.png) no-repeat center;
}

.resume .operateContainer a {
    background: url(../image/jiantou.png) no-repeat center;
    width: 25px;
    height: 13px;
    transition: all .3s;
    cursor: pointer;
}

.topProjectsContainer {
    margin: 50px 0;
}

.topProjectsContainer h3 {
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
}

.topProjectsContainer nav ul {
    display: inline-flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #ccc;
    margin-bottom: 30px;
}

.swiper-container {
    width: 100%;
    padding-bottom: 10px;
    /* display: none; */
    opacity: 0;
    position: absolute;
    z-index: -10;
    left: 0;
    top: 0;
}
.swiper-container:first-of-type {
    /* display: block; */
    opacity: 1;
    z-index: 10;
}

.swiper-slide {
    box-sizing: border-box;
    padding: 5px;
    border: 1px solid #ccc;
    height: auto;
    display: flex;
    align-items: center;
    flex-direction: column;
    font-size: 0;
    transition-duration: 500ms;
    width: 25%;
    /* height: 100%; */
}

.swiper-slide:hover {
    border-color: green;
}
.swiper-slide img {
    width: 280px;
    object-fit: cover;
    height: auto;
    margin-bottom: 6px;
}

.swiper1-slide {
    box-sizing: border-box;
    padding: 5px;
    height: auto;
    display: flex;
    align-items: center;
    flex-direction: column;
    font-size: 0;
    transition-duration: 500ms;
    width: 25%;
    /* height: 100%; */
}

.swiper1-slide:hover {
    border-color: green;
}
.swiper1-slide img {
    width: 280px;
    object-fit: cover;
    height: auto;
    margin-bottom: 6px;
}
.swiper1-slide img:hover {
   transform: scale(1.3);
   z-index: 1; /* 设置z-index确保它在最上面 */
   transition: transform 0.25s ease;
}
.swiper2-slide {
    box-sizing: border-box;
    padding: 5px;
    border: 1px solid #ccc;
    height: auto;
    display: flex;
    align-items: center;
    flex-direction: column;
    font-size: 0;
    transition-duration: 500ms;
    width: 25%;
    /* height: 100%; */
}

.swiper2-slide:hover {
    border-color: green;
}
.swiper2-slide img {
    width: 280px;
    object-fit: cover;
    height: auto;
    margin-bottom: 6px;
}
.swiper2-slide img:hover {
   transform: scale(1.3);
   z-index: 1; /* 设置z-index确保它在最上面 */
   transition: transform 0.25s ease;
}

.swiper-slide p {
    font-size: 16px;
    padding: 0 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
    width: 100%;
    line-height: 1.5;
}

.swiper-slide p:nth-of-type(1) {
    font-weight: 500;
}

.swiper-slide p:nth-of-type(2),
.swiper-slide p:nth-of-type(3) {
    font-size: 14px;
    color: rgb(0, 70, 141);
    line-height: 1.3;
}

.swiper-container .swiper-button-next {
    /* background-image: url('./jiantou.png'); */
    width: 35px;
    height: 35px;
    background-repeat: center no-repeat;
    background-position: 10px;
    /* background-color: #ddd; */
    /* border-radius: 50%; */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all, .3s;
}

.swiper-container .swiper-button-next:hover,
.swiper-container .swiper-button-prev:hover {
    /* background-color: #0c98d2; */
}

.swiper-container .swiper-button-next:hover img,
.swiper-container .swiper-button-prev:hover img {
    content: url('../image/left_hover.svg');
}

.swiper-container .swiper-button-prev {
    /* transform: rotate(90deg); */
    /* background-image: url('./jiantou.png'); */
    background-repeat: center no-repeat;
    /* background-size: contain; */
    /* background-color: #ddd; */
    width: 35px;
    height: 35px;
    /* border-radius: 50%; */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all, .3s;
}

.swiperBtnWrapper {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    justify-content: space-between;
    width: 100px;
}

.swiper-container .swiper-button-prev img,
.swiper-container .swiper-button-next img {
    width: 80%;
}

.currentProjectsContainer {
    margin: 10px 0;
}

.currentProjectsContainer h3 {
    font-size: 26px;
    font-weight: bold;
    margin: 20px;
    text-align: center;
}

.currentProjectsContainer nav ul {
    display: inline-flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #ccc;
    margin-bottom: 30px;
}

.currentProjectsContainer>div>ul {
    display: none;
    flex-wrap: wrap;
}

.currentProjectsContainer>div>ul:first-of-type {
    display: flex;
}

.currentProjectsContainer div li {
    width: 292.5px;
    height: 292.5px;
    margin-right: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}
.currentProjectsContainer div li:hover {
   transform: scale(1.8);
   z-index: 1; /* 设置z-index确保它在最上面 */
   transition: transform 0.25s ease;
}

.currentProjectsContainer div li:nth-of-type(4n) {
    margin-right: 0;
}

.currentProjectsContainer div li a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    font-size: 0;
    overflow: hidden;
    background-position: center center;
    background-attachment: scroll;
    background-size: cover;
    -webkit-background-size: cover;
    background-repeat: no-repeat;
    transition: all .3s;
}

.currentProjectsContainer div li a:hover {
    transform: scale(1.05);
    -ms-transform: scale(1.05);
}

.currentProjectsContainer div li a img {
    display: block;
    object-fit: cover;
    transition: all 0.2s;
    width: 100%;
    height: 100%;
}

.currentProjectsContainer div li a>span {
    width: 100%;
    height: 40px;
    display: block;
    position: absolute;
    font-size: 16px;
    left: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .4);
    padding: 0;
    color: #ffffff;
    line-height: 40px;
    text-align: left;
    text-indent: 20px;
    transition: all 0.3s;
}

.mask>span {
    color: #fff;
    display: block;
    text-align: right;
    margin-top: 10px;
}

.currentProjectsContainer div li a:hover>span {
    bottom: -100%;
}

.currentProjectsContainer .mask {
    opacity: 0;
    position: absolute;
    font-size: 16px;
    width: 90%;
    z-index: 15;
    box-sizing: border-box;
    text-align: center;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 15px;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    transition: all .3s;
    color: white;
    text-align: left;
    overflow: hidden;
}

.currentProjectsContainer a:hover .mask {
    opacity: 1;
}

.mask p {
    color: white;
}

.currentProjectsContainer .mask_b {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 10;
    opacity: 0;
    transition: all 0.3s;
}

.currentProjectsContainer a:hover .mask_b {
    opacity: 1;
}

.currentProjectsContainer a:hover img {
    transform: scale(1.05);
}

.mask h2 {
    font-size: 18px;
    box-sizing: border-box;
    overflow: hidden;
}

.currentProjectsContainer .more {
    width: 100px;
    display: block;
    color: #0c9fd9;
    /* float: right; */
    margin-right: 5px;
    font-size: 16px;
    position: absolute;
    right: 0;
    bottom: -20px;
}

.currentPrjectsContent {
    position: relative;
}

nav ul li {
    list-style: none;
    padding: 10px 0;
    font-size: 16px;
    margin-right: 20px;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    transition: all .3s;
}

nav ul li::after {
    content: '';
    width: 0;
    height: 4px;
    position: absolute;
    background-color: #078c19;
    bottom: 0;
    left: 0;
    transition: all .2s;
}

nav ul li:last-of-type {
    margin-right: 0;
}

.active {
    color: #078c19;
}

.active::after {
    /* border-bottom: 4px solid #0c98d2; */
    width: 100%;
}

.swipers {
    position: relative;
    /* overflow: hidden; */
    height: 371px;
}

@media (max-width: 1030px) {
    .resume {
        width: 100%;
    }
    .content {
        padding: 0 10px;
    }
    .currentProjectsContainer div li {
        width: 100vw;
        height: 100vw;
        margin-right: 0;
    }
}