@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}
body{
    overflow-x: hidden;
    /* background: #333232; */
    background: whitesmoke;
}
a{
    text-decoration: none;
}
ul{
    list-style: none;
}
.label-img{
    width:20px;
    height:20px;
}
/*--------------nav----------------*/
nav{
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 80px;
    height: 60px;
    width: 100%;
    z-index: 10;
    position: fixed;
}
.n-line{
    position: absolute;
    top: 28px;
    width: 0px;
    border-bottom: 4px salmon solid;
    transition: .3s ease-in-out;
}
.logo{
    color: whitesmoke;
}
.nav_1{
    display: flex;
    align-items: center;
}
.nav_1 li img{
    width: 20px;
    height: 20px;
    margin-right: 5px;
}
.nav_1 li{
    margin-left: 17px;
    display: flex;
    position: relative;
}
.nav_1 li a{
    color: whitesmoke;
    cursor: pointer;
}
.menu{
    display: none;
}
.mark{
    width: 100%;
    height: 60px;
    background-color: rgb(58, 58, 58);
    opacity: 0;
    position: absolute;
    left: 0;
    z-index: 1;
    position: fixed;
    
}

/*header*/
header{
    width: 100%;
    height: 60vh;
    background: url(../img/text/header.png);
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
.h-text{
    text-align: center;
    margin-bottom: 180px;
    color: whitesmoke;
    opacity: 0.8;
}
.h-text h1{
    color: #38507c;
    font-size: 7vmin;
}
.h-text p{
    color: #38507c;
    font-size: 2.6vmin;
    font-weight: 550;
    opacity: 0.9;
}

/*section*/
section{
    width: 80%;
    margin: 80px auto;
}
section .col{
    width: 100%;
    background: white;
    display: flex;
    justify-content: space-between;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0px 5px 10px rgb(129, 129, 129);
}
.c-img{
    width: 45%;
    overflow: hidden;
}
.c-img img{
    width: 100%;
    transition: .5s ease;
    display: block; /*防止图片和父容器之间产生间隙*/
}
.c-img img:hover{
    transform: scale(1.1);
}
.c-text{
    width: 50%;
    padding: 15px;
}
.c-text a{
    color: rgb(36, 35, 35);
}
.c-text h1{
    margin-top: 100px;
    opacity: 0.9;
}
.date-tag{
    display: flex;
    margin: 15px 0;
}

.date-tag .tag{
    display: block;
}
.s-line{
    border-left: 3px solid rgb(59, 59, 59);
    margin-left: 5px;
    margin-right: 5px;
}
.textcontent{
    margin-bottom: 20px;
}
.yuan{
    display: flex;
}
.yuan p{
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #333232;
}
.yuan p:nth-of-type(2){
    margin: 0px 5px;
}

/*footer*/
footer {
    width: 100vw;
    height: 30vh;
    background-image: url(../img/text/header.png);
    background-position: bottom;
    background-size: cover;
    position: relative;
    margin-top: 50px;
    z-index: 0;
}
.mark-2::before{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #353535;
    opacity: 0.6;
    z-index: 1;
}
.mark-2{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.mark-2 p{
    color: white;
    font-weight: 400;
    text-align: center;
    line-height: 30px;
    z-index: 10;
}


/**/
@media screen and (max-width:1430px) {
    section{
        width: 95%;
    }
}
@media screen and (max-width:1223px){
    .c-text h1{
        margin-top: 30px;
    }
}
@media screen and (max-width:1050px){
    nav{
        padding: 0 40px;
    }
    .n-line{
        display: none;
    }
    .nav_1{
        position: absolute;
        top: 60px;
        right: 0;
        bottom: 0;
        width: 50vw;
        height: calc(100vh - 60px);
        background-color: rgb(58, 58, 58);
        flex-direction: column;
        z-index: 1;
        transform: translateX(100%);
		transition: 0.4s ease-in-out;
    }
    .open{
        transform: translateX(0);
    }
    .nav_1 li{
        margin: 3vh;
        transform: translateX(20px);
        opacity: 0; /*先设置在@keyframes*/
    }
    .menu{
        display: block;
    }
    @keyframes slideIn {
        form{
            transform: translateX(20px);
            opacity: 0;
        }
        to{
            transform: translateX(0);
            opacity: 1;
        }
    }
}
@media screen and (max-width:981px){
    section{
        width: 80%;
    }
    section .col{
        flex-direction: column;
        align-items: center;
    }
    .c-img{
        width: 100%;
    }
    .c-text{
        text-align: center;
    }
    .date-tag{
        justify-content: center;
        flex-wrap: wrap;
    }
    .s-line{
        display: none;
    }
    .c-text h1{
        margin-top: 0;
    }
    .textcontent{
        display: none;
    }
    .yuan{
        display: none;
    }

}