.animatedContainer {
  /* padding: 2rem; */
  margin: 0 auto;
  /* max-width: 800px; */
}

.top-section {
  text-align: center;
  padding: 4rem 0;
  margin: 0 auto;
}

.animatedTimeLine {
  position: relative;
  min-height: 150px;
}

.animatedVLine {
  position: absolute;
  z-index: 2;
  left: calc(50% - 1px);
  width: 3px;
  top: -50px;
  bottom: -50px;
  background-color: #fff;
  display: none;
}

.animatedVLine:before,
.animatedVLine:after {
  position: absolute;
  display: block;
  content: "";
  height: 1rem;
  width: 1rem;
  border-radius: 50%;
  background-color: rgb(255, 255, 255);
  left: 50%;
  transform: translateX(-50%);
}

.animatedVLine:after {
  bottom: 0;
}

.animatedSection {
  display: flex;
  opacity: 0.2;
  transform: translateX(-100%);
  transition: 400ms ease;
  position: relative;
  z-index: 1;
  margin: 50px 0;
  padding: 1rem;
  border-radius: 1rem;
  align-items: center;
  /* min-height: 300px; */
}

.animatedSection:nth-child(odd) {
  flex-direction: row-reverse;
  transform: translateX(100%);
}

.animatedCircle {
  position: absolute;
  display: block;
  height: 1rem;
  width: 1rem;
  border-radius: 50%;
  background-color: #fff;
  left: 50%;
  top: 20%;
  transform: translateX(-50%);
}

.animatedContent {
  width: calc(50% - 2rem);
}

.show-me:nth-child(n) {
  transform: none;
  opacity: 1;
}

@media (max-width: 766px) {
  .animatedVLine {
    position: absolute;
    z-index: 2;
    left: calc(3% - 1px);
    width: 3px;
    top: -50px;
    bottom: -50px;
    background-color: #fff;
    display: none;
  }
  .animatedVLine:before,
  .animatedVLine:after {
    position: absolute;
    display: block;
    content: "";
    height: 1rem;
    width: 1rem;
    border-radius: 50%;
    background-color: rgb(255, 255, 255);
    left: calc(3% + 1px);
    transform: translateX(-50%);
  }
  .animatedCircle {
    position: absolute;
    display: block;
    height: 1rem;
    width: 1rem;
    border-radius: 50%;
    background-color: #fff;
    left: 3%;
    top: 20%;
    transform: translateX(-50%);
  }
  .animatedSection:nth-child(odd) {
    flex-direction: row;
  }

  .animatedContent {
    width: calc(100% - 2rem);
    padding-left: 20px;
  }
}
