html {
  box-sizing: border-box;
  font-size: 10px;
}

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

body {
  padding: 0;
  margin: 0;
  font-family: "Amatic SC", cursive;
}

.header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #44BBB6;
}

h1 {
  text-align: center;
  font-size: 10rem;
  line-height: 1;
  margin-bottom: 0;
}

.score {
  background: url(./assets/score-sign.svg) center no-repeat;
  width: 355px;
  height: 180px;
  text-align: center;
  font-size: 57px;
}

.game {
  background: #00AC9B;
  width: 600px;
  height: 400px;
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
}

.hole:before {
  display: block;
  background: url("./assets/hole.svg") bottom center no-repeat;
  background-size: contain;
  content: "";
  width: 100%;
  height: 70px;
  position: absolute;
  z-index: 0;
  bottom: 0;
}

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

.mole {
  background: url("./assets/mole.svg") bottom center no-repeat;
  clip-path: ellipse(48% 76% at 50% 25%);
  background-size: 60%;
  position: absolute;
  top: 100%;
  width: 100%;
  height: 100%;
  z-index: 1;
  transition: all 0.4s;
}

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