html {
  height: 100%;
  background-color: white;
  overflow-x: hidden;
}

.loader {
  position: absolute;
  top: calc(50% - 6em);
  left: calc(50% - 6em);
  width: 12em;
  height: 12em;
  animation: pulse 2s infinite linear;
  transition: opacity 0.3s;
  pointer-events: none;
}

.loader--hide {
  transition: opacity 0.3s;
  opacity: 0 !important;
  animation: unset;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: .3;
  }
  100% {
    opacity: 1;
  }
}