html body {
    font-size: 14px;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    height: 100vh;
}

/* 图片自适应 */
.img-self-adaption {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

a:link,
a:visited,
a:hover,
a:active {
    text-decoration: none;
    color: rgb(42, 42, 42);
    cursor: pointer;
}


.header {
    width: auto;
    height: auto;
}

.content {
    text-align: center;
    width: auto;
}

.footer {
    margin: 20px;
    text-align: center;
    width: auto;
    height: auto;
    font-size: 16px;
}


.descption span {
    display: flex;
}

@media screen and (min-width:981px) {
    .main{
        width: 980px;
        margin: 0 auto;
    }
    .logo {
        width: 300px;
        height: 60px;
    }

    .company {
        width: 600px;
        height: 500px;
    }

    .nav {
        font-size: 16px;
        float: right;
        line-height: 60px;
        margin-right: 20px;
        /* font-weight: bold; */
    }

    .banner {
        width: 970px;
        height: 360px;
        margin: 0 auto;
        overflow: hidden;
    }
    
    .box {
        width: 1950px;
        height: 360px;
        animation: move 15s infinite;
    }
    
    @keyframes move {
        0% {
            transform: translateX(0);
        }
    
        /* 30% {
            transform: translateX(-700px);
        } */
    
        /* 60% {
            transform: translateX(-1422px);
        } */
    
        100% {
            transform: translateX(-970px);
        }
    }
    
    .box img {
        float: left;
        width: 970px;
        height: 360px;
    }
}

@media screen and (max-width:980px) {

    .logo {
        width: 150px;
        height: 30px;
    }

    .company {
        width: 300px;
        height: 240px;
    }

    .nav {
        font-size: 14px;
        float: right;
        line-height: 30px;
        margin-right: 10px;
        /* font-weight: bold; */
    }

    
    .banner {
        width: 360px;
        height: 130px;
        margin: 0 auto;
        overflow: hidden;
    }
    
    .box {
        width: 720px;
        height: 130px;
        animation: move 10s infinite;
    }
    
    @keyframes move {
        0% {
            transform: translateX(0);
        }
    
        /* 30% {
            transform: translateX(-700px);
        } */
    
        /* 60% {
            transform: translateX(-1422px);
        } */
    
        100% {
            transform: translateX(-360px);
        }
    }
    
    .box img {
        float: left;
        width: 360px;
        height: 130px;
    }
}
