#mapid {
    height: 600px;
    width: 80%;
    margin: 0 auto; /* Center the map */
}
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #333;
    color: #90ee90;
}

/* Styles for the legend container */
.info {
    padding: 6px 8px;
    font: 14px/16px Arial, Helvetica, sans-serif;
    background: white;
    background: rgba(255,255,255,0.8);
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    border-radius: 5px;
}
.legend {
    line-height: 18px;
    color: #555;
}
.legend i {
    width: 18px;
    height: 18px;
    float: left;
    margin-right: 8px;
    opacity: 0.7;
}

/* Position the legend container */
.info.legend {
    position: absolute;
    bottom: 20px; /* Adjust as needed */
    right: 20px; /* Adjust as needed */
    z-index: 1000; /* Ensure it's above the map */
    max-width: 300px; /* Limit width */
    max-height: 400px; /* Limit height */
    overflow-y: auto; /* Enable scrolling if content overflows */
}

.info.legend img {
    max-width: 100%; /* Ensure legend image fits */
    height: auto;
    display: block; /* Remove extra space below image */
}

.button-container {
    text-align: center;
    margin: 20px 0;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #0056b3;
}