:root {
  --radis-glow: 200px;
  --opacity-glow: 0.4;
  --radis-flare: 50px;
  --opacity-flare: 0.8;
  /* --color-permanent: rgba(66, 186, 255, 1); */
  --color-permanent: rgba(66, 186, 255, 1);
  /* --color-temporary: rgba(254, 211, 0, 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 1000ms 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 1000ms 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 2s infinite cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.permanent .flare {
    background: var(--color-permanent) !important;
    animation: highlight-flare 2s 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 800ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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