.gameCategory {
	max-width: 1500px;
	margin: 0px auto;
	padding-left: 5px;
	padding-top: 10px;
}

.gamesContainer {
	width: 100%;
	max-width: 1500px;
	margin: 10px auto;
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	grid-gap: 10px;
}

.gamesColDiv {
	position: relative;
	overflow: hidden;
	border-radius: 8px;
}

.maskLayer {
	display: none;
	position: absolute;
	bottom: 0px;
	background: rgba(51, 51, 51, 0.8);
	width: 100%;
	height: 100%;
	line-height: 20px;
	color: #fff;
	cursor: pointer;
	text-align: center;
}

.gamesColDiv img {
	border: 0px;
	width: 100%;
}

.gamesColDiv:hover {
	border: 1px solid #e7cf1f;
	animation: 0.5s linear 0s 1 bounce;
}

@keyframes bounce {
	0% {
		transform: scale(1.2, 0.8);
	}

	25% {
		transform: scale(0.8, 1.2);
	}

	50% {
		transform: scale(1.1, 0.9);
	}

	75% {
		transform: scale(0.9, 1.1);
	}

	100% {
		transform: scale(1, 1);
	}
}

@keyframes bounce1 {
	0% {
		transform: scale(1.4, 0.6);
	}

	25% {
		transform: scale(0.6, 1.4);
	}

	50% {
		transform: scale(1.2, 0.8);
	}

	75% {
		transform: scale(0.8, 1.2);
	}

	100% {
		transform: scale(1, 1);
	}
}

.gamesColDiv:hover .gameShowText {
	display: inline-block;
}

.gamesColDiv:hover .maskLayer {
	display: block;
}

@media (min-width:800px) and (max-width:1500px) {
	.gamesContainer {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media (max-width:800px) {
	.gamesContainer {
		grid-template-columns: repeat(3, 1fr);
	}
}