.flex {
    display: flex;
}
.direction-column{
    flex-direction: column;
}
.justify-center {
    justify-content: center;
}
.justify-between {
    justify-content: space-between;
}
.align-center{
    align-items: center;
}
.align-self-end{
    align-self: flex-end;
}
.ellipsis-1{
    overflow:hidden; 
    text-overflow:ellipsis; 
    white-space:nowrap; 
}
.ellipsis-2{
    overflow : hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.wrap{
    width: 100%;
    position:relative;
    /* min-width:10rem; */
    /* max-width:10.8rem; */
    margin:0 auto;
    overflow:auto;
}

.slide-show{
    margin: 0 0.4rem;
    position: relative;
}
.wrap main{
    width: 100%;
    /* height: 57.37rem; */
    padding-top: 1.94rem;
    box-sizing: border-box;
    display: inline-block;
    width: 100%;
    min-height: calc(100vh - 12.46rem);
}
.game-img{
    display: block;
    width: 100%;
}
.game-info{
    padding: 0.28rem 0.98rem 0.3rem 0.31rem;
    line-height: 0.45rem;
    background-color: #eeeeee;
}
.slide-show .slide-item{
    width: 10rem;
    height: auto;
    color: #171717;
    border-radius: 0.25rem;
    position: relative;
    margin: 0 auto 0.6rem auto;
    /* margin-bottom: 0.6rem; */
}
.slide-item img {
    display: block;
    /* width: 100%; */
}
.game-icon {
    width: 1.86rem;
    height: auto;
    border-radius: 0.4rem;
    margin-right: 0.28rem;
    line-height: 0.4rem;
}
.game-name{
    font-size: 0.45rem;
    line-height: 0.4rem;
    font-weight: bolder;
}
.game-download-way{
    margin: 0.1rem 0;
    font-size: 0.3rem;
    line-height: 0.38rem;
}
.download{
    width: 2.4rem;
    height: 0.71rem;
    cursor: pointer;
    margin-right: 0.32rem;
}
/* .download:last-child{
    margin-right: 0;
} */
.mr-0 {
    margin-right: 0 !important;
}
.news{
    width: 10rem;
    padding-top: 0.2rem;
    /* margin-left: 0.4rem;
    margin-bottom: 1rem; */
    margin: 0 auto 1rem auto;
    box-sizing: border-box;
}
.news .news-title p:first-child{
    font-size: 0.45rem;
    color: #333333;
    font-weight: bolder;
}
.news .news-title p:last-child{
    font-size: 0.36rem;
    color: #5272ff;
    cursor: pointer;
}
.news .news-content{
    width: 100%;
    margin-top: 0.5rem;
    overflow-x: hidden;
    box-shadow: 0rem 0.1rem 0.25rem rgba(0, 0, 0, 0.1);
}
.news .news-content li{
    width: 100%;
    flex-shrink: 0;
    margin-right: 0.4rem;
    cursor: pointer;
}
.news .news-content li:last-child{
    margin-right: 0;
}


.news .news-content img{
    display: block;
    width: 100%;
    height: 5.82rem;
}
.news .news-content .news-info{
    padding-top: 0.4rem;
    box-sizing: border-box;
    color: #454545;
    background-color: #f8f9fa;
    font-size: 0.43rem;
    height: 2.83rem;
}
.news .news-content .news-desc{
    width: 9rem;
    line-height: 0.5rem;
}
.news .news-content .news-time{
    width: 2.94rem;
    height: 1rem;
    margin-right: 0.4rem;
    line-height: 1rem;
    text-align: center;
    font-size: 0.388rem;
    border-radius: 0.2rem;
    color: #666666;
}
.about{
    position: relative;
    width: 100%;
    height: 7.79rem;
    background: url(https://static1.zuiyouxi.com/web/newEnBabeltime/images/about-bg.png) no-repeat center 100%/100%;
}
.about > div{
    position: absolute;
    top: 0.72rem;
    left: 0.65rem;
    display: inline-block;
    color: #ffffff;
    font-size: 0.32rem;
}
.about .title{
    position: relative;
    margin-bottom: 0.3rem;
    font-size: 0.4rem;
    display: inline-block;
    font-weight: bolder;
}
.about .title::before{
    position: absolute;
    left: 0;
    bottom: 0;
    content: '';
    width: 1.07rem;
    height: 0.03rem;
    background-color: #ffffff;
}
.about .title::after{
    position: absolute;
    right: 0;
    bottom: 0;
    content: '';
    width: 0.21rem;
    height: 0.03rem;
    background-color: #ffffff;
}
.change-btn{
    display: none;
    width: 0.53rem;
    height: 0.95rem;
    position: absolute;
    top: 49%;
    left: 0.97rem;
    transform: translate(0,-50%);
    cursor: pointer;
    z-index: 1;
    background: url(https://static1.zuiyouxi.com/web/newEnBabeltime/images/change-img-btn.png) no-repeat center 100%/100%;
}
.next-btn{
    left: unset;
    right: 1.51rem;
    transform: translate(100%,-50%) rotate(180deg);
}
.banner-little{
    display: none;
}

/* 当屏幕宽度小于或等于768px时 */
/* @media screen and (max-width: 1080px) { */
@media screen and (max-width: 1539px) {
    .mm{
        display: block !important;
    }
    .pp{
        display: none !important;
    }
    .banner ul {
        transform: unset !important;
    }
}
/* 当屏幕宽度大于1024px时 */
/* @media screen and (min-width: 1081px) { */
@media screen and (min-width: 1540px){
    .mm{
        display: none !important;
    }
    .pp{
        display: block !important;
    }
    .leave {
        /* transform: translateX(-100%); */
        transition: all .6s ease;
    }
    .banner{
        overflow: hidden;
        min-height: 908px;
    }
    .banner-little {
        justify-content: center;
        transform: translate(0, -73.3%);
    }
    .banner-little li{
        position: relative;
        width: 287px;
        height: 145px;
        margin-right: 18px;
        background: url(https://static1.zuiyouxi.com/web/newEnBabeltime/images/banner-little-bg.png) no-repeat center 100%/100%;
        cursor: pointer;
        padding: 5px;
        box-sizing: border-box;
    }
    .banner-little li img{
        width: 100%;
    }
    .banner-little li::before{
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.2);
        border-radius: 10px;
    }
    .banner-little li.active::before{
        display: none;
    }

    .banner-little li div{
        width: 100%;
        height: 3px;
        position: absolute;
        left: 0;
        bottom: -20px;
        background: rgba(0, 0, 0, 0.2);
        opacity: 0;
        overflow: hidden;
    }
    .banner-little li.active div{
        opacity: 1;
    }
    .banner-little li div::after{
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 3px;
        background: #fff;
        border-radius: 10px;
        transition: all 3.5s linear;
        transform: translateX(0%);
    }
    .banner-little li.active div::after{
        transform: translateX(100%);
    }
    .banner-little li:last-child{
        margin-right: 0;
    }
    .wrap main{
        padding-top: 0;
        min-height: calc(100vh - 760px);
    }
    .change-btn{
        display: block;
    }
    .slide-show{
        margin: 0 auto 60px auto;

    }
    .slide-show ul {
        display: flex;
        transition: all .6s ease;

    }
    .slide-show .slide-item{
        width: 100%;
        flex-shrink: 0;
        margin: 0;
        /* display: none; */
    }
    /* .slide-show .slide-item:first-child {
        display: block;
    } */
    .game-info{
        display: block;
        padding:0;
        background: transparent;
        position: absolute;
        top: 222px;
        left: 229px;
        flex-direction: column;
        align-items: baseline !important;
    }
    .game-icon{
        width: 115px;
        height: auto;
    }
    .game-download-way{
        font-size: 26px;
        width: 622px;
        margin: 0 0 55px 0;
    }
    .download{
        width: 154px !important;
        height: auto;
        margin-right: 9px;
    }
    .game-name{
        font-size: 54px;
        margin: 28px 0 30px 0;
        line-height: 50px;
    }
    .news{
        width: 1540px;
        margin: -45px auto 0 auto;
        /* padding-left: 20px;
        padding-right: 20px; */
    }
    .news .news-title p:first-child{
        font-size: 34px;
        font-weight: unset;
    }
    .news .news-title p:last-child{
        font-size: 24px;
    }
    .news .news-content{
        overflow-x: unset;
        box-shadow:unset;
        margin-top: 0;
    }
    .news .news-content ul{
        overflow: auto;
        padding: 50px 20px 140px 20px;
    }
    .news .news-content li{
        width: 482px;
        margin-right: 27px;
        box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.1);;
    }
    .news .news-content li:hover {
        transition: all .3s;
        transform: translateY(-5px);
        box-shadow: 0 26px 40px -24px rgb(0, 0, 0, 0.4);
    }
    .news .news-content li:hover .news-time{
        color: #5172ff;
        border: 1px solid #5172ff;
    }
    .news .news-content .news-info{
        padding-top: 16px;
        min-height: 131px;
        height: auto;
    }
    .news .news-content img{
        height: 270px;
    }
    .news .news-content .news-desc{
        font-size: 20px;
        width: 433px;
        line-height: 23px;
        margin-bottom: 10px;
    }
    .news .news-content .news-time{
        width: 138px;
        height: 47px;
        line-height: 47px;
        font-size: 18px;
        border-radius: 27px;
        margin-right: 18px;
    }
    .about{
        height: 500px;
        background-image: url(https://static1.zuiyouxi.com/web/newEnBabeltime/images/about-bg-pc.png);
        background-size: auto;
    }
    .about > div {
        width: 1096px;
        font-size: 20px;
        top: 100px;
        left: 242px;
    }
    .about .title{
        font-size: 37px;
    }
}
@media screen and (min-width: 1921px) {
    .slide-item .pp {
        width: 100%;
    }
    .about{
        background-size: cover;
    }
    .game-info{
        top: 280px;
        left: 230px;
    }
}
@media screen and (min-width: 2100px) {
    .game-info{
        top: 340px;
        left: 250px;
    }
}