.container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.container .full {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.container .full .timeline {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* Firefox */
  align-items: flex-start;
  transition: height 0.3s ease;
}
.container .full .timeline::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}
.container .full .timeline .line {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 550px;
  height: auto;
  margin-right: 50px;
  opacity: 0.4;
  transition: all 0.5s 0s ease-out;
  gap: 15px;
}
@media (max-width: 1000px) {
  .container .full .timeline .line {
    width: 320px;
    margin-right: 30px;
    height: auto;
  }
  .container .full .timeline .line h2 {
    font-size: 2.5rem;
  }
  .container .full .timeline .line p {
    font-size: 1.8rem;
    line-height: 2.5rem;
  }
}
.container .full .timeline .line.active {
  opacity: 1;
}
.container .full .timeline .line h2 {
  font-size: 4rem;
  font-weight: bold;
  color: #336980;
}
.container .full .timeline .line p {
  font-size: 3rem;
  line-height: 3.5rem;
}

/* Timeline Images Styles */
.container .full .timeline .line .line-images {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}
.container .full .timeline .line figure {
  margin: 0;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.container .full .timeline .line figure:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}
.container .full .timeline .line figure img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.container .buttons {
  display: flex;
  gap: 15px;
}
.container .buttons button.controls {
  background-color: #336980;
  outline: none;
  border: none;
  width: 50px;
  height: 50px;
  cursor: pointer;
  border-radius: 100px;
  color: #fff;
  font-family: bold;
  margin-top: 25px;
  transition: 200ms all ease-in;
}
.container .buttons button.controls:hover {
  transform: translateY(-5px);
}
