
.movie-wrap {
  text-align: center;
}

.play {
  display: inline-block;
  cursor: pointer;
  font-size: 40px;
  font-weight: bold;
}

.movie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  background-color: rgba(000, 000, 000, 0.5);
  pointer-events: none;
  transition: all 0.5s;
  z-index: 10;
}
.movie-modal.active {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  position: relative;
  max-width: 800px;
  width: 100%;
  height: 100%;
  margin: 25px auto;
  z-index: 1;
}

.modal-inner {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translate(0, -50%);
}

.movie {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
}

.movie iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#close {
  position: absolute;
  right: 0;
  top: -50px;
  font-size: 50px;
  cursor: pointer;
  z-index: 100;
  color: #fff;
}

#overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: unset;
}

@media screen and (max-width:640px){
  .wrap {
    width: 100%;
  }
}


