.slider {
  width: 100%;
  text-align: center;
  overflow: hidden;
}

.slides {
  display: flex;
    margin-bottom: 30px;
  overflow-x: auto;
  -ms-scroll-snap-type: x mandatory;
  scroll-snap-type: x mandatory;



  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;

  /*
  scroll-snap-points-x: repeat(300px);
  scroll-snap-type: mandatory;
  */
}

.slides::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.slides::-webkit-scrollbar-thumb {
  background: #ee7219;
  border-radius: 10px;
}

.slides::-webkit-scrollbar-track {
  background: #f1f6fc;
}

.slides>div {
  scroll-snap-align: start;
  flex-shrink: 0;
  width: 100%;
  height: 600px;
  margin-right: 50px;
  border-radius: 10px;
  transform-origin: center center;
  transform: scale(1);
  transition: transform 0.5s;
  position: relative;
  background-position: center;
  background-repeat: no-repeat;
  background-size: auto 500px, cover;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slides>div:target {
  /*   transform: scale(0.8); */
}

.author-info {
  background: rgba(0, 0, 0, 0.75);
  color: white;
  padding: 0.75rem;
  text-align: center;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  margin: 0;
}

.author-info a {
  color: white;
}


.slider>a {
  display: inline-flex;
  width: 300px;
  height: 1.5rem;
  background: transparent;
  text-decoration: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 0 0.5rem 0;
  position: relative;
}

.slider>a:active {
  top: 1px;
}

.slider>a:focus {
  background: #000;
}

/* Don't need button navigation */
@supports (scroll-snap-type) {
  .slider>a {
    display: none;
  }
}

.timeline-slide__content {
  z-index: 5;
  position: absolute;
  top: 220px;
  background: #ffffff;
  border-radius: 10px;
  width: 46%;
  left: 74%;
  text-align: left;
  transform: translate(-50%, 0px);
  padding: 40px;
  box-shadow: 0px 0px 26px #7f86aa4f;
}

.slider>a:focus {
  background: #ee7219;
  color: aliceblue !important;;
  height: 30px;
  border-radius: 4px;
}
@media screen and (max-width: 920px) {

.timeline-slide__content {

    width: 100%;
    left: 50%;
    text-align: left;
}

}

