.history {
  position: relative;
  z-index: 1;
  padding-top: 100vh;
}
.history__container {
  padding: 0;
  margin-right: auto;
}
.history__wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  padding: 100px 120px 100px var(--padding);
  background-color: var(--bg-white);
  border-radius: 0 20px 20px 0;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  position: relative;
}

.history-el {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 66px;
  margin-left: -90px;
  padding-bottom: 126px;
  position: relative;
}
.history-el:last-child {
  padding-bottom: 0;
}
.history-el._show .history-el__year {
  color: var(--primary-main);
}
.history-el._show .history-el__line span {
  height: 100%;
}
.history-el__year {
  font-size: 82px;
  line-height: 1;
  color: #E5E5E5;
  position: relative;
  background-color: var(--bg-white);
  padding: 10px 0;
}
.history-el__line {
  position: absolute;
  left: 90px;
  top: 100px;
  bottom: 0;
  width: 2px;
  overflow: hidden;
}
.history-el__line::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(to bottom, rgba(90, 90, 90, 0.137254902), rgba(90, 90, 90, 0.0745098039) 20px, #fff 20px, #fff 30px);
}
.history-el__line span {
  display: block;
  background-color: #81B83B;
  width: 2px;
  -webkit-transition: all 1.5s ease-in-out;
  transition: all 1.5s ease-in-out;
  height: 0;
  position: relative;
  z-index: 0;
}
.history-el__wrap {
  padding-top: 25px;
  width: 100%;
  max-width: 717px;
}
.history-el__title {
  margin-bottom: 16px;
}
.history-el__text {
  font-size: 18px;
  font-weight: 300;
  margin-bottom: 44px;
  line-height: 1.6;
}
.history-el__img {
  border-radius: 16px;
  overflow: hidden;
  height: 400px;
}
.history-el__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

@media (max-width: 1630px) {
  .history-el {
    margin-left: 0;
  }
}
@media (max-width: 1200px) {
  .history__wrap {
    width: 100%;
  }
}
@media (max-width: 1024px) {
  .history {
    padding-top: 0;
  }
  .history__wrap {
    padding-right: 40px;
    padding-top: 48px;
    padding-bottom: 40px;
  }
  .history-el__img {
    height: 310px;
  }
}
@media (max-width: 768px) {
  .history__wrap {
    border-radius: 0;
    padding-right: var(--padding);
  }
  .history-el {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    padding-left: 25px;
    gap: 12px;
    padding-bottom: 56px;
  }
  .history-el._show .history-el__year::before {
    background-color: var(--primary-main);
  }
  .history-el__title {
    margin-bottom: 12px;
  }
  .history-el__line {
    left: 0;
    top: 60px;
  }
  .history-el__year {
    font-size: 60px;
    padding: 0;
    position: relative;
  }
  .history-el__year::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -32px;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-color: #E5E5E5;
    border-radius: 50%;
  }
  .history-el__text {
    font-size: 16px;
    margin-bottom: 20px;
  }
}
@media (max-width: 500px) {
  .history-el__img {
    height: 195px;
  }
}

/*# sourceMappingURL=history.css.map */