@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;1,400;1,700&display=swap");
@import url(./leaflet.min.css);
@keyframes playProgressBar {
  0% {
    width: 0; }
  100% {
    width: 100%; } }

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

:root {
  --color-primary: #3c78d8;
  --color-primary-light: #739ee3;
  --color-primary-light-1: #b9cff1;
  --color-primary-dark: #245bb5;
  --color-secondary: #20bf55;
  --color-secondary-light: #51e181;
  --color-secondary-dark: #17893d;
  --color-tertiary: #ba2d0b;
  --color-tertiary-light: #f24418;
  --color-tertiary-dark: #862108;
  --color-quaternary: #e0be36;
  --color-quaternary-light: #e9d171;
  --color-quaternary-dark: #ad901b;
  --color-fifth: #1f2041;
  --color-fifth-light: #464891;
  --color-fifth-dark: #16172f;
  --color-grey-light-1: #faf9f9;
  --color-grey-light-2: #f4f2f2;
  --color-grey-light-3: #f0eeee;
  --color-grey-light-4: #ccc;
  --color-grey-dark-1: #212529;
  --color-grey-dark-2: #333;
  --color-grey-dark-3: #777;
  --color-grey-dark-4: #999;
  --color-grey-darker-1: #232323;
  --color-grey-darker-2: #2b2b2b;
  --color-grey-darker-2: #353535;
  --color-map-1: #313695;
  --color-map-2: #4575b4;
  --color-map-3: #74add1;
  --color-map-4: #abd9e9;
  --color-map-5: #e0f3f8;
  --color-map-6: #ffffbf;
  --color-map-7: #fee090;
  --color-map-8: #fdae61;
  --color-map-9: #f46d43;
  --color-map-10: #d73027;
  --color-map-11: #a50026;
  --shadow-dark: 0 2rem 6rem rgba(0, 0, 0, 0.3);
  --shadow-dark-1: 1rem 2rem 2rem rgba(0, 0, 0, 0.12);
  --shadow-light: 0 2rem 5rem rgba(0, 0, 0, 0.06);
  --shadow-light-1: 1rem 1rem 5rem rgba(0, 0, 0, 0.1);
  --line: 1px solid var(--color-grey-light-2);
  --line-primary: 1px solid var(--color-primary-light);
  --line-1: 1px solid var(--color-grey-light-3);
  --line-2: 1px solid var(--color-grey-light-4);
  --highest-level: 1000;
  --top-level: 10;
  --mid-level: 7;
  --low-level: 3;
  --zero-level: 0; }

* {
  margin: 0;
  padding: 0; }

*,
*::after,
*::before {
  box-sizing: inherit; }

html {
  box-sizing: border-box;
  font-size: 62.5%; }
  @media only screen and (max-width: 62.5em) {
    html {
      font-size: 55%; } }
  @media only screen and (max-width: 29.37em) {
    html {
      font-size: 38%; } }

.container {
  height: 100vh;
  display: grid;
  grid-template-rows: auto;
  grid-template-columns: 100vw;
  align-items: start; }

::-webkit-scrollbar {
  width: 5px;
  height: 6px; }

::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px var(--color-grey-light-4);
  border-radius: 10px; }

::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 10px; }

::-webkit-scrollbar-thumb:hover {
  background: var(--color-grey-light-4); }

body {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-grey-dark-1); }

.heading-1 {
  font-size: 2rem;
  color: var(--color-primary);
  font-weight: 700;
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.1);
  letter-spacing: 1px; }

.heading-2 {
  font-size: 1.7rem;
  color: var(--color-grey-dark-2);
  font-weight: 500; }

.heading-3 {
  font-size: 1.6rem;
  color: var(--color-grey-dark-2);
  font-weight: 400; }

.heading-4 {
  font-size: 1.4rem;
  color: var(--color-grey-dark-2);
  font-weight: 400; }

.text-primary {
  color: var(--color-primary);
  font-weight: 600; }

.mb-sm {
  margin-bottom: 2rem !important; }

.mb-md {
  margin-bottom: 3rem !important; }

.mb-lg {
  margin-bottom: 6rem !important; }

.mb-hg {
  margin-bottom: 16rem !important; }

.mt-sm {
  margin-top: 2rem !important; }

