
#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;
  a {
          color: #46413C;
      }

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

#statista-charts-gauge {
  box-sizing: border-box;
  min-width: 100%;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto 1fr 1fr;
  grid-template-areas:
    "title charts"
    "text charts"
    "buttons charts"
    "buttons charts";
  gap: 10px;

  .statista-title {
    grid-area: title;
    width: max-content;
    font-size: 32px;
    line-height: 48px;
    font-weight: 300;
  }

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

  .statista-charts {
    grid-area: charts;
    width: 100%;
    overflow: hidden;
  }

  .statista-chart-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding-left: 50px;
    font-size: max(1.4vw, 10px);
  }

  .statista-all-charts {
    display: none;
    padding-left: 50px;
    height: 100%;
  }

  .statista-all-charts > div {
    display: flex;
    height: 50%;
  }

  .statista-all-charts .statista-chart {
    width: 50%;
    height: 100%;
    font-size: max(0.6vw, 5px);
  }

  .statista-chart-buttons {
    grid-area: buttons;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 60px;
    margin-bottom: 200px;
  }

  .statista-btn {
    width: 250px;
    max-width: 100%;
    padding: 5px 0;
    cursor: pointer;
    font-size: 16px;
    text-align: left;
    transition: all 0.3s;
  }

  .statista-btn .statista-btn-icon {
    position: absolute;
    transform: translateX(-25px);
    color: #9c2519;
    font-size: 18px;
    opacity: 0;
    transition: all 0.3s;
  }

  .statista-btn:hover,
  .statista-btn:active,
  .statista-btn.active {
    font-weight: bold;
    padding-left: 25px;

  }

  .statista-btn:hover .statista-btn-icon,
  .statista-btn:active .statista-btn-icon,
  .statista-btn.active .statista-btn-icon {
    opacity: 1;
  }
}

@media (max-width: 1000px) {
    #statista-charts {
    padding: 10px 10px;
    }
    #statista-charts-gauge {
    grid-template-columns: auto auto;
    grid-template-rows: auto auto 1fr auto;
    grid-template-areas:
      "title title"
      "text text"
      "charts charts"
      "buttons buttons";

    .statista-chart-container {
      height: 400px;
    }

    .statista-all-charts .statista-chart {
      height: 200px;
    }

    .statista-chart-buttons {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
      margin-top: 0;
      margin-bottom: 0;
    }

    .statista-chart-buttons .statista-btn {
      width: 150px;
      margin: auto;
      padding-top: 0;
      padding-bottom: 0;
      font-size: 14px;
      white-space: nowrap;
    }

    .statista-charts,
    .statista-chart-container,
    .statista-all-charts {
      margin: 0 auto;
      padding: 0;
    }
  }
}