/* 
.forSmallViewports {
  display: none;
}

@media (max-width: 1023px) {
  .forSmallViewports {
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
  }
} */

.history-trigger {
  display: none;
  padding: 20px 20px;
}

@media (min-width: 1024px) {
  .history-trigger {
    display: block;
  }
}

.history-trigger .history-wrapper {
  min-height: calc(100vh - 40px);
  padding-bottom: 200px;
  background-attachment: fixed;
  background-size: cover;
  display: flex;
  justify-content: space-between;
  position: relative;
}

.history-trigger .history-wrapper .history-images {
  position: fixed;
  bottom: 50%;
  transform: translateY(50%);
  left: 16%; /* adjust spacing between years and images */
  width: 300px;
  height: 400px;
  overflow: hidden;
}

.history-trigger .history-wrapper .history-images img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.05);
  transition: opacity 0.6s ease, transform 1s ease;
}

.history-trigger .history-wrapper .history-images img.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 1;
}

.history-images {
  position: fixed;
  bottom: 50%;
  transform: translateY(50%);
  left: 180px;
  width: 300px;
  height: 400px;
  overflow: hidden;
}

.history-images img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.6s ease, transform 1s ease;
}

.history-images img.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.history-trigger .history-wrapper .for-trigger {
  position: absolute;
  bottom: 438px;
  width: 100%;
  height: 400px;
  left: 0px;
  z-index: -1;
}

.history-trigger .history-wrapper.last .history-years {
  position: absolute !important;
  top: auto !important;
  transform: none !important;
  transition: none !important;
  bottom: 250px !important;
  left: -20px !important;
}

.history-trigger .history-wrapper .history-years {
  display: flex;
  opacity: 0;
  flex-direction: column;
  transition: 0.4s opacity;
  position: fixed;
  bottom: 50%;
  transform: translateY(50%);
  left: 0px;
}

.history-trigger .history-wrapper .history-years .year {
  display: block;
  margin-left: -20px;
  font-size: 28px;

  /* font-size: 43px; */
  letter-spacing: -1.3px;
  line-height: 100%;

  padding: 10px;
  padding-left: 80px;
  position: relative;
  top: 0px;
  transition: all 0.4s;
  opacity: 0.3;
}

.history-trigger .history-wrapper .history-years .year.active {
  opacity: 1 !important;
}

.history-trigger .history-wrapper .history-years .year.active::after {
  width: 70px;
}

.history-trigger .history-wrapper .history-years .year:hover {
  opacity: 0.5;
}

.history-trigger .history-wrapper .history-years .year:hover::after {
  width: 50px;
}

.history-trigger .history-wrapper .history-years .year::after {
  content: "";
  position: absolute;
  left: 0px;
  top: calc(50% - 1px);
  width: 0px;
  height: 1px;
  background-color: #2d2d2d;
  transition: all 0.4s;
}

.history-trigger .history-wrapper .history-details {
  position: relative;
  max-width: 600px;
  padding: 0 20px 40px 20px;
  /* padding: 40px 20px; */
  transition: 0.2s all;
  margin-right: 10%;
}

.history-trigger .history-wrapper .history-details .history-item {
  padding-bottom: 100px;
  opacity: 0.5;
  transition: all 0.4s;
}

.history-trigger .history-wrapper .history-details .history-item:first-child {
  margin-top: 45%;
}

.history-trigger .history-wrapper .history-details .history-item.active {
  opacity: 1;
}

.history-trigger
  .history-wrapper
  .history-details
  .history-item.active
  .year::after {
  width: 10px;
}

.history-trigger
  .history-wrapper
  .history-details
  .history-item.active
  .year::before {
  width: 60px;
}

.history-trigger .history-wrapper .history-details .history-item.active h3 {
  color: #1c1c1c;
}

.history-trigger .history-wrapper .history-details .history-item .year {
  display: flex;
  align-items: center;
  font-weight: 400;
  color: #1c1c1c;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 77%;
  padding: 10px 0px;
  position: relative;
}

.history-trigger .history-wrapper .history-details .history-item .year::after {
  content: "";
  display: inline-block;
  margin-left: 10px;
  width: 60px;
  height: 1px;
  background-color: #2d2d2d;
  transition: all 0.4s;
}

.history-trigger .history-wrapper .history-details .history-item .year::before {
  content: "";
  display: inline-block;
  margin-right: 10px;
  width: 10px;
  height: 1px;
  background-color: #2d2d2d;
  transition: all 0.4s;
}

.history-trigger .history-wrapper .history-details .history-item h3 {
  font-size: 44px;
  line-height: 1;
  font-weight: 500;
  color: #000000;
  letter-spacing: -3px;
  line-height: 100%;
  margin-bottom: 20px;
  transition: all 0.4s;
}

.history-trigger .history-wrapper .history-details .history-item p {
  font-size: 20px;
  font-weight: 400;
  color: #000000c4;
  letter-spacing: -1px;
  line-height: 120%;
  margin: 0;
  line-height: 1.7;
}