.btn-toggle,
.btn-toggle--sm {
  display: none; }
  .btn-toggle-group,
  .btn-toggle--sm-group {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    grid-column-gap: 1.5rem;
    align-items: center; }
  .btn-toggle:checked + .btn-toggle-label,
  .btn-toggle--sm:checked + .btn-toggle-label {
    background: var(--color-secondary); }
  .btn-toggle:checked + .btn-toggle-label:after,
  .btn-toggle:checked + .btn-toggle--sm-label:after,
  .btn-toggle--sm:checked + .btn-toggle-label:after,
  .btn-toggle--sm:checked + .btn-toggle--sm-label:after {
    left: 50%; }
  .btn-toggle-label,
  .btn-toggle--sm-label {
    outline: 0;
    display: block;
    width: 4.1rem;
    height: 2.3rem;
    position: relative;
    background: var(--color-primary-light);
    border-radius: 2em;
    padding: 2px;
    cursor: pointer;
    user-select: none;
    transition: all 0.4s ease; }
    .btn-toggle-label:after, .btn-toggle-label:before,
    .btn-toggle--sm-label:after,
    .btn-toggle--sm-label:before {
      position: relative;
      display: block;
      content: "";
      width: 50%;
      height: 100%; }
    .btn-toggle-label:after,
    .btn-toggle--sm-label:after {
      left: 0;
      border-radius: 50%;
      background: #fff;
      transition: all 0.2s ease; }
    .btn-toggle-label:before,
    .btn-toggle--sm-label:before {
      display: none; }

.btn-toggle--sm:checked + .btn-toggle--sm-label {
  background: var(--color-secondary); }

.btn-toggle--sm-label {
  width: 3.3rem;
  height: 1.8rem;
  background: var(--color-primary-light); }

.btn {
  display: inline-block;
  color: #fff;
  font-family: inherit;
  font-size: 1.4rem;
  font-weight: 500;
  border: none;
  border-radius: 3px;
  padding: 1rem 1.5rem;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-dark);
  transition: all 0.2s; }
  .btn:hover {
    transform: translateY(-0.2rem); }
  .btn--primary {
    background-color: var(--color-primary); }
    .btn--primary:hover {
      background-color: var(--color-primary-dark); }
  .btn--secondary {
    background-color: var(--color-secondary); }
    .btn--secondary:hover {
      background-color: var(--color-secondary-dark); }
  .btn--tertiary {
    background-color: var(--color-tertiary); }
    .btn--tertiary:hover {
      background-color: var(--color-tertiary-dark); }
  .btn--sm {
    padding: 0.5rem 0.7rem 0.5rem 0.3rem;
    text-transform: initial; }

.popup {
  height: 100vh;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(33, 37, 41, 0.8);
  z-index: 9999;
  transition: all 0.3s;
  display: grid;
  justify-items: center;
  align-items: center; }
  @supports (-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px)) {
    .popup {
      -webkit-backdrop-filter: blur(10px);
      backdrop-filter: blur(10px);
      background-color: rgba(33, 37, 41, 0.3); } }
  .popup__content {
    width: 50rem;
    max-width: 90%;
    background-color: #fff;
    box-shadow: var(--shadow-dark-1);
    border-radius: 3px;
    padding: 1.5rem 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column;
    position: relative;
    left: -1%;
    overflow: hidden; }
  .popup__text {
    font-size: 1.6rem; }
    .popup__text:nth-of-type(2) {
      font-size: 1.5rem; }
  .popup__close:link, .popup__close:visited {
    color: var(--color-grey-dark-1);
    position: absolute;
    top: 0.5rem;
    right: 2rem;
    font-size: 3rem;
    text-decoration: none;
    line-height: 1;
    display: inline-block;
    transition: all 0.2s; }
  .popup__close:hover {
    color: var(--color-primary); }
  .popup.hidden {
    opacity: 0;
    visibility: hidden; }

.form-select {
  display: block;
  width: 8vw;
  padding: 0.375rem 2.25rem 0.375rem 0.75rem;
  background-color: rgba(60, 120, 216, 0.65);
  color: var(--color-primary-light-1);
  font-family: inherit;
  font-size: 1.4rem;
  border: var(--line-primary);
  border-radius: 4px;
  transition: all 0.1s; }
  .form-select:focus {
    background-color: #fff;
    color: inherit; }

.table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  text-align: left; }
  .table tbody tr {
    border-bottom: var(--line-2); }
  .table tbody td,
  .table tbody th {
    padding: 0.8rem;
    white-space: nowrap; }
  .table tbody th {
    color: var(--color-primary);
    font-weight: 700; }

