html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #000;
  font-family: Helvetica, Arial, sans-serif;
}

/* For pace.js */
.pace {
  pointer-events: none;
  user-select: none;
  z-index: 2000;
  position: fixed;
  margin: auto;
  top: 8em;
  left: 0;
  right: 0;
  bottom: 0;
  height: 10px;
  width: 200px;
  background: #fff;
  border: 1px solid #fff;
  overflow: hidden;
}

.pace .pace-progress {
  box-sizing: border-box;
  transform: translate3d(0, 0, 0);
  max-width: 200px;
  position: fixed;
  z-index: 2000;
  display: block;
  position: absolute;
  top: 0;
  right: 100%;
  height: 100%;
  width: 100%;
  background: #000;
}

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

.loading {
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  opacity: 1;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  transition: all 1s ease-in-out 0.4s;
  color: #fff;
  background-color: #000;
}
.loading p {
  position: absolute;
  font-size: 5em;
  color: #fff;
  margin: 0;
  animation: loadingFade 1s ease infinite;
}
/* .loading p:nth-child(2) { */
/*   font-size: 5em; */
/* } */

.pace-done .loading {
  opacity: 0;
  z-index: -1;
}

@keyframes loadingFade{
  0% {
    opacity:1;
  }
  50% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}
