* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; /* includes border and padding in calculation of height and width? */
}

body {
  font-family: 'Helvetica';
  background-color: #02090F;
}
.wrapper {
  border: 3px solid #010124;
  width: 375px;
  height: 600px;
  position: absolute;   /* start absolute centering tenique */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* end part of absolute centering tenique */
  background-image: url('background.png');
  overflow: hidden;
}

.score {
  font-size: 150px;
  color: #f8f8fa;
  position: absolute;   /* start absolute centering tenique */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* end part of absolute centering tenique */
 /*  border: 1px solid black; */ /*temp to visualize center for more digits*/
  width: 200px;
  height: 100px;
  text-align: center;
}

.countdown {
  position: absolute;
  top: 465px;
  width: 100%;
  font-size: 28px;
  text-align: center;
  color: #e6e6ee;
}

button {
  position:absolute;
  bottom: 10px;
  left: 50%;
  transform: translate(-50%, 0);
  background: #010124;
  color: white;
  padding: 20px 50px;
  border-radius: 5px;
  z-index: 200;
  cursor: pointer;
  border: none;
  outline: none;

}

.game {
  /* border: 2px solid black; */
  width: 360px;
  height: 400px;
  margin: 50px auto;
  z-index: 200;
  display: flex;
  flex-wrap: wrap;
}

.hole {
  /* border: 3px solid red; */
  flex: 1 0 33.33%;
  position: relative;
  overflow: hidden;
}

.hole:after{
  content: '';
  display: black;
  background-image: url('podium-tiny.png');
  /* background: black; */
  position: absolute;
  width: 100%;
  height: 90px;
  z-index: 2;
  bottom: -53px;
  background-size: contain;
}

.mole {
  background-image: url('joe2-tiny.png');
  position: absolute;
  top: 100%;
  width: 100%;
  height: 100%;
  transition: 0.4s;
  background-repeat: no-repeat;
  background-position: bottom;

}

.mole.small {
  background-size:120%;
}

.mole.large {
  background-size: 150%;
}

.hole.up .mole {
  top:-15px;
}