/* CSS Document */
@import "game.scss";

#mrzr-dashboard{margin:5px;text-align:center;background:#333;border-radius:2px;padding:5px;}

#game-item-container{margin:0 0 10px 0}
#game-item-container-img{width:120px;float:left}
#game-item-container-desc{float:left;padding:0 0  0 15px}
.clear{clear:both}



.mrzr-featured{color:#f9b916}
.mrzr-title{color:#333;    bottom: 0;
    text-align: center;
    width: 100%;
	position:absolute;
	    margin: -20px 0;}
		
		
		.wrap {
    position: relative;
    height: 100%;
    /*min-height: 500px;*/
    padding-bottom: 20px;
}

.game {
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-perspective: 500px;
    perspective: 500px;
    min-height: 100%;
    height: 100%;
}
.card {
	float: left;
	height: 25%;
	padding: 0px;
	text-align: center;
	display: block;
	-webkit-perspective: 500px;
	perspective: 500px;
	position: relative;
	cursor: pointer;
	z-index: 50;
	-webkit-tap-highlight-color: transparent;
}

.card .inside.matched {
    -webkit-animation: 1s matchAnim ease-in-out;
    animation: 1s matchAnim ease-in-out;
    -webkit-animation-delay: .4s;
    animation-delay: .4s;
}
.card .inside.picked, .card .inside.matched {
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
}
.card .inside {
	width: 233px;
	height: 233px;
	margin: 0 0px;
	display: block;
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transition: .4s ease-in-out;
	transition: .4s ease-in-out;
	background: #00000030;
}
@media (min-width: 1200px) {
 .game .card .inside {
	width: 228px;
	height: 228px;
  }} 
.card .front {
    -webkit-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
}
.card .front, .card .back {
	border: 0px solid #ccc;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 0px;
	border-radius: 7px;
}
.card .front img, .card .back img {
    max-width: 100%;
    display: block;
    margin: 0 auto;
}
* {
    box-sizing: border-box;
}
.card .picked .back img {
   display:none;
}
.card .matched .back img {
   display:none;
}
@media (max-width: 767px) {
.wrap .game {
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-perspective: 500px;
	perspective: 500px;
	min-height: 100%;
	height: 100%;
	display: flex;
	/* flex-direction: column; */
	flex-wrap: wrap;
}
.wrap .card {
	/* float: left; */
	height: 25%;
	padding: 0px;
	text-align: center;
	display: block;
	-webkit-perspective: 500px;
	perspective: 500px;
	position: relative;
	cursor: pointer;
	z-index: 50;
	-webkit-tap-highlight-color: transparent;
	width: 50%;
}
.wrap .card .inside {
	width: 100%;
	height: 205px;
	margin: 0 0px;
	display: block;
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transition: .4s ease-in-out;
	transition: .4s ease-in-out;
	background: #00000030;
}
#game-item-container #game-item-container-img .img-responsive {
	height: 170px;
	width: 340px;
}
#game-item-container #game-item-container-img {
	width: 340px;
	float: unset;
	height: 170px;
}
.view-game #game-item-container {
	margin: 0 0 10px 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.view-games .stgu-cover {
	background-repeat: no-repeat;
	height:170px;
	background-size: 100% 100%;
    background-position: center center;
}
}		