/* main {
    margin: 0;
    padding: 0;
    padding-top: 60px;
    background-color: white;
  } */
  .timeline h5 {
    font-size: 1.7rem;
    color: var(--terciary-color);
    margin-bottom: 0;
  }
  .timeline p {
    font-size: 1rem;;
  }

  article.timeline:first-of-type {
    margin-top: 5rem;
  }
  
  article.timeline {
    margin: 0 auto;
    width: 830px;
    min-height: 200px;
    display: flex;
    align-items: flex-start;
    padding-bottom: 90px;
    flex-shrink: 1;
  }

  @media screen and (max-width: 900px){
    article.timeline {
          width: 500px;
          flex-direction: row-reverse;
          margin-left: -4rem;
          padding-bottom: 30px;
      }
  }

  
article.timeline:nth-child(even) {
    flex-direction: row-reverse;
  }
  
  .text {
    width: 330px;
    min-height: 100px;
    box-sizing: border-box;
    text-align: right;
    padding-left: 20px;
    padding-right: 20px;
    align-items: flex-start;
    line-height: 1.5;
  }

  @media screen and (max-width: 855px){
    .text {
        text-align: left;
    }
  }
  @media screen and (max-width: 530px){
    article.timeline {
        width: 370px;
        flex-direction: row-reverse;
        padding-bottom: 1rem;
        margin-left: -7.5rem;
        margin-right: 20px;
    }
    .article.timeline h5 {
      font-size: 1.1rem;
    }
}
 @media screen and (max-width: 530px){
  .text {
        width: 250px;
        padding-left: 0;
        padding-right: 10px;
        }
  }
  
  article.timeline:nth-child(even) .text{
    text-align: left;
  }
  
  article.timeline:last-of-type {
    padding-bottom: 2;
  }


  article.timeline:last-of-type .image::after {
      content: none;
  }
  
  img {
    max-width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    
  }
  
  .image {
    width: 130px;
    height: 130px;
    display:flex;
    justify-content: center;
    align-items: center;
    flex-shrink:1;
    /* border: solid 5px #e9ecef; */
    border-radius: 50%;
    box-sizing: border-box;
    margin: 20px;
    margin-top: 0px;
    background-position: center center;
    background-size: cover;
    /* background-color: #fed136; */
    position: relative;
  }

  .image::after{
      content: "";
      position: absolute;
      top: 125px;
      left: 50%;
      transform: translateX(-50%);
      width: 1px;
      height: 140%;
      background: #e9ecef;
  }
 
  
  @media screen and (max-width: 530px){
    .image {  
        width: 80px;
        height: 80px;
    }
    .image::after {
        top:73px;
        height: 350%;
    }

.last {
    box-sizing: border-box;
    width: 50%;
    height: 50%;
    margin-top: -10px;
  }
}
