@keyframes fadeIn {
  from {
    opacity: 0;
    display: none;
  }

  to {
    opacity: 1;
    display: flex;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    display: flex;
  }

  to {
    opacity: 0;
    display: none;
  }
}

.outer.fade-in {
  display: flex;
  animation: fadeIn 0.7s ease-in forwards;
}

.outer.fade-out {
  animation: fadeOut 0.7s ease-out forwards;
}

.globalWrapper {
  /* background: #eee; */
  height: 100%;
  width: 100%;
  z-index: 10;

  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: stretch;
  align-content: stretch;
  gap: 8px;
}

.bottomBar {
    width: 100%;
    height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: nowrap;
    align-self: stretch;
    margin-top: auto;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border: solid #eee 1px;
    border-radius: 0.25rem;
}

.mainContentWrapper {
    width: 100%;
    height: 90%;
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.5rem;
    justify-content: space-around;
    align-items: center;
    align-content: stretch;
    align-self: stretch;
    flex-grow: 1;
}

.heightIndicatorWrapper {
    width: 5%;
    height: 100%;
    flex-grow: 1;
    display: inline-flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    align-items: stretch;
    align-content: stretch;
    gap: 0.5rem;
    border: solid #eee 1px;
    border-radius: 0.25rem;
}

.heightIndicator {
    width: 100%;
    height: 100%;
    flex-grow: 1;
}

.innerHeightIndicator {
  height: 100%;
  position:relative;
}

.optInfoWrapper {
    width: auto;
    height: 100%;
    flex-grow: 1;
    display: inline-flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    align-items: stretch;
    align-content: stretch;
    gap: 0.5rem;
}

.imageWrapper {
    /* width: 80% */
    aspect-ratio: 4/3;
    height: 100%;
    border: solid #eee 1px;
    border-radius: 0.25rem;

    background-repeat: no-repeat;
    background-size: cover;
}


.infoTextWrapper {
    width: 100%;
    height: auto;
    border: solid #eee 1px;
    border-radius: 0.25rem;
    flex-grow: 1;
    overflow-y: auto;
    /* display: inline-flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    align-items: stretch;
    align-content: stretch; */
}

.altDash {
  display: inline-flex;
  justify-content: flex-end;
  flex-direction: column;
  flex-wrap: nowrap;
  width: 100%;
}

.altDash hr {
  width: 80%;
  margin-top: 0;
  margin-bottom: 0;
  border-style: dashed;
  color: #eee;
  opacity: 0.5;
}

.balloon {
  position: relative;
}

/* Das SVG füllt exakt dieses eine Item aus */
.overlay-svg {
  position: absolute;
  width: 50%;
  height: 50%;
  --svg-y: -60%;
  transform: translate(-150%, var(--svg-y));
  
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;

  z-index: 10;
  pointer-events: none; 
}

/* style="object-fit: cover; align-self: center; height: 100%; margin-right: auto; margin-left: auto;" */
.fade-img {
  width: 100%;
  height: 100%;
  object-fit: cover;  /* Bild füllt den Container flexibel aus ohne Verzerrung */
  
  /* Flüssiges Ein- und Ausblenden über die Opacity */
  transition: opacity 0.4s ease-in-out;
  opacity: 1;
  z-index: 2;
}

.fade-img.hidden {
  opacity: 0;
}

#map {
  /* position: relative; */
  height: auto;
  aspect-ratio: 1;
  width: 100%;
  z-index: 0;
  border: solid #eee 1px;
  border-radius: 0.25rem;
}

.small {
    font: 8px sans-serif;
    color: lightgrey;
    opacity: 0.5;
}

h1, h2 {
    margin-bottom: 0;
    margin-top: 0.25rem;
}

body {
  overflow: hidden;
  background: #111;
  color: #eee;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif
}
