.tcb-hiw-module {
  overflow: hidden;
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  height: 50vh;
  min-height: 600px;
  color: #fff;
}

.tcb-hiw-module .tcb-hiw-module__bg {
  background-color: var(--dark-gray);
  width:100%;
  height: 100%;
  position: absolute;
}

.tcb-hiw-module .tcb-hiw-module__container {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.tcb-hiw-module .tcb-hiw-module__text_animation {
  display: flex;
  justify-content: center;
  align-items: center;
  /* min-height: 40px; */
  flex-direction: column;
  margin: 0 0 15px 0;
}

.tcb-hiw-module h2{
  font-size: 22px;
  font-family: Muli;
  font-weight: 700;
  letter-spacing: 1px;
}

.tcb-hiw-module__title {
  margin: 0;
}

.tcb-hiw-module__title__inner{
  align-self: center;
  margin: 0;
}
.tcb-hiw-module__title__digits{
  display: flex;
  justify-content: center;
  overflow: hidden;
  margin: 0 0 0 6px;
  height: 36px;
}

.tcb-hiw-module__text_animation__wrapper{
  position: relative;
  display: flex;
  flex-direction: row;
}

.tcb-hiw-module__title__equal, .tcb-hiw-module__title__dollars{
  margin: 6px;
}

.tcb-hiw-module__title__digit_1 {
  word-break: break-all;
  width: 15px;
  line-height: 36px;
  margin: 0;
  transform: translateY(0px);
  transition: transform 750ms ease;
}

.tcb-hiw-module__title__digit_2 {
  word-break: break-all;
  width: 15px;
  line-height: 36px;
  margin: 0;
  transform: translateY(0px);
  transition: transform 750ms ease;
}

.tcb-hiw-module__text_bottom{
  display: flex;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  width: calc(100% - 60px);
  margin: 0 auto;
}

.tcb-hiw-module__graph_animation{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: 70px;
  width: calc(100% - 80px);
  max-width: 60%;
  align-self: center;
  margin: 25px 0 45px 0;
  border-left: 1px solid var(--orange);
  padding: 0 0 0 8px;
}

.tcb-graph_animation__month{
  background-color: rgba(255, 255, 255, .9);
  width: 12px;
  position: relative;
  font-size: 13px;
  transition: height 500ms ease, opacity 500ms ease;
  height: 0;
}

.tcb-graph_animation__month::after{
  position: absolute;
  width: 100%;
  height: 20px;
  bottom: 0;
  transform: translateY(100%);
  padding: 8px 0 0 0;
  font-family: Muli;
  font-weight: 700;
  font-size: 8px;
  text-align: center;
}

.tcb-active-month {
  background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(243,110,36,1) 70%);
}

.month-1 {
  background-color:#7a7474;
  fill:#7a7474;
}

.month-label{
  position: absolute;
  width: 100%;
  height: 20px;
  bottom: 0;
  transform: translateY(100%);
  padding: 8px 0 0 0;
  font-family: Muli;
  font-weight: 700;
  font-size: 8px;
  text-align: center;
}

.month-1 .month-label::before{
  content: 'J';
}

.month-2 {
  fill:#868080;
  background-color: #868080;
  /* background-color: rgba(255, 255, 255, calc(0.25 + 0.068 * 1)); */
}

.month-2 .month-label::before{
  content: 'F';
}

.month-3 {
  fill:#918c8c;
  background-color: #918c8c;
  /* background-color: rgba(255, 255, 255, calc(0.25 + 0.068 * 2)); */
}

.month-3 .month-label::before{
  content: 'M';
}

.month-4 {
  fill:#9e9a9a;
  background-color: #9e9a9a;
  /* background-color: rgba(255, 255, 255, calc(0.25 + 0.068 * 3)); */
}

.month-4 .month-label::before{
  content: 'A';
}

.month-5 {
  background-color: #aaa6a6;
  fill: #aaa6a6
  /* background-color: rgba(255, 255, 255, calc(0.25 + 0.068 * 4)); */
}

.month-5 .month-label::before{
  content: 'M';
}

