@font-face {
    font-family: "Lato";
    src: url('/assets/fonts/lato-thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: "Lato";
    src: url('/assets/fonts/lato-light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "Lato";
    src: url('/assets/fonts/lato-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Lato";
    src: url('/assets/fonts/lato-bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "IBMPlexMono";
    src: url('/assets/fonts/ibmplexmono-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}


html,
body {
    overflow: hidden !important;
    overscroll-behavior: none;
}

html * {
    font-family: "Lato", Arial, sans-serif !important;
}

body {
    margin: 0;
    position: fixed;
    height: 100vh;
    height: 100dvh;
    width: 100vw;
}

#server-upgrade {
    position: absolute;
    top: 10em;
    left: 50%;
    transform: translateX(-50%);
    padding: 1em 2em;
    background: white;
    border: 2px solid #333;
    border-radius: 5px;
    z-index: 2000;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4);
}

#map {
    height: 100vh;
    height: 100dvh;
    position: relative;
}

.leaflet-top.leaflet-left {
    display: flex;
    max-width: clamp(25%, 33%, 80ch);
    flex-direction: column;
}

header #title {
    margin: 0 !important;
    font-weight: 300;
}

#title a {
    text-decoration: none;
    color: inherit;
}

header .tagline {
    margin-top: 0;
    font-weight: 300;
    font-size: 1.5em;
}

.leaflet-top.leaflet-left .leaflet-control-zoom {
    order: 3;
    border: none;
}

.text-shadow {
    text-shadow:
        0px 0px 1px black,
        0px 0px 1px black,
        0px 0px 1px black,
        0px 0px 2px black;
}

#map .leaflet-attribution-flag {
    display: none !important;
}

#map .leaflet-control-attribution {
    background-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0em 1.5em 0.75em rgba(255, 255, 255, 0.5);
}

#mobile-attribution {
    display: none;
}

#mobile-attribution {
    display: none;
}

@media (max-width: 950px) {
    .leaflet-top.leaflet-left {
        top: 0.5em;
        left: 0.5em;
        max-width: 80vw;
    }

    .leaflet-bottom.leaflet-left {
        bottom: 0.5em;
        left: 0.5em;
    }

    .leaflet-control-attribution {
        display: none;
    }

    #mobile-attribution {
        display: inherit;
        max-width: calc(2 * 180px + 1.5em);
        margin-top: 2em;
        font-size: 0.8em;
        font-weight: 300;
    }

    #mobile-attribution {
        color: #333;
    }

    header #title {
        font-size: 2em;
    }

    header .tagline {
        font-size: 1.5em;
    }
}

@media (max-width: 950px) and (orientation: landscape) {
    header #title {
        font-size: 1.25em;
        font-weight: 400;
    }

    header .tagline {
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    header #title {
        font-size: 1.25em;
        font-weight: 400;
    }

    header .tagline {
        font-size: 1.2em;
    }
}