html {
    box-sizing: border-box;
    font-size: 10px;
    background: #5259d9;
  }
  
  *, *:before, *:after {
    box-sizing: inherit;
  }
  
  body {
    padding: 0;
    margin: 0;
    font-family: 'Audiowide', cursive;
  }

  .topnav {
    background-color: #50F205;
    font-family: 'Audiowide', cursive;
    overflow: hidden;
  }

  .topnav a {
    float: left;
    color: #5259D9;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 25px;
}

.topnav a:hover {
    background-color: #F21905;
    color: white;
}

.topnav a.active {
    background-color: #5259D9;
    color: white;
}

  
  h1 {
    font-family: 'Press Start 2P', cursive;
    text-align: center;
    font-size: 40px;
    line-height: 1;
    margin-bottom: 0;
    color: white;
  }

  .card-body {
    font-family: 'Audiowide', cursive;
    font-weight: bolder;
    font-size: 40px;
    color: #F2E205;
    padding-left: 50px;
    text-align: center;
  }
  
  .score {
    background: rgba(255,255,255,0.2);
    padding: 0 3rem;
    line-height: 1;
    border-radius: 1rem;
    font-family: 'Press Start 2P', cursive;
    font-size: 40px;
  }

  button {
    font-family: 'Audiowide', cursive;
    color: #F21905;
    font-size: 30px;
  }
  
  .game {
    width: 600px;
    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('../whackAMole/img/dirt.svg') bottom center no-repeat;
    background-size: contain;
    content: '';
    width: 100%;
    height:70px;
    position: absolute;
    z-index: 2;
    bottom: -30px;
  }
  
  .mole {
    background: url('../whackAMole/img/mole.svg') bottom center no-repeat;
    background-size: 60%;
    position: absolute;
    top: 100%;
    width: 100%;
    height: 100%;
    transition:all 0.4s;
  }
  
  .hole.up .mole {
    top: 0;
  }