
/* Copyright (c) 2020 by Kevin Donnigan (https://codepen.io/anythinggraphic/pen/LYPeaQV)*/
.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 {
  max-width: 1000px;
}
.bar-graph-horizontal > div {
  float: left;
  margin-bottom: 0px;
  width: 100%;
}

.bar-graph-horizontal .data {
  opacity: 0;
  -webkit-animation: fade-in-text 1.0s 1.7s forwards ;
  -moz-animation: fade-in-text 1.0s 1.7s forwards;
  animation: fade-in-text 1.0s 1.7s forwards;
  float: left;
  margin-top: -6px;
  margin-bottom: 0px;
  margin-left: 10px;
  width: 50px;
  font-weight: bold;
  font-size: 20px;
}

.bar-graph-horizontal .bar {
  border-radius: 3px;
  height: 15px;
  float: left;
  overflow: hidden;
  position: relative;
  width: 0;
}
.data-info{
  margin:0;
  margin-bottom: 25px;
  font-size: 18px;
  line-height: 23px;
}

.bar-graph-one .bar-one .bar {
  background-color: #6D9886;
  -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: #6D9886;
  -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: #6D9886;
  -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: #6D9886;
  -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: #6D9886;
  -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 Horizontal Animations */
@-webkit-keyframes show-bar-one {
  0% {
    width: 0;
  }
  100% {
    width: 72%;
  }
}

@-webkit-keyframes show-bar-two {
  0% {
    width: 0;
  }
  100% {
    width: 67%;
  }
}

@-webkit-keyframes show-bar-three {
  0% {
    width: 0;
  }
  100% {
    width: 67%;
  }
}

@-webkit-keyframes show-bar-four {
  0% {
    width: 0;
  }
  100% {
    width: 62%;
  }
}

@-webkit-keyframes show-bar-five {
  0% {
    width: 0;
  }
  100% {
    width: 58%;
  }
}

@-webkit-keyframes fade-in-text {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@media only screen and (min-width: 1280px){
  .bar-graph-horizontal .bar {
    height: 20px;
  }
  .bar-graph-horizontal .data{
    margin-top: -4px;
  }
}

@media only screen and (max-width: 1200px){
  .bar-graph-horizontal {
    max-width: 780px;
  }
}

@media only screen and (max-width: 900px){
  .bar-graph-horizontal {
    max-width: 650px;
  }
}

@media only screen and (max-width: 768px){
  .bar-graph-horizontal .data{
    font-size: 16px;
    margin-top: -4px;
  }
}

@media only screen and (max-width: 540px){
  .chart{
    margin-left: 0px;
  }
  .bar-graph-horizontal .data{
    margin-left: 10px;
  }
}
