.textInfo:before {
  content: '';
  width: 110%;
  height: 110%;
  border: 5px solid transparent;
  /* border-top-color: blue; */
  border-radius: 50%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  /* transform-origin: 0 0; */
  /* transform: scale(3) !important; */
  animation: borderchangecolor 6s linear infinite;
}
.textInfo:hover:before {
  content: none;
}
.textInfo.hotspot-position::before{
  content: none;
}

@keyframes borderchangecolor { 
  0% { 
    border-color: transparent;
  }
  25%{
    border-color: deepskyblue;
  }
  50% { 
    border-color: transparent;
  } 
  75%{
    border-color: greenyellow;
  }
  100% {     
    border-color: transparent;
  } 
}

.textInfo:hover {
  z-index: 3;
}

.textInfo .hotspot {
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.textInfo .hotspot .out:before {
  speak: none;
  font-size: 48px;
  line-height: 90px;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  display: block;
  -webkit-font-smoothing: antialiased;
}

.textInfo .hotspot .out {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 5px solid rgba(255,255,255,.8);
  -webkit-transition: -webkit-transform ease-out 0.1s, border 0.2s;
  -moz-transition: -moz-transform ease-out 0.1s, border 0.2s;
  transition: transform ease-out 0.1s, border 0.2s;
}

.textInfo .hotspot .in {
  width: 50px;
  height: 50px;
  position: absolute;
  background-color: rgba(255,255,255,.8);
  border-radius: 50%;
  display: flex !important;
  justify-content: center;
  align-items: center;
  -webkit-transition: -webkit-transform ease-out 0.1s, background 0.2s;
  -moz-transition: -moz-transform ease-out 0.1s, background 0.2s;
  transition: transform ease-out 0.1s, background 0.2s;
}

.textInfo .hotspot .out:after {
  top: 0;
  left: 0;
  padding: 0;
  z-index: -1;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.1);
  opacity: 0;
  pointer-events: none;
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  content: '';
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  -webkit-transform: scale(0.9);
  -moz-transform: scale(0.9);
  -ms-transform: scale(0.9);
  transform: scale(0.9);
}

.textInfo .hotspot:hover .out {
  border: 5px solid rgba(255,255,255,1);
  -webkit-transform: scale(0.9);
  -moz-transform: scale(0.9);
  -ms-transform: scale(0.9);
  transform: scale(0.9);
  color: #fff;
}

.textInfo .hotspot:hover .in {
  background-color: rgba(255,255,255,1);
  -webkit-transform: scale(0.8);
  -moz-transform: scale(0.8);
  -ms-transform: scale(0.8);
  transform: scale(0.8);
}
/* Farbe für Aussteller-Hotspots */
.textInfo.hotspot-position .hotspot .in {
  background-color: rgba(226, 5, 113, 0.8);
}

.textInfo.hotspot-position .hotspot:hover .in {
  background-color: rgba(226, 5, 113, 1);
}

.textInfo.hotspot-position .hotspot .out {
  border: 5px solid rgba(226, 5, 113, 0.8);
}

.textInfo.hotspot-position .hotspot:hover .out {
  border: 5px solid rgba(226, 5, 113, 1);

} 
.textInfo .hotspot:hover .out:after {
  -webkit-animation: sonarEffect 1.2s ease-out;
  -moz-animation: sonarEffect 1.2s ease-out;
  animation: sonarEffect 1.2s ease-out;
}

.textInfo.hotspot-position .hotspot:hover .out:after {
  -webkit-animation: sonarEffectPink 1.2s ease-out;
  -moz-animation: sonarEffectPink 1.2s ease-out;
  animation: sonarEffectPink 1.2s ease-out;
}

.hintWrapper{
  flex-direction: row;
  gap: 10px;
  display: flex;
  height: 100%;
  width: 100%;
}

.hint{
  width: fit-content;
  height: fit-content;
  background-color: var(--yellow);
  padding: 10px;
  box-sizing: border-box;
  border-radius: 10px;
  display: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.textInfo:hover .hint {
  display: block;
  opacity: 1;
}

.locationWrapper{
  display: flex;
  flex-direction: column;
  gap: 5px;
  height: 100%;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.locationImg{
  width: 50px;
}

@-webkit-keyframes sonarEffect {
  0% {
    opacity: 0.5;
  }
  20% {
    opacity: 0.8;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.1), 0 0 10px 10px rgba(255, 212, 0,.8), 0 0 0 10px rgba(255,255,255,0.5);
  }
  100% {
    box-shadow: 0 0 0 2px rgba(255,255,255,0.1), 0 0 10px 10px rgba(255, 212, 0,.8), 0 0 0 10px rgba(255,255,255,0.5);
    -webkit-transform: scale(1.5);
    opacity: 0;
  }
}
@-moz-keyframes sonarEffect {
  0% {
    opacity: 0.5;
  }
  20% {
    opacity: 0.8;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.1), 0 0 10px 10px rgba(255, 212, 0,.8), 0 0 0 10px rgba(255,255,255,0.5);
  }
  100% {
    box-shadow: 0 0 0 2px rgba(255,255,255,0.1), 0 0 10px 10px rgba(255, 212, 0,.8), 0 0 0 10px rgba(255,255,255,0.5);
    -moz-transform: scale(1.5);
    opacity: 0;
  }
}
@keyframes sonarEffect {
  0% {
    opacity: 0.5;
  }
  20% {
    opacity: 0.8;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.1), 0 0 10px 10px rgba(255, 212, 0,.8), 0 0 0 10px rgba(255,255,255,0.5);
  }
  100% {
    box-shadow: 0 0 0 2px rgba(255,255,255,0.1), 0 0 10px 10px rgba(255, 212, 0,.8), 0 0 0 10px rgba(255,255,255,0.5);
    transform: scale(1.5);
    opacity: 0;
  }
}

@keyframes sonarEffectPink {
  0% {
    opacity: 0.5;
  }
  20% {
    opacity: 0.8;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.1),
                0 0 10px 10px rgba(87, 39, 125, 0.8),
                0 0 0 10px rgba(255,255,255,0.5);
  }
  100% {
    box-shadow: 0 0 0 2px rgba(255,255,255,0.1),
                0 0 10px 10px rgba(87, 39, 125, 0.8),
                0 0 0 10px rgba(255,255,255,0.5);
    transform: scale(1.5);
    opacity: 0;
  }
}

