@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,600;0,700;1,400&display=swap");

:root {
  --ink: #404040;
  --navy: #182b49;
  --link: #264653;
  --selection: #00639c;
}

html {
  background: #fff;
}

body {
  margin: 0 auto;
  color: var(--ink);
  background: #fff;
  font-family: "Open Sans", Arial, sans-serif;
  line-height: 1.5;
}

.container-fluid {
  padding: 28px 18px 60px;
}

::selection {
  color: #fff;
  background: var(--selection);
}

h1 {
  margin: 12px 0 24px;
  color: var(--navy);
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

.section-title {
  margin: 2rem 0 1rem;
  color: var(--navy);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
  overflow-wrap: break-word;
}

.figure-title {
  margin: 0 0 1rem;
  color: var(--navy);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  overflow-wrap: break-word;
}

p,
li {
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

p {
  margin: 1em 0 20px;
}

.author-header {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
}

li {
  margin-bottom: 0.45rem;
}

strong {
  color: var(--navy);
  font-weight: 700;
}

a {
  color: var(--link) !important;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover,
a:focus {
  color: var(--selection) !important;
}

sup a {
  margin-left: 0.12em;
  text-decoration: none;
}

.shiny-bound-output {
  margin-top: 10px;
  margin-bottom: 10px;
}

.shiny-plot-output,
.highchart,
.leaflet {
  margin-bottom: 22px;
}

.highcharts-axis-labels,
.highcharts-axis-title,
.highcharts-legend-item text,
.highcharts-tooltip text {
  font-family: "Open Sans", Arial, sans-serif !important;
}

.highcharts-axis-labels {
  font-weight: 500;
}

@media (max-width: 768px) {
  .container-fluid {
    padding: 20px 12px 40px;
  }

  h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .figure-title {
    font-size: 1.1rem;
  }

  p,
  li {
    font-size: 15px;
  }
}
