.timeline{

  .heading{
    text-transform: uppercase;

    color:var(--blue);
    margin-bottom:20px;
    font-size:40px;
    @media(min-width:768px){
      margin-bottom:30px;
      font-size:80px;
    }
  }
  .bottom{
    color:var(--blue);
    .line{
      font-size:30px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding:30px 0px;
      position: relative;
      gap:40px;
      @media(min-width: 768px){
        display: grid;
        grid-template-columns: 1fr 100px 1fr;
        padding:50px 0px;
      }
      @media(min-width: 768px) {
        &:not(:last-of-type) {
          &:after {
            content: "";
            position: absolute;
            bottom: -50%;
            height: 100%;
            border: 1px solid var(--blue);
            border: 1px solid var(--blue);
            left: 50%;
            z-index: -2;
            width: 2px;
          }
        }
      }

    }
    p{
      padding: 0px 30px;
      align-self: center;
    }
    .first{

      font-size: 30px;
      text-transform: uppercase;
      text-align: right;
      line-height:100%;
      @media(max-width: 768px){
        order:2;
        br{
          display: none;
        }
      }
      @media(min-width: 768px){
        font-size: 40px;
      }
      @media(min-width: 1366px){
        font-size: 60px;
      }
    }
    i{
      position: relative;
      z-index: 1;
      display: grid;
      width:80px;
      place-items: center;
      height: 80px;
      color:#fff;
      font-size:20px;
      background:var(--blue);
      border-radius: 50%;
      font-weight: bold;
      justify-self: center;
      align-self: center;
      @media(max-width: 768px){
        order:1;
      }
    }
    .last{
      text-align: left;
      order:3;
      max-width: 500px;
    }
  }
  .top{
    padding-top:40px;
    display: grid;
    place-items: center;
  }
}
