/* Jeongyong Label */
.jLabel {
  position: absolute;
  /* border: 2px solid transparent; */
  /* border-radius: 8px; */
  display: flex;
  flex-direction: column;
  align-items: center;
  user-select: none;
  cursor: pointer;
  z-index: 1100;

  --stroke-pos: -0.5px;
  --stroke-neg: 1px;
  --stroke-color: rgb(85 85 85/ 0.6);
  filter: drop-shadow(var(--stroke-pos) 0 0 var(--stroke-color))
    drop-shadow(var(--stroke-neg) 0 var(--stroke-color))
    drop-shadow(0 var(--stroke-pos) 0 var(--stroke-color))
    drop-shadow(0 var(--stroke-neg) 0 var(--stroke-color))
    drop-shadow(var(--stroke-pos) var(--stroke-pos) 0 var(--stroke-color))
    drop-shadow(var(--stroke-pos) var(--stroke-neg) 0 var(--stroke-color))
    drop-shadow(var(--stroke-neg) var(--stroke-pos) 0 var(--stroke-color))
    drop-shadow(var(--stroke-neg) var(--stroke-neg) 0 var(--stroke-color));
}
.jLabel.disabled {
  cursor: not-allowed;
}

.jLabel:not(.disabled):hover {
  --stroke-pos: -1px;
  --stroke-neg: 2px;
  --stroke-color: rgb(245 202 45 / 80%);
}

.billboardImage {
  width: 48px;
  height: 48px;
  background-size: cover;
}

.jLabel .textLabel {
  color: white;
  font-size: 16px;
  font-weight: normal !important;
  margin: 0;
  text-shadow: -1px -1px 0 #c48484, 1px -1px 0 #000, -1px 1px 0 #000,
    1px 1px 0 #000, 0px 0px 4px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease-in-out;
}

.jLabel:not(.disabled):hover {
  /* Start the shake animation and make the animation last for 0.5 seconds */
  animation: shake 1s;

  /* When the animation is finished, start again */
  animation-iteration-count: infinite;
}

.jLabel:not(.disabled):hover .textLabel {
  /* color: rgb(245 202 45); */
  transition: all 0.3s ease-in-out;
}

@keyframes shake {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}
