.general-settings {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2em;
  padding-bottom: 1em;
  min-height: 8em;
}
.general-setting {
  display: flex;
  flex-direction: column;
}
.legend ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
a.profile-link {
  margin: 3px;
}

.content {
  display: flex;
  justify-content: flex-start;
  flex: 1 1 auto;
  min-height: 0;
  max-height: 100vh;
  overflow: auto; /* allows internal scroll if needed */
}
.layer-controls {
  display: flex;
}

/* Restrict map-container size and prevent overflow */
.map-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #fff;
  box-sizing: border-box;
}

.image-wrapper {
  position: absolute;
  inset: 0;
  margin: auto;
  aspect-ratio: 1 / 1;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  box-sizing: border-box;
  display: block;
  transform-origin: 0px 0px;
  transform: scale(1) translate(0px, 0px);
  cursor: grab;
}
/* Stack all map images absolutely */
.image-wrapper img,
.image-wrapper svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none; /* so mouse events pass through layers */
}
.layer-biomes, .layer-dinos {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  white-space: nowrap;
  padding: 1em 1em 1em 0em;
}
/** Put labels above every other img **/
.map-labels {
  position: absolute;
  z-index: 100;
  pointer-events: none;
}
/* Label text CSS */
.map-label-text {
  fill: #ffffff;
  stroke: #ff0000 ; 
  font-size: 18px;
  font-weight: bold;
  /* text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7); */
  stroke-width: 2;
  stroke-opacity: 0.5;
  paint-order: stroke;
}

