/* legend */ #legend { position: absolute; bottom: 20px; left: 20px; background-color: rgba(10, 10, 30, 0.85); border-radius: 10px; padding: 15px; width: 220px; z-index: 10; box-shadow: 0 0 20px rgba(0, 150, 255, 0.3); border: 1px solid rgba(0, 150, 255, 0.2); backdrop-filter: blur(5px); } #legend .legend-item { display: flex; align-items: center; margin-bottom: 8px; } #legend .legend-color { width: 20px; height: 20px; border-radius: 3px; margin-right: 10px; }