* {
    margin: 0;
    padding: 0;
  }

  body {
    font-family: Arial, Helvetica, sans-serif;
}

  .fun {
    background-color: #337ab7;
    border-color: #2e6da4;
    border: none;
    border-radius: 4px;
    color: white;
    padding: auto;
    margin: auto;
    width: 100%;
    height: 35px;
    cursor: pointer;
    text-align: center;
    font-size: 18px;
  }

  /* The Modal (background) */
  .map {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    padding-top: 100px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 100%;
    max-width: 1200px;
    align-items: center;
}

/* The Close Button */
.map_close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    clear: both;
}

.map_close:hover,
.map_close:focus {
    color: rgb(243, 6, 6);
    text-decoration: none;
    cursor: pointer;
}
   
  /* Default Design */
  .modal-content img{
   
    /* To make all elements center */
    display: flex;
    justify-content: center;
    align-items: center;
   
    /* Default Styling */
    width: 90%;
    height: 100%;
    max-width: 1200px;
    margin: auto;
  }
   
  /* For Desktop View */
  .modal-content img{
   
    /* To make all elements center */
    display: flex;
    justify-content: center;
    align-items: center;
   
    /* Default Styling */
    width: 90%;
    height: 100%;
    max-width: 1200px;
    margin: auto;
    margin-bottom: 10px;
    padding: 0%;
  }
   
  /* For Tablet View */
  @media screen and (min-device-width: 768px)
  and (max-device-width: 1024px) {
    .modal-content img .modal-content {
      width: 400px;
      height: 400px;
    }
  }
   
  /* For Mobile Portrait View */
  @media screen and (max-device-width: 480px)
  and (orientation: portrait) {
    .modal-content img {
      width: 200px;
      height: 200px;
    }
  }
   
  /* For Mobile Landscape View */
  @media screen and (max-device-width: 640px)
  and (orientation: landscape) {
    .modal-content img {
      width: 400px;
      height: 200px;
    }
  }
   
  /* For Mobile Phones Portrait or Landscape View */
  @media screen and (max-device-width: 640px) {
    .modal-content img {
      width: 400px;
      height: 200px;
    }
  }
   
  /* For iPhone 4 Portrait or Landscape View */
  @media screen and (min-device-width: 320px)
  and (-webkit-min-device-pixel-ratio: 2) {
    .modal-content img {
      width: 400px;
      height: 400px;
    }
  }
   
  /* For iPhone 5 Portrait or Landscape View */
  @media (device-height: 568px) and (device-width: 320px)
  and (-webkit-min-device-pixel-ratio: 2) {
    .modal-content img {
      width: 400px;
      height: 400px;
    }
  }
   
  /* For iPhone 6 and 6 plus Portrait or Landscape View */
  @media (min-device-height: 667px) and (min-device-width: 375px)
  and (-webkit-min-device-pixel-ratio: 3) {
    .modal-content img {
      width: 400px;
      height: 400px;
    }
  }