.play-video {
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  -ms-transition: all 0.2s;
  -o-transition: all 0.2s;
  transition: all 0.2s;
}

.play-video:hover {
  opacity: 0.7;
}

.video-player {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -160px;
  margin-top: -90px;
  /*-webkit-transition: all 0.5s;*/
  /*-moz-transition: all 0.5s;*/
  /*-ms-transition: all 0.5s;*/
  /*-o-transition: all 0.5s;*/
  /*transition: all 0.5s;*/
}

.video-player .close-button {
  background: #000000;
  border: solid 1px #EEEEEE;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  border-radius: 30px;
  color: #EEEEEE;
  font-weight: bold;
  position: absolute;
  top: -10px;
  right: -10px;
  width: 30px;
  height: 30px;
  line-height: 26px;
  text-align: center;
}

.video-player > iframe,
.video-player > video {
  width: 320px;
  height: 180px;
}

.video-player-wrapper {
  background-color: rgba(0, 0, 0, 0.9);
  position: fixed;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -ms-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
  z-index: 10;
}

@media all and (min-width: 640px) and (min-height: 360px) {

  .video-player {
    margin-left: -320px;
    margin-top: -180px;
  }

  .video-player > :first-child {
    width: 640px;
    height: 360px;
  }
}

@media all and (min-width: 1280px) and (min-height: 720px) {

  .video-player {
    margin-left: -640px;
    margin-top: -360px;
  }

  .video-player > :first-child {
    width: 1280px;
    height: 720px;
  }
}