.month-6 {
  background-color: #b6b2b2;
  fill: #b6b2b2;
  /* background-color: rgba(255, 255, 255, calc(0.25 + 0.068 * 5)); */
}

.month-6 .month-label::before{
  content: 'J';
}

.month-7 {
  background-color: #c2c0c0;
  fill: #c2c0c0;
  /* background-color: rgba(255, 255, 255, calc(0.25 + 0.068 * 6)); */
}

.month-7 .month-label::before{
  content: 'J';
}

.month-8 {
  background-color: #cecccc;
  fill: #cecccc
  /* background-color: rgba(255, 255, 255, calc(0.25 + 0.068 * 7)); */
}

.month-8 .month-label::before{
  content: 'A';
}

.month-9 {
  background-color:#dad8d8;
  fill:#dad8d8;
  /* background-color: rgba(255, 255, 255, calc(0.25 + 0.068 * 8)); */
}

.month-9 .month-label::before{
  content: 'S';
}

.month-10 {
  background-color: #e7e5e5;
  fill:#e7e5e5;
  /* background-color: rgba(255, 255, 255, calc(0.25 + 0.068 * 9)); */
}

.month-10 .month-label::before{
  content: 'O';
}

.month-11 {
  background-color:#f2f2f2;
  fill:#f2f2f2;
  /* background-color: rgba(255, 255, 255, calc(0.25 + 0.068 * 10)); */
}

.month-11 .month-label::before{
  content: 'N';
}

.month-12 {
  background-color:#fffcfa;
  fill:#fffcfa;
  /* background-color: rgba(255, 255, 255, calc(0.25 + 0.068 * 11)); */
}

.month-12 .month-label::before{
  content: 'D';
}

.month-12 .tcb-active-month {
  height: calc(10% + (7.5*12%)) !important;
  transition: height 500ms ease;
}

.bar-top{
  position: absolute;
  transform: translateY(-95%);
}

.tcb-active-month .bar-top{
  fill:var(--orange);
}

/* .tcb-graph_animation__month::before{
  content: '';
  width: inherit;
  height: 11px;
  position: absolute;
  transform: translateY(-98%);
  background-image: url('../../assets/images/triangle.svg');
  background-repeat: no-repeat;
  background-size: cover;
} */

/* .tcb-active-month::before{
  opacity: 1 !important;
  background-image: url('../../assets/images/active-triangle.svg') !important;
} */

.tcb-hiw-module__text_bottom__subtitle{
  font-family: Muli;
  font-size: 15px;
  line-height: 19px;
}

.tcb-hiw-module__text_bottom__disclaimer {
  font-family: Muli;
  font-size: 12px;
  line-height: 18px;
  text-align: left;
}

h1#how-it-works-title {
  background: none;
  text-align: center;
  margin-bottom: 0;
}

@media screen and (min-width: 300px){
  .month-label::before{
    font-size: 9px;
  }

}

@media screen and (min-width: 400px){
  .month-label::before{
    width: 15px;
  }

  .month-12::before{
    height: 6px;
  }

  .tcb-hiw-module h2{
    font-size: 24px;
  }

  .tcb-hiw-module__graph_animation{
    width: 55%;
    height: 90px;
    max-width: unset;
  }
}

@media screen and (min-width: 500px){
  .tcb-hiw-module__graph_animation{
    width: 50%;
  }
}

@media screen and (min-width: 600px){
  .tcb-graph_animation__month{
    width: 20px;
  }

  .month-label::before{
    font-size: 11px;
  }

  /* .tcb-graph_animation__month::before{
    height: 8px;
  } */

  .tcb-hiw-module__graph_animation{
    width: 55%;
    height: 120px;
  }

  .tcb-hiw-module .tcb-hiw-module__text_animation {
    flex-direction: row;
  }

  .tcb-hiw-module__title__digits{
    display: flex;
    justify-content: center;
    overflow: hidden;
    margin: 0 0 0 6px;
  }

  .tcb-hiw-module__title__digit_1 {
    word-break: break-all;
    width: 15px;
    margin: 0;
    transform: translateY(0px);
    transition: transform 750ms ease;
  }

  .tcb-hiw-module__title__digit_2 {
    word-break: break-all;
    width: 15px;
    margin: 0;
    transform: translateY(0px);
    transition: transform 750ms ease;
  }

  .tcb-hiw-module__text_bottom{
    width: 60%;
  }

  .tcb-hiw-module__text_bottom__disclaimer {
    text-align: center;
  }

  .tcb-hiw-module__text_bottom__subtitle{
    font-size: 16px;
  }
}

