
[data-movie-id] {
  cursor: pointer;
}

.movie__modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.8);
  opacity: 0;
  pointer-events: none;
  z-index: 10000;
  -webkit-transition: 0.4s opacity;
  transition: 0.4s opacity;
}

.movie__modal[data-active=true] {
  opacity: 1;
  pointer-events: auto;
}

.movie__modal__inner {
  position: relative;
  width: 100%;
  max-width: 900px;
}

.movie__modal__inner::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

.movie__modal__inner iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100% !important;
  height: 100% !important;
}

.movie__modal__close {
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background-color: #000;
  cursor: pointer;
}

@media screen and (max-width: 767px) {
  .movie__modal__close {
    width: 10.6666666667vw;
    height: 10.6666666667vw;
  }
}

.movie__modal__close::before,
.movie__modal__close::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  width: 50px;
  height: 2px;
  margin: auto;
  background-color: #fff;
}

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

  .movie__modal__close::before,
  .movie__modal__close::after {
    width: 6.6666666667vw;
    height: 0.2666666667vw;
  }
}

.movie__modal__close::before {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.movie__modal__close::after {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}