@keyframes bounce {
  0% {
    transform: translate(0, 0);
    animation-timing-function: cubic-bezier(0.45, 0, 0.9, 0.55);
  }
  50% {
    transform: translate(0, 120px);
    animation-timing-function: cubic-bezier(0, 0.45, 0.55, 0.9);
  }
  100% {
    transform: translate(0, 0);
    animation-timing-function: cubic-bezier(0.45, 0, 0.9, 0.55);
  }
}
body {
  margin: 0;
}

#site-loader {
  transition: background 400ms ease-in;
  position: fixed;
  z-index: 9999;
}

.site-loader-wrapper {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
}
.site-loader-remove {
  background-color: transparent;
}

.loader-ball div {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1b1c1a;
  left: 80px;
  top: 20px;
  animation: bounce 1s linear infinite;
}

.bounce-wrapper {
  width: 200px;
  height: 200px;
  display: inline-block;
  overflow: hidden;
  background: none;
  transition: opacity 400ms ease-in;
}
.site-loader-remove .bounce-wrapper {
  opacity: 0;
}

.loader-ball {
  width: 100%;
  height: 100%;
  position: relative;
  transform: translateZ(0) scale(1);
  backface-visibility: hidden;
  transform-origin: 0 0; /* see note above */
}
.loader-ball div {
  box-sizing: content-box;
}