/* desktop */
@media screen and (min-width: 768px){

  h1#how-it-works-title {
    padding-left: 100px;
    padding-right: 100px;
  }
  .tcb-hiw-module {
    overflow: hidden;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    height: 60vw;
    max-height: 800px;
    min-height: unset;
    color: #fff;
  }

  .tcb-hiw-module .tcb-hiw-module__bg {
    background-position: center 0%;
  }

  .tcb-hiw-module__bg__transition{
    transition: background-position 2000ms;
  }

  .tcb-hiw-module h2{
    font-size: 24px;
  }

  .bar-top{
    transform: translateY(-98%);
  }

  .tcb-hiw-module__graph_animation{
    margin: 45px 0 45px 0;
  }

  .tcb-hiw-module .tcb-hiw-module__text_animation{
    margin: 20px 0 0 0;
  }

  .tcb-graph_animation__month{
    width: 25px;
  }

  .month-1 .month-label::before{
    content: 'Jan';
  }

  .month-2 .month-label::before{
    content: 'Feb';
  }

  .month-3 .month-label::before{
    content: 'Mar';
  }

  .month-4 .month-label::before{
    content: 'Apr';
  }

  .month-5 .month-label::before{
    content: 'May';
  }

  .month-6 .month-label::before{
    content: 'Jun';
  }

  .month-7 .month-label::before{
    content: 'Jul';
  }

  .month-8 .month-label::before{
    content: 'Aug';
  }

  .month-9 .month-label::before{
    content: 'Sep';
  }

  .month-10 .month-label::before{
    content: 'Oct';
  }

  .month-11 .month-label::before{
    content: 'Nov';
  }

  .month-12 .month-label::before{
    content: 'Dec';
  }

}

@media screen and (min-width: 900px){
  .tcb-graph_animation__month{
    width: 28px;
  }

  /* .tcb-graph_animation__month::before{
    height: 12px;
    transform: translateY(-98%);
  } */

  .bar-top{
    transform: translateY(-95%);
  }

  .tcb-hiw-module h2{
    font-size: 34px;
  }

  .tcb-hiw-module__title__equal, .tcb-hiw-module__title__dollars{
    margin: 0 6px  0px 2px;
  }

  .tcb-hiw-module__title__digits{
    margin: 0 0 0 6px;
  }

  .tcb-hiw-module__title__digit_1 {
    width: 20px;
    margin: 0;
  }

  .tcb-hiw-module__title__digit_2 {
    width: 17px;
  }

  .tcb-hiw-module__text_bottom__subtitle{
    font-size: 17px
  }

  .tcb-hiw-module__graph_animation{
    width: 60%;
  }

  .tcb-hiw-module__title__inner {
    padding-left: 6px;
  }
}

@media screen and (min-width: 1200px) {
  .tcb-hiw-module h2{
    font-size: 38px;
  }
  .tcb-hiw-module__title__digit_1 {
    width: 23px;
    margin: 0;
  }

  .tcb-hiw-module__graph_animation{
    width: 70%;
  }

  .tcb-hiw-module__title__dollars{
    margin-top: -3px;
  }
}

@media screen and (min-width: 1400px) {
  .tcb-hiw-module h2{
    font-size: 41px;
  }
  .tcb-graph_animation__month{
    width: 35px;
  }

  .tcb-hiw-module  .tcb-hiw-module__text_animation{
    margin: 0 0 60px 0;
  }

  /* .tcb-graph_animation__month::before{
    height: 15px;
    transform: translateY(-98%);
  } */

  .tcb-hiw-module__text_bottom__subtitle{
    font-size: 19px
  }

  .tcb-hiw-module__title__dollars{
    margin-top: -6px;
  }
}
