

/* 小屏幕（手机、平板）  小于768 */
@media (max-width:768px) {

    /* 轮播图 */
    .banner-index .slogan h1 {
        margin-bottom: 5px;
    }

    .banner-index .img .big {
        display: none;
    }

    .banner-index .img .small {
        display: block;
    }

    /* 关于燕东科技 */
    .brief {
        background-image: url("../img/about.jpg");
    }

    .com-info>div {
        width: 100%;
    }

    .com-info div>p {
        line-height: 2.2;
        font-size: 16px;
        margin-bottom: 30px;
    }

    .com-info .su-item {
        width: 50%;
    }

    .com-info .su-item .num {
        font-size: 30px;
    }

    .com-info .su-item .name {
        font-size: 14px;
    }

    /* 解决方案及服务 */
    .service .content {
        width: 100%;
        margin: 30px auto;
        flex-direction: column;
    }

    .service .content .con {
        width: 100%;
        font-size: 16px;
        line-height: 2.2;
        text-indent: 2em;
    }

    .service .content h1 {
        margin-bottom: 30px;
    }

    .ser-list>ul {
        max-width: 100%;
        flex-direction: column;
    }

    .ser-list>ul>li {
        width: 250px;
        margin-bottom: 20px;
    }

    .ser-list>ul>li>a:hover {
        transform: translateY(-10%);
        background-color: transparent;
    }

    .ser-list>ul>li>a {
        transition: all .3s linear;
        justify-content: center;
        height: 60vw;
    }

    .ser-list>ul>li>a:hover .icon-xiangyou3fill {
        color: #d43418;
    }

    .ser-list .con {
        display: none;
    }

    .ser-list .icon-xiangyou3fill {
        opacity: 1;
        font-size: 35px;
        margin: 20px 0;
        color: #fff;
    }

    .ser-list .name {
        width: 40px;
        font-size: 20px;
        margin-bottom: 30px;
    }

    /* 产品中心 */
    .product {
        max-width: 100%;
    }

    .product .top {
        padding: 30px 0;
        justify-content: center;
    }

    .product .list-item .name {
        font-size: 14px;
        margin: 20px 0;
    }

    .product .list-item .iconfont {
        font-size: 25px;
        margin: 20px 0;
    }

    .product .pro-list {
        flex-direction: column;
        align-items: center;
    }

    .product .list-item {
        width: 250px;
        margin-bottom: 20px;
    }

    .product .list-item .img {
        width: 20vw;
        height: 14vw;
        min-width: 180px;
        min-height: 100px;
        max-width: 280px;
        max-height: 200px;
    }

    .product .list-item .mask {
        font-size: 14px;
    }

    /* 新闻中心 */
    .news {
        max-width: 100%;
    }

    .news .top {
        padding: 30px 0;
        justify-content: center;
    }

    .news .news-content {
        flex-direction: column;
    }

    .news .news-list {
        width: 100%;
        flex-direction: column;
    }

    .news .news-item {
        width: 100%;
    }

    .news .importent {
        width: 100%;
        max-height: 400px;
    }

    .news .news-item .img {
        width: 120px;
        height: 90px;
    }

    .news .news-item .content {
        font-size: 16px;
        line-height: 1.5;
    }
}

