html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

.game {
  width: 100vw;
  height: 67vw;
  max-width: 600px;
  max-height: 400px;
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
}

.hole {
  flex: 1 0 33.33%;
  overflow: hidden;
  position: relative;
}

.hole:after {
  display: block;
  background: url("../images/Mole/dirt.svg") bottom center no-repeat;
  background-size: contain;
  content: '';
  width: 100%;
  height:70px;
  position: absolute;
  z-index: 2;
  bottom: -30px;
}

.mole {
  background: url("../images/Mole/mole.png") bottom center no-repeat;
  background-size: 60%;
  position: absolute;
  top: 100%;
  width: 100%;
  height: 100%;
  transition:top 0.4s;
}

.imp {
  background: url("../images/Mole/imp.png") bottom center no-repeat;
  background-size: 60%;
  position: absolute;
  top: 100%;
  width: 100%;
  height: 100%;
  transition:top 0.4s;
}

.hole.up .mole {
  top: 0;
}

@media screen and (max-width: 600px) {	
	.game {
		width: 100vw;
		height: 150vw;
		max-width: 400px;
		max-height: 600px;
	}

	.hole {
	  flex: 1 0 50% !important;
	}
}