@media (min-width: 1200px) {
  :root {
    --container: 1100px;
  }
}
@media (min-width: 1366px) {
  :root {
    --container: 1160px;
  }
}
@media (min-width: 1440px) {
  :root {
    --container: 1200px;
  }
}
@media (min-width: 1600px) {
  :root {
    --container: 1300px;
  }
}
@media (min-width: 1680px) {
  :root {
    --container: 1400px;
  }
}
@media (min-width: 1800px) {
  :root {
    --container: 1480px;
  }
}

@media (max-width: 1899px) {
  :root {
    --font-size: 9px;
    --sidebar-width: 320px;
  }
}

@media (max-width: 1679px) {
  :root {
    --font-size: 7.5px;
  }
}

@media (max-width: 1599px) {
  :root {
    --font-size: 7px;
    --sidebar-width: 300px;
  }

  h3.small,
  .h3.small {
    font-size: 24px;
  }

  .h4,
  h4 {
    font-size: 22px;
  }

  .h5,
  h5,
  .h5-initial {
    font-size: 20px;
  }

  .h6.big,
  h6.big {
    font-size: 18px;
  }

  .h6,
  h6 {
    font-size: 16px;
  }
  .custom-btn {
    min-height: 48px;
  }
}

@media (max-width: 1439px) {
  :root {
    --font-size: 6.5px;
  }
  h3.small,
  .h3.small {
    font-size: 22px;
  }

  .h4,
  h4 {
    font-size: 20px;
  }

  .h5,
  h5,
  .h5-initial {
    font-size: 18px;
  }

  .h6.big,
  h6.big {
    font-size: 16px;
  }
}

@media (max-width: 1365px) {
  :root {
    --font-size: 6px;
  }
}

@media (max-width: 1199px) {
  .hero-section {
    min-height: auto;
    padding-bottom: 18rem;
  }
  .main-content-wrapper {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
    min-height: auto;
    box-shadow: 0 0 10px #0000002e;
    z-index: 9;
  }
  .sidebar .hero-buttons {
    gap: 16px;
  }
  .main-content {
    width: 100%;
  }
  .sidebar .custom-btn.active,
  .sidebar .custom-btn.active:hover {
    background-color: var(--clr-black);
    color: var(--clr-white);
  }
  .chart {
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .sidebar .hero-buttons::-webkit-scrollbar,
  .chart::-webkit-scrollbar {
    height: 4px;
  }

  /* Track */
  .sidebar .hero-buttons::-webkit-scrollbar-track,
  .chart::-webkit-scrollbar-track {
    background: #f1f1f1;
  }

  /* Handle */
  .sidebar .hero-buttons::-webkit-scrollbar-thumb,
  .chart::-webkit-scrollbar-thumb {
    background: var(--clr-brown);
  }

  /* Handle on hover */
  .sidebar .hero-buttons::-webkit-scrollbar-thumb:hover,
  .chart::-webkit-scrollbar-thumb:hover {
    background: #555;
  }
}

@media (max-width: 991px) {
  :root {
    --space-xxl: 36px;
    --space-xl: 26px;
    --space-lg: 24px;
    --space-md: 18px;
    --space-sm: 18px;
  }
  .h1.big,
  h1.big {
    font-size: 12rem;
  }
  .h1,
  h1 {
    font-size: 30px;
  }

  .h2,
  h2 {
    font-size: 28px;
  }

  .h2.small,
  h2.small {
    font-size: 26px;
  }

  .h3,
  h3 {
    font-size: 24px;
  }

  .h3.small,
  h3.small {
    font-size: 22px;
  }

  .h4,
  h4 {
    font-size: 20px;
  }

  .h5,
  h5,
  .h5-initial {
    font-size: 18px;
  }

  .h6,
  .h6.big,
  h6,
  h6.big,
  p,
  .p {
    font-size: 16px;
  }
  .introduction-content {
    gap: 16px;
  }
  .emissions-box {
    margin-top: 0;
  }
  .forest-img-wrapper,
  .emissions-content {
    max-width: 100%;
  }
  .arrows svg {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 767px) {
  .h1-big,
  h1.big {
    font-size: 10rem;
  }
  :root {
    --font-size: 5.5px;
  }
  .custom-btn {
    white-space: nowrap;
    min-width: max-content;
    min-height: 38px;
  }
  .custom-btn span {
    font-size: 16px;
  }
  .sidebar .hero-buttons {
    overflow-x: auto;
    padding-bottom: 4px;
    gap: 8px;
  }

  .quote-box {
    max-width: 100%;
    margin-right: 0;
  }
  .column-2 {
    columns: 1;
  }
  .wind-open-pit-wrapper {
    --wind-turbines-img-width: 140px;
  }
  .chart .label,
  .chart .title-right,
  .chart .title-left {
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 575px) {
  :root {
    --font-size: 5px;
    --space-xxl: 34px;
    --space-xl: 24px;
    --space-lg: 22px;
    --space-md: 16px;
    --space-sm: 14px;
  }
  .paragraph-text {
    text-align: left;
  }
  .logo {
    max-width: 140px;
  }

  .h1-big,
  h1.big {
    font-size: 9rem;
  }

  .h1,
  .primary-title,
  h1 {
    font-size: 28px;
  }

  .h2,
  h2 {
    font-size: 26px;
  }

  .h2.small,
  h2.small {
    font-size: 24px;
  }

  .h3,
  h3 {
    font-size: 22px;
  }

  .h3.big,
  h3.big {
    font-size: 20px;
  }

  .h4,
  h4,
  .secondary-title {
    font-size: 18px;
  }
  .making-progress-detail {
    max-width: 100%;
  }
  .wind-open-pit-wrapper {
    --wind-turbines-img-width: 100%;
  }
  .open-pit-mine-img-wrapper {
    max-width: 100%;
    margin-bottom: 12px;
  }
  .chart .title-right {
    width: 180px;
    margin: auto;
  }
}

@media (max-width: 531px) {
  .custom-btn span {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .custom-btn {
    min-width: unset;
    width: 33%;
    padding: 5px 10px;
  }

  .custom-btn span {
    white-space: normal;
  }

  .emissions-grid {
    grid-template-columns: 45% 55%;
  }

  .emissions-content {
    grid-area: c / c / d / d;
  }
}
