.pace {
  user-select: none;
  cursor: wait;
  box-sizing: border-box;
  background-color: #191919;
  background-clip: padding-box;
  z-index: 2000;
  position: fixed;
  margin: auto;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.pace .pace-progress {
  display: none;
}

.pace .pace-progress:after {
  content: attr(data-progress-text);
  display: inline-block;
  position: fixed;
  width: 45px;
  text-align: right;
  right: 0;
  padding-right: 16px;
  top: 4px;
}

.pace .pace-activity {
  position: absolute;
  width: 100px;
  height: 100px;
  z-index: 2001;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.pace .pace-activity span {
  display: block;
  font-size: 18px;
  font-family: "barlow-condensed";
  color: #FFD56F;
  margin-top: 10px;
  letter-spacing: 2px;
}

.pace .pace-activity::before {
  content: '';
  background-image: url('../../images/logo-short.svg');
  background-repeat: no-repeat;
  background-size: contain;
  display: block;
  width: 100%;
  height: 100%;
  transform: translateY(-50px);
  animation: bounce .5s;
  animation-direction: alternate;
  animation-timing-function: cubic-bezier(.5, .05, 1, .5);
  animation-iteration-count: infinite;
}

.pace.pace-inactive {
  display: none;
}

@keyframes bounce {
  from {
    transform: translate3d(0, -50px, 0);
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}
