﻿body{
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-image: url(https://www.hainei.com/images/backgroun-img-for-video.svg);
    background-color: #FCFCFC;
}

.video-page-container{
    width: 1230px;
    margin: 0 auto;
    box-sizing: border-box;
    padding-top: 160px;
}

.video-title-box{
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    flex-wrap: wrap;
}

.video-title-box p{
    font-size: 17px;
    font-weight: 900;
    font-family: Microsoft YaHei UI;
}

.label-bar{
    height: 40px;
    box-sizing: border-box;
    display: flex;
    background-color: rgba(0, 38, 77, 0.05);
    border-radius: 6px;
}

.label-item{
    padding: 0 15px;
    height: 100%;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #595959;
    /* font-weight: 900; */
    /* font-family: Microsoft YaHei UI !important; */
    font-size: 14px;
    line-height: 40px;
    cursor: pointer;
}

.label-selected{
    background-color: #31A8FF;
    color: #fff;
}

.video-content-container{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    margin-top: 50px;
    margin-bottom: 80px;
}

.video-item-box{
    width: calc(100% / 3);
    box-sizing: border-box;
    padding: 15px;
}

.video-item{
    width: 100%;
    /* height: 300px; */
    background-color: #fff;
    box-sizing: border-box;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s ease;
    box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.video-item:hover{
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 40px 60px -20px rgba(0, 0, 0, 0.15);
}

.video-img{
    width: 100%;
    height: 225px;
    overflow: hidden;
    /* height: 224px; */
    /* background-color: #31A8FF; */
}

.video-img video{
    max-width: 100%;
    object-fit: cover;
}

.video-title{
    width: 100%;
    /* height: 40px; */
    /* line-height: 40px; */
    box-sizing: border-box;
    padding: 20px;
}

.video-play-container{
    width: 100vw;
    height: 100vh;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.35);
    z-index: 2000;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: auto;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s ease;
}


.is-open{
    visibility: visible;
    opacity: 1;
}

/* .video-player-box{
    position: fixed;
    top: 50%;
    left: 50%;

    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
} */

.video-player{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 2000;
    max-width: 90%;
    max-height: 80%;
    border-radius: 3px;
}


@media screen and (max-width:1320px) {
    .video-page-container{
        width: 768px;
    }

    .video-item-box{
        width: calc(100% / 2);
    }

    .video-img{
        width: 100%;
        height: 209px;
    }


}

@media screen and (max-width:800px) {
    .video-page-container{
        width: calc(100% - 40px);
    }

    .video-item-box{
        width: 100%;
    }

    .label-item{
        padding: 0 15px;
        font-size: 13px;
        white-space: nowrap;
    }

    .video-content-container{
        margin-top: 20px;
    }

    .video-img{
        width: 100%;
        height: auto;
        max-height: 300px;
    }
}