.footer {
  position: absolute;
  left: 2%;
  bottom: 7%;
  width: 35rem;
  z-index: var(--top-level);
  color: var(--color-quaternary-light);
  text-align: center; }
  @media only screen and (max-width: 75em) {
    .footer {
      width: 28rem; } }
  @media only screen and (max-width: 55em) {
    .footer {
      width: 17rem; } }
  @media only screen and (max-width: 41.87em) {
    .footer {
      width: 14rem;
      margin-bottom: 2rem; } }
  @media only screen and (max-width: 29.37em) {
    .footer {
      width: 10rem;
      margin-bottom: 5rem; } }

.header {
  width: 89%;
  grid-row: 1;
  grid-column: 1;
  justify-self: start;
  margin-left: 5rem;
  margin-top: 2rem;
  position: relative;
  z-index: var(--top-level);
  display: grid;
  grid-template-rows: auto;
  grid-template-columns: repeat(3, max-content);
  grid-column-gap: 3rem;
  align-items: center; }
  .header__group {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    grid-gap: 2rem;
    justify-content: center;
    align-content: center; }
    .header__group .btn {
      align-self: center; }
  .header__logo {
    display: inline-block;
    padding: 1rem;
    background-color: rgba(60, 120, 216, 0.65);
    border-radius: 1rem;
    box-shadow: var(--shadow-dark-1);
    height: 7.5rem; }
    .header__logo--main {
      height: 12rem; }
  @media only screen and (max-width: 75em) {
    .header__logo {
      height: 6.8rem; }
      .header__logo--main {
        height: 9.5rem; } }
  @media only screen and (max-width: 55em) {
    .header {
      grid-column-gap: 1.5rem; }
      .header__logo {
        height: 6rem; }
        .header__logo--main {
          height: 9rem; } }
  @media only screen and (max-width: 48.12em) {
    .header__logo--main {
      height: 9.5rem; }
    .header__link {
      width: 11rem;
      text-align: center;
      padding: 0.5rem; } }
  @media only screen and (max-width: 41.87em) {
    .header__logo {
      height: 5.5rem; }
      .header__logo--main {
        height: 9.5rem; }
    .header__link {
      width: 10rem;
      text-align: center;
      padding: 0.3rem;
      font-size: 1.15rem; }
    .header__group {
      grid-gap: 1rem; } }
  @media only screen and (max-width: 36.87em) {
    .header__logo {
      height: 4rem; }
      .header__logo--main {
        height: 6rem; }
    .header__link {
      width: 8rem;
      text-align: center;
      padding: 0.3rem;
      font-size: 1.15rem; }
    .header__group {
      grid-gap: 2rem; } }

.layers {
  grid-row: 1;
  grid-column: 1;
  align-self: center;
  justify-self: start;
  background-color: rgba(60, 120, 216, 0.65);
  color: var(--color-primary-light-1);
  font-size: 1.4rem;
  border-radius: 5px;
  position: relative;
  transform: translateX(-2rem);
  box-shadow: var(--shadow-dark);
  visibility: hidden;
  opacity: 0;
  z-index: var(--top-level);
  transition: all 0.2s;
  margin-left: 8rem;
  margin-bottom: 6rem;
  padding: 2.5rem; }
  .layers.open {
    visibility: visible;
    opacity: 1;
    transform: translateX(0); }

.leaflet-container,
.leaflet-control-container {
  font-family: inherit !important;
  font-size: 1rem !important; }

.leaflet-bar a {
  background-color: var(--color-grey-light-3); }

.leaflet-control-attribution,
.leaflet-control a {
  font-size: 0.85rem !important;
  padding: 0 !important; }

.leaflet-control-layers {
  background: none !important;
  border: none !important;
  margin-top: 4rem !important;
  margin-right: 1.5rem !important; }
  .leaflet-control-layers-expanded {
    background-color: rgba(255, 255, 255, 0.6) !important;
    padding: 2rem !important; }

.leaflet-control-layers-toggle {
  background: url("../assets/icons/map.svg") !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  width: 2.35rem !important;
  height: 2.35rem !important; }

.leaflet-control-layers-selector {
  margin-right: 0.8rem; }
  .leaflet-control-layers-selector + span {
    font-weight: 600; }

.leaflet-right .leaflet-control {
  margin-top: 2rem !important; }

.leaflet-left .leaflet-control {
  margin-left: 5rem; }

.leaflet-control-scale-line {
  font-size: 1rem !important; }

.leaflet-left .leaflet-control {
  margin-left: 1rem !important; }

@media only screen and (max-width: 29.37em) {
  .leaflet-top {
    top: 5% !important; } }

@media only screen and (max-width: 75em) {
  .leaflet-control-attribution {
    width: 28rem; } }

@media only screen and (max-width: 55em) {
  .leaflet-control-attribution {
    width: 20rem; } }