/* 中等屏幕  大于768 */
@media (min-width:769px) {

    /* 轮播图 */
    .banner-index .slogan h1 {
        margin-bottom: 8px;
    }

    .banner-index .img .small {
        display: none;
    }

    .banner-index .img .big {
        display: block;
    }

    /* 关于燕东科技 */
    .brief {
        background-image: url("../img/info-bg.jpg");
    }

    .com-info>div {
        width: 70%;
    }

    .com-info div>p {
        line-height: 35px;
        font-size: 18px;
        margin-bottom: 80px;
    }

    .com-info .su-item {
        width: 20%;
    }

    .com-info .su-item .num {
        font-size: 45px;
    }

    .com-info .su-item .name {
        font-size: 15px;
    }

    /* 解决方案及服务 */
    .service .content {
        width: 100%;
        margin: 30px auto;
        flex-direction: row;
    }

    .service .content .con {
        width: 100%;
        font-size: 18px;
        line-height: 2.2;
        text-indent: 2em;
        margin: 0 30px;
    }

    .ser-list>ul {
        max-width: 1500px;
        margin: 0 auto;
    }

    .ser-list>ul>li {
        width: 23%;
    }

    .ser-list .con {
        display: none;
    }

    .ser-list .icon-xiangyou3fill {
        opacity: 0;
        font-size: 45px;
        color: #d43418;
    }

    .ser-list>ul>li>a {
        height: 25vw;
        justify-content: space-between;
    }

    .ser-list>ul>li>a:hover .icon-xiangyou3fill {
        opacity: 1;
    }

    .ser-list .name {
        width: 70px;
        font-size: 30px;
    }

    .ser-list>ul>li>a:hover {
        background-color: #00000050;
    }

    /* 产品中心 */
    .product .top {
        padding: 50px 0;
        justify-content: space-between;
    }

    .product .list-item .name {
        font-size: 18px;
        margin: 18px 0;
    }

    .product .list-item .iconfont {
        font-size: 30px;
        margin: 18px 0;
    }

    .product {
        max-width: 1500px;
    }

    .product .pro-list {
        flex-direction: row;
        justify-content: space-between;
        padding-bottom: 50px;
        flex-wrap: wrap;
    }

    .product .list-item {
        width: 24%;
        margin:20px 0;
    }

    .product .list-item .img {
        width: 20vw;
        height: 14vw;
        min-width: 200px;
        min-height: 100px;
        max-width: 280px;
        max-height: 200px;
    }

    .product .list-item .mask {
        font-size: 14px;
    }

    /* 新闻中心 */
    .news {
        max-width: 1500px;
    }

    .news .top {
        padding: 40px 0;
        justify-content: space-between;
    }

    .news .news-content {
        flex-direction: column;
    }

    .news .news-list {
        flex-wrap: wrap;
    }

    .news .news-item:nth-child(1),
    .news .news-item:nth-child(2) {
        margin-bottom: 20px;
    }

    .news .news-item:nth-child(1),
    .news .news-item:nth-child(3) {
        margin-right: 20px;
    }

    .news .news-item {
        width: 48%;
    }

    .news .importent {
        width: 100%;
        max-height: 600px;
    }

    .news .news-item .img {
        width: 150px;
        height: 120px;
    }

    .news .news-item .content {
        font-size: 18px;
        line-height: 1.7;
    }
}

/* 大屏幕 大于1200 */
@media (min-width:1200px) {

    /* 轮播图 */
    .banner-index .slogan h1 {
        margin-bottom: 10px;
    }

    /* 关于燕东科技 */
    .brief {
        background-image: url("../img/info-bg.jpg");
    }

    .com-info>div {
        width: 80%;
    }

    .com-info .su-item .num {
        font-size: 60px;
    }

    .com-info .su-item .name {
        font-size: 16px;
    }

    .ser-list .name {
        width: 80px;
        font-size: 40px;
    }

    .ser-list>ul>li>a {
        height: 25vw;
    }

    .ser-list .con {
        display: flex;
        font-size: 16px;
        margin: 20px;
        max-height: 100px;
        overflow: hidden;
    }

    /* 产品中心 */
    .product .list-item .name {
        font-size: 20px;
        margin: 22px 0;
    }

    .product .list-item .iconfont {
        font-size: 40px;
        margin: 22px 0;
    }

    .product .list-item .mask {
        font-size: 16px;
    }

    /* 新闻中心 */
    .news .top {
        padding: 50px 0;
    }

    .news .news-content {
        flex-direction: row;
    }

    .news .importent {
        margin-right: 40px;
    }

}


/* 轮播图 */
.banner-index {
    position: relative;
    overflow: hidden;
}

.banner-index .img {
    width: 100%;
    position: relative;
    left: 0;
}

.banner-index .img>li {
    display: none;
    float: left;
    width: 100%;
    position: relative;
    animation: showBanner 0.5s ease-in-out forwards;
}

@keyframes showBanner {
    from {
        opacity: .5;
    }
    to {
        opacity: 1;
    }
}

.banner-index .img>li>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-index .bar {
    display: flex;
    position: absolute;
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
}

.banner-index .bar>li {
    display: flex;
    background-color: #fff;
    width: 15px;
    height: 15px;
    margin: 8px;
    border-radius: 99999px;
    opacity: 0.5;
}

.banner-index .bar .active-bar {
    opacity: 1;
}

.banner-index .img .active-img {
    display: block;
}

