.gifonclick {
  position: relative;
  cursor: pointer;
  display:inline-block;
  margin:15px 0;
}
.gifonclick:before,
.gifonclick:after {
  position: absolute;
}
.gifonclick:before {
  top: 0;
  left: 0;
  right:0;
  bottom:0;
  margin:auto;
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255, 255, 255, 0.7);
  border-radius: 25px;
  background-color: rgba(100,100,100,.5);
  font-family: 'Font Awesome 5 Pro';
  content: '\f04b';
  text-align: center;
  line-height: 45px;
  font-size: 19px;
  color: #F5F7FA;
}
.gifonclick.play:before {
  display: none;
}
.gifonclick.play:after {
  color: #fff;
  background-color: #8CC152;
}
figcaption {
  padding-top: 15px;
  font-size: 14px;
  color: #8d9bad;
}
figcaption a {
  color: #59687b;
  text-decoration: none;
}
.demo-content {
  width: 960px;
  height: 300px;
  margin-top: 90px;
  margin-right: auto;
  margin-left: auto;
  -webkit-transition: opacity 350ms;
          transition: opacity 350ms;
}
.pace {
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.pace-inactive {
  display: none;
}
.pace .pace-progress {
  background: #29d;
  position: fixed;
  z-index: 2000;
  top: 0;
  right: 100%;
  width: 100%;
  height: 2px;
}
.pace-running .demo-content {
  opacity: 0.5;
}