@import url('colors.css');
html, body{
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

#top-bar {
    background-color: var(--primary-color);
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    justify-content: space-between;
}

#sidebar-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

#toggle-icon {
    filter: invert(100%);
    width: 24px; /* Adjust size as needed */
    height: 24px;
}

#logo-and-title {
    display: flex;
    align-items: center;
}
#impressum-link {
    color: white;
    font-size: 12px;
    text-decoration: none;
    margin-left: auto;
}

#impressum-link:hover {
    text-decoration: underline;
}

#logo {
    margin-right: 20px;
}

#bar-text {
    color: white;
    font-size: 24px;
    font-weight: bold;
}

#content{
    margin-left: 0; /* No margin when sidebar is closed */
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 20px;
    transition: 0.3s ease-in-out;
    height: calc(100vh - 80px); /* - top bar and padding */
}

.buttonimg {
    width: 100%;
    padding-top: 5px;
}

.custom-popup .leaflet-popup-content-wrapper {
    background: white;
    color: #333;
    box-shadow: 0 2px 10px rgba(0,0,0,.2);
    padding: 0;
    border-radius: 4px;
    min-width: 150px;
}

.custom-popup .leaflet-popup-tip-container {
    display: none;
}

.custom-popup .leaflet-popup-content {
    margin: 0;
    padding: 0;
}

.custom-context-menu {
    padding: 5px 0;
}

.context-menu-item {
    padding: 8px 15px;
    cursor: pointer;
    font-size: 14px;
}

.context-menu-item:hover {
    background-color: #f0f0f0;
}

h1, h2 {
color: #2c3e50;
}

h1 {
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

section {
    margin-bottom: 30px;
}

ul {
    list-style-type: none;
    padding-left: 0;
}

ul li:before {
    content: "•";
    color: #325a9f;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.button-container {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #325a9f;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    margin: 10px 20px 10px 0;
    min-width: 150px;
    text-align: center;
}

.button:hover {
    background-color: #2980b9;
}

#contact a {
    color: #3498db;
    text-decoration: none;
}

#contact a:hover {
    text-decoration: underline;
}
