/* Media Queries */
/* Card sizing */
/* Colors */
/* Calculations */
/* Placeholders */
@media (min-width: 1000px) {
  #timeline .demo-card:nth-child(even) .head::after, #timeline .demo-card:nth-child(odd) .head::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
  }

  #timeline .demo-card:nth-child(even) .head::before, #timeline .demo-card:nth-child(odd) .head::before {
    position: absolute;
    content: "";
margin-top:100px;
    width: 9px;
    height: 9px;
    background-color: #f2dfff;
    border-radius: 9px;
    box-shadow: 0px 0px 2px 8px #caabdb;
  }
}
/* Some Cool Stuff */
.demo-card:nth-child(1) {
  order: 1;
}

.demo-card:nth-child(2) {
  order: 4;
}

.demo-card:nth-child(3) {
  order: 2;
}

.demo-card:nth-child(4) {
  order: 5;
}

.demo-card:nth-child(5) {
  order: 3;
}

.demo-card:nth-child(6) {
  order: 6;
}

/* Border Box */
* {
  box-sizing: border-box;
}

#timeline {
  background: none;
 /* border-top: 1px solid rgb(153, 21, 21);
  border-bottom: 1px solid rgba(191, 191, 191, 0.4);*/
  background: #f5f5f5;
  padding:50px 0 30px 0;
}
#timeline h1 {
  text-align: center;
  font-size: 3rem;
  font-weight: 200;
  margin-bottom: 20px;
}
#timeline p.leader {
  text-align: center;
  max-width: 90%;
  margin: auto;
  margin-bottom: 45px;
}
#timeline .demo-card-wrapper {
  position: relative;
  margin: auto;
}
@media (min-width: 1000px) {
  #timeline .demo-card-wrapper {
    display: flex;
    flex-flow: column wrap;
    width: 1170px;
    height: 1700px;
    margin: 0 auto;
  }
}
#timeline .demo-card-wrapper::after {
  z-index: 1;
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  border-left: 2px solid #a974cf;
  
}
@media (min-width: 1000px) {
  #timeline .demo-card-wrapper::after {
    border-left: 2px solid #a974cf;
  }
}
#timeline .demo-card {
  position: relative;
  display: block;
  padding: 0 0 30px 0;
  margin: 10px auto 40px;
  max-width: 94%;
  z-index: 2;
}
@media (min-width: 480px) {
  #timeline .demo-card {
    max-width: 95%;
  }
  
  #timeline .demo-card .head h2 {
      text-transform: uppercase;
      font-size: 1.3rem;
      font-weight: inherit;
      letter-spacing: 2px;
      margin: 15px;
    
    }
}
@media (min-width: 720px) {
  #timeline .demo-card {
    max-width: 60%;
  }
}
@media (min-width: 1000px) {
  #timeline .demo-card {
    max-width: 450px;
    /*height: 400px;*/
    margin: 90px;
    margin-top: 45px;
    margin-bottom: 100px;
  }
  #timeline .demo-card:nth-child(odd) {
    margin-right: 45px;
  }
  #timeline .demo-card:nth-child(odd) .head::after {
    border-left-width: 15px;
    border-left-style: solid;
    left: 100%;
  }
  #timeline .demo-card:nth-child(odd) .head::before {
    left: 491.5px;
  }
  #timeline .demo-card:nth-child(even) {
    margin-left: 45px;
  }
  #timeline .demo-card:nth-child(even) .head::after {
    border-right-width: 15px;
    border-right-style: solid;
    right: 100%;
  }
  #timeline .demo-card:nth-child(even) .head::before {
    right: 489.5px;
  }
  #timeline .demo-card:nth-child(2) {
    margin-top: 230px;
  }
}
#timeline .demo-card .head {
  position: relative;
  align-items: center;
  color: #8c50a6;
  font-weight: 400;

}
#timeline .demo-card .head .number-box {
  padding:30px 0 0 0;
  margin: 0 15px 15px 30px;
  font-size: 2.5rem;
  font-weight: 600;
}
#timeline .demo-card .head h2 {
  text-transform: uppercase;
  font-size: 1.5rem;
  font-weight: inherit;
  letter-spacing: 2px;
  margin: 30px 10px 10px 30px;
  padding-top:2px solid #000;

}


#timeline .demo-card .head h2 span {
  display: block;
  font-size: 0.6rem;
  margin: 0;
}


@media (min-width: 480px) {
  #timeline .demo-card .head h2 span {
    font-size: 0.8rem;
  }
  
}
#timeline .demo-card .body {

  border-top: 0;
  padding: 15px;
}
@media (min-width: 1000px) {
  #timeline .demo-card .body {
    height: 100%;
  }
}

#timeline .demo-card .body p {
  font-size: 1.5rem;
  line-height: 3rem;
  margin:0 20px 15px;
}
#timeline .demo-card .body .flow_img{
  display: block;
  width: 300px;
  height: 300px;
  border-radius: 50% 50%;
  margin: 0 auto;
  text-align: center;
  object-fit: cover; 
}
#timeline .demo-card--step1 {
  background-color: #fff;
  border-radius: 10px;
}
#timeline .demo-card--step1 .head::after {
  border-color:#fff;
}
#timeline .demo-card--step2 {
  background-color:#fff;
  border-radius: 10px;
}
#timeline .demo-card--step2 .head::after {
  border-color:#fff;
}
#timeline .demo-card--step3 {
  background-color:#fff;
  border-radius: 10px;
}
#timeline .demo-card--step3 .head::after {
  border-color:#fff;
}
#timeline .demo-card--step4 {
  background-color:#fff;
  border-radius: 10px;
}
#timeline .demo-card--step4 .head::after {
  border-color:#fff;
}
#timeline .demo-card--step5 {
  background-color:#fff;
}
#timeline .demo-card--step5 .head::after {
  border-color:#fff;
}