.experiences {
  height: auto;
  padding: 2vh 0;
  background-color: rgba(244, 241, 235);
}

.cont-experiences {
  margin-top: 5vh;
  width: 100%;
  height: auto;
  position: relative;
}

.cont-experiences h1 {
  padding: 20px;
  font-weight: bold;
  color: rgb(0, 0, 0);
}

.cont-experiences h1::after {
  content: '';
  display: block;
  width: 115px;
  height: 3px;
  background-color: #6B7D8A;
  margin: 6px;
}

.timeline {
  position: relative;
  width: 80%;
  max-width: 800px;
  margin: 0 auto;
  padding-top: 20px;
}

.timeline-item {
  display: flex;
  align-items: center;
  position: relative;
  margin: 40px 0;
  z-index: 2;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background-color: #ababab;
  z-index: 1;
  transition: transform 0.3s ease;
}

.circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #BBC7CE;
  border: 3px solid #e5e5e5;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  transition: width 0.3s ease, height 0.3s ease;
}

.circle.scale-up {
  width: 60px;
  height: 60px;
}

.timeline-content {
  background-color: #BBC7CE;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  width: 40%;
  z-index: 2;
  transition: transform 0.3s ease;
}

.timeline-content.scale-up-content {
  transform: scale(1.05);
}

.timeline-content h3 {
  font-size: 1.2em;
  color: #000000;
  margin-bottom: 5px;
}

.timeline-content h4 {
  font-size: 1em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #2c2c2c;
}

.timeline-content h5 {
  font-size: 0.8em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #2c2c2c;
}

.timeline-content p {
  font-size: 0.9em;
  color: #3f3f3f;
}

.timeline-content.left {
  text-align: right;
  margin-right: auto;
}

.timeline-content.right {
  text-align: left;
  margin-left: auto;
}

@media screen and (max-width: 600px) {
  .timeline {
    width: 100%;
  }

  .timeline-content {
    width: 70%;
  }

  .timeline-content.left,
  .timeline-content.right {
    text-align: center;
  }

  .timeline-item {
    flex-direction: column;
  }

  .circle {
    display: none;
    margin: 10px 0;
  }
}