.banner-index .slogan .content {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.banner-index .slogan h1 {
    width: 100%;
    color: #fff;
    text-align: center;
}

/* 关于燕东科技 */
.brief {
    background-size: cover;
}

.com-info {
    max-width: 1500px;
    margin: 0 auto;
    margin-top: 50px;
    padding: 20px;
}

.com-info h1 {
    margin-bottom: 40px;
}

.com-info div>p {
    text-indent: 2em;
    color: #333;
}

.com-info .success {
    display: flex;
    margin: 40px 0;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.com-info .su-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.com-info .su-item .num {
    font-weight: bold;
    color: #d43418;
}

.btn {
    margin-bottom: 50px;
}



/* 解决方案及服务 */
.service {
    width: 100%;
}

.service .content {
    max-width: 1500px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.service .content h1 {
    flex-shrink: 0;
}

.service .content .con {
    color: #333;
}

.service .btn {
    flex-shrink: 0;
}

.ser-list {
    margin: 0 auto;
}

.ser-list>ul {
    display: flex;
    justify-content: space-between;
    padding: 0 20px 80px 20px;
}

.ser-list>ul>li {
    justify-content: center;
    align-items: center;
}

.ser-list>ul>li>a {
    width: 100%;
    display: flex;
    align-items: center;
    color: #fff;
    flex-direction: column;
    padding: 40px 20px;
}

.ser-list>ul>li>a:hover .con {
    opacity: 1;
    text-overflow: ellipsis;
}

.ser-list .name {
    line-height: 1.2;
    font-weight: bold;
}


/* 产品中心 */
.goods {
    background-color: #fafafa;
    overflow: hidden;
}

.product {
    margin: 0 auto;
    padding: 20px;
}

.product .pro-list {
    display: flex;
}

.product .top {
    display: flex;
    align-items: center;
}

.product .list-item {
    position: relative;
    background-color: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 1px 1px 3px 1px #a7a6a6a1;
}


.product .list-item .mask {
    width: 100%;
    opacity: 0;
    display: flex;
    position: absolute;
    left: 0;
    top: 0;
    background-color: #31313142;
    z-index: 10;
    height: 100%;
    transition: 1s;
    color: #fff;
}

.product .list-item .mask>div {
    margin: auto 20px;
    line-height: 100%;
    line-height: 25px;
    text-indent: 2em;
}

.product .list-item .img {
    overflow: hidden;
}

.product .list-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 1s;
}

.product .list-item .iconfont {
    color: #d434185e;
}

.product .list-item:hover>div>img {
    transform: scale(1.3);
}

.product .list-item:hover>.mask {
    opacity: 1;
}

.product .list-item:hover>.iconfont {
    color: #d43418;
}

/* 新闻中心 */

.news {
    margin: 0 auto;
    padding: 20px;
    margin-bottom: 100px;
}

.news .top {
    display: flex;
    align-items: center;
}

.news .top>h1 {
    margin-bottom: 0;
}

.news .news-content {
    display: flex;
    align-items: center;
}

.news .news-list {
    display: flex;
    flex: 1;
    flex-grow: 2;
    justify-content:space-around;
}

.news .news-item {
    position: relative;
    display: flex;
    padding-bottom: 20px;
    align-items: center;
    padding: 20px 0;
}

.news .news-item:hover .content {
    color: #d43418;
}

.news .news-item:hover .time {
    color: #505050;
}

.news .news-item::after {
    transition: 0.3s;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: #dadada;
    content: '';
}

.news .news-item:hover::after {
    background-color: #d43418;

}

.news .news-item .content {
    max-height: 60px;
    margin-bottom: 20px;
    color: #333;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;

}

.news .news-item .img {
    flex-shrink: 0;
    margin-right: 10px;
}

.news .news-item .img img {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
}

.news .news-item .con {
    flex: 1;
}

.news-item .time {
    color: #8e8e8e;
    font-size: 12px;
}

.news .importent {
    flex: 1;
    flex-grow: 1;
    position: relative;
    color: #fff;
    overflow: hidden;
}

.news .importent img {
    width: 100%;
    height: 100%;
    transition: all 1s;
    object-fit: cover;
}

.news .importent img:hover {
    transform: scale(1.2);
}

.news .importent .im-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
}

.news .im-content .tops {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.news .tops .title {
    border-radius: 10px;
    padding: 2px 5px;
    font-size: 12px;
    color: #d43418;
    margin-right: 10px;
    border: 1px solid #d43418;
}

.news .tops .time {
    font-size: 14px;
}

.news .im-content h3 {
    font-weight: 300;
}
