body {
  font-family: "Roboto", sans-serif;
}
a {
  color: #65acc5;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.btn-outline-primary {
  color: #65acc5;
  border-color: #65acc5;
}
.btn-outline-primary:hover {
  background: #65acc5;
}
.btn-light {
  color: #65acc5;
}

.navbar {
  background: #556970;
}
.navbar a {
  color: #fff;
}

main {
  min-height: 75vh;
  padding-bottom: 3rem;
}

.text-white {
  color: #fff;
}
.bg-blue {
  background: #98c9d4;
}

.logo {
  mix-blend-mode: darken;
}

.description p,
.source p {
  display: inline;
}

h1,
h2,
h3,
h4 {
  font-family: "Barlow", sans-serif;
  margin-bottom: 1rem;
}
h4 {
  text-transform: uppercase;
  color: #996666;
}

#hero {
  background-size: contain;
  background-position: center;
  background-image: url(/static/img/cover.png);
  background-repeat: no-repeat;
}
#hero h1 {
  font-size: 6rem;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.1;
  font-weight: bold;
  text-shadow: 4px 4px 15px #005c7b99;
}

#hero h2 {
  font-size: 3rem;
  font-weight: bold;
  text-shadow: 4px 4px 15px #005c7b99;
}

.text li {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.lbl {
  text-transform: uppercase;
  font-size: 0.9rem;
  margin: 0.25rem 0;
  color: #777;
  letter-spacing: 0.25px;
}

.text-columns {
  column-gap: 40px;
}
.text-columns li {
  line-height: 1.333;
  break-inside: avoid;
  padding-top: 2px;
  padding-bottom: 6px;
}

@media (min-width: 768px) {
  .text-columns {
    column-count: 2;
  }
}

@media (min-width: 992px) {
  .text-columns {
    column-count: 3;
  }
}

@media (min-width: 1200px) {
  .text-columns {
    column-count: 4;
  }
}

/* sankey */

.column_label text {
  font-size: 1.5rem;
  font-family: "Barlow", sans-serif;
  text-transform: uppercase;
  fill: #996666;
}
.sector .column_label text {
  font-size: 1.25rem;
}
.company .column_label text {
  font-size: 1.25rem;
}

.node rect {
  cursor: move;
  fill-opacity: 0.9;
  shape-rendering: crispEdges;
  stroke-width: 0;
  fill: #999;
  transition: 0.25s opacity;
}

rect.x0 {
  fill: #a00;
}
rect.x1 {
  fill: #d98a02;
}
rect.x2 {
  fill: #ebce0e;
}
rect.x3 {
  fill: #6bc900;
}
rect.x4 {
  fill: #1b989e;
}
rect.x5 {
  fill: #045db5;
}
rect.x6 {
  fill: #666;
}

.legend {
  font-size: 0.9rem;
  line-height: 1.3;
  margin-bottom: 0.4rem;
}

.node text {
  pointer-events: none;
  text-shadow: 0 1px 0 #fff;
  transition: 0.25s opacity;
}

.link {
  fill: none;
  stroke: #000;
  stroke-opacity: 0.1;
  transition: 0.25s opacity;
}

.link.parent-of,
.link.subsidiary-of,
.link.partner-in-joint-venture {
  stroke-dasharray: 5;
}

.link.highlight,
.link:hover {
  stroke-opacity: 0.5;
}

.highlight {
  opacity: 1 !important;
}
.highlight rect {
  opacity: 1 !important;
}
.highlight text {
  opacity: 1 !important;
}

#networkcontainer {
  position: relative;
  padding-left: 1rem;
}
#labels {
  position: -webkit-sticky;
  position: sticky;
  top: -1px;
  padding-bottom: 1rem;
  background: rgb(255, 255, 255);
  background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 80%);
}
