:root {
  --radis-glow: 35px;
  --opacity-glow: 0.3;
  --radis-flare: 25px;
  --opacity-flare: 0.5;
  --color-permanent: rgb(254, 254, 1);
  --color-temporary: rgba(254, 211, 0, 1);
}

.leaflet-marker-pane .light {
  width: 200px !important;
  height: 200px !important;
  margin-top: -100px !important;
  margin-left: -100px !important;
  background: transparent !important;
  border: transparent !important;
}

.leaflet-marker-pane .light .glow {
  width: 0px;
  height: 0px;
  border-radius: 50%;
  opacity: 0;
  background: -webkit-radial-gradient(
    rgba(254, 211, 0, 1),
    rgba(255, 223, 67, 0) 70%
  );
  position: absolute;
  display: block;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 1200ms 0ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.leaflet-marker-pane .light .flare {
  width: 0px;
  height: 0px;
  border-radius: 50%;
  opacity: 0;
  background: rgba(255, 223, 67, 0);
  position: absolute;
  display: block;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 1200ms 0ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes highlight-glow {
  0% {
    width: 0px;
    height: 0px;
    opacity: 0;
  }
  100% {
    width: var(--radis-glow);
    height: var(--radis-glow);
    opacity: var(--opacity-glow);
  }
}

@keyframes highlight-flare {
  0% {
    width: 0px;
    height: 0px;
    opacity: 0;
  }
  100% {
    width: var(--radis-flare);
    height: var(--radis-flare);
    opacity: var(--opacity-flare);
  }
}

.permanent .glow {
  background: -webkit-radial-gradient(
    var(--color-permanent),
    rgba(255, 223, 67, 0) 70%
  ) !important;
  animation: highlight-glow 1200ms 0ms infinite cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.permanent .flare {
  background: var(--color-permanent) !important;
  animation: highlight-flare 1200ms 0ms infinite cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

img:hover + .light.temporary .glow {
  background: -webkit-radial-gradient(
    var(--color-temporary),
    rgba(255, 223, 67, 0) 70%
  );
  transition: all 50ms 0ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

img:hover + .light.temporary .flare {
  background: var(--color-temporary);
  transition: all 50ms 0ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
