body {
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    background-color: #f0f0f0;
    color: #333;
    margin: 0;
    padding: 0;
}

#map {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
}

.map-overlay {
    font: 12px/20px 'Helvetica Neue', Arial, Helvetica, sans-serif;
    position: absolute;
    min-width: 200px;
    width: 25%;
    top: 0;
    left: 0;
    padding: 10px;
}

@media (min-width: 768px) {
    .map-overlay {
        width: 35%;
        font-size: 20px;
    }

    .map-overlay h2 {
        font-size: 24px;
    }

    .buttons,
    .button {
        padding: 10px;
    }
}

.map-overlay .map-overlay-inner {
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    padding: 5px;
    margin-bottom: 10px;
}

.map-overlay h2 {
    line-height: 24px;
    display: block;
    margin: 0 0 4px;
}

.map-overlay h4 {
    line-height: 24px;
    display: block;
    margin: 0 0 4px;
}

.map-overlay h6 {
    line-height: 15px;
    display: block;
    margin: 0 0 0px;
}

.map-overlay .legend .bar {
    height: 10px;
    width: 100%;
    background: linear-gradient(to right, #fca107, #7f3121);
}

.map-overlay input {
    background-color: transparent;
    display: inline-block;
    width: 100%;
    position: relative;
    margin: 0;
    cursor: ew-resize;
}

.buttons {
    display: flex;
    justify-content: space-between;
}

.button {
    width: 45%;
    box-sizing: border-box;
    text-align: center;
    border: 2px solid #000;
}

.button:active,
.button.selected {
    background-color: red;
    color: #FFF;
}

.button:hover {
    background-color: lightgray;
    color: #FFF;
}

.label {
    font: 1.5em 'Helvetica Neue', Arial, Helvetica, sans-serif;
    font-weight: bold;
}