html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: "Jost", Trebuchet MS, Arial, sans-serif;
    background: #000000;
    box-sizing: border-box;
    color: white;
    display: flex;
    flex-direction: column;
}

h1 {
    text-align: center;
    font-size: 2.5em;
    color: white;
    font-weight: 500;
    margin-top: 10px;
    margin-bottom: 0px;
    flex-shrink: 0;
}

h2 {
    text-align: center;
    font-size: 1em;
    color: white;
    font-weight: 500;
    flex-shrink: 0;
    line-height: 1.8;
    margin-top: 0px;
    margin-bottom: 0px;
}

#legend {
    font-family: "Jost", Trebuchet MS, Arial, sans-serif;
    font-weight: 500;
    background: #000000;
    padding: 10px;
    margin: 10px;
    width: 180px;
    position: absolute;
    bottom: 10px;
}

#legend h3 {
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6px;
    margin-bottom: 6px;
    width: 100%;
    font-size: 2em;
    color: white;
    font-weight: 500;
}

#legend svg {
    vertical-align: middle;
}

#legend-header {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}

path.leaflet-interactive:focus {
    outline: none;
}

/* tooltips */
.leaflet-tooltip {
    font-family: "Jost", Trebuchet MS, Arial, sans-serif;
    font-weight: 500;
    padding: 5px;
    border-radius: 10px;
    max-width: 200px;
    width: max-content;
    white-space: normal;
    text-align: center;
}

a {
    color: #00aaff;
    text-decoration: none;
}

#map {
    flex: 1; /* Allows the map to take up remaining space */
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
}

.gm-ui-hover-effect { display: none !important; }

div.button-container {
    display: flex;
    justify-content: center;
    margin-top: 0px;
    margin-bottom: 10px;
}

.button {
    border: none;
    padding: 12px 12px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1em;
    font-family: "Jost", Trebuchet MS, Arial, sans-serif;
    font-weight: 500;
    margin: 4px 2px;
    transition-duration: 0.4s;
    cursor: pointer;
    background-color: white;
    color: black;
    border-radius: 8px;
}

.button:hover {
    cursor: pointer;
}

.button:active {
    background-color: rgb(150, 150, 150);
}

.small-button {
    border: none;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1em;
    font-family: sans-serif;
    font-weight: 500;
    cursor: pointer;
    background-color: white;
    color: black;
    border-radius: 8px;
    width: 30px;
    height: 30px;
}

.small-button:hover {
    cursor: pointer;
}

.small-button:active {
    background-color: rgb(150, 150, 150);
}

.view-button {
    background-color: black;
    color: white;
    font-size: 1.3em;
}

.view-button:active {
    background-color: rgb(50, 50, 50);
    transform: scale(1.1);
}

/* Refresh button */
.refresh-button:active i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

 /* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    justify-content: center;
    align-items: center;
}

/* Modal Content/Box */
.modal-content {
    background-color: #000000;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
    color: #ffffff;
    float: right;
    font-size: 28px;
    font-weight: bold;
    margin-left: 10px;
}

.close:hover {
    cursor: pointer;
}

.close:active {
    color: rgb(150, 150, 150);
}