*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Avenir", Helvetica, Arial, sans-serif;
}
a{
    text-decoration: none;
}
ul,li{
    list-style: none;
}
input[type=text]::-webkit-input-placeholder,textarea::-webkit-input-placeholder{
    color:#ddd;
}
input[type=text]:-moz-placeholder,textarea:-moz-placeholder{
    color:#ddd;
}
input[type=text]:-ms-input-placeholder,textarea:-ms-input-placeholder{
    color:#ddd;
}
body,html{
	height: 100%;
	box-sizing: border-box;
}
body{
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
	background-color:#052666;
}
body>*{
    max-width: 100%;
    overflow-x: hidden;
	color: #fff;
}
/* header */
.header{
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding:15px;
	background-color: #1F4388;
	color: #fff;
}
.header h2{
    font-size: 24px;
    font-weight: 800;
}
.header .btn{
	width: 28px;
	height: 28px;
	text-align: center;
}
.header .btn span{
    font-size: 28px;
}
.mask{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,.6);
    z-index: 2147483647;
    display: none;
	overflow: hidden;
}
#sidebar{
    background-color:#1F4388;
    position: absolute;
    top:0;
    width:40%;
	height:100%;
	padding:10px 30px;
	overflow-y: auto;
    animation: menudrop .3s linear forwards;
	border-radius: 0 30px 30px 0;
}
.hide #sidebar{
    animation: menudrop 1s ease reverse forwards;
}

#sidebar ul li a{
	padding:20px 0;
	color: #6583c0;
	display: block;
	text-align: center;
	font-size: 18px;
	border-bottom: 1px solid #3B63B2;
}
@keyframes menudrop{
    0% {
        transform: translateX(-165vw);
    }
    100% {
        transform: translateX(0);
    }
}

.sortItem{
	display:inline-flex;
	flex-direction: row;
	align-items: center;
	border-radius: 60px;
	background-color:#1F4388;
	padding: 20px;
	width:calc(33.33% - 20px);
	color: #fff;
}
.sortItem .userInfo{
	width: calc(100% - 88px);
	padding-left: 15px;
	font-size: 16px;
}
.sortItem h4{
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 20px;
	font-weight: bold;
	white-space: nowrap;
	margin-bottom: 10px;
}
.sortItem .imgIcon{
	width: 88px;
	height: 88px;
	border-radius: 45%;
	overflow: hidden;
	flex-shrink: 0;
}
.sortItem .imgIcon img{
	width: 100%;
	object-fit: cover;
}
.sortItem .imgIcon:first-child{
	margin-left: 0;
}
.sortItem .blue{
	color:#2FC9FF;
}


/* gameitem */
.gameItems{
	display: flex;
	flex-direction: column;
	align-items: center;
	background-color:#1F4388;
	border-radius:35px;
	text-align: center;
	padding: 10px;
	color: #fff;
}
.gameItems .img{
	width: 206px;
	height:206px;
	margin:20px auto 10px;
}
.gameItems .img img{
	width: 100%;
	border-radius:30px;
	object-fit: cover;
}
.gameItems .title{
	width: 100%;
	text-overflow: ellipsis;
    max-height: 30px;
	line-height: 30px;
    font-size: 20px;
	font-weight: bold;
    overflow: hidden;
	width: 100%;
	margin-top: 10px;
}
.starWrap {
	display: flex;
	margin:10px 0 20px;
}
.starWrap>span{
	display: inline-block;
	vertical-align: middle;
}
.starWrap .star{
	width: 22px;
	height:22px;
	background: url('../images/star.png') center no-repeat;
	background-size: 100%;
	margin:0 3px;
}

/* foot */
.foot{
	padding:20px 30px;
    color:#fff;
	background-color:#1F4388;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.foot .foot-left{
   width:40%;
}
.foot .foot-left .logo{
	font-size:28px;
	font-weight: 800;
}
.foot .foot-right{
	width: 60%;
	display: flex;
}
.foot .foot-right a{
	padding: 5px;
	text-align:right;
	display: inline-block;
	font-weight: 500;
	color: #fff;
	font-size: 18px;
	flex: 1;
}

