.modal {
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  left: 0px;
  top: 0px; }
  .modal.open {
    display: block;
    z-index: 1200; }
  .modal__title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 20px; }
  .modal__body {
    position: absolute;
    width: 900px;
    margin-left: -450px;
    padding: 20px 15px;
    -webkit-box-shadow: 0 0 4px 4px rgba(0, 0, 0, 0.3);
            box-shadow: 0 0 4px 4px rgba(0, 0, 0, 0.3);
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    background: #fff;
    left: 50%;
    z-index: 1500; }
    @media (max-width: 768px) {
      .modal__body {
        width: 90%;
        margin-left: -45%;
        padding: 5px; } }
    @media (max-width: 480px) {
      .modal__body {
        width: 90%;
        margin-left: -45%;
        padding: 5px; } }
  .modal__inner img {
    width: 100%; }
  .modal__inner embed {
    width: 100%;
    height: 80vh;
    max-height: 800px; }
  .modal__close {
    content: "Close";
    position: absolute;
    width: 50px;
    height: 50px;
    cursor: pointer;
    border-radius: 50%;
    background: #fff;
    top: 40px;
    right: 40px; }
    @media (max-width: 480px) {
      .modal__close {
        width: 30px;
        height: 30px;
        top: 20px;
        right: 20px; } }
    .modal__close:before, .modal__close:after {
      position: absolute;
      content: "";
      display: block;
      width: 40px;
      height: 2px;
      margin-left: -20px;
      background: #000;
      top: 50%;
      left: 50%; }
      @media (max-width: 480px) {
        .modal__close:before, .modal__close:after {
          width: 20px;
          height: 2px;
          margin-left: -10px; } }
    .modal__close:before {
      -webkit-transform: rotate(45deg);
              transform: rotate(45deg); }
    .modal__close:after {
      -webkit-transform: rotate(-45deg);
              transform: rotate(-45deg); }
  .modal__back {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    top: 0px;
    left: 0px;
    z-index: 1200; }
