.line-wrapper {
    position: relative;
    width: 50%;
    height: 6px;
    margin: 10px auto;
    background-color: #00a3e0;
    border-radius: 3px;
    overflow: hidden;
  }
  
  .dot {
    position: absolute;
    top: -7px;
    left: 0;
    width: 15px;
    height: 15px;
    background-color: #fff;
    border-radius: 50%;
    animation: move-dot 4s infinite alternate linear;
  }
  
  @keyframes move-dot {
    from {
      left: 0%;
    }
    to {
      left: calc(100% - 20px);
    }
  }