/*html {*/
/*  font-size: 14px;*/
/*}*/

/*body {*/
/*  background: #f6f9fc;*/
/*  font-family: "Open Sans", sans-serif;*/
/*  color: #525f7f;*/
/*}*/

/*h2 {*/
/*  margin: 5%;*/
/*  text-align: center;*/
/*  font-size: 2rem;*/
/*  font-weight: 100;*/
/*}*/



/*.timeline {*/
/*  display: flex;*/
/*  flex-direction: column;*/
/*  width: 50vw;*/
/*  margin: 5% auto;*/
/*}*/

.timeline {
    display: flex;
    flex-direction: column;
    width: 75vw;
    margin: 0 auto;
    /* margin: 0% auto; */
}


.timeline__event {
  background: #fff;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  margin: 20px 0;
  border-radius: 8px;
  box-shadow: 0 30px 60px -12px rgba(50, 50, 93, 0.25), 0 18px 36px -18px rgba(0, 0, 0, 0.3), 0 -12px 36px -8px rgba(0, 0, 0, 0.025);
}
.timeline__event__title {
  font-size: 1.2rem;
  line-height: 1.4;
  text-transform: uppercase;
  font-weight: 600;
  color: #9251ac;
  letter-spacing: 1.5px;
  margin-bottom:1.5rem;
}
.timeline__event__content {
  padding: 20px;
}
.timeline__event__date {
  color: #f6a4ec;
  font-size: 1.5rem;
  font-weight: 600;
  /*white-space: nowrap;*/
  max-width:210px;
  width:210px;
  
}
.timeline__event__icon {
  border-radius: 8px 0 0 8px;
  background: #9251ac;
  display: flex;
  align-items: center;
  justify-content: center;
  /*flex-basis: 40%;*/
  width:230px;
  font-size: 2rem;
  color: #9251ac;
  padding: 20px;
}
.timeline__event__icon i {
  position: absolute;
  top: 50%;
  right: -65px;
  font-size: 2.5rem;
  transform: translateY(-50%);
}
.timeline__event__description {
  flex-basis: 60%;
}
.timeline__event:after {
  content: "";
  width: 2px;
  height: 100%;
  background: #9251ac;
  position: absolute;
  top: 52%;
  right: -3.5rem;
  z-index: -1;
  display:none;
}
.timeline__event:before {
  content: "";
  width: 5rem;
  height: 5rem;
  position: absolute;
  background: #f6a4ec;
  border-radius: 100%;
  right: -6rem;
  top: 50%;
  transform: translateY(-50%);
  border: 2px solid #9251ac;
  display:none;
}
.timeline__event--type2:before {
  background: #87bbfe;
  border-color: #555ac0;
}
.timeline__event--type2:after {
  background: #555ac0;
}
.timeline__event--type2 .timeline__event__date {
  color: #87bbfe;
  width:210px;
  
}
.timeline__event--type2 .timeline__event__icon {
  background: #555ac0;
  color: #555ac0;
  width:230px;
}
.timeline__event--type2 .timeline__event__title {
  color: #555ac0;
}
.timeline__event--type3:before {
  background: #aff1b6;
  border-color: #24b47e;
}
.timeline__event--type3:after {
  background: #24b47e;
}
.timeline__event--type3 .timeline__event__date {
  color: #aff1b6;
  width:210px;
}
.timeline__event--type3 .timeline__event__icon {
  background: #24b47e;
  color: #24b47e;
  width:230px;
}
.timeline__event--type3 .timeline__event__title {
  color: #24b47e;
}
.timeline__event:last-child:after {
  content: none;
}

@media (max-width: 786px) {
  .timeline__event {
    flex-direction: column;
  }

  .timeline__event__icon {
    border-radius: 4px 4px 0 0;
  }
   .timeline__event__icon{
       width: 100%;
   }
  .timeline__event--type3 .timeline__event__icon {
        width: 100%;    
  }
  .timeline__event--type2 .timeline__event__icon {
        width: 100%;    
  }
}
@media (max-width:480px){
    .timeline__event:before {
        display:none;
    }
    .timeline__event:after {
        display:none;
    }
 .timeline__event__icon i {
     display:none;
 } 
 .timeline {
     width:90vw;
 }
}