*{
    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:#82D2F7;
}
body>*{
    max-width: 100%;
    overflow-x: hidden;
	color: #fff;
}
.f-green{
	color:#A4EF2E;
}
.mb15{
	margin-bottom: 20px;
}
/* header */
.header{
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding:15px 30px;
	color: #fff;
	position: fixed;
	width: 100%;
	left: 0;
	top: 0;
	background-color: #82D2F7;
	z-index: 999;
}
.header h2 a{
	font-size: 42px;
	color: #fff;
	font-weight:800;
}
.menu{
	width:56px;
	height: 56px;
	background: url('../images/menu.png') center no-repeat;
	background-size: 100%;
}
.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;
}
.mask .top{
	padding:15px 30px;
	text-align: right;
	background-color: #82D2F7;
}
.mask .menu{
	display:inline-block;
}
#sidebar{
	top: 82px;
	width: 100%;
    background-color:#046EA7;
    position: absolute;
    animation: menudrop .3s linear forwards;
}
#sidebar .menu{
	width: 100%;
}
.hide #sidebar{
    animation: menudrop 1s ease reverse forwards;
}
#sidebar ul{
	padding:15px 10px;
	display: flex;
	flex-wrap: wrap;
}
#sidebar ul li{
	display: inline-block;
	padding:10px;
}
#sidebar ul li a{
	background-color: #fff;
	border-radius: 40px;
	display: block;
	font-size: 22px;
	padding: 15px 26px;
	color: #1a1a1a;
	
}

@keyframes menudrop{
    0% {
        transform: translateY(-165vw);
    }
    100% {
        transform: translateY(0);
    }
}

.sortWrap{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	background-color:#fff;
	border-radius: 30px;
	padding: 15px;
}
.sortItem{
	width: 166px;
	height:166px;
	margin:10px;
	border-radius:28px;
	overflow: hidden;
}
.sortItem .imgIcon{
	width: 100%;
	overflow: hidden;
	flex-shrink: 0;
}
.sortItem .imgIcon:first-child{
	margin-left: 0;
}

/* gameitems */
.gameItems{
	display: flex;
	flex-direction: row;
	align-items: center;
	color: #fff;
}
.gameItems .img{
	width: 240px;
	height: 148px;
	overflow: hidden;
	border-radius: 20px;
	flex-shrink: 0;
}
.gameItems .img img{
	width: 100%;
	object-fit: cover;
}
.gameItems .infoWrap{
	flex: 1;
	padding-left: 15px;
	padding-right: 20px;
}
.gameItems .title{
	text-overflow: ellipsis;
    font-size: 24px;
	font-weight: bold;
    overflow: hidden;
	max-height: 54px;
	margin-bottom: 10px;
}
.gameItems .infoWrap .tags span{
	position: relative;
	display: inline-block;
	color: #ACE6FF;
	font-size: 18px;
	padding-left: 10px;
	padding-right: 10px;
}
.gameItems .infoWrap .tags span::after{
	position: absolute;
	content: '';
	width: 1px;
	top: 5px;
	bottom: 5px;
	right: 0;
	background-color:#ACE6FF;
}
.gameItems .infoWrap .tags span:last-child::after{
	width: 0;
}

/* foot */
.foot{
	padding:28px 0;
    color:#fff;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-top: 1px solid rgba(255,255,255,.5);
}
.foot  a{
	text-align:left;
	display: inline-block;
	font-weight: 500;
	color: #fff;
	font-size: 20px;
}
.backTop{
	position: fixed;
	z-index: 999;
	right:0;
	bottom: 10%;
	padding:15px 25px;
	background-color: #fff;
	border-radius:35px 0 0 35px;
	align-items: center;
	justify-content: center;
	box-shadow: 0 0 10px rgba(0,0,0,.2);
}
.backTop img{
	width:48px;
}
.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: 4%;
	left:45px;
	width: auto;
	right: 45px;
	border-radius:20px;
	padding:20px;
	background-color: #fff;
}
.chu_box #sidebar li a{
	background-color: #046EA7;
	color:#fff;
}
.chu_active {
    left: 0;
}
.gameWrap{
	height:100%;
}
.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;
	top: 30px;
	left: 30px;
	background-color: #fff;
	padding: 5px;
	border-radius: 50%;
	box-shadow: 0 0 10px rgba(0,0,0,.2);
}
.floatMenu span{
	display:block;
	width: 64px;
	height: 64px;
	background: url('../images/logo.png') center no-repeat;
	background-size: 100%; 
}


