.banner-video {
  position: relative;
  overflow: hidden;
}

.banner-video__container-videos {
  height: 640px;
  min-height: 640px;
}

.banner-video__background {
  position: relative;
  height: 100%;
}

.banner-video__background::after {
  background: transparent;
  content: "";
  display: block;
  opacity: 0.1;
  position: absolute;
  inset: 0;
}

.banner-video__background::before {
  background: transparent;
  content: "";
  display: block;
  position: absolute;
  inset: 0;
}

.banner-video__background img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.banner-video__container-iframe {
    height: 100%;
    overflow: hidden;
    width: 100%;
}

.banner-video__externo {
    height: 100%;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 1290px;
}

.banner-video__background video {
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    width: 100%;
}

.banner-video__mobile {
  display: block;
}
.banner-video__desktop {
  display: none;
}

@media only screen and (min-width: 768px) {
  .banner-video__container-videos {
    height: 950px;
    min-height: 950px;
  }
  .banner-video__externo {
    width: 1830px;
  }
}

@media all and (min-width: 1024px) {
  .banner-video__container-videos {
    height: 670px;
    min-height: 670px;
  }
  .banner-video__background video {
    left: 50%;
    transform: translateX(-50%);
    width: auto;
  }
  .banner-video__externo {
    width: 1610px;
  }
  .banner-video__mobile {
    display: none;
  }
  .banner-video__desktop {
    display: block;
  }
}

@media only screen and (min-width: 1366px) {
  .banner-video__container-videos {
    height: 768px;
    min-height: 768px;
  }
  .banner-video__externo {
    width: 1920px;
  }
}

@media only screen and (min-width: 1920px) {
  .banner-video__container-videos {
    height: 1000px;
    min-height: 1000px;
  }
  .banner-video__externo {
    width: 100%;
  }
}
