

:root {
    --background-1: #140f34;
    --background-2: #282750;
    --medium-purple: #8a86ff;
    --medium-orchid: #e13cbd;
    --blue: #462adf;
    --light-steel-blue: #b3b1fd;
    --background-3: #100a28;
    --thistle: #c6bfee;
    --slate-blue: #706ea5;
       --textgray: #999999;
      --textwhite: #ffffff;
      --gradient: linear-gradient(72deg, rgba(132, 150, 150, 1) 3%, rgba(4, 226, 225, 1) 30%, rgba(254, 153, 0, 1) 66%)


      --color-ar:#f39200;
      --color-blue:#009dbe;
      --size-subt: 25px;
      --size-p: 20px;
      --spacing-letter: 0.02em;

      --subT-text-mobile: 22px;
      --read-text-mobile: 18px;
      --read-text-4k: 35px;
      --line-height-4k: 35px;
      --subT-text-4k: 38px;

  }



  .timeline {
    z-index: -3;
    position: relative;
  }


  .timeline-container {
    width: 100%;
    min-height: 100vh;
  }

  .w-container {
    width: 70%;
    margin-left: auto;
    margin-right: auto;
  }

  .w-container:before, .w-container:after {
    content: " ";
    grid-area: 1 / 1 / 2 / 2;
    display: table;
  }


  .w-container:after {
    clear: both;
  }

  .w-container .w-row {
    margin-left: -10px;
    margin-right: -10px;
  }

  .timeline-wrapper {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    display: flex;

  }


  .timeline-progress {
    z-index: -2;
    width: 3px;
    height: 100%;
    background-color: #414141;
    position: absolute;
    overflow: hidden;
  }

  .timeline-progress-bar {
    z-index: -1;
    width: 3px;
    height: 50vh;
    background-color:#009dbe;
    padding: 0;
    position: fixed;
    /* display: none; */
    bottom: 50vh;
    /* top: 0;  */
  }  
  
  .w-layout-grid {
    grid-row-gap: 16px;
    grid-column-gap: 16px;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr 1fr;
    grid-auto-columns: 1fr;
    display: grid;
  }

  .timeline-item {
    width: 100%;
    max-width: 1280px;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    grid-template-rows: auto;
    grid-template-columns: 1fr 160px 1fr;
    margin-left: auto;
    margin-right: auto;
    padding: 80px 15px;
  }

  .timeline-left {
    text-align: right;
  }

  .timeline-date-text {
    font-size: 33px;
    line-height: 1.2;
    position: -webkit-sticky;
    position: sticky;
    top: 50vh;
  }

  .timeline-center {
    text-align: left;
    justify-content: center;
    display: flex;
  }

  .timeline-right {
    font-weight: 500;
  }


  .timeline-circle {
    width: 15px;
    height: 15px;
    background-color: #fff;
    border-radius: 100%;
    position: -webkit-sticky;
    position: sticky;
    top: 50vh;
  }

  .timeline-text {
    font-family: "inter";
    font-size: var(--size-p);
    line-height: 26px;
    letter-spacing: var(--spacing-letter);
    font-weight: 500;
    width: 90%;
  }



  @media screen and (max-width: 991px) {
    .w-container {
      max-width: 728px;
    }
  }

  @media screen and (max-width: 467px) {


    .w-row, .w-container .w-row {
      margin-left: 0;
      margin-right: 0;
    }


  }

  @media screen and (max-width: 479px) {

  .timeline-text {
    font-size: var(--read-text-mobile);
  }

  }


  @media screen and (min-width: 1440px) {


    .timeline {
      z-index: -3 !important;
      position: relative;
    }

    .timeline-container {
      overflow: visible;
    }

    .timeline-wrapper {
      flex-direction: column;
      align-items: center;
      display: flex;
    }

    .timeline-item {
      width: 100%;
      max-width: 1280px;
      grid-column-gap: 0px;
      grid-row-gap: 0px;
      grid-template-rows: auto;
      grid-template-columns: 1fr 160px 1fr;
      margin-left: auto;
      margin-right: auto;
      padding: 80px 0;
    }

    .timeline-left {
      text-align: right;
    }

    .timeline-center {
      justify-content: center;
      display: flex;
    }

    .timeline-right {
      letter-spacing: var(--spacing-letter);
    }

    .timeline-date-text {
      font-size: 33px;
      position: -webkit-sticky;
      position: sticky;
      top: 50vh;
    }

    .timeline-circle {
      width: 15px;
      height: 15px;
      background-color: #fff;
      border-radius: 100%;
      padding: 0;
      font-size: 16px;
      position: -webkit-sticky;
      position: sticky;
      top: 50vh;
    }

    .timeline-text {
      font-family: "inter";
      font-size: var(--size-p);
      line-height: 26px;
      letter-spacing: var(--spacing-letter);
      font-weight: 500;
      width: 90%;
    }

    .timeline-progress {
      z-index: -2;
      width: 3px;
      height: 100%;
      background-color: #414141;
      position: absolute;
    }

    .timeline-progress-bar {
      z-index: -1;
      width: 3px;
      height: 50vh;
      background-color:#009dbe;
      padding: 0;
      position: fixed;
      /* display: none; */
       bottom: 50vh; 

      /* top: 50vh;  */
    }

  }

  @media screen and (max-width: 991px) {

    .container {
      padding: 80px 50px 80px 60px;
    }

  }

  @media screen and (max-width: 769px) {

    .timeline {
      max-width: 1280px;
      margin-left: auto;
      margin-right: auto;
      padding-left: 37px;
      padding-right: 37px;
    }

    .timeline-item {
      grid-column-gap: 0px;
      grid-row-gap: 0px;
      flex-direction: column;
      grid-template-rows: 1fr 64px;
      grid-template-columns: minmax(64px, 1fr);
      grid-auto-columns: 1fr;
      grid-auto-flow: row;
      align-content: stretch;
      justify-content: stretch;
      justify-items: start;
      padding: 80px 0 15px;
      display: grid;
    }

    .timeline-item.row-rmv {
      grid-template-rows: 1fr;
    }

    .timeline-center {
      flex-direction: row;
      justify-content: center;
      align-items: stretch;
      display: flex;
      position: absolute;
      left: 10px;
    }

    .timeline-right {
      font-size: 16px;
      font-weight: 500;
    }

    .timeline-date-text {
      margin-bottom: 10px;
      font-size: 33px;
    }

    .timeline-text {
      font-size: var(--read-text-mobile);
    }

    .timeline-progress {
      left: 16px;
    }


  }


  @media screen and (max-width: 469px) {

    .container {
      background-color: rgba(0, 0, 0, 0);
      padding: 25px 10px 16px 11px;
    }

    .container.no-vertical-padding {
      padding-top: 2px;
    }

    .timeline {
      padding-left: 28px;
      padding-right: 15px;
    }


    .timeline-item {
      padding-top: 90px;
      padding-bottom: 90px;
    }

    .timeline-text {
      font-size: var(--read-text-mobile);
    }

    .timeline-date-text {
      margin-bottom: 10px;
      font-size: 26px;
    }


    .timeline-item.row-rmv {
      grid-template-rows: 1fr;
      padding-top: 70px;
      padding-bottom: 70px;
    }

    .timeline-center {
      left: 6px;
    }


    .timeline-progress {
      left: 11px;
    }



  }

  @media screen and (min-width: 2300px) and (max-width: 3200px)  {

    .timeline-date-text {
      font-size: 33px;
      position: -webkit-sticky;
      position: sticky;
      top: 50vh;
    }


    .timeline-text {
        font-size: var(--read-text-4k);
        line-height: var(--line-height-4k);

    }


}


/* lavorare su mediaquery 769 & 468 & text animation */