body {
  margin: 0;
  padding: 0;
  font-family: arial;
  background: white;
}

.page {
  width: 760px;
  height: 656px;
  position: relative;
}

area {
  cursor: default;
}


.goal {
  position: absolute;
  height: 20px;
  width: 20px;
  background: url(tick.png) no-repeat;
  background-size: contain;
  border-radius: 50%;
  display: none;
  filter: hue-rotate(-120deg);
}

.goal.shown {
  display: block;
}

.card {
  opacity: 1;
  transition: opacity .4s;
}

.result {
  position: absolute;
  width: 450px;
  left: 50%;
  top: 50%;
  padding: 20px 0;
  margin-left: -225px;
  margin-top: -225px;
  visibility: hidden;
  opacity: 0;
  transition: opacity .4s .1s;
  border: 2px #f90 solid;
  border-radius: 7px;
  text-align: center;
  background: white;
}

.page.solved .card {
  opacity: .3;
}

.page.solved .result {
  visibility: visible;
  opacity: 1;
}

.counter {
  position: absolute;
  left: 16px;
  top: 12px;
  font-style: italic;
  font-weight: bold;
}

.page.solved .counter {
  display: none;
}

.info {
  position: absolute;
  left: 10px;
  top: 40px;
  padding: 10px;
  background: rgba(255, 255, 255, .95);
  max-width: 300px;
  border-radius: 3px;
  border: 2px #f90 solid;
  display: none;
  font-size: 13px;
}

.info.no {
  border-color: red;
  animation: shake 0.62s cubic-bezier(.36,.07,.19,.97) both;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
}

@keyframes shake {
  10%, 90% {
    transform: translate3d(-1px, 0, 0);
  }

  20%, 80% {
    transform: translate3d(2px, 0, 0);
  }

  30%, 50%, 70% {
    transform: translate3d(-4px, 0, 0);
  }

  40%, 60% {
    transform: translate3d(4px, 0, 0);
  }
}