body {
  background-color: white;
  font-size: 18px;
}

.navbar {
  background-color: rgb(51, 52, 118);
}

#logo {
  height: 70px;
  width: auto;
  margin: 0 40px 0 50px;
}

.nav-link {
  font-size: 22px;
  text-align: right;
  margin-left: 40px;
  color: rgb(134, 215, 240);
  font-family: Arial, Helvetica, sans-serif;
}

.nav-link:hover {
  color: rgb(237, 244, 247);
}

#search {
  width: 150px;
}

.sidenav {
  margin: auto 10px auto 10px;
  width: 320px;
  height: 70vh;
  position: fixed;
  top: 170px;
  left: 0;
  overflow: scroll;
}

h1 {
  color: rgb(65, 99, 159);
  margin: 3% auto 3% auto;
  font-size: 30px;
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
}

.btn-polymer {
  border: solid 1px white;
  background-color: rgb(57, 85, 145);
  color: rgb(180, 225, 242);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  width: 320px;
}

.btn-polymer:hover {
  background-color: rgb(141, 205, 245);
  color: rgb(26, 27, 59);
}

#text-section {
  margin: 70px 40px 30px 30px;
  position: relative;
  left: 370px;
  background-color: #f1f7fc;
  width: 70%;
}

.subhead {
  color: #1f2f78;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 2px;
  margin: 30px 10px;
  padding: 10px;
}

.img-structure {
  margin: 30px;
  align-self: center;
}

#cellulose-structure {
  width: 30%;
  height: auto;
}

#tab {
  background-color: rgb(208, 218, 252);
  color: rgb(16, 16, 91);
  margin: 30px 0;
  border-radius: 3px;
}

th,
td {
  padding: 5px 10px;
}

p {
  color: rgb(6, 6, 34);
  border-radius: 5px;
  padding: 20px;
  font-size: 16px;
  margin: 20px 0;
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 1px;
  text-align: justify;
  width: 94%;
}

svg {
  background-color: rgb(255, 255, 255);
}

#resources-link {
  color: navy;
  font-weight: bold;
}

#ref-link {
  color: rgb(25, 25, 123);
}

.line {
  fill: none;
  stroke: #191879;
  stroke-width: 2;
}

g {
  font-size: 12px;
}

.overlay {
  fill: none;
  pointer-events: all;
}

.focus circle {
  fill: rgb(34, 28, 117);
  stroke: rgb(34, 28, 117);
  stroke-width: 2px;
}

.hover-line {
  stroke: rgb(7, 6, 24);
  stroke-width: 2px;
  stroke-dasharray: 3, 3;
}

.tooltip-bonds {
  font-weight: 600;
}

h5 {
  color: white;
  margin-top: 20px;
  letter-spacing: 1px;
  font-size: 22px;
}

footer {
  background-color: rgb(45, 60, 145);
  color: white;
  text-align: center;
  font-size: 18px;
  width: 100%;
  margin: 0 auto;
}
