* {
  box-sizing: border-box;
}

h1 {
  font-size: 1.4em;
}

body {
  counter-reset: game;
  text-align: center;
  background: #e9b58b;
  font-family: "Open Sans", "Helvetica", "Arial", sans-serif;
  color: #333;
}

input:checked {
  counter-increment: game;
}

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

.total-count {
  font-size: 1.75em;
  width: 100%;
  left: 0;
  text-align: center;
}

.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: url(./image/bg-blue.png);
  background-size: cover;
  background-repeat: no-repeat;
}

li:nth-child(1) input {
 
  -webkit-animation-duration: 4.9710751068s;
  animation-duration: 4.9710751068s;
}

li:nth-child(2) input {
 
  -webkit-animation-duration: 4.8697751654s;
  animation-duration: 4.8697751654s;
}

li:nth-child(3) input {
 
  -webkit-animation-duration: 0.4420898026s;
  animation-duration: 0.4420898026s;
}

li:nth-child(4) input {
  
  -webkit-animation-duration: 4.9354486892s;
  animation-duration: 4.9354486892s;
}

li:nth-child(5) input {
  
  -webkit-animation-duration: 1.180724796s;
  animation-duration: 1.180724796s;
}

li:nth-child(6) input {
 
  -webkit-animation-duration: 3.6101942417s;
  animation-duration: 3.6101942417s;
}

li:nth-child(7) input {
  
  -webkit-animation-duration: 0.042774747s;
  animation-duration: 0.042774747s;
}

li:nth-child(8) input {

  -webkit-animation-duration: 0.1735733573s;
  animation-duration: 0.1735733573s;
}

li:nth-child(9) input {
  
  -webkit-animation-duration: 4.6779121884s;
  animation-duration: 4.6779121884s;
}

input[type=checkbox] {
  width: 60px;
  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%);*/
  background: url(./image/polvo.png);
  border-radius: 50%;
  display: block;
  left: 0;
  right: 0;
  text-align: center;
  margin: 0 auto;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  -webkit-animation: hide-target infinite alternate ease-in-out;
  animation: hide-target infinite alternate ease-in-out;
  /*z-index: 1;*/
}

input[type=checkbox]:focus {
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

input[type=checkbox]:checked {
  pointer-events: none;
  -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;
  color: #ff7d00;
}

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

.shield img{
  width: 50%;
  margin-top: 10px;
}

@-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;
  }
}

@-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;
}

/* Tablets y telefonos */
@media only screen and (max-width: 767px){
  .shield img {
    width: 77%;
  }
}