.main {
    padding: 20px 0;
    display: flex;
    justify-content: space-between
}

.main .leftNav {
    width: 160px
}

.main .leftNav h3 {
    color: #fff;
    text-align: center;
    height: 50px;
    line-height: 50px;
    background-color: #557ef5;
    font-size: 1.1rem;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    font-weight: bold;
}

.main .leftNav .classify_list {
    background-color: #80a5eb;
    padding: 5px 0;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    margin-bottom: 30px
}

.main .leftNav .classify_list li {
    padding: 0 5px
}

.main .leftNav .classify_list li a {
    display: block;
    padding: 5px 10px;
    font-size: 14px;
    color: #666;
    border-radius: 4px;
    transition: all .3s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight:bold;
}

.main .leftNav .classify_list li a img {
    width: 20px;
    vertical-align: middle;
    margin-right: 5px
}

.main .leftNav .classify_list li a.active, .main .leftNav .classify_list li a:hover {
    background-color: #3175f7;
    color: #fff
}

/*.main .leftNav .classify_list li:last-child a {*/
/*    text-align: center*/
/*}*/

.main .leftNav h4 {
    border-radius: 4px;
    color: #fff;
    background-color: #31cdf7;
    height: 50px;
    text-align: center;
    line-height: 50px;
    margin-bottom: 15px;
}

.main .leftNav .downGame_list a {
    margin-bottom: 10px;
    margin-top:10px;
}

.main .rightMain {
    width: calc(100% - 180px)
}

.main .rightMain h2 {
    background-color: #557ef5;
    font-size: 1.5rem;
    color: #ffffff;
    border-radius: 4px;
    height: 40px;
    line-height: 40px;
    text-indent: 1em;
    font-weight: bold;
    margin-bottom: 20px
}

.main .rightMain .topGameCom {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px
}

.main .rightMain .topGameCom .comPat {
    width: calc(50% - 10px);
    display: flex;
    flex-wrap: wrap
}

.main .rightMain .topGameCom .comPat .gameImgBox {
    margin-bottom: 20px
}

.main .rightMain .topGameCom .comPat .gameImgBox:nth-child(n+7) {
    margin-bottom: 0
}

.main .rightMain .topGameCom .comPat .big {
    width: calc(50% - 10px)
}

.main .rightMain .topGameCom .comPat .big + .big {
    margin-left: 20px
}

.main .rightMain .topGameCom .comPat .small {
    width: calc(25% - 15px)
}

.main .rightMain .topGameCom .comPat .small + .small {
    margin-left: 20px
}

.main .rightMain .topGameCom .comPat .small:nth-child(7) {
    margin-left: 0
}

.main .rightMain .smallBox {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px
}

.main .rightMain .smallBox .gameImgBox {
    width: calc(16.5% - 17.5px);
}

.main .rightMain .smallBox .gameImgBox + .gameImgBox {
    margin-left: 20px
}

/*.main .rightMain .smallBox .gameImgBox:nth-child(9) {*/
/*    margin-left: 0*/
/*}*/

/*.main .rightMain .smallBox .gameImgBox:nth-child(n+9) {*/
/*    margin-top: 20px*/
/*}*/

.main .rightMain .smallBox .gameImgBox:nth-child(7) {
    margin-left: 0
}

.main .rightMain .smallBox .gameImgBox:nth-child(n+7) {
    margin-top: 20px
}

.main .rightMain .bigBox {
    display: flex;
    margin-bottom: 30px
}

.main .rightMain .bigBox .gameImgBox {
    width: calc(25% - 15px)
}

.main .rightMain .bigBox .gameImgBox + .gameImgBox {
    margin-left: 20px
}

.main .rightMain .adBox {
    display: flex;
    align-items: center;
    justify-content: center
}

.main .rightMain .adBox .textAd {
    width: 980px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center
}

