.buttons-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-top: 20px;
  justify-content: start;
  padding-bottom: 20px;
}

button.inner-button {
  all: initial;
  font-family: -apple-system, BlinkMacSystemFont, 'Trebuchet MS', Roboto, Ubuntu, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.32px;
  padding: 1px 24px;
  cursor: pointer;
  color: gray;
  font-size: 1.2rem;
  transition: all 300ms;
  border-bottom: 1px solid transparent;
  border-right: 1px solid black;
}
button.inner-button:last-child {
  border-right: none;
}
button.inner-button:first-child {
  padding-left: 0;
}

button.inner-button.active-filter {
  color: #dd052b;
  position: relative;
}
button.inner-button.active-filter::before {
  content: "";
  position: absolute;
  left: 25%;
  bottom: 0px;
  display: block;
  height: 2px;
  width: 50%;
  margin: auto;
  background-color: black;
}
button.inner-button.active-filter:first-child::before {
  left: -10%;
  width: 70%;
}

@media screen and (max-width: 576px) {
  .buttons-container {
    justify-content: center;
  }
  .tv-lightweight-charts {
    margin-top: 20px;
  }
  .stock-legend-content {
    position: relative !important;
    top: -50px !important;
  }
}

@media screen and (min-width: 900px) and (max-width: 1680px) {
  #chart {
    width: 80%;
    margin: 0 auto;
  }
}
