.about-flex {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-img {
  width: 500px;
  height: auto;
  object-fit: contain;
}

.about-flex h2 {
  padding-bottom: 10px;
  padding-left: 5px;
  border-bottom: var(--bordercolour) solid 1px;
}

.about-media {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 50px;
}

.avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
}

.inatChart {
  max-width: 100%;
  height: auto !important;
  display: block;
  margin: 0 auto;
}


@media only screen and (max-width: 992px) {

  .about-media {
    flex-direction: column;
    width: 90%;
  }

}

.inat-user {
  margin: 1rem 0;
  width: 80%;
  font-family: "Lato", sans-serif !important;
}

@media only screen and (max-width: 601px) {

  .inat-user {
    width: 100%;
  }

}

.inat-links {
  margin: 0.5rem 0;
}

.inat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding-top: 10px;
}

.inatChart {
  width: 100%;
  height: auto;
  min-height: 400px; /* so it's not too small on mobile */
}
.inatChart {
  width: 100%;
  height: 100%;
}

.map {
  height: 100%;
  width: 100%;
  border: 2px solid #555;
  border-radius: 8px;  
  background-color: #111; /* dark gray/black */
  position: relative; 
  z-index: 999;
}

.inat-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

@media (max-width: 768px) {
  .inat-grid {
    grid-template-columns: 1fr;
  }
  .map {
    height: 300px !important;
  }
}

.leaflet-control-attribution {
  font-size: 1.4rem !important;
  font-family: "Lato", sans-serif;
  color: var(--navitextcolour) !important;
  background-color: var(--navicolour) !important;
}

.leaflet-control-zoom-in, .leaflet-control-zoom-out {
  background-color: var(--navicolour) !important;
  border: none !important;
}

.leaflet-control-zoom-in span, .leaflet-control-zoom-out span {
  color: var(--navitextcolour) !important;
  font-family: "Lato", sans-serif;
}

.leaflet-control-zoom-in span:hover, .leaflet-control-zoom-out span:hover {
  color: var(--hovercolour) !important;
  font-family: "Lato", sans-serif;
}

.leaflet-popup-content-wrapper {
  background-color: var(--navicolour) !important;
  color: var(--navitextcolour) !important;
  font-family: "Lato", sans-serif;
}

.leaflet-popup-content-wrapper a {
  text-decoration: none !important;
  transition: all 0.1s !important;
  font-family: "Lato", sans-serif !important;
  font-style: normal !important;
  cursor: pointer !important;
  color: var(--navitextcolour) !important;
}

.leaflet-popup-content-wrapper a:hover {
  color: var(--hovercolour) !important;
  cursor: pointer !important;
}

.leaflet-popup-tip {
  background-color: var(--navicolour) !important;
}

.leaflet-popup-close-button span {
  color: var(--navitextcolour) !important;
  font-family: "Lato", sans-serif;
}

.leaflet-popup-close-button span:hover {
  color: var(--hovercolour) !important;
  font-family: "Lato", sans-serif;
}

.leaflet-control-attribution a {
  text-decoration: none !important;
  transition: all 0.1s !important;
  font-family: "Lato", sans-serif !important;
  font-style: normal !important;
  cursor: pointer !important;
  color: var(--navitextcolour) !important;
}

.leaflet-control-attribution a:hover {
  color: var(--hovercolour) !important;
  cursor: pointer !important;
}