/* movie Modal
 manatement/raising-awareness.html ========  */
.modal-wrapper {
  bottom: 0;
  left: 0;
  padding: 40px 10px;
  position: fixed;
  right: 0;
  text-align: center;
  top: 0;
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-wrapper:not(:target) {
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
  visibility: hidden;
}

.modal-wrapper:target {
  opacity: 1;
  transition: opacity 0.4s, visibility 0.4s;
  visibility: visible;
}

.modal-wrapper::after {
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.modal-wrapper .modal-window {
  display: inline-block;
  position: relative;
  z-index: 20;
  aspect-ratio: 16/9;
  width: 980px;
}

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

.modal-wrapper .modal-button {
  cursor: pointer;
  transition: all 0.3s;
}

.modal-wrapper .modal-overlay {
  background: rgba(40, 40, 40, 0.8);
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 10;
}

.modal-wrapper .modal-close {
  position: absolute;
  right: -2em;
  top: -2em;
  z-index: 20;
}

@media screen and (max-width: 767px), screen and (min-width: 768px) and (max-width: 1200px) {
  .modal-wrapper .modal-window {
    width: 80%;
  }
}