/* Allgemeine Layout-Einstellungen */
body {
    display: flex;
    font-family: Arial, sans-serif;
    margin: 0;
}

#sidebar {
    width: 250px;
    background-color: #333;
    color: white;
    height: 100vh;
    padding-top: 20px;
    box-sizing: border-box;
    transition: left 0.3s ease;
}

#sidebar h3 {
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    background-color: #444;
    transition: background-color 0.3s;
}

#sidebar h3:hover {
    background-color: #555;
}

.submenu {
    display: none;
    padding-left: 20px;
    background-color: #444;
}

.submenu a {
    display: block;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 16px;
}

.submenu a:hover {
    background-color: #555;
}

/* Content-Container für Karte */
#contentContainer {
    display: flex;
    flex-direction: column; /* Macht es möglich, Inhalte untereinander zu platzieren */
    width: 100%;
    height: 100vh;
}

/* Oberer Bereich mit Karte und Mapdetails */
#mapWrapper {
    display: flex; /* Stellt Karte und Details nebeneinander dar */
    width: 100%;
    height: 80%;
}

/* Map */
#map {
    width: 70%;
    height: 100%;
}

/* Mapdetails */
#mapdetails {
    width: 30%; /* Platz für Details rechts neben der Karte */
    height: 100%;
    background-color: #f9f9f9;
}

/* Steuerung unterhalb der Karte */
#controls {
    display: flex;
    justify-content: space-around;
    background-color: #333;
    color: white;
    padding: 5px 0;
    width: 70%;
}

#recenterButton {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 10px 20px;
    background: white;
    border: 1px solid gray;
    cursor: pointer;
    font-size: 14px;
    border-radius: 4px; /* Optional: Abgerundete Ecken */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Leichter Schatten */
    z-index: 1000; /* Stellt sicher, dass der Button über der Karte liegt */
	display: none;
}

#recenterButton:hover {
    background: #f0f0f0; /* Leichte Farbänderung beim Hover */
    border-color: #888; /* Ändert die Randfarbe beim Hover */
}
