/* Donut CSS */
.donut-container {
  display: flex;
  justify-content: space-between;
  margin: 48px 0;
}
#donut {
  width: 15rem;
  height: 15rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  position: relative;
}
#donut::before {
  content: "";
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #0d2c6c;
}
#donut {
  background: conic-gradient(#f57e29 0 44.6%, #fee1ca 44.6% 48.2%, #fbba8a 48.2% 83.6%, #f9a164 83.6% 100%);
}
#donut p,
#donut2 p {
  font-weight: bold;
  position: absolute;
}
@keyframes donut1-fill {
  25% {
    opacity: 0.25;
  }
  100% {
    opacity: 100;
  }
}
/* End Donut CSS */

/* Bar Graph CSS */
.bar-graph .year {
  -webkit-animation: fade-in-text 2.2s 0.1s forwards;
  -moz-animation: fade-in-text 2.2s 0.1s forwards;
  animation: fade-in-text 2.2s 0.1s forwards;
  opacity: 0;
}
.bar-graph-horizontal > div {
  float: left;
  margin-bottom: 8px;
  width: 100%;
}
.bar-graph-horizontal .year {
  float: left;
  width: 50px;
}
.bar-graph-horizontal .bar {
  border-radius: 3px;
  height: 55px;
  float: left;
  overflow: hidden;
  position: relative;
  width: 0;
}
.bar-graph-one .bar::after {
  -webkit-animation: fade-in-text 2.2s 0.1s forwards;
  -moz-animation: fade-in-text 2.2s 0.1s forwards;
  animation: fade-in-text 2.2s 0.1s forwards;
  color: #fff;
  content: attr(data-percentage);
  font-weight: 700;
  position: absolute;
  right: 16px;
  top: 15px;
}
.bar-graph-one .bar-one .bar {
  background-color: #fbba8a;
  -webkit-animation: show-bar-one 1.2s 0.1s forwards;
  -moz-animation: show-bar-one 1.2s 0.1s forwards;
  animation: show-bar-one 1.2s 0.1s forwards;
}
.bar-graph-one .bar-two .bar {
  background-color: #fbba8a;
  -webkit-animation: show-bar-two 1.2s 0.2s forwards;
  -moz-animation: show-bar-two 1.2s 0.2s forwards;
  animation: show-bar-two 1.2s 0.2s forwards;
}
.bar-graph-one .bar-three .bar {
  background-color: #fbba8a;
  -webkit-animation: show-bar-three 1.2s 0.3s forwards;
  -moz-animation: show-bar-three 1.2s 0.3s forwards;
  animation: show-bar-three 1.2s 0.3s forwards;
}
.bar-graph-one .bar-four .bar {
  background-color: #f57e29;
  -webkit-animation: show-bar-four 1.2s 0.4s forwards;
  -moz-animation: show-bar-four 1.2s 0.4s forwards;
  animation: show-bar-four 1.2s 0.4s forwards;
}
.bar-graph-one .bar-five .bar {
  background-color: #fbba8a;
  -webkit-animation: show-bar-five 1.2s 0.4s forwards;
  -moz-animation: show-bar-five 1.2s 0.4s forwards;
  animation: show-bar-five 1.2s 0.4s forwards;
}
.bar-graph-one .bar-six .bar {
  background-color: #f57e29;
  -webkit-animation: show-bar-six 1.2s 0.4s forwards;
  -moz-animation: show-bar-six 1.2s 0.4s forwards;
  animation: show-bar-six 1.2s 0.4s forwards;
}
@keyframes show-bar-one {
  0% {
    width: 0;
  }
  100% {
    width: 35%;
  }
}
@keyframes show-bar-two {
  0% {
    width: 0;
  }
  100% {
    width: 40%;
  }
}
@keyframes show-bar-three {
  0% {
    width: 0;
  }
  100% {
    width: 50%;
  }
}
@keyframes show-bar-four {
  0% {
    width: 0;
  }
  100% {
    width: 75%;
  }
}
@keyframes show-bar-five {
  0% {
    width: 0;
  }
  100% {
    width: 35%;
  }
}
@keyframes show-bar-six {
  0% {
    width: 0;
  }
  100% {
    width: 75%;
  }
}
@keyframes fade-in-text {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/* End Bar Graph CSS */

/* 1250 px or smaller */
@media (max-width: 1250px) {
  #sectionOne {
    flex-direction: column-reverse;
  }
  #sectionTwo {
    flex-direction: column-reverse;
  }
  #sectionTwo .w-55,
  #sectionTwo .w-45 {
    width: 100%;
  }
  /* .highlight-img {
    height: 40vh;
    object-position: 0 -200px;
  } */

  #sectionThree {
    flex-direction: column;
  }
  #sectionThree .w-35 .w-100 .w-60 {
    width: 70% !important;
  }
  #sectionThree .w-65 .w-85 {
    width: 100% !important;
    padding: 0 24px !important;
  }
  .impact-quote {
    margin: 32px auto !important;
  }
  #sectionOne .w-35,
  #sectionOne .w-65 {
    width: 100% !important;
  }
  .quote-box {
    height: 25rem;
  }
}
/* 900px or smaller */
@media (max-width: 900px) {
  .donut-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    gap: 5rem;
  }
  .bar-chart {
    flex-direction: column;
    gap: 3rem;
  }
  .bar-chart .w-50 {
    width: 100% !important;
  }
}
/* 1251 px or larger */
@media (min-width: 1251px) {
  .highlight-img {
    height: 100%;
  }
  #sectionTwo {
    margin-top: 5rem !important;
    margin-bottom: -1px;
  }
  .quote-box {
    height: 100%;
  }
}
