#ba-wrapper {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  font-family: sans-serif;
}

.ba-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  cursor: ew-resize;
}

.ba-after, .ba-before {
  width: 100%;
  display: block;
}

.ba-before-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  height: 100%;
  width: 50%;
  pointer-events: none;
}

.ba-slider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: #fff;
  border-left: 1px solid #000;
  border-right: 1px solid #000;
  z-index: 10;
  pointer-events: none;
}

.ba-title {
  font-size: 26px;
  margin-top: 20px;
  font-weight: bold;
}

.ba-description {
  font-size: 16px;
  color: #666;
  margin-bottom: 30px;
}