.mb15{
	margin-bottom: 15px;
}
.backTop{
	position: fixed;
	display: flex;
	bottom: 10%;
	right:0;
	width:55px;
	height:50px;
	line-height: 50px;
	justify-content: center;
	border-radius:35px 0 0 35px;
	background:#2FC9FF;
	color: #fff;
}
.backTop i{
	display: inline-block;
	font-size: 28px;
	margin-left: 5px;
}
.chu_box {
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.5);
    position: fixed;
    top: 0;
    left: -100%;
    overflow: hidden;
    z-index: 9999;
}
.chu_box #sidebar{
	top: 0;
	height:100%;
}

.chu_active {
    left: 0;
}
.gameWrap{
	height:calc(100% - 60px);
}
.gameWrap .gamePlay{
	width: 100%;
	height: 100%;
	
}
.gamePlay>iframe {
    display: block;
    width: 1px;
    min-width: 100%;
    height: 1px;
    min-height: 100%;
    border: 0;
    overflow: hidden;
    z-index: 999;
}

.floatMenu{
	position: fixed;
	z-index: 11111;
	border-radius: 0 40px 40px 0;
	padding:5px 5px 5px 10px;
	background-color: #2FC9FF;
	top: 10%;
	left: 0;
}
.floatMenu a{
	display:block;
	width: 34px;
	height:34px;
	border-radius: 50%;
	background-color: #fff;
	text-align: center;
	line-height: 34px;
	color: #1a1a1a;
}
.floatMenu.active {
    left: 480px;
	top:10%;
    z-index: 999999;
}
.floatMenu .btn img{
	width:24px;
	display: inline-block;
	margin-top: 5px;
}
@media screen and (max-width:1181px){
	.gameItems .img {
	    width: 194px;
	    height: 194px;
		
	}
}
@media screen and (max-width:1025px){
	.gameItems .img {
	    width: 164px;
	    height: 164px;
		margin-top: 15px;
	}
}
@media screen and (max-width:821px){
	.sortTitle {
	    padding:10px 15px;
	}
	.gameItems .img {
	    width: 126px;
	    height: 126px;
	    margin: 12px auto 0;
	}
	.gameItems .img  img{
		border-radius: 15px;
	}
	.gameItems{
		border-radius: 25px;
	}
	.gameItems .title {
	    font-size: 16px;
	}
	.starWrap .star {
	    width: 18px;
	    height: 18px;
	}
}
@media screen and (max-width:768px){
	.gameItems{
		border-radius: 25px;
	}
	.gameItems .title {
	    font-size: 16px;
	}
	.starWrap .star {
	    width: 18px;
	    height: 18px;
	   
	}
}
@media screen and (max-width:641px){
	.floatMenu.active {
	    left: 40%;
	   
	}
}
@media screen and (max-width:431px){
	.header{
		padding: 10px;
	}
	#sidebar{
		top:54px;
		height:calc(100% - 90px);
		width:60%;
		padding: 10px 20px;
	}
	#sidebar ul li a {
	    padding:15px 0;
	    font-size: 16px;
	}
	.chu_box #sidebar{
	    width:70%;
	}
	.floatMenu.active {
	    left:70%;
	    top: 10%;
	    z-index: 999999;
	}
	.foot{
		padding: 15px;
	}
	.foot .foot-left {
	    width: 30%;
	}
	.foot .foot-left .logo {
	    font-size: 22px;
	}
	.foot .foot-right {
	    width: 70%;
	}
	.foot .foot-right a {
	    font-size: 14px;
	}
	.backTop i{
		font-size: 24px;
	}
}
@media screen and (max-width:376px){
	#sidebar {
	    width: 70%;
	}
	
}

@media screen and (max-width:321px){
	.backTop {
	    width:50px;
	    height:40px;
	    line-height:40px;
	}
	
}