@media only screen and (max-width: 29.37em) {
  .leaflet-control-attribution {
    width: 14rem; } }

.legend {
  grid-row: 1;
  grid-column: 1;
  align-self: end;
  justify-self: end;
  margin-bottom: 4rem;
  margin-right: -2.5rem;
  display: grid;
  grid-template-rows: repeat(2, max-content);
  color: var(--color-grey-light-2);
  transform: translate(-4rem, -5rem);
  z-index: var(--top-level); }
  .legend__colors {
    grid-row: 1;
    display: grid;
    grid-template-rows: max-content; }
    .legend__colors .legend__color {
      width: 3rem;
      height: 2rem;
      grid-row: 1;
      display: flex;
      justify-content: center;
      align-items: center; }
      .legend__colors .legend__color:first-of-type {
        border-top-left-radius: 5px;
        border-bottom-left-radius: 5px; }
      .legend__colors .legend__color:last-of-type {
        border-top-right-radius: 5px;
        border-bottom-right-radius: 5px; }
      @media only screen and (max-width: 75em) {
        .legend__colors .legend__color {
          width: 2.5rem;
          height: 1.5rem; } }
      @media only screen and (max-width: 62.5em) {
        .legend__colors .legend__color {
          width: 2.5rem;
          height: 1.5rem; } }
      @media only screen and (max-width: 55em) {
        .legend__colors .legend__color {
          width: 2.25rem;
          height: 1.8rem; } }
      .legend__colors .legend__color--1 {
        background-color: var(--color-map-1); }
      .legend__colors .legend__color--2 {
        background-color: var(--color-map-2); }
      .legend__colors .legend__color--3 {
        background-color: var(--color-map-3); }
      .legend__colors .legend__color--4 {
        background-color: var(--color-map-4); }
      .legend__colors .legend__color--5 {
        background-color: var(--color-map-5);
        color: var(--color-grey-dark-3); }
      .legend__colors .legend__color--6 {
        background-color: var(--color-map-6);
        color: var(--color-grey-dark-3); }
      .legend__colors .legend__color--7 {
        background-color: var(--color-map-7);
        color: var(--color-grey-dark-3); }
      .legend__colors .legend__color--8 {
        background-color: var(--color-map-8); }
      .legend__colors .legend__color--9 {
        background-color: var(--color-map-9); }
      .legend__colors .legend__color--10 {
        background-color: var(--color-map-10); }
      .legend__colors .legend__color--11 {
        background-color: var(--color-map-11); }
  .legend__label {
    grid-row: 2;
    justify-self: center;
    display: none; }
    .legend__label.open {
      display: block; }

.main {
  grid-row: 1;
  grid-column: 1;
  height: 100%;
  display: grid;
  grid-template-rows: 100%;
  grid-template-columns: 100vw; }

.map {
  grid-row: 1;
  grid-column: 1;
  height: 100%;
  width: 100%;
  z-index: var(--mid-level); }
  .map__control--coords {
    position: absolute;
    bottom: 1%;
    left: 1%;
    background-color: rgba(255, 255, 255, 0.6);
    padding: 0.5rem;
    border-radius: 3px;
    color: var(--color-grey-dark-2);
    z-index: var(--highest-level); }
  .map__tooltip {
    font-weight: 600; }

