.video-background {
  position: relative;
  width: 100%;
  height: 800px;
  overflow: hidden;
}

#myVideo {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 50%;
  min-height: 50%;
  z-index: -1;
}

.video-background video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 50%;
  min-height: 50%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.overlay-content {

  z-index: 1;

}

.hero-slider-area.hero-slider-area-style-two .hero-slider-content h1,
.hero-slider-content span,
.hero-slider-content p{
  color: #FFF;
}


@media only screen and (max-width: 768px){

  .video-background {
    height: 620px;
  }
  .video-background video{
    top: -23%;
    width: 780px;
    height: 580px;
    transform: translate(-50%, 50%);
  }
  .hero12-section-area{
    padding: 270px 0 80px 0;
  }
  .img-cercle{
    margin-bottom: 10px;
  }
  .logo-video{
    width: 300px;
    margin: 0 auto;
    display: block;
    background-color: #ffffff82;
    padding: 10px;
    border-radius: 20px;
  }
  .hero-header h1{
    font-size: 5.5rem !important;
  }
  .hero-header p{
    font-size: 18px !important;
    line-height: 28px !important;
  }
  .hero-header .header-btn20-2{
    padding: 10px 25px !important;
    font-size: 20px !important;
  }

}

@media only screen and (max-width: 500px){
  .video-background {
        height: 670px;
  }

  .video-background video{
    top: -28%;
    width: 500px;
    height: 640px;
    transform: translate(-50%, 50%);
  }

}
