/* 
 * Always set the map height explicitly to define the size of the div element
 * that contains the map. 
 */
 #map {
    height: 100%;
  }
  
  /* 
   * Optional: Makes the sample page fill the window. 
   */
  html,
  body {
    height: 100%;
    margin: 0;
    padding: 0;
  }

  .popupContent {   
    display: flex;
    flex-direction: column;
    padding: 8px;
    box-sizing: border-box;
  }

  .popupContent .header {    
    align-items: center;
    gap: 40px;
  }

  .popupContent .title {
    font-size: 25px;
    padding-bottom: 5px;
  }

  .popupContent .googleMapsLink {
    margin-left: auto;
    padding-bottom: 10px;
    font-size: 16px;
  }

  .popupContent a {
        color: blue;
        text-decoration: none;        
  }

  .popupContent a:hover {    
    text-decoration: underline;
  }

  .popupContent a:visited {
        color: blue
    }

  .popupContent .imageWrapper {
    display: flex;
    min-height: 0;
    justify-content: center;
  }

  .popupContent .imageWrapper img {
    display: block;
    object-fit: contain;
    width: 2160px;
    height: 1440px;    
  }

  .gm-style .gm-style-iw-c.autosized .popupContent .imageWrapper img {
    width: 100%;
    height: auto;
  }

  .popupContent .audioWrapper {
    display: flex;
    min-height: 0;
    flex: 1;
    justify-content: center;
    align-items: center;
    padding: 40px;
  }

  .popupContent .largerLink {
    padding-top: 10px;
    font-size: 16px;
  }

  .gm-style .gm-style-iw-c {
    visibility: hidden;
  }

  .gm-style .gm-style-iw-c.autosized {
    visibility: visible;
  }
  
  @media (max-width: 500px) {
    .popupContent .title {
      font-size: 30px;
    }
    .popupContent .googleMapsLink {
      font-size: 18px;
    }
    .popupContent .largerLink {
      font-size: 18px;
    }
  }