/* Color pallette */
/* cubic-bezier timing functions */
/* Header */
@media screen and (min-width: 768px) {
  .page-info {
    padding: 7em 0;
  }
  .page-info:nth-child(odd) {
    background-color: #f58220;
  }
  .page-info:nth-child(odd) a::before {
    filter: brightness(0);
  }
  .page-info:nth-child(odd) .page-info__wrapper {
    flex-direction: row-reverse;
  }
  .page-info:nth-child(even) {
    background-color: transparent;
  }
  .page-info:nth-child(even) .page-info__wrapper {
    flex-direction: row;
    padding-left: 0;
  }
}
@media screen and (min-width: 992px) {
  .page-info:nth-child(odd) .page-info__wrapper {
    flex-direction: row-reverse;
    padding-left: 7em;
  }
  .page-info:nth-child(odd) .content a {
    color: hsl(0, 0%, 100%);
    text-decoration: underline;
  }
  .page-info:nth-child(even) {
    flex-direction: row;
    padding-left: 0;
  }
}
/* Color pallette */
/* cubic-bezier timing functions */
/* Header */
.timeline {
  padding: 100px 0;
}
.timeline .container {
  position: relative;
}
.timeline__description {
  width: 60%;
  margin: 0 auto;
  text-align: center;
}
.timeline__wrapper {
  display: flex;
  width: 100%;
  gap: 10px;
}
.timeline .swiper {
  padding: 20px 20px 0;
  width: 100%;
}
.timeline .swiper::before {
  content: "";
  position: absolute;
  top: 108px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #242424;
  opacity: 0.4;
}
.timeline .swiper-wrapper {
  position: relative;
}
.timeline .swiper-slide {
  position: relative;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  cursor: pointer;
}
.timeline .swiper-slide::before {
  content: "";
  position: absolute;
  bottom: 2px;
  left: calc(50% - 10px);
  width: 20px;
  height: 20px;
  background-color: #f6f6f6;
}
.timeline .swiper-slide::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: calc(50% - 8px);
  width: 16px;
  height: 16px;
  background-image: url("/assets/svg/brand-minimal-logo.svg");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  filter: brightness(0);
  transition: all 0.3s ease;
}
.timeline .swiper-slide-active .swiper-slide__year {
  color: #f58220;
  font-size: 30px;
  font-size: 1.875rem;
  line-height: 40px;
  line-height: 2.5rem;
}
.timeline .swiper-slide-active::after {
  filter: none;
  transform: scale(1.4);
}
.timeline .swiper-slide__year {
  position: relative;
  bottom: 40px;
  color: #f6f6f6;
  font-size: 24px;
  font-size: 1.5rem;
  line-height: 30px;
  line-height: 1.875rem;
  font-weight: 500;
  text-shadow: -1px 0 #f58220, 0 1px #f58220, 1px 0 #f58220, 0 -1px #f58220;
  transition: all 0.1s ease;
  transform: rotate(-90deg);
}
.timeline .swiper-button {
  position: relative;
  background-color: transparent;
  border: 1px solid #c3c3c3;
  width: 60px;
  height: 60px;
  left: unset;
  right: unset;
}
.timeline .swiper-button::after {
  content: none;
}
.timeline .swiper-button:hover {
  border-color: transparent;
}
.timeline .swiper-button-control {
  display: flex;
  justify-content: center;
  width: 100%;
  gap: 10px;
}
.timeline__content {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  padding: 3em 0;
}
.timeline__content__item {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 300ms ease-in-out, transform 300ms ease-in-out;
  pointer-events: none;
}
.timeline__content__item.-active {
  opacity: 1;
  transform: scale(1);
  transition: opacity 300ms ease-in-out, transform 300ms ease-in-out;
  pointer-events: all;
}
.timeline__content__item ul {
  padding: 0 0 0 15px;
}
.timeline__content__image {
  position: relative;
}
.timeline__content__image:hover::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(0deg, rgba(255, 117, 0, 0.8) 0%, rgba(245, 130, 32, 0) 42.13%);
}
.timeline__content__image img {
  object-fit: cover;
}
@media screen and (min-width: 768px) {
  .timeline .swiper {
    padding: 40px 40px 0;
    width: calc(100% - 120px);
  }
  .timeline .swiper::before {
    top: 189px;
  }
  .timeline .swiper-slide {
    height: 160px;
  }
  .timeline .swiper-slide-active .swiper-slide__year {
    font-size: 50px;
    font-size: 3.125rem;
    line-height: 70px;
    line-height: 4.375rem;
    text-shadow: none;
  }
  .timeline .swiper-slide__year {
    bottom: 50px;
    font-weight: 800;
    font-size: 40px;
    font-size: 2.5rem;
    line-height: 60px;
    line-height: 3.75rem;
  }
  .timeline .swiper-button {
    top: 182px;
  }
  .timeline__content {
    padding: 3em;
  }
  .timeline__content__item {
    flex-direction: row;
  }
  .timeline__content__item ul {
    padding: 0 0 0 40px;
  }
  .timeline__content__image img {
    max-width: 500px;
  }
}