#map-nation {
  /* width: 100%; */
  height: 80vh;
  min-height: 520px;
  /* margin: 0 5em 6em; */
  aspect-ratio: 1.7 / 1;
  position: relative;
  max-width: 100%;
}

/* CANVAS */
#map-nation svg,
#map-nation canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0;
}

#map-jurisdiction {
  height: 65vh;
  min-height: 550px;
  aspect-ratio: 1 / 1.09;
}

.map .nation.sort-0,
.map .states.sort-0 {
  fill: var(--green-700);
  stroke: var(--white);
  opacity: 0.1;
  stroke-width: 0.5rem;
  stroke-linejoin: round;
  paint-order: stroke;
}

.map .nation.sort-5,
.map .jurisdiction-polygons.sort-5 path {
  fill: none;
  stroke: var(--green-900);
  opacity: 1;
  stroke-width: 2px;
  stroke-linejoin: round;
}

.map .states {
  fill: none;
  stroke-width: 1px;
  stroke: var(--green-300);
  stroke-linejoin: round;
}

.map .counties {
  fill: none;
  stroke: var(--green-grey);
  stroke-width: 0.25px;
  stroke-linejoin: round;
}

.map .jurisdiction-polygons.sort-1 path {
  fill: var(--green-700);
  stroke: none;
}

.map .jurisdiction-borders.sort-6 path {
  stroke: var(--green-700);
  stroke-width: 6px;
  fill: none;
  stroke-linejoin: round;
  filter: blur(1px);
}

.map .jurisdiction-borders.sort-7 path {
  stroke: var(--yellow);
  stroke-width: 2px;
  fill: none;
  stroke-linejoin: round;
}

.map .consulates.sort-8 circle {
  fill: var(--yellow);
  stroke: var(--white);
  stroke-width: 8px;
  opacity: 0.6;
}

.map .consulates.sort-9 circle {
  fill: var(--yellow);
  stroke: var(--green-900);
  stroke-width: 3px;
}

.map .points circle {
  fill: #9dd89c;
  /* mix-blend-mode: screen; */
  opacity: 0.9;
}

/* CANVAS */

@supports not (-moz-appearance: none) {
  /* Add non-firefox CSS code here */
  .shine {
    mix-blend-mode: screen;
  }
}

/* tablet L */
@media only screen and (max-width: 1024px) {
  #map-nation {
    width: 100%;
    height: auto;
    margin: 0 0 2.5em;
  }

  #map-jurisdiction {
    height: 30vh;
    min-height: 300px;
  }
  .shine {
    mix-blend-mode: screen;
  }
}

/*  mobile and tablet M*/
@media only screen and (max-width: 900px) {
  #map-nation {
    width: 100%;
    min-height: 250px;
  }

  #map-nation .nation.sort-0,
  #map-nation .states.sort-0 {
    stroke-width: 0.25rem;
  }

  #map-nation .nation.sort-5,
  #map-nation .jurisdiction-polygons.sort-5 path {
    stroke-width: 1px;
  }

  #map-nation .states {
    stroke-width: 0.5px;
  }

  #map-nation .counties {
    stroke-width: 0.25px;
  }

  #map-nation .jurisdiction-borders.sort-6 path {
    stroke-width: 3px;
    filter: blur(0.5px);
  }

  #map-nation .jurisdiction-borders.sort-7 path {
    stroke-width: 1px;
  }

  #map-nation .consulates.sort-8 circle {
    stroke-width: 4px;
  }

  #map-nation .consulates.sort-9 circle {
    stroke-width: 1.5px;
  }
  .shine {
    mix-blend-mode: screen;
  }
}
@media only screen and (max-width: 600px) {
  .shine {
    mix-blend-mode: normal;
  }
}
