body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: sans-serif;
}

#mapContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
}

.mapPage {
    max-width: 100vw;
    height: auto;
    margin: 0;
    display: block;
}

#reverseOrderBtn, #invertColorsBtn, #sourceLinkBtn {
    position: fixed;
    right: 0.625rem; /* 10px */
    padding: 0.625rem 0.9375rem; /* 10px 15px */
    background-color: rgba(85, 85, 85, 0.5);
    color: #fff;
    border: none;
    border-radius: 0.3125rem; /* 5px */
    cursor: pointer;
    font-size: 0.7em;
    text-decoration: none;
    outline: none;
}

#reverseOrderBtn {
    top: 0.625rem; /* 10px */
    z-index: 1000;
}

#invertColorsBtn {
    top: 3.125rem; /* 50px */
    z-index: 999;
}

#sourceLinkBtn {
    top: 5.625rem; /* 90px */
    z-index: 998;
    outline: none;
}

#sourceLinkBtn a {
    text-decoration: none !important;
    color: inherit !important; /* Inherits color from parent */
}

#reverseOrderBtn:hover, #invertColorsBtn:hover, #sourceLinkBtn:hover {
    background-color: #777;
}

.invertedColors {
    filter: invert(1);
}

#captionBox {
    position: fixed;
    top: 0.625rem; /* 10px */
    left: 50%;
    transform: translateX(-50%);
    padding: 0.9375rem 1.40625rem; /* 15px 22.5px */
    background-color: rgba(85, 85, 85, 0.5);
    color: #fff;
    border-radius: 0.46875rem; /* 7.5px */
    z-index: 999;
    font-size: 1em;
    pointer-events: none;
}