@media screen and (max-width: 1200px) {
    .main {
        padding: 20px
    }

    .main .leftNav h3 {
        height: 40px;
        line-height: 40px;
    }

    .main .leftNav .classify_list {
        margin-bottom: 20px
    }

    .main .leftNav h4 {
        height: 40px;
        line-height: 40px
    }

    .main .rightMain {
        width: calc(100% - 175px)
    }

    .main .rightMain h2 {
        margin-bottom: 20px
    }

    .main .rightMain .topGameCom {
        margin-bottom: 20px
    }

    .main .rightMain .topGameCom .comPat {
        width: calc(50% - 7.5px)
    }

    .main .rightMain .topGameCom .comPat .gameImgBox {
        margin-bottom: 15px
    }

    .main .rightMain .topGameCom .comPat .big {
        width: calc(50% - 7.5px)
    }

    .main .rightMain .topGameCom .comPat .big + .big {
        margin-left: 15px
    }

    .main .rightMain .topGameCom .comPat .small {
        width: calc((100% - 45px) / 4)
    }

    .main .rightMain .topGameCom .comPat .small + .small {
        margin-left: 15px
    }

    .main .rightMain .topGameCom .comPat .small:nth-child(7) {
        margin-left: 0
    }

    .main .rightMain .smallBox {
        margin-bottom: 20px
    }

    .main .rightMain .smallBox .gameImgBox {
        /*width: calc((100% - 105px) / 8)*/
        width: calc((100% - 105px) / 6)
    }

    .main .rightMain .smallBox .gameImgBox + .gameImgBox {
        margin-left: 15px
    }

    .main .rightMain .smallBox .gameImgBox:nth-child(7) {
        margin-left: 0
    }

    .main .rightMain .smallBox .gameImgBox:nth-child(n+7) {
        margin-top: 15px
    }

    .main .rightMain .bigBox {
        margin-bottom: 20px
    }

    .main .rightMain .bigBox .gameImgBox {
        width: calc((100% - 45px) / 4)
    }

    .main .rightMain .bigBox .gameImgBox + .gameImgBox {
        margin-left: 15px
    }

    .main .rightMain .adBox .textAd {
        width: 580px;
        height: 400px
    }
}

@media screen and (max-width: 900px) {
    .main {
        padding: 20px 10px
    }

    .main .leftNav {
        width: 150px
    }

    .main .leftNav .classify_list {
        margin-bottom: 15px
    }

    .main .leftNav h4 {
        margin-bottom: 10px
    }

    .main .leftNav .downGame_list a {
        margin-bottom: 10px
    }

    .main .rightMain {
        width: calc(100% - 160px)
    }

    .main .rightMain h2 {
        margin-bottom: 15px
    }

    .main .rightMain .topGameCom {
        margin-bottom: 15px
    }

    .main .rightMain .topGameCom .comPat {
        width: calc(50% - 5px)
    }

    .main .rightMain .topGameCom .comPat .gameImgBox {
        margin-bottom: 10px
    }

    .main .rightMain .topGameCom .comPat .gameImgBox:nth-child(n+7) {
        margin-bottom: 0
    }

    .main .rightMain .topGameCom .comPat .big {
        width: calc(50% - 5px)
    }

    .main .rightMain .topGameCom .comPat .big + .big {
        margin-left: 10px
    }

    .main .rightMain .topGameCom .comPat .small {
        width: calc(25% - 7.5px)
    }

    .main .rightMain .topGameCom .comPat .small + .small {
        margin-left: 10px
    }

    .main .rightMain .topGameCom .comPat .small:nth-child(7) {
        margin-left: 0
    }

    .main .rightMain .smallBox {
        margin-bottom: 15px
    }

    .main .rightMain .smallBox .gameImgBox {
        width: calc((100% - 70px) / 6);
    }

    .main .rightMain .smallBox .gameImgBox + .gameImgBox {
        margin-left: 10px
    }

    .main .rightMain .smallBox .gameImgBox:nth-child(7) {
        margin-left: 0
    }

    .main .rightMain .smallBox .gameImgBox:nth-child(n+7) {
        margin-top: 10px
    }

    .main .rightMain .bigBox {
        margin-bottom: 15px
    }

    .main .rightMain .bigBox .gameImgBox {
        width: calc(25% - 7.5px)
    }

    .main .rightMain .bigBox .gameImgBox + .gameImgBox {
        margin-left: 10px
    }
}

@media screen and (max-width: 700px) {
    .main {
        padding: 15px 10px
    }

    .main .leftNav {
        display: none
    }

    .main .rightMain {
        width: 100%
    }

    .main .rightMain .topGameCom {
        flex-wrap: wrap
    }

    .main .rightMain .topGameCom .comPat {
        width: 100%
    }

    .main .rightMain .topGameCom .comPat + .comPat {
        margin-top: 10px
    }

    .main .rightMain .smallBox .gameImgBox {
        width: calc((100% - 30px) / 3);
        margin-right: 10px
    }

    .main .rightMain .smallBox .gameImgBox:nth-child(7) {
        margin-left: 0
    }

    .main .rightMain .smallBox .gameImgBox:nth-child(n+7) {
        margin-top: 0
    }

    .main .rightMain .smallBox .gameImgBox + .gameImgBox {
        margin-left: 0
    }

    .main .rightMain .smallBox .gameImgBox:nth-child(4n) {
        /*margin-right: 0*/
    }

    .main .rightMain .smallBox .gameImgBox:nth-child(n+4) {
        margin-top: 10px
    }

    .main .rightMain .adBox .textAd {
        width: 300px;
        height: 300px
    }
}

