.context {
  .fill-available {
    width: -webkit-fill-available;
  }
}

.main-timeline {
  font-family: Dosis;
  margin-left: 15px;
  p {
    color: rgb(50, 50, 50);
  }

  li {
    color: rgb(50, 50, 50);
  }
}

.main-timeline:after {
  content: '';
  display: block;
  clear: both;
}

.main-timeline .timeline {
  margin: 0 0 20px;
  float: left;
  position: relative;
  z-index: 1;
  width: stretch;
}

.main-timeline .timeline-content {
  color: #fff;
  margin-bottom: 1.8em;
  padding: 20px 75px 0 0;
  display: block;
  position: relative;
}

.main-timeline .timeline-content:hover {
  text-decoration: none;
}

.main-timeline .timeline-content:before {
  content: '';
  background-color: var(--main-color);
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5) inset;
  position: absolute;
  left: 20px;
  top: 0;
  right: 0;
  bottom: 20px;
  z-index: -1;
}

.main-timeline .timeline-icon {
  font-size: 35px;
  font-weight: 600;
  position: absolute;
  bottom: 25px;
  right: 12px;
}

.main-timeline .timeline-year {
  font-size: 1.8em;
  font-weight: 200;
  line-height: 28px;
  text-shadow: 2px 2px rgba(255, 255, 255, 0.3);
  position: absolute;
  top: 10px;
  right: 12px;
}

.main-timeline .timeline-year span {
  display: block;
}

.main-timeline .title {
  font-size: 1.8em;
  font-weight: 600;
  text-transform: capitalize;
  margin: 0 0 30px 35px;
}

.main-timeline .description {
  color: #555;
  background-color: #fff;
  font-size: 13px;
  letter-spacing: 1px;
  padding: 15px;
  margin: 0;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 0 15px hsl(298, 74%, 8%);
  ul {
    padding-left: 2rem;
    margin-top: 0;
    margin-bottom: 1rem;
  }
}

.main-timeline .timeline:nth-child(1) {
  --main-color: #c30;
}

.main-timeline .timeline:nth-child(2) {
  --main-color: #f93;
}

.main-timeline .timeline:nth-child(3) {
  --main-color: #093;
}

.main-timeline .timeline:nth-child(4) {
  --main-color: #09f;
}

.main-timeline .timeline:nth-child(5) {
  --main-color: #33c;
}

.main-timeline .timeline:nth-child(6) {
  --main-color: #8000ff;
}

.main-timeline .timeline:nth-child(7) {
  --main-color: #f6f;
}

@media screen and (max-width:767px) {
  .main-timeline {
    margin-left: 0px;
  }

  .main-timeline .timeline {
    width: 100%;
    margin: 0 0 30px;
  }
}

@media screen and (max-width:576px) {
  .main-timeline {
    margin-left: 0px;
  }

  .main-timeline .timeline-content {
    padding: 20px 0 75px;
  }

  .main-timeline .timeline-content:before {
    left: 0;
    right: 0;
    bottom: 0;
  }

  .main-timeline .timeline-icon {
    left: auto;
    right: 15px;
    bottom: 5px;
  }

  .main-timeline .timeline-year {
    right: auto;
    left: 15px;
    bottom: 17px;
    top: auto;
  }

  .main-timeline .timeline-year span {
    display: inline-block;
  }

  .main-timeline .title {
    margin-left: 15px;
  }
}