* {
    margin: 0;
    padding: 0;
}
html,
body {
    height: 100%;
}

.view-wrap{
    height: 100%;
    overflow: hidden;
    position: relative;
}

#bg{
    transform-origin: 0 0;
    transition: 0.1s;
    position: absolute;
    top: 50%;
    overflow: hidden;
}

#bg .bg-img{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.time{
    position: absolute;
    right: 13%;
    top: 3%;
    font-size: 16px;
    text-align: right;
    color: #aec8d4;
}

.time .him{
    font-weight: bold;
    font-size: 29px;
}

.header{
    position: absolute;
    top: 12%;
    z-index: 1111111;
    width: 60%;
    display: flex;
    color: #ffffff;
    justify-content: space-between;
    font-size: 30px;
    left: 20%;
}

.header > div{
    position: relative;
    cursor: pointer;
}

.header > div img{
    position: absolute;
    left: -28%;
    top: 0;
    width: 155%;
    height: 45px;
    display: none;
}

.header .active img{
    display: block;
}

#main{
    width: 1400px;
    height: 860px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-40%);
}

.tips{
    width: 15%;
    position: absolute;
    right: 0;
    bottom: 10%;
    color: #ffffff;
}

.tips > div{
    display: flex;
    align-items: center;
}

.tips img{
    width: 30px;
    height: 30px;
    margin: 10px;
}

.news-bg{
    position: absolute;
    display: none;
    color: #ffffff;
    height: 300px;
    align-items: flex-end;
    width: 500px;
}

.news-bg .line{
    width: 80px;
    height: 50%;
}

.news-center{
    flex-wrap: wrap;
    padding: 10px;
    height: 70%;
    position: absolute;
    left: 80px;
    top: 50px;
    width: 420px;
    overflow: auto;
    -ms-overflow-style: none;  /* IE 和 Edge */
    scrollbar-width: none;  /* Firefox */
}

.news-bg.one .news-center{
    border-left: 3px solid #c12626;
    background: rgba(41,14,13,0.7);
}

.news-bg.two .news-center{
    border-left: 3px solid #05D05C;
    background: rgba(2,38,37,0.7);
}

.news-bg.three .news-center{
    border-left: 3px solid #ffb21d;
    background: rgba(67,62,22,0.7);
}

.news-bg.four .news-center{
    border-left: 3px solid #1d42ff;
    background: rgba(17,27,79,0.7);
}


.news-title{
    font-size: 20px;
    text-align: left;
    margin-bottom: 10px;
}

.news{
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-bottom: 10px;
    font-size: 14px;
}

.news span:first-child{
    margin-right: 5px;
}

.news-img{
    margin-bottom: 10px;
}

.news-img img{
    width: 120px;
    margin-right: 10px;
}

.news-bg.one .news-img img{
    border: 2px solid #FE1919;
}

.news-bg.two .news-img img{
    border: 2px solid #4AEEE1;
}

.news-bg.three .news-img img{
    border: 2px solid #FFE71D;
}

.news-bg.four .news-img img{
    border: 2px solid #1D42FF;
}