body>* {
  opacity: 1;
}
body.loading>* {
  opacity: 0;
  transition: opacity 0.3s ease-out;
}
body.loading>.loader {
  opacity: 1;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
body:not(.loading)>.loader {
  display: none;
}
.lds-bars {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-bars div {
  display: inline-block;
  position: absolute;
  left: 8px;
  width: 16px;
  background: #fff;
  animation: lds-bars 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}
.lds-bars div:nth-child(1) {
  left: -32px;
  animation-delay: -0.72s;
}
.lds-bars div:nth-child(2) {
  left: -8px;
  animation-delay: -0.6s;
}
.lds-bars div:nth-child(3) {
  left: 16px;
  animation-delay: -0.48s;
}
.lds-bars div:nth-child(4) {
  left: 40px;
  animation-delay: -0.36s;
}
.lds-bars div:nth-child(5) {
  left: 64px;
  animation-delay: -0.24s;
}
.lds-bars div:nth-child(6) {
  left: 88px;
  animation-delay: -0.12s;
}
.lds-bars div:nth-child(7) {
  left: 112px;
  animation-delay: 0s;
}
@keyframes lds-bars {
  0% {
    top: 8px;
    height: 128px;
  }
  50%, 100% {
    top: 24px;
    height: 64px;
  }
}
