* {
    padding: 0;
    margin: 0;
    box-sizing: border-box !important;
}

html,
body {
    width: 100%;
    height: 100%;
    min-width: 300px;
}
/* nav */
.nav{
    transition: all 1s;
    transform: translateX(10rem);
}
/* 水能砂城头部距离 */

.cheng{
    margin-top: 5rem !important;
}

a {
    color: black;
    text-decoration: none;
}

a:hover {
    color: red;
    cursor: pointer;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    content: "" !important;
    position: relative;
    top: 0;
    left: 0;
    height: auto;
    width: auto;
    font-size: 12px;
    border: none;
    z-index: 0;
}

.neng .wutitle {
    position: absolute;
    top: 0.3rem !important
}

.neng .kjhszh {
    position: absolute;
    top: 3.8rem !important
}

.nengbox {
    position: absolute;
    top: 6.5rem !important
}

.cbg img {
    width: 100%;
}
.dian{
    width: 2px;
    height: 2px;
}




.xvanyan {
    margin-top: 1rem;
}

@media screen and (min-width:1200px) {
    html {
        font-size: 30px;
        width: 100%
    }
}

@media screen and (min-width:1100px) and (max-width:1200px) {
    html {
        font-size: 26px;
        width: 100%
    }
}


@media screen and (min-width:1000px) and (max-width:1100px) {
    html {
        font-size: 24px;
        width: 100%
    }
}

@media screen and (min-width:900px) and (max-width:1000px) {
    html {
        font-size: 22px;
        width: 100%
    }
}

@media screen and (min-width:800px) and (max-width:900px) {
    html {
        font-size: 20px;
        width: 100%
    }
}

@media screen and (min-width:700px) and (max-width:800px) {
    html {
        font-size: 18px;
        width: 100%
    }

}

@media screen and (min-width:600px) and (max-width:700px) {
    html {
        font-size: 16px;
        width: 100%
    }

}

@media screen and (min-width:500px) and (max-width:600px) {
    html {
        font-size: 14px;
        width: 100%
    }
}

@media screen and (min-width:400px) and (max-width:500px) {
    html {
        font-size: 12px;
        width: 100%
    }
}

@media screen and (max-width:400px) {
    html {
        font-size: 10px;
        width: 400px
    }

}