.modal-video {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: scale(1.1);
  transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
}

.modal-video-content {
  position: absolute;
  width: 90%;
  height: 260px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.modal-video-close {
  font-family: openSans;
  font-size: 22px;
  line-height: 22px;
  font-weight: 600;
  position: absolute;
  right: 1rem;
  cursor: pointer;
  color: white;
}

.modal-video-close:hover {
  color: white;
}

.modal-video-iframe {
  width: 100%;
  height: 100%;
}

.modal-video-iframe html body #player .html5-video-player .ytp-scroll-min {
  display: none;
}

.show-modal-video {
    opacity: 1;
    visibility: visible;
    transform: scale(1.0);
    transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
}

.modal-video-trigger, .modal-video-trigger-text {
  cursor: pointer;
}

@media (min-width: 500px) {
  .modal-video-content {
    width: 60%;
    height: 350px;
  }

  .modal-video-close {
    font-size: 32px;
    top: 10px;
    right: 10px;
  }
}

@media (min-width: 1000px) {
  .modal-video-content {
    width: 600px;
    height: 450px;
  }
}