.video {
  position: relative;
  z-index: 1;
  margin: 3rem auto 0 auto;
  max-height: 756px;
  border-radius: 1px;
  overflow: hidden;
  cursor: pointer;
}
.video video {
  width: 100%;
  height: auto;
}
/* Style du bouton "Mettre en pause" */
#video-js button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.7);
  border: none;
  cursor: pointer;
  opacity: 0;
  z-index: 10;
  transition: all .50s cubic-bezier(.475,.425,0,.995);
  width: 50px;
  height: 50px;
  font-size: 30px;
  background-color: var(--color-white);
  color: var(--color-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100px;
}

#video-js.paused span {
  transform: translateX(3px);
}

/* Affichage du bouton au survol de la vidéo quand elle est en lecture */
#video-js:hover button {
  opacity: 1; /* Afficher le bouton au survol */
}

/* Cacher le bouton quand la vidéo est en pause */
#video-js.paused button {
  opacity: 1; /* Ne pas afficher le bouton au survol si la vidéo est en pause */
}

/* Cacher le bouton quand la vidéo est en pause */
#video-js.paused:hover button {
  opacity: 1; /* Ne pas afficher le bouton au survol si la vidéo est en pause */
}

@media all and (min-width: 1000px){
  .video {
    max-width: calc(100vw - 64px);
    margin: 6.875rem auto 0 auto;
  }
  #video-js button {
    width: 66px;
    height: 66px;
    font-size: 35px;
  }
}

@media all and (min-width: 1400px){
  .video  {
    max-width: 1344px;
  }
}
