/* Container der Weltkarte */
div svg#worldmap  {
    position: relative; /* Ermöglicht das absolute Positionieren von Elementen innerhalb des Containers */
    width: 100%; /* Passt sich der Breite des übergeordneten Containers an */
    height: auto; /* Höhe wird dynamisch an den Inhalt angepasst */
    image-rendering: crisp-edges;
}

/* Standardfarbe der Länder */
svg path {
    stroke: black;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: .4;
    transition: fill 0.3s ease;
}

/* Punkte */
svg circle:hover {
    fill: green !important;
    stroke-width: 2 !important;
}    

/* Hover-Effekt für Länder */
.land-group:hover,
.land-group:hover ~ .land-group {
    filter: brightness(0.9);
    stroke-width: 1;
}

/* Zoombuttons */
.zoom-buttons {
    bottom: 10px;
    left: 10px;
    z-index: 10;
    display: flex;
    flex-direction: column;
}

.zoom-buttons button {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 5px;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background-color: #f0f0f0;
    box-shadow: 0px 0px 5px rgba(0,0,0,0.3);
}

.zoom-buttons button:active {
    background: #ececec;
}

/* Tooltip */
.tooltip {
    position: fixed;
    background-color: #fff;
    border: 1px solid #bf4d2890;
    padding-left: 5px;
    padding-right: 5px;
    margin-top: 0px;
    display: block;
    pointer-events: none;
    z-index: 10;
    border-radius: 5px;
    max-width: 400px;
}

/* Mobile Ansicht */
@media (max-width: 768px) {
    .zoom-buttons button {
        display: none;
    }
}
