body {
    margin: 0;
    padding: 0;
    display: flex;
    height: 100vh;
}
#map {
    flex: 1;
    position: relative;
}
#control-panel {
    width: 200px;
    background: rgba(255, 255, 255, 0.5);
    padding: 10px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 10px;
    position: absolute;
    top: 10px;
    right: 10px;
}
#info-panel {
    position: absolute;
    background: rgba(255, 255, 255, 0.5);
    padding: 10px;
    border-radius: 5px;
    top: 10px;
    left: 10px;
    max-width: 500px;
    display: none;
}
.mapboxgl-popup-content {
    border-radius: 5px;
}
button {
    width: 90%;
    margin: 5px 0;
    padding: 5px;
    font-size: small;
    border: none;
    background-color: rgba(211, 211, 211, 0.8);
    color: black;
    cursor: pointer;
    border-radius: 3px;
    text-align: center;
}
button:hover {
    background-color: rgba(192, 192, 192, 0.8);
}
.active {
    border: 2px solid blue;
}
@media (max-width: 768px) {
    #info-panel {
        max-width: 90%;
        left: 5%;
        right: 5%;
    }
}
@media (max-width: 480px) {
    #info-panel {
        max-width: 95%;
        left: 2.5%;
        right: 2.5%;
    }
    #control-panel {
        width: 150px;
        top: 5px;
        right: 5px;
    }
}
.credits {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.5);
    padding: 5px;
    border-radius: 5px;
    font-size: small;
}
.source {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.5);
    padding: 5px;
    border-radius: 5px;
    font-size: small;
}
