@media (max-width: 699px) {
  #inner_modal {
    flex-flow: column;
    justify-content: center;
  }
  #inner_modal img {
    max-height: 300px;
    object-fit: contain;
  }
  #logo_container {
    margin-top: 0px;
  }
  #logo {
    left: 0px;
  }
  #inner_modal button,
  #inner_modal p {
    margin-left: 0px;
  }
  .custom-infowindow {
    flex-flow: column;
  }
  .custom-infowindow div:first-child {
    width: auto;
  }
  .custom-infowindow div:last-child {
    width: auto;
  }
  .pic {
    max-width: 400px !important;
    width: 100%;
    height: auto;
  }
}

@media (min-width: 700px) {
  #logo_container {
    margin-top: 300px;
  }
  #logo {
    left: -100px;
  }
  #inner_modal button,
  #inner_modal p {
    margin-left: 30px;
  }
  .custom-infowindow {
    flex-flow: row;
  }
}

@media (min-width: 700px) and (max-width: 899px) {
  .pic {
    max-width: 400px !important;
    width: 100%;
    height: auto;
  }
  .custom-infowindow div:last-child {
    width: calc(100% - 250px);
  }
}

@media (min-width: 900px) {
  .pic {
    max-width: 500px !important;
    width: 100%;
    height: auto;
  }
  .custom-infowindow div:last-child {
    width: calc(100% - 250px);
  }
}

#imageModal {
  background-image: url('../assets/malvern_border.jpg') !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

.gm-style .gm-style-iw-c {
  min-width: 60vw !important;
}

.gmnoprint {
  display: none;
}

body {
  margin: 0;
  padding: 0;
}

#map_container {
  filter: blur(100px);
}

#map {
  height: 100vh;
  width: 100%;
}

#modal {
  background-color: rgba(255, 255, 255, 0.6);
  position: absolute;
  height: 100%;
  z-index: 1;
  width: 100%;
}

#inner_modal {
  height: 100%;
  display: flex;
  width: fit-content;
  margin: auto;
  align-content: flex-end;
  text-align: center;
}

#inner_modal #modal_intro {
  align-content: center;
  text-align: justify;
}

#inner_modal h1 {
  color: #303c1a;
  margin-top: 300px;
  font-family: Georgia, "Times New Roman", Times, serif;
}

#inner_modal p {
  font-family: "Gill Sans", "Gill Sans MT", "Trebuchet MS", sans-serif;
  text-align: left;
  max-width: 300px;
}

#logo_container {
  position: relative;
}

#logo {
  position: absolute;
}

#revert {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background-color: #fff;
  color: #666666;
  border-radius: 100px;
  border: 0px;
  padding: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#revert:hover {
  color: #000;
}

#inner_modal button {
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 10px;
  border-radius: 100px;
  border: 0px;
  background: transparent;
  color: #303c1a;
  width: fit-content;
  text-decoration: underline;
  font-family: "Gill Sans", "Gill Sans MT", "Trebuchet MS", sans-serif;
}

#inner_modal button:hover {
  background: white;
  color: black;
}

.custom-infowindow {
  display: flex;
  background-image: url('../assets/malvern_border.jpg');
  padding: 10px;
}

.custom-infowindow div {
  background: #fff;
  padding: 10px;
}

.custom-infowindow h2 {
  font-family: Georgia, "Times New Roman", Times, serif;
}

.custom-infowindow p {
  font-family: "Gill Sans", "Gill Sans MT", "Trebuchet MS", sans-serif;
}

.pic {
  cursor: pointer;
}

.gm-style-iw {
  background: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.gm-style-iw-d {
  overflow: hidden !important;
}

#close_infobox {
  top: 20px;
}

#close_infobox,
#closeModal {
  position: absolute;
  width: 70px;
  right: 0px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#close_infobox:hover,
#closeModal:hover {
  transform: scale(0.9);
}

.gm-ui-hover-effect {
  display: none !important;
}
