.video-compare-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.video-compare-container video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rgb-video {
  z-index: 2;
  clip-path: inset(0 50% 0 0);
}

.seg-video {
  z-index: 1;
}

.compare-slider {
  position: absolute;
  bottom: 10px;
  left: 10%;
  width: 80%;
  z-index: 3;
}

.divider {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: white;
  left: 50%;
  z-index: 4;
}