.globelet {
  --settingwidth: min(480px, 100vw);
  --infowidth: min(480px, 50vw);
  --xslide: min(480px, 50vw);
  --menuheight: 100%;
  --yslide: 0px;
}
@media screen and (max-width: 768px) and (orientation: portrait) {
  .globelet {
    --infowidth: 100%;
    --xslide: 0px;
    --menuheight: 50vh;
    --yslide: 50vh;
  }
}
.globelet * {
  box-sizing: border-box;
}
.globelet div {
  transition: 0.33s;
}
.globelet button {
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  touch-action: manipulation;
}
.globelet button svg {
  touch-action: manipulation;
}
.globelet canvas.map {
  width: 100%;
  height: 100%;
  display: inline-block;
  position: absolute;
  padding: 0;
}
.globelet .sprite {
  width: 0;
  height: 0;
  position: absolute;
  visibility: hidden;
  display: none;
}
.globelet .settings {
  position: absolute;
  width: var(--settingwidth);
  height: 100%;
  transform: translate(calc(0px - 100%));
  visibility: hidden; /* Hide from tab navigation when offscreen */
  z-index: 2;
}
.globelet .main {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background-color: #404542;
}
.globelet .shifted {
  transform: translate(calc(0px - var(--xslide) / 2), calc(0px - var(--yslide) / 2));
}
.globelet .infoslider {
  position: absolute;
  bottom: 0;
  right: 0;
  width: var(--infowidth);
  height: var(--menuheight);
  transform: translate(var(--xslide), var(--yslide));
  visibility: hidden; /* Hide from tab navigation when offscreen */
  z-index: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  box-shadow: 0px 0px 10px 0px black;
  background-color: white;
}
.globelet .infoslider .infoTopBar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.14);
  font-family: 'Source Sans Pro', sans-serif;
}
.globelet .infoslider .infobox {
  word-wrap: break-word;
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
}
.globelet .slid {
  visibility: visible;
  transform: translate(0px);
}
.globelet .status {
  position: absolute;
  bottom: 0;
  right: 0;
  text-align: right;
  font-family: "Lucida Console", monospace;
  color: white;
  background-color: rgba(34, 34, 34, 0.5);
  padding: 0.2em;
  z-index: 1;
}
.globelet .icon {
  width: 20px;
  height: 20px;
}
.globelet .stroke {
  stroke: grey;
  stroke-width: 2;
}
.globelet .stroke:hover {
  stroke: black;
}
.globelet .close-button {
  position: absolute;
  top: 0;
  right: 0;
}
.globelet .marker {
  display: inline-block;
  position: absolute;
  z-index: 1;
  width: 30px;
  height: 30px;
  transform: translate(-50%, -96%);
  stroke: white;
}
.globelet .spot {
  display: inline-block;
  position: absolute;
  z-index: 1;
  width: 12px;
  height: 12px;
  transform: translate(-50%, -50%);
  fill: red;
  stroke: black;
  stroke-width: 2px;
}
