#compass {
position: absolute;
top: 30px;
left: 30px;
width: 67px;
height: 71px;
z-index: 2;
pointer-events: none;
background-image: url(https://picsum.photos/50)
}
#hexmap1 .hover path {
stroke-width: 4px;
transform: scale(1.75);
stroke: black;
position: absolute;
z-index: 3;
}
.hex {
position: absolute;
/* Default z-index for normal hexes */
z-index: 1;
}
.hex:hover {
z-index: 3; /* Move hovered hex above the compass */
}
#compass {
position: absolute;
top: 30px;
left: 30px;
width: 67px;
height: 71px;
z-index: 2;
pointer-events: none;
background-image: url(https://picsum.photos/50)
}
#hexmap1 .hover path {
stroke-width: 4px;
transform: scale(1.75);
stroke: black;
position: absolute;
z-index: 3;
}
.hex {
position: absolute;
/* Default z-index for normal hexes */
z-index: 1;
}
.hex:hover {
z-index: 3; /* Move hovered hex above the compass */
}