.card {
  position: relative;
  float: left;
  width: 14.6%;
  margin-left: 1%;
  margin-right: 1%;
  text-align: center;
  height: 120px;
  cursor: pointer;
  margin-bottom: 20px;
}

/* card fronts and backs */
.card__front {
  	position: absolute;
  	top: 0;
  	left: 0;
 	width: 90%;
  	padding-left: 5%;
  	padding-right: 5%;
  	height: 100%;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	box-shadow:  1px 1px 2px 2px rgba(80, 80, 80, 0.2);
	background-color: #FFF;
  	text-align: center;
}
.card__front:hover {
	box-shadow:  1px 1px 3px 3px rgba(80, 80, 80, 0.4);
}
.vertical-center {
  margin: 0;
  position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}
.card__back {
	position: absolute;
	top: 0;
	left: 0;
	width: 90%;
	padding-left: 5%;
	padding-right: 5%;
	padding-top: 30px;
	height: 90px;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	box-shadow: 1px 1px 2px 2px rgba(80, 80, 80, 0.2);
	font-size: 16px;
	color: #FFF;
	-webkit-transform: rotateY(-180deg);
	transform: rotateY(-180deg);
	background-color: #3d3d3d;
}

.card__front,
.card__back {
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  -webkit-transition: -webkit-transform 0.3s;
          transition: transform 0.3s;
}

/* card text */
.number {
  font-size: 24px;
  line-height: 24px;
  font-weight: 800;
}


/* click effect */
.card.effect__click.flipped .card__front {
  -webkit-transform: rotateY(-180deg);
          transform: rotateY(-180deg);
}

.card.effect__click.flipped .card__back {
  -webkit-transform: rotateY(0);
          transform: rotateY(0);
}


@media only screen and (max-width: 1000px) {
.card {
  width: 23%;
}
}



@media only screen and (max-width: 800px) {
.card {
  width: 31.3%;
}
}



@media only screen and (max-width: 500px) {

.card {
  width: 48%;
}
}

