@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat/static/Montserrat-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat/static/Montserrat-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #f4f4f4;
}

header {
    background-color: #f4f4f4;
    color: #333;
    padding: 10px 20px;
    text-align: center;
    position: relative; 
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: inline-block;
}

nav ul li {
    display: inline;
    margin-right: 10px;
    color: #333;
}

main {
    padding: 20px;
    text-align: center;
}

h1, h2 {
    font-family: 'Montserrat', sans-serif;
    color: #333;
}

.g1, .g2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;  
    color: rgba(128, 128, 128, 0.5);
}

footer {
    background-color: #f4f4f4;
    color: #333;
    padding: 10px 20px;
    text-align: center;
}

footer p {
    font-family: 'Montserrat', sans-serif;
}

#map {
    position: relative;
    width: 100%;
    height: 400px;
    z-index: 1000;
}

.search-container {
    width: 100%;
    padding: 10px 0;
    text-align: center;
    position: relative;
    z-index: 1001;
}

.search-input {
    width: 300px;
    padding: 8px 10px;
    font-size: 16px;
    border: 2px solid #ccc;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.3s;
    margin: 0 auto;
}

.search-input:focus {
    border-color: #007BFF;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #ccc;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    max-height: 200px;
    overflow-y: auto;
    display: none;
}

.search-result-item {
    padding: 8px 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-result-item:hover {
    background-color: #f8f9fa;
}

.leaflet-popup {
    width: 350px;
    background-color: transparent;
}

.popup-content h4 {
    margin-bottom: 15px;
}

.popup-controls {
    margin-top: 10px;
}

.leaflet-popup-content-wrapper {
    background: #333;
    color: #fff;
    border-radius: 8px;
    padding: 1em;
}

.leaflet-popup-tip-container {
    width: 40px;
    height: 20px;
}

.leaflet-popup-tip {
    background: #333;
}

.leaflet-popup-content {
    max-height: 200px;
    overflow-y: auto;
}

.toggle-switch input[type="checkbox"] {
    visibility: hidden;
    position: absolute;
    margin-left: -9999px;
}

.toggle-switch .slider {
    display: inline-block;
    width: 34px;
    height: 20px;
    position: relative;
    cursor: pointer;
    background-color: #ccc;
    transition: background-color 0.4s;
}

.toggle-switch .slider.round {
    border-radius: 34px;
}

.toggle-switch .slider.round img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.toggle-switch input[type="checkbox"]:checked + .slider {
    background-color: #4CAF50;
}

/* Responsive adjustments 
@media (max-width: 600px) {
    .search-input, .search-results {
        width: 95%;  
    }

    .leaflet-popup {
        width: 95%; 
    }

    nav ul {
        display: block; 
        text-align: center;
    }

    nav ul li {
        display: block; /* Stacks nav items vertically 
        margin: 10px 0; 
    }
} 
*/