@media screen and (max-width:1025px){
	.sortWrap{
		flex-wrap: wrap;
		padding: 20px;
	}
	.sortItem {
	    width: 260px;
	    height: 260px;
	    border-radius: 25px;
		margin: 15px;
	}
	.gameItems {
	    flex-direction:column;
	}
	.gameItems .img {
	    width: 100%;
	    height:142px;
	}
	.gameItems .title {
	    max-height: 54px;
	    margin-bottom: 10px;
		margin-top: 15px;
	}
	.gameItems .infoWrap{
		padding: 0;
	}
	.gameItems .infoWrap .tags span:nth-child(1){
		padding-left: 0;
	}
	.foot {
	    padding: 20px;
	}
}
@media screen and (max-width:915px){
	.header h2 a{
		font-size:34px;
	}
	.sortItem {
	    width: 122px;
	    height: 122px;
		margin: 0;
	    border-radius: 25px;
	}
}
@media screen and (max-width:821px){
	.mask .menu{
		top: 15px;
	}
	.gameItems .img {
	    width: 100%;
	    height: 220px;
	}
	.chu_box #sidebar{
		top:6%;
		left:45px;
		right: 45px;
	}
}
@media screen and (max-width:768px){
	#sidebar {
	    top: 78px;
	}
	.menu {
	    width: 48px;
	    height: 48px;
	}
	
	.sortWrap{
		flex-wrap: wrap;
	}
	.sortItem {
	    width: 184px;
	    height: 184px;
	    border-radius: 35px;
	}
	.chu_box #sidebar{
		top:7%;
		left:45px;
		right: 45px;
	}
}
@media screen and (max-width:641px){
	.header h2 a {
	    font-size: 30px;
	}
	#sidebar ul li {
	    padding: 6px;
	}
	#sidebar ul li a {
	    font-size: 16px;
	    padding: 10px 20px;
	}
	.sortItem {
	    width: 168px;
	    height: 168px;
		margin: 10px 5px;
	    border-radius: 25px;
	}
	.gameItems{
		flex-direction: column;
	}
	.gameItems .img {
	    width:100%;
	    height: 158px;
	}
	.gameItems .infoWrap {
	    padding-left: 0;
	    padding-right: 0;
	}
	.gameItems .title {
	    font-size: 18px;
	    max-height: 44px;
	}
	.foot a {
	    font-size: 17px;
	}
	.menu {
	    width: 44px;
	    height: 44px;
	}
	.floatMenu {
	    top:20px;
	    left: 20px;
	}
	.floatMenu span{
		width: 40px;
		height: 40px;
	}
	.chu_box #sidebar {
	    top: 10%;
	    left: 45px;
	    right: 45px;
		padding: 10px;
	}
	.chu_box #sidebar ul{
		padding: 10px 0 10px 20px;
	}
	.backTop {
	    padding: 10px 15px 10px 20px;
	}
	.backTop img {
	    width:36px;
	}
}
@media screen and (max-width:541px){
	.sortWrap {
	   padding: 10px;
	}
	.sortItem {
	    width: 132px;
	    height: 132px;
		margin:10px;
	    border-radius: 30px;
	}
	.gameItems .title {
	    font-size: 17px;
	    max-height: 40px;
		margin-top: 8px;
		margin-bottom: 5px;
	}
	.gameItems .infoWrap .tags span {
	    font-size: 14px;
	    padding-left: 10px;
	    padding-right: 10px;
	}
	.foot{
		padding: 15px;
	}
	.foot a {
	    font-size: 14px;
	}
	.chu_box #sidebar ul{
		padding:0 0 15px 15px;
	}
	.backTop img {
	    width:32px;
	}
}
@media screen and (max-width:431px){
	.header {
	    padding:10px 15px;
	}
	.header h2 a{
	    font-size: 26px;
	}
	.menu {
		width: 42px;
		height: 42px;
	}
	.mask .menu {
	    top: 10px;
		right: 15px;
	}
	#sidebar {
	    top: 62px;
	}
	#sidebar ul li a{
		font-size: 16px;
		padding: 10px 15px;
	}
	.sortItem {
	    width: 110px;
	    height: 110px;
		margin: 5px;
	    border-radius:20px;
	}
	.floatMenu{
		padding: 3px;
		left: 15px;
		top: 20px;
	}
	.floatMenu span{
		width: 40px;
		height:40px;
	}
	.chu_box #sidebar{
		top: 4%;
		left:30px;
		right: 30px;
		border-radius:20px;
		padding:5px;
	}
	.chu_box #sidebar ul{
		padding-top: 20px;
	}
}
@media screen and (max-width:415px){
	#sidebar {
	    top: 62px;
	}
	.mask .top{
		padding: 10px 15px;
	}
	.menu {
	    width: 42px;
	    height: 42px;
	}
	.sortItem {
	    width: 108px;
	    height: 108px;
	    margin:10px 5px;
	    border-radius:16px;
	}
	.backTop{
		bottom:40px;
	}
	.backTop img{
		width:30px;
	}
	.chu_box #sidebar {
	    top: 5%;
	    left: 30px;
	    right: 30px;
	    border-radius: 20px;
	    padding: 5px;
	}
}
@media screen and (max-width:391px){
	.sortItem {
	    width: 98px;
	    height: 98px;
	}
	.chu_box #sidebar ul {
	    padding:15px 0 15px 15px;
	}
}
@media screen and (max-width:376px){
	.header {
	    padding:10px 15px;
	}
	.sortItem {
	    width: 98px;
	    height: 98px;
	    margin:8px 5px;
	    border-radius: 16px;
	}
	.gameItems .img {
	    width: 100%;
	    height: 74px;
		border-radius:12px;
	}
	.gameItems .title {
	    font-size: 15px;
	    max-height: 40px;
		line-height: 1.2;
		margin-top: 10px;
		margin-bottom: 0;
	}
	.gameItems .infoWrap .tags span::after {
	    top:4px;
	    bottom:2px;
	}
	.gameItems .infoWrap .tags span {
	    font-size: 12px;
	    padding-left: 5px;
	    padding-right: 5px;
	}
	.mask .top{
		padding: 10px 15px;
	}
}

