* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  body {
    font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 16px;
    color: #2c2c2c;
  }
  body a {
    color: inherit;
    text-decoration: none;
  }
  .btn {
    transition-property: all;
    transition-duration: 0.2s;
    transition-timing-function: linear;
    transition-delay: 0s;
    padding: 10px 20px;
    display: inline-block;
    margin-right: 10px;
    background-color: #fff;
    border: 1px solid #2c2c2c;
    border-radius: 3px;
    cursor: pointer;
    outline: none;
  }
  .btn:last-child {
    margin-right: 0;
  }
  .btn:hover, .btn.js-active {
    color: #fff;
    background-color: #2c2c2c;
  }
  .header {
    max-width: 500px;
    margin: 50px auto;
    text-align: center;
  }
  .header__title {
    margin-bottom: 30px;
    font-weight: 600;
  }
  .content {
    max-width: 800px;
    width: 95%;
    margin: 0 auto 40px;
  }
  .content__title {
    margin-bottom: 40px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
  }
  
  .timeline {
    position: relative;
    min-height: 500px;
    width: 100%;
    padding: 60px 0;
  }
  .timeline__bar {
    position: absolute;
    top: 0;
    left: 50%;
    width: 6px;
    height: 100%;
    transform: translateX(-50%);
    background-image: linear-gradient(#cadae3, #175664);
  }
  .timeline__bar:before, .timeline__bar:after {
    position: absolute;
    left: 50%;
    display: block;
    width: 12px;
    height: 12px;
    content: '';
    transform: translateX(-50%);
    border-radius: 50%;
  }
  .timeline__bar:before {
    top: -1px;
    background-color: #cadae3;
  }
  .timeline__bar:after {
    bottom: -1px;
    background-color: #175664;
  }
  .timeline__elem {
    position: relative;
    display: flex;
    flex-direction: column;
  }
  .timeline__elem:last-child {
    margin-bottom: 0;
  }
  @media (min-width: 900px) {
    .timeline__elem {
      flex-direction: row;
    }
  }
  @media (min-width: 900px) {
    .timeline__elem--right {
      justify-content: flex-end;
    }
  }
  .timeline__date {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin: auto;
    color: #fff;
    background-repeat: no-repeat;
    border-radius: 50%;
    border: 6px solid #fff;
  }
  @media (min-width: 900px) {
    .timeline__date {
      position: absolute;
      margin-top: 30px !important;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }
  }
  .timeline__date-day {
    font-size: 1.35rem;
    font-weight: 600;
  }
  .timeline__date-month {
    font-size: 0.85rem;
  }
  .timeline__event {
    position: relative;
    width: 90%;
    margin-bottom: -40px !important;
    margin: 30px auto 0;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
    background-color: #fff;
  }
  @media (max-width: 560px) {
    .timeline__event {
      width: 65%;
      margin-bottom: 30px!important;
      margin-top: 30px!important;
    }
  }



    @media  (min-width: 560px) and (max-width: 900){
      .timeline__event {
        width: 65%;
        margin-bottom: 30px!important;
        margin-top: 30px!important;
      }
  }
  @media (min-width: 900px) {
    .timeline__event {
      width: calc((100% - 70px - 8px * 4) / 2);
      margin: 0;
    }
  }
  .timeline__event:before {
    position: absolute;
    top: 50%;
    display: none;
    width: 0;
    height: 0;
    content: '';
    transform: translateY(-50%);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
  }
  .timeline__event:after {
    position: absolute;
    top: 50%;
    display: none;
    width: 16px;
    height: 16px;
    content: '';
    transform: translateY(-50%) rotate(45deg);
  }
  @media (min-width: 900px) {
    .timeline__event:before, .timeline__event:after {
      display: block;
    }
  }
  .timeline__event--left:before {
    right: - 8px;
    border-left: 8px solid #fff;
  }

  
  .timeline__event--right:before {
    left: - 8px;
    border-right: 8px solid #fff;
  }
  .timeline__event--right:after {
    left: - 9px;
  }
  .timeline__event-date-time {
    padding: 20px 15px 0;
    display: flex;
    margin-bottom: 15px;
    font-size: 0.8rem;
    color: rgba(44, 44, 44, 0.7);
  }
  .timeline__event-date {
    margin-right: 10px;
  }
  .timeline__event-title {
    font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    padding: 0 15px;
    margin-bottom: 15px;
    margin-top: 15px;
    color: black; 
  }
  .timeline__event-descr {
    padding: 0 15px 20px;
    font-size: 0.9rem;
    line-height: 1rem;
  }
  .timeline__event-descr p {
    margin-bottom: 10px;
  }
  .timeline__event-descr p:last-child {
    margin-bottom: 0;
  }
  .timeline__event-actions {
    padding: 20px 15px;
    border-top: 1px solid rgba(160, 160, 160, 0.2);
  }
  .timeline__event-action {
    transition-property: all;
    transition-duration: 0.2s;
    transition-timing-function: linear;
    transition-delay: 0s;
    margin-right: 24px;
    font-size: 0.9rem;
    text-transform: uppercase;
  }
  .timeline__event-action:hover {
    opacity: 0.4;
  }