* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  background-color: #fff;
  margin: auto;
  font-size: 15px;
}

.wrapper {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading_spinner {
  width: 100px;
  height: 50px;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}

.loading_spinner .ball {
  width: 20px;
  height: 20px;
  background-color: #B0B8B6;
  border-radius: 50%;
  display: inline-block;
  -webkit-animation: motion 3s cubic-bezier(0.77, 0, 0.175, 1) infinite;
    animation: motion 3s cubic-bezier(0.77, 0, 0.175, 1) infinite;
  }
  
  .loading_spinner .loading_text {
    color: #B0B8B6;
      font-family: sans-serif;
    margin-top: 5px;
    letter-spacing: 3px;
    font-size: 10px;
      font-weight: 300;
  }
  
  @-webkit-keyframes motion {
    0% {
      -webkit-transform: translateX(0) scale(1);
      transform: translateX(0) scale(1);
    }
  
    25% {
      -webkit-transform: translateX(-50px) scale(0.3);
      transform: translateX(-50px) scale(0.3);
    }
  
    50% {
      -webkit-transform: translateX(0) scale(1);
      transform: translateX(0) scale(1);
    }
  
    75% {
      -webkit-transform: translateX(50px) scale(0.3);
      transform: translateX(50px) scale(0.3);
    }
  
    100% {
      -webkit-transform: translateX(0) scale(1);
      transform: translateX(0) scale(1);
    }
  }
  
  @keyframes motion {
    0% {
      -webkit-transform: translateX(0) scale(1);
      transform: translateX(0) scale(1);
    }
  
    25% {
      -webkit-transform: translateX(-50px) scale(0.3);
      transform: translateX(-50px) scale(0.3);
    }
  
    50% {
      -webkit-transform: translateX(0) scale(1);
      transform: translateX(0) scale(1);
    }
  
    75% {
      -webkit-transform: translateX(50px) scale(0.3);
      transform: translateX(50px) scale(0.3);
    }

    100% {
      -webkit-transform: translateX(0) scale(1);
      transform: translateX(0) scale(1);
    }
}