.menu {
  grid-row: 1;
  grid-column: 1;
  align-self: center;
  justify-self: start;
  background-color: rgba(60, 120, 216, 0.65);
  border-radius: 1rem;
  margin-left: 2rem;
  z-index: var(--top-level); }
  .menu .nav {
    list-style: none; }
    .menu .nav__item:not(:last-child) {
      margin-bottom: 1rem; }
    .menu .nav__link:link, .menu .nav__link:visited {
      display: inline-block;
      color: var(--color-primary-light);
      transition: 0.2s;
      padding: 1.5rem; }
    .menu .nav__link:hover {
      color: #fff; }
    .menu .nav__link.active {
      color: #fff; }
    .menu .nav__icon {
      width: 2rem;
      height: 2rem;
      fill: currentColor;
      transition: all 0.2s; }

.ports {
  grid-row: 1;
  grid-column: 1;
  align-self: center;
  justify-self: start;
  background-color: rgba(60, 120, 216, 0.65);
  color: var(--color-primary-light-1);
  font-size: 1.4rem;
  border-radius: 5px;
  position: relative;
  transform: translateX(-2rem);
  box-shadow: var(--shadow-dark);
  visibility: hidden;
  opacity: 0;
  z-index: var(--top-level);
  transition: all 0.2s;
  color: inherit;
  margin-left: 8rem;
  margin-bottom: 13rem; }
  .ports.open {
    visibility: visible;
    opacity: 1;
    transform: translateX(0); }

.spinner {
  grid-row: 1;
  grid-column: 1;
  align-self: center;
  justify-self: center;
  z-index: var(--top-level);
  display: none; }
  .spinner.open {
    display: block; }
  .spinner__icon {
    width: 4rem;
    height: 4rem;
    fill: var(--color-primary-light-1);
    animation: spin 2s linear normal running infinite; }

.stats {
  grid-row: 1;
  grid-column: 1;
  align-self: center;
  justify-self: start;
  background-color: rgba(60, 120, 216, 0.65);
  color: var(--color-primary-light-1);
  font-size: 1.4rem;
  border-radius: 5px;
  position: relative;
  transform: translateX(-2rem);
  box-shadow: var(--shadow-dark);
  visibility: hidden;
  opacity: 0;
  z-index: var(--top-level);
  transition: all 0.2s;
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  grid-gap: 2rem;
  width: 25vw;
  margin-left: 8rem;
  padding: 1rem 2rem; }
  @media only screen and (max-width: 29.37em) {
    .stats {
      width: 80vw; } }
  .stats.open {
    visibility: visible;
    opacity: 1;
    transform: translateX(0); }

.timeline {
  grid-row: 1;
  grid-column: 1;
  align-self: end;
  justify-self: center;
  width: 40vw;
  transform: translateY(-1rem);
  z-index: var(--top-level);
  visibility: hidden;
  opacity: 0;
  transition: all 0.2s;
  display: grid;
  grid-template-rows: max-content;
  grid-template-columns: max-content auto;
  grid-column-gap: 2rem;
  align-items: center; }
  @media only screen and (max-width: 29.37em) {
    .timeline {
      grid-column-gap: 0.8rem;
      transform: translateY(-4rem); } }
  .timeline.open {
    opacity: 1;
    visibility: visible; }
  .timeline__control {
    background: var(--color-grey-light-3);
    border-radius: 50%;
    padding: 0.5rem; }
    .timeline__control__icon {
      width: 2.5rem;
      height: 2.5rem;
      fill: var(--color-tertiary-light); }
      @media only screen and (max-width: 29.37em) {
        .timeline__control__icon {
          width: 1.8rem;
          height: 1.8rem; } }
      .timeline__control__icon--play, .timeline__control__icon--pause {
        display: none; }
        .timeline__control__icon--play.open, .timeline__control__icon--pause.open {
          display: block; }
  .timeline__progress-bar {
    background: var(--color-grey-light-4);
    height: 0.8rem;
    border-radius: 5px;
    position: relative; }
    .timeline__progress-bar__tooltip {
      height: 2rem;
      font-size: 1.2rem;
      position: absolute;
      top: -320%;
      left: -3%;
      background: var(--color-quaternary-dark);
      color: var(--color-grey-light-1);
      white-space: nowrap;
      text-align: center;
      padding: 1px 0.5rem;
      border-radius: 3px;
      visibility: hidden;
      opacity: 0;
      transition: all 0.2s; }
      .timeline__progress-bar__tooltip::before {
        content: "";
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        border: 5px solid transparent;
        border-top-color: var(--color-quaternary-dark);
        height: 0;
        width: 0; }
      .timeline__progress-bar__tooltip.start::before {
        left: 17%;
        transform: translateX(0); }
      .timeline__progress-bar__tooltip.open {
        visibility: visible;
        opacity: 1; }
    .timeline__progress-bar__played {
      content: "";
      display: block;
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      width: 0;
      border-radius: inherit;
      background-color: var(--color-secondary); }
      .timeline__progress-bar__played.animated {
        animation: playProgressBar linear 24s normal running; }
  .timeline__labels {
    grid-column: 2;
    height: 1.5rem;
    display: flex;
    justify-content: space-evenly;
    transform: translateY(-1.2rem); }
  .timeline__tips {
    color: var(--color-grey-dark-4);
    font-size: 1.2rem;
    text-align: center;
    letter-spacing: 1px;
    flex: 1; }
    .timeline__tips:not(:last-child) {
      border-right: 1px solid currentColor; }
  @media only screen and (max-width: 55em) {
    .timeline {
      width: 50vw; } }
  @media only screen and (max-width: 48.12em) {
    .timeline {
      width: 60vw; } }
  @media only screen and (max-width: 36.87em) {
    .timeline {
      width: 65vw; } }
  @media only screen and (max-width: 29.37em) {
    .timeline {
      width: 73vw; } }
