/* 滚动图 */

.slidershow {
    width: 100%;
    height: 720px;
    overflow: hidden;
    margin-top: -72px;
}

/* 按钮布局 */
.navigation {
    position: absolute;
    bottom: 200px;
    right: 0px;
    display: flex;
}

.bar {
    width: 40px;
    height: 10px;
    border: 2px solid white;
    margin: 6px;
    cursor: pointer;
}

.bar:hover {
    background-color: white;
}

input[name="r"] {
    display: none;
}

.slides {
    /* 让4张图片不完全展示 */
    width: 400%;
    height: 100%;
    display: flex;
}

.slide {
    /* 将4份图片布局以每份布局25%放入.slides */
    width: 25%;
    transition: 0.4s;
}


/* 设置滚动页透明度 */
.banner_shadow{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 720px;
    background: rgba(0, 0, 0, 0.10);
}

.slide img {
    width: 100%;
    height: 100%;
}

#r1:checked ~ .s1 {
    margin-left: 0;
}

#r2:checked ~ .s1 {
    margin-left: -25%;
}

#r3:checked ~ .s1 {
    margin-left: -50%;
}

#r4:checked ~ .s1 {
    margin-left: -75%;
}

.slider_bottom{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 720px;
}

.slider_container{
    position: relative;
    width: 1200px;
    height: 100%;
    margin: 0 auto;
}

.slider_title{
    position: absolute;
    top: 300px;
    width: 100%;
}

/* 设置滚动页标题，类容 */

.slider_title h2{
    position: relative;
    font-size: 48px;
    font-weight: normal;
    color: white;
    left: 100px;
    opacity: 0;
}

.slider_title h5{
    position: relative;
    font-size: 18px;
    font-weight: normal;
    color: white;
    left: 100px;
    opacity: 0;
}

/* 最新动态 */

.news{
    width: 1200px;
    margin: -100px auto 0 auto;
}

.news h4{
    padding: 10px 0;
    color: white;
    font-size: 28px;
    border-top: 1px solid white;
}

/* 图片card */
.small-img{
    height: 214px;
    width: calc(100% / 3 - 24px) !important;
}

.centre-img{
    height: 315px;
}

.img-card{
    position: relative;
    overflow: hidden;
    margin-left: 24px;
    margin-bottom: 24px;
    width: calc(100% - 24px);
}

.img-card:hover .img-card-img img{
    transform: scale(1.06);
    transition: 0.2s;
}

.root-card-shadow{
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0px;
    top: 0px;
    background: linear-gradient(90deg, rgb(0 0 0 / 54%) 0%, rgba(0,0,0,0) 100%);
}

.img-text{
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0px;
    top: 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #FFF;
    padding: 0px 80px
}

.img-text a h3{
    font-size: 24px;
    font-weight: normal;
    padding: 7px 0;
}

.img-text a p{
    font-size: 16px;
    padding: 7px 0;
}

/* links ------------ */

.links{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 72px 0px 48px 0px;
    margin-left: -24px;
}

.links .img-card:hover h2::after{
    animation: energyMove 0.2s 1 forwards;
}

.links .img-card img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.links .img-card:hover img{
    transform: scale(1.06);
    transition: all 0.2s;
}

.links .img-card:hover .img-text{
    background: rgba(25,74,195,0.8);
}

@keyframes energyMove{
    100% {
        width: 100%;
    }
}

.img-text h2{
    font-size: 32px;
    font-weight: normal;
    padding-top: 5px;
    margin-top: 5px;
}

.img-text h2::after{
    content: "";
    display: block;
    margin: 5px 0px 0px 0px;
    height: 3px;
    width: 0px;
    background-color: white;
}

.energy{
    display: inline;
    height: 1px;
    background-color: white;
}

/* 最后页面不知道写啥了放个图片吧 */
.swiper-container{
    width: 100%;
    overflow: hidden;
}

