#statista-charts {
  display: flex;
  flex-direction: column;
  gap: 50px;
  max-width: 1400px;
  margin: auto;
  padding: 20px 40px;
  font-family: 'UniversLTPro', sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #46413C ;

  * {
    box-sizing: border-box;
  }
}

#statista-charts-line {
  .statista-title {
    width: fit-content;
    font-size: 32px;
    line-height: 48px;
    text-align: left;
    font-weight: 300;
  }

  .statista-text {
    width: min-content;
    min-width: 100%;
    text-align: left;
  }

  .statista-chart-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 700px;
  }

  .statista-chart-buttons {
    display: flex;
    flex-flow: row wrap;
    gap: 15px 35px;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .statista-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: black;
  }

  .statista-btn:hover {
    opacity: 0.8;
  }

  .statista-btn:active {
    opacity: 0.6;
  }

  .statista-btn[data-series-hidden="true"] {
    opacity: 0.5;
  }

  .statista-btn .statista-btn-icon {
    display: inline-block;
    width: 15px;
    height: 15px;
  }

  .statista-btn[data-series="C02-Emissionen"] .statista-btn-icon {
    background-color: #004B5A;
  }

  .statista-btn[data-series="Witterungsbereinigte C02-Emissionen"] .statista-btn-icon {
    background-color: #78AA91;
  }

  .statista-btn[data-series="Energiekosten"] .statista-btn-icon {
    background-color: #A09B96;
  }
}

@media (max-width: 1000px) {
  #statista-charts {
    padding: 10px 10px;
  }

  #statista-charts-line {
    .statista-chart-container {
      min-height: 500px;
    }

    .statista-title {
      line-height: 35px;
      margin-bottom: 20px;
    }
  }
}