:root {
  --primary-color: rgb(72, 95, 18);
}

* {
  font-family: "Poppins", sans-serif;
}

body {
  max-width: 768px;
  margin: 0 auto;
  padding: 0 8px;
  text-align: left;
}

h1 {
  color: var(--primary-color);
  margin-bottom: 0;
  text-align: left;
  line-height: 1;
}

h2 {
  color: var(--primary-color);
  margin-top: 16px;
  margin-bottom: 0;
  text-align: left;
}

.lead {
  font-size: 1.25rem;
  margin-top: 0;
  text-align: left;
}

button {
  display: block;
  border-radius: 5px;
  background-color: rgb(72, 95, 18);
  color: white;
  text-align: right;
  margin-top: 7px;
  outline: none;
  border: none;
  padding: 8px 16px;
  transition: background-color 250ms linear;
}

button:hover {
  cursor: pointer;
  background-color: rgb(72, 95, 18);
}

select {
  width: 80%;
  min-height: 140px;
  font-size: 15px;
}

.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

#background {
  display: flex;
  flex-wrap: wrap;
}

.background-cell {
  width: 50%;
}

.species-trend {
  transition: opacity 50ms linear;
}

.path-holder:hover .species-trend {
  opacity: 0.15;
}

.species-trend:hover {
  opacity: 1 !important;
}

#tooltip {
  position: absolute;
  display: none;
  background-color: #fff;
  border-radius: 5px;
  border: 1px solid black;
  font-size: 1rem;
  min-width: 200px;
}

#tooltip ul {
  padding: 0px 16px;
  list-style: none;
  list-style-position: outside;
}

#tooltip li {
  white-space: break-spaces;
}

#description {
  font-size: 14px;
  text-align: left;
  padding-right: 8px;
}

#image {
  border-radius: 20px;
}

#photo_credit {
  font-size: 1rem;
  color: black;
}

#select_instruction {
  margin-top: 0;
  font-size: 14px;
}

#filter_title {
  border-radius: 5px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 0;
  font-size: 17px;
}

#filters {
  margin-bottom: 8px;
  width: 100%;
}

#data_source {
  color: black;
  font-size: 1rem;
}

table {
  overflow: scroll;
}

tr {
  border: 1px solid black;
}

th {
  white-space: nowrap;
  padding: 0px 4px;
}

#filter-wrapper {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

#table-wrapper {
  width: min-content;
  max-width: 100%;
  overflow-x: scroll;
  border: 1px solid black;
  margin-top: 8px;
}

@media (max-width: 520px) {
  .background-cell {
    width: 100%;
  }
}