@media screen and (max-width:361px){
	.header h2 a {
	    font-size: 24px;
	}
	.menu {
	    width: 36px;
	    height: 36px;
	}
	.mask .menu {
	    top: 10px;
	    right: 15px;
	}
	#sidebar {
	    top:56px;
	}
	#sidebar ul{
		padding: 10px;
	}
	#sidebar ul li a {
	    font-size: 14px;
	    padding:10px 15px;
	}
}
@media screen and (max-width:321px){
	.header h2 a {
	    font-size: 24px;
	}
	.sortItem {
	    width: 84px;
	    height:84px;
	    margin: 5px;
	    border-radius: 12px;
	}
	.floatMenu span{
		width: 36px;
		height: 36px;
	}
	#sidebar ul li a {
	    padding: 9px 15px;
	}
	.chu_box #sidebar {
	    top: 7%;
	    left: 20px;
	    right: 20px;
	}
	.chu_box #sidebar ul {
	    padding: 15px 0 10px 10px;
	}
	.chu_box #sidebar #sidebar ul li {
	    padding:5px;
	}
	.chu_box #sidebar ul li a{
		font-size: 13px;
	}
}
@media screen and (max-width:281px){
	.menu {
	    width: 32px;
	    height: 32px;
	}
	.sortItem {
	    width: 72px;
	    height:72px;
	    margin: 5px;
	    border-radius: 10px;
	}
}