.big_game_description{
    overflow:hidden;
    word-wrap: break-word;
    text-overflow:ellipsis;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    font-size: 12px;
    font-weight: normal;
    color: #000;

    bottom: -30px!important;
    white-space: normal!important;
    background-color: rgba(0, 0, 0, 0)!important;
    line-height: 20px!important;
    text-align: left!important;

}

.small_game_description{
    overflow:hidden;
    word-wrap: break-word;
    text-overflow:ellipsis;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    font-size: 12px!important;
    font-weight: normal!important;
    color: #000;
    bottom: -30px!important;
    white-space: normal!important;
    background-color: rgba(0, 0, 0, 0)!important;
    line-height: 20px!important;
    text-align: left!important;

}

@media screen and (max-width: 468px){
    .small_game_description{
        display:none!important;
    }
}

.game_title{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


.form{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    width: 100%;
    border-bottom: 1px solid #e5e5e5;
}

.search_input{
    width: calc(100% - 30px);
    height: 40px;
    text-indent: 5px;
    outline: none;
    border: none;
    font-size: 14px;
    background: #d5dde3;
}


.banner_list {
    visibility: hidden;
    position: fixed;
    opacity: 0;
    transition: all .1s;
    /*top: 60px;*/
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
    z-index: 99;
}

.banner_list .banner_cont {
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    width: 100%;
    background-color: #80a5eb;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.banner_list .banner_cont .banner_box {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.banner_list .banner_cont .banner_box>a {
    display: flex;
    align-items: center;
    height: 50px;
    padding-left: 15px;
    border-radius: 25px;
    background: #2f5ce1;
    width: calc((100% - 9px) / 2);
    margin-bottom: 10px;
    margin-right: 9px;
}

.banner_list .banner_cont .banner_box>a>.list_img {
    width: 28px;
    height: 28px;
    border-radius: 3px;
    overflow: hidden;
    margin-right: 8px;
}

.banner_list .banner_cont .banner_box>a>.list_img>img {
    width: 100%;
    height: 100%;
    object-position: center;
    object-fit: cover;
}

.banner_list .banner_cont .close {
    margin-top: 15px;
    width: 45px;
    height: 45px;
    margin-left: auto;
    margin-right: auto;
    background-color: #080dff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 28px;
}

button {
    border: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.banner_list.active {
    visibility: visible;
    opacity: 1;
}

.banner_list .banner_cont .banner_box>a:nth-child(2n) {
    margin-right: 0;
}

.banner_list .banner_cont .banner_box>a>p {
    display: inline-block;
    width: calc(100% - 45px);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    color: #333;
    font-weight: bold;
    font-size: 16px;
}

@media screen and (max-width: 968px) {
    .maskNone{
        display:none!important;
    }

    .main .topNav{
        display:none!important;
    }
}

@media screen and (min-width: 968px){
    .menu_btn{
        display:none!important;
    }

    .banner_list{
        display:none!important;
    }
}

.menu_btn{
    /*width: 20%;*/
    background:#ffff0000;
    width:30px;

    height:30px;
}
.logo_icon{
    width: 50px;
    margin-right: 1rem;
}

.logo_title{
    font-size: 3rem;
    font-weight: bold;
    font-family: "Ruge Boogie", cursive;
}

.back_to_top{
    position: fixed;
    z-index: 999;
    bottom: 70px;
    right: 30px;
    background: rgb(49 63 247);
    width: 50px;
    height: 50px;
    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 2px 2px;
}

header .container .search .searchBOx > input {
    color: #000;
}

html{
    scroll-behavior: smooth;
}

.footer_container{
    margin:1rem 0 0 0!important;
}

header{
    position: fixed;
    width: 100%;
    z-index:1000;
}

.main{
    padding-top:5.5rem!important;
}

.adBox {
    width: calc(100% + 2rem - 20px);
    margin-left: calc(-1rem + 10px);
    border-radius: 8px;
    margin-top: 30px;
    margin-bottom: 30px;
    height: auto;
    display: flex;
    justify-content: center;
    background-color: #CCCCCC;
    color: #000;
}

.adBox0 {
    width: 100%;
    overflow: hidden;
    height: auto;
    display: flex;
    align-items: center;
    flex-direction: column;
    position: relative;
    padding: 15px 0 15px 0;
}