html,
body {
    height: 100%;
    margin: 0;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    --background: #a4d2ca;
    --background-highlight: #78ab55;
}

a {
    text-decoration: none;
}

a:link,
a:visited {
    color: black;
}

#map {
    height: 100%;
    width: 100%;
    z-index: 0;
}

.textoverlay {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

@media screen and (max-width: 920px) {
    .headline {
        display: grid;
        justify-content: center;
    }

    .headline>a {
        padding: 1ex;
        background-color: var(--background);
        border-color: black;
        border-style: solid;
        border-top-style: hidden;
        border-width: 1px;
        border-bottom-left-radius: 1ex;
        border-bottom-right-radius: 1ex;
    }

    .desktop {
        display: none;
        visibility: hidden;
    }

    .legend {
        position: absolute;
        left: 1ex;
        bottom: 1ex;
        width: fit-content;
        margin-right: 1em;
        background-color: var(--background);
        border-radius: 1ex;
        border: 1px;
        border-color: black;
        border-style: solid;
        pointer-events: all;

    }

    .legend-element {
        display: flex;
        padding-left: 1em;
        padding-right: 1em;

    }

    .legend-element>p {
        margin-top: 1ex;
        margin-bottom: 1ex;
        margin-right: auto;
    }

    .legend-element>img {
        margin-top: 1ex;
        margin-bottom: 1ex;
        height: 3ex;
        padding-right: 1em;
    }

    .legend-divider {
        border-top: black;
        border-top-style: solid;
        border-width: 1px;
    }

    .legend-button {
        display: flex;
        margin: 1ex;
        border: black;
        border-style: solid;
        border-width: 1px;
        border-radius: 1ex;
        text-align: center;
        justify-content: center;
        cursor: pointer;
        transition-property: background-color;
        transition-duration: 500ms;
        font-weight: 500;
    }

    .legend-button:hover,
    .legend-button:active {
        background-color: var(--background-highlight);
    }
}

@media screen and (min-width: 920px) {

    .header {
        text-align: center;
    }

    .headline {
        display: grid;
        margin-top: 3ex;
        justify-content: center;

    }

    .headline>a {
        font-size: large;
        grid-row: 1;
        pointer-events: all;
        text-align: center;
        padding-top: 1ex;
        padding-bottom: 1ex;
        padding-left: 2ex;
        padding-right: 2ex;
        margin-left: 0;
        margin-right: 0;
        background-color: var(--background);
        border-color: black;
        border-width: 1px;
        border-style: solid;
    }

    .headline>a:first-child {
        border-top-left-radius: 1ex;
        border-bottom-left-radius: 1ex;
        border-right: 0;

    }

    .headline>a:last-child {
        border-top-right-radius: 1ex;
        border-bottom-right-radius: 1ex;
        border-left: 0;
    }

    .button {
        cursor: pointer;
        transition-property: background-color;
        transition-duration: 500ms;
    }

    .button:hover {
        background-color: var(--background-highlight);
    }

    .legend {
        position: absolute;
        left: 1ex;
        bottom: 1ex;
        width: fit-content;
        padding-left: 1em;
        padding-right: 1em;
        background-color: var(--background);
        border-radius: 1ex;
        border: 1px;
        border-color: black;
        border-style: solid;
    }

    .legend-element {
        display: flex;

    }

    .legend-element>p {
        margin-top: 1ex;
        margin-bottom: 1ex;
        margin-right: auto;
    }

    .legend-element>img {
        margin-top: 1ex;
        margin-bottom: 1ex;
        height: 3ex;
        padding-right: 1em;
    }

    .mobile {
        display: none;
        visibility: hidden;
    }

}

.banner {
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: var(--background);
    border-radius: 1ex;
    border: 1px;
    border-color: black;
    border-style: solid;
    font-size: large;
}