html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    /* Prevent scrolling */
    font-family: Arial, sans-serif;
}

h1.navbar-brand a {
    text-decoration: none;
}

#map {
    padding: 0;
    margin: 0;
    height: calc(100vh + 15vh);
    width: 100%;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #323232;
}

#toggleButton {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 0px solid black;
    background-color: transparent;
}

.leaflet-bar a {
    cursor: pointer;
}

/* Sidebar menu styling */
#buttons.menu {
    position: fixed;
    bottom: 20px;
    /* Distance from the bottom of the screen */
    left: 10px;
    /* Distance from the left side of the screen */
    width: 250px;
    background-color: #2c2c2c;
    color: white;
    z-index: 1000;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

#buttons.menu h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.2em;
    text-align: center;
}

#buttons.menu button {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background: #3a3a3a;
    color: white;
    font-size: 16px;
    cursor: pointer;
    text-align: left;
}

#buttons.menu button i {
    margin-right: 10px;
}

#buttons.menu button:hover {
    background-color: #ffb700;
    color: black;
}


#buttons #downloadButton {
    background-color: #ffb700;
    /* Red */
}

#popup {
    display: none;
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2000;
    background: white;
    padding: 20px;
    border: 2px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

#popup h3 {
    margin-top: 0;
}

#popup button {
    margin-top: 20px;
    padding: 5px 10px;
    background: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}


.custom-search-control {
    background-color: #fff;
    /* Background color */
    border: 1px solid #ccc;
    /* Border */
    border-radius: 5px;
    /* Border radius */
    padding: 5px;
    /* Padding */
}

.custom-search-control input[type="text"] {
    width: 200px;
    /* Adjust the width as needed */
    padding: 5px;
    /* Padding */
    border-radius: 3px;
    /* Border radius */
    border: 1px solid #ccc;
    /* Border */
}

.custom-search-control button {
    background-color: #007bff;
    /* Button background color */
    color: #fff;
    /* Button text color */
    border: none;
    /* Remove button border */
    border-radius: 3px;
    /* Border radius */
    padding: 5px 10px;
    /* Padding */
    cursor: pointer;
    /* Cursor style */
}

.custom-search-control button:hover {
    background-color: #0056b3;
    /* Button background color on hover */
}

/* Media query for tablets and smaller screens (max-width: 768px) */
@media (max-width: 768px) {
    #buttons.menu {
        bottom: 15px;
        left: 50%;
        width: 200px;
        padding: 12px;
        font-size: 14px;
        /* Smaller font for buttons */
    }

    #buttons.menu h3 {
        font-size: 1em;
        /* Smaller heading font size */
    }

    #buttons.menu button {
        font-size: 14px;
        /* Smaller font size for buttons */
        padding: 8px;
        /* Smaller padding for buttons */
    }
}

/* Media query for mobile screens (max-width: 480px) */
@media (max-width: 480px) {
    #buttons.menu {
        bottom: 10px;
        left: 5px;
        width: 180px;
        padding: 10px;
        /* Further reduce width and padding */
    }

    #buttons.menu h3 {
        font-size: 0.9em;
        /* Even smaller heading font size */
    }

    #buttons.menu button {
        font-size: 12px;
        /* Smaller button font size */
        padding: 6px;
        /* Smaller padding for buttons */
    }

    #buttons.menu button i {
        margin-right: 8px;
        /* Reduce icon margin */
    }
}