

.video-ai-play-label {
    z-index: 3;
    position: absolute;
    margin-top: 20%;
}

video {
  max-width: 1440px;
  width: 100%;
}

.video-player {
  transition: all .3s ease-in-out;
  width: 100%;
  display: none;
}

.playing {
  display :none;
}

.player-paused { 
  display :block;
}

#play-video-on {
  transition: all .5s ease-in-out;
}

#play-video-on:hover {
  transform : scale(1.1);
  cursor: pointer;
  
}
  
  .ai-header-video {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 0 auto;
    width: 100%;
    max-width 100%;
    height: auto;
  }

@media screen and (max-width: 940px) {
video {
  max-width: 100%;
}

}

 @media screen and (max-width: 940px) {
   .ai-header-video {
        width: 100%;
        height: auto;
        border-radius: 0; 
    }
   .ai-header-video video {
      border-radius: 0; 
      width: 100%;
    }  
 }
    
  
  @media screen and (max-width: 768px) {
    .ai-header-video {
      display: none;
    }
    .ai-header-image {
      flex-direction: column;
      align-items: center;
      display: flex;
    }
}
  
  @media screen and (max-width: 540px) {
    .ai-header-image {
      flex-direction: column;
      align-items: center;
    }
    .ai-header-link {
      width: 100%;
    } 
  }
  
 