.swiper-container {
  overflow: hidden;
}
.swiper-container,
.swiper-slide {
  position: relative;

  .swiper-background,
  .swiper-slide-image {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    overflow: hidden;

    video {
      position: absolute;
      top: 50%;
      left: 50%;
      -webkit-transform: translateX(-50%) translateY(-50%);
      transform: translateX(-50%) translateY(-50%);
      min-width: 100%;
      min-height: 100%;
      width: auto;
      height: auto;
      overflow: hidden;
    }
  }

  .slide-content {
    position: relative;
  }

  .slide-url {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
  }

  .swiper-pagination,
  .swiper-button-prev,
  .swiper-button-next,
  .swiper-scrollbar {
    z-index: 2;
  }
}