* {
  box-sizing: border-box;
}

h1 {
  font-size: 1.4em;
}

body {
  counter-reset: game;
  text-align: center;
  background: #080d12; /* Dark futuristic background */
  font-family: "Open Sans", "Helvetica", "Arial", sans-serif;
  color: #0ff; /* Neon cyan text */
  text-shadow: 0 0 5px #0ff, 0 0 10px #00f; /* Neon glow effect */
}


input:checked {
  counter-increment: game;
}

.total-count::after {
  content: counter(game);
}

h2 {
  font-size: 1em;
  margin: -0.5em auto 3em;
  font-weight: 400;
}

.total-count {
  font-size: 1.75em;
  position: absolute;
  top: 1.75em;
  width: 100%;
  left: 0;
  text-align: center;
  z-index: 300;
}

.game-area {
  display: flex;
  flex-flow: wrap;
  align-items: center;
  justify-content: space-between;
  max-width: 600px;
  min-height: 550px;
  max-height: 700px;
  margin: 0 auto;
  padding-left: 0;
}

li {
  width: calc(33% - .5em);
  margin-bottom: 1em;
  height: 10em;
  list-style: none;
  position: relative;
  outline: 4px solid white;
  background: #64ddf3;
}
li:nth-child(1) input {
  filter: hue-rotate(101.1836476607deg) brightness(1.7959037814);
  -webkit-animation-duration: 1.8701460883s;
          animation-duration: 1.8701460883s;
}
li:nth-child(2) input {
  filter: hue-rotate(94.8579647288deg) brightness(1.6666170588);
  -webkit-animation-duration: 4.2367742421s;
          animation-duration: 4.2367742421s;
}
li:nth-child(3) input {
  filter: hue-rotate(169.2463769702deg) brightness(1.1977192544);
  -webkit-animation-duration: 0.5352241227s;
          animation-duration: 0.5352241227s;
}
li:nth-child(4) input {
  filter: hue-rotate(236.010507503deg) brightness(1.8539183002);
  -webkit-animation-duration: 3.1099879279s;
          animation-duration: 3.1099879279s;
}
li:nth-child(5) input {
  filter: hue-rotate(40.0038390692deg) brightness(1.7906685184);
  -webkit-animation-duration: 2.8947857903s;
          animation-duration: 2.8947857903s;
}
li:nth-child(6) input {
  filter: hue-rotate(314.2783529883deg) brightness(1.8695082594);
  -webkit-animation-duration: 4.7085011968s;
          animation-duration: 4.7085011968s;
}
li:nth-child(7) input {
  filter: hue-rotate(191.9266127054deg) brightness(1.9873209407);
  -webkit-animation-duration: 0.6880466022s;
          animation-duration: 0.6880466022s;
}
li:nth-child(8) input {
  filter: hue-rotate(298.2243086187deg) brightness(1.3585936738);
  -webkit-animation-duration: 1.505505843s;
          animation-duration: 1.505505843s;
}
li:nth-child(9) input {
  filter: hue-rotate(254.8675943625deg) brightness(1.8750648945);
  -webkit-animation-duration: 0.2142288067s;
          animation-duration: 0.2142288067s;
}

input[type=checkbox] {
  width: 50px;
  height: 50px;
  position: absolute;
  cursor: crosshair;
  background: radial-gradient(red 10%, white 10%, white 30%, red 30%, red 50%, white 50%, white 80%, red 80%, red 100%);
  border-radius: 50%;
  display: block;
  left: 0;
  right: 0;
  text-align: center;
  margin: 0 auto;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 6px solid red;
  -webkit-animation: hide-target infinite alternate ease-in-out;
          animation: hide-target infinite alternate ease-in-out;
  z-index: 1;
}
input[type=checkbox]:before {
  content: "";
  display: block;
  background-color: black;
  height: 50%;
  width: 6px;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  margin: 0 auto;
  z-index: -1;
}
input[type=checkbox]:focus {
  outline: none;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}
input[type=checkbox]:checked {
  pointer-events: none;
  filter: grayscale(1) opacity(0.75);
  -webkit-animation: none;
          animation: none;
}
input[type=checkbox]:checked:after {
  content: "+1!";
  padding: 0.5em;
  margin: 1em 0 0 1.5em;
  font-size: 2.5em;
  font-weight: 600;
}

.shield {
  background: #724c20;
  width: 100%;
  height: 60%;
  margin: 0 auto;
  bottom: 0;
  left: 0;
  right: 0;
  position: absolute;
  pointer-events: all;
  z-index: 100;
}

@-webkit-keyframes hide-target {
  0% {
    top: 0;
  }
  25% {
    top: 50%;
  }
  100% {
    top: 0;
  }
}

@keyframes hide-target {
  0% {
    top: 0;
  }
  25% {
    top: 50%;
  }
  100% {
    top: 0;
  }
}
.game-over {
  height: 100%;
  width: 100%;
  display: block;
  background: white;
  pointer-events: all;
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 200;
  -webkit-animation: appear 0.25s forwards;
          animation: appear 0.25s forwards;
  -webkit-animation-delay: 8s;
          animation-delay: 8s;
  background: black;
}
.game-over h1 {
  padding: 1em 0 3.5em;
  background: white;
}

@-webkit-keyframes appear {
  from {
    top: -100vh;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}

@keyframes appear {
  from {
    top: -100vh;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}
.play-again {
  background: white;
  color: #20c0ff;
  padding: 0.5em 1em;
  font-size: 2.5em;
  font-weight: 700;
}

small a {
  margin-bottom: 2em;
  display: block;
  color: #222;
}