@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: block;  /* You can use 'block' for better initial loading */
  src: url(https://fonts.gstatic.com/s/worksans/v19/QGYsz_wNahGAdqQ43Rh_fKDptfpA4Q.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Scoped to Observable Framework containers to prevent global CSS leakage */
.observablehq *,
main *,
.page * {
    box-sizing: border-box;
    font-family: 'Work Sans', sans-serif !important;
    max-width: none !important;
}

.title {
    font-size: 40px;
    text-align: center;
    font-weight: bold;
    font-family: "Work Sans", sans-serif;
    line-height: 1.15;
}

.subtitle {
    padding: 0;
    font-size: 24px;
    font-style: normal !important;
    font-family: "Work Sans", sans-serif;
    text-align: center;
    color: #032849;
}

.observablehq-header-anchor {
    color: #0e4f93 !important;
    font-size: 24px !important;
}

div h2 {
    font-weight: bold !important;
    max-width: none;
}

text.legendTitle {
    font-size: 12px;
    text-anchor: initial;
}

p {
    color: #032849;
}

form.inputs-3a86ea {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: end;
    padding-bottom: 20px;
}

.card {
    background: #f6f6f6;
    margin: 0;
    max-width: 100%;
    /* Prevent overflow */
}

#svg-container,
#svg-container-2 {
    position: relative;
    padding: 0;
    z-index: 10;
    background: #c1c1c1;
    border-radius: 0;
    width: 100%;
    /* Ensure full width */
    max-width: 100%;
    /* Prevent overflow */
}

.tooltip {
    position: absolute;
    pointer-events: none;
    /* To prevent the tooltip from interfering with other events */
    background: rgba(0, 0, 0, 0.7);
    /* Example style */
    color: white;
    padding: 5px;
    border-radius: 3px;
}

.map-wrapper {
    transform: scale(1);
    /* Default scale */
    width: 100%;
    /* Ensure the container takes up the full width */
    max-width: 100% !important;
    /* Prevent overflow */
    transform-origin: top left;
    /* Keep the scaling from the top left corner */
    transition: transform 0.2s ease-in-out;
    /* Smooth transition for scaling */

}

@media (max-width: 1200px) {
    .map-wrapper {
        transform: scale(0.9);
        /* Scale down by 10% for larger screens */
    }
}

@media (max-width: 800px) {
    .map-wrapper {
        transform: scale(0.75);
        /* Scale down by 25% for smaller screens */
    }
}

@media (max-width: 500px) {
    .map-wrapper {
        transform: scale(0.6);
        /* Scale down by 40% for very small screens */
    }
}

.warning {
    background: #cfe2f2 !important;
    border: #0e4f93;
    font-size: 16px;
    line-height: 1.25;
}

.warning::before {
    color: #0e4f93 !important;
}

button {
    font-family: "Work Sans", sans-serif !important;
}