.h1 {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: hsl(197, 58%, 18%);
    font-size: 300%;
}

.h2 {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    color: #0185c4;
    font-style: normal;
    padding-right: 0.5%;
    font-size: 300%;
}

.h3 {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    color: #4b4b4b;
    font-style: normal;
    padding-right: 0.5%;
    font-size: 150%;
}

.text-container {
    justify-content: center;
    padding-bottom: 10px;
}

.card-container {
    display: flex;
    justify-content: center;
    width: auto;
}
.card {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    padding: 15px;
    z-index: 10;
}

.map-title {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    color: #575757;
    font-style: normal;
    font-size:large;
    padding-top: 10px;
    text-align: center;
    margin: auto;
}
.map-title-alt {
  font-family: 'Bebas Neue', sans-serif;
  color: #575757;
  width: 100%;
  text-align: center;
  padding-top: 10px;

  /* responsive size: don't go below 14px, scale with viewport, cap at 36px */
  font-size: clamp(14px, 2.8vw, 36px);

  /* allow wrapping on very small widths */
  white-space: normal;
  line-height: 1.05;
  overflow-wrap: anywhere;
}
@media (min-width: 900px) {
  /* optional: slightly larger on big screens */
  .map-title { font-size: clamp(18px, 1.6vw, 44px); }
}

.svg-container {
    width: 100%;
    height: 100%;
    display: block;
}

.legend-number {
    font-size: 150%;
    color: black;
    width: 50px;
    text-align: center;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    color: #133847;
    font-style: normal;
}

.div-container {
    border: 2px solid #000;
}

.state {
    transition: filter 0.2s ease;
}

.state:hover {
    filter: brightness(1.03) drop-shadow(0 0 2px rgba(0, 0, 0, 0.3));
}

.tooltip {
    display: flex;
    position: absolute;
    background-color: rgba(249, 249, 249, 1);
    padding: 10px 20px;
    border-radius: 1px;
    filter: drop-shadow(5px 5px 2px rgb(0, 0, 0, 0.2));
    display: none;
    pointer-events: none;
}

.tooltip-label {
    color: #0071a5;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: xx-large;
}

.tooltip-stats {
    color: #515151;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 200;
    font-style: normal;
    font-size: 25px;
}

.stats-container {
    display: flex;
    gap: 4em;
    justify-content: center;
    width: 100%;
    padding-bottom: 100%;
}

.box {
}

.stats-percentage {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #00689a;
    font-size: 500%;
    filter: drop-shadow(2px 3px 2px #4949492b);
    text-align: center;
}

.stats-label {
    font-family: "Bebas Neue", sans-serif;
    color: hsl(0, 0%, 41%);
    font-size: 140%;
    word-wrap: break-word;
    white-space: normal;
    /*border: 2px solid #000;*/
    width: 200px;
    text-align: center;
}

.gradient-bar {
    margin-left: 35px;
    width: 30px;
    height: 300px;
    background: linear-gradient(to top, #00699a, #f9f9f9);
    filter: drop-shadow(0px 3px 2px rgb(0, 0, 0, 0.3));
}

.legend {
    margin-right: -150px;
    margin-top: -190px;
    text-align: center;
}

.legend-title {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    color: #575757;
    font-style: normal;
    font-size: 160%;
}

.map-container {
    display: flex;
    align-items: flex-start;
    position: relative;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: auto;
}
