* {
  margin: 0px;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

.mapboxgl-ctrl-bottom-right > .mapboxgl-ctrl-attrib.mapboxgl-compact::after {
  bottom: -8px !important;
  right: -8px !important;
}

a.mapboxgl-ctrl-logo.mapboxgl-compact {
  margin-right: -7px !important;
}

h1,
h2,
h3,
h4,
h5,
p {
  margin: 0px;
}

p {
  font-weight: 400;
  color: #212121;
  font-size: 16px;
  line-height: 32px;
}

/* */
/* MOBILE STYLES */
/* */

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #212121;
}

/* Campaign Title */
h1 {
  font-size: 38px;
  font-weight: 200;
  text-align: center;
  margin-bottom: 32px;
}

/* Campaign Subtitle */
h2 {
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 32px;
}

/* Modal Title */
h3 {
  font-size: 24px;
  font-weight: 500;
}

/* Modal Subtitle */
h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  line-height: normal;
}

/* OVERLINE */
h5 {
  font-weight: 400;
  color: #616161;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

/* Caption */
h6 {
  font-weight: 400;
  color: #212121;
  font-size: 13px;
}

/* inline links */
p a {
  font-weight: 500;
}

a {
  color: #e53935;
}

a:visited {
  color: #913c3a;
}

.markdown-content p,
.markdown-content ul,
.markdown-content ol,
.markdown-content blockquote {
  margin-bottom: 32px;
}
.markdown-content h2,
.markdown-content h3,
.markdown-content h4,
.markdown-content h5,
.markdown-content h6 {
  /* all are styled like h2 */
  font-size: 18px;
  font-weight: 200;
  margin-bottom: 32px;
  margin-top: 32px;
  line-height: normal;
}
.markdown-content h1 {
  text-align: initial;
  margin-top: 64px;
  margin-bottom: 32px;
  font-size: 18px;
  font-weight: 500;
}
.markdown-content h1:first-child,
.markdown-content h2:first-child,
.markdown-content h3:first-child,
.markdown-content h4:first-child,
.markdown-content h5:first-child,
.markdown-content h6:first-child {
  /* first heading has no top margin */
  margin-top: 0px;
}

.markdown-content li {
  margin-bottom: 8px;
}
.markdown-content blockquote {
  border-left: 2px solid #26a69a;
  padding: 16px;
  background-color: rgba(38, 166, 154, 0.2);
  border-radius: 4px;
  margin: 0px 16px 32px;
}
.markdown-content blockquote p,
.markdown-content blockquote h1,
.markdown-content blockquote h2,
.markdown-content blockquote h3,
.markdown-content blockquote h4,
.markdown-content blockquote h5,
.markdown-content blockquote h6 {
  margin: 0px;
}

.markdown-content *:last-child {
  margin-bottom: 16px !important;
}

/* Desktop Styles */
@media (min-width: 576px) {
  .markdown-content h1,
  .markdown-content h2,
  .markdown-content h3,
  .markdown-content h4,
  .markdown-content h5,
  .markdown-content h6 {
    font-size: 24px !important;
  }
  p {
    font-size: 20px;
  }
  h1 {
    font-size: 54px;
  }
  h2 {
    font-size: 34px;
  }
  h3 {
    font-size: 28px;
  }
  h4 {
    font-size: 24px;
  }
  h5 {
    font-size: 14px;
  }
  h6 {
    font-size: 14px;
  }
}

.mapboxgl-popup {
  z-index: 3 !important;
}

.mapboxgl-popup-content {
  padding: 8px 4px 4px !important;
  align-items: center;
  border-radius: 20px !important;
  justify-content: center;
  display: flex;
  flex-direction: column;
  width: 200px;
  box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.14), 0 1px 8px 0 rgba(0, 0, 0, 0.12),
    0 3px 3px -2px rgba(0, 0, 0, 0.4) !important;
}

#loading {
  color: white;
  display: none;
  font-size: 24px;
  font-weight: bold;
  animation: loadingtext 2s linear 3s infinite alternate;
}

@keyframes loadingtext {
  0% {
    color: white;
    display: initial;
  }
  24%,
  41% {
    color: #ef5350;
  }
  58%,
  75% {
    color: #ffb74d;
  }
  92%,
  100% {
    color: #26a69a;
  }
}
