:root {
  --header-height: 6.7rem;
}
@media (width > 768px) {
  :root {
    --header-height: 11.2rem;
  }
}

.border-container {
  position: relative;
}

.border {
  position: absolute;
  background-color: var(--red-30);
}
.border.dark {
  background-color: var(--red-main);
}
.border.light {
  background-color: var(--grey-10);
}
.border.white {
  background-color: var(--white-main);
}
.border.red {
  background-color: var(--red-30);
}
.border.black {
  background-color: var(--black-main, #333032);
}
.border.transparent {
  background-color: rgba(255, 255, 255, 0.2);
}
.border.black.transparent {
  background-color: rgba(51, 48, 50, 0.2);
}
.border.white.transparent {
  background-color: rgba(255, 255, 255, 0.2);
}
.border.gray {
  background: rgba(51, 48, 50, 0.2);
}

.border.top {
  top: 0;
  left: 0;
}
[lang=en] .border.top {
  right: 0;
  left: auto;
}
.border.top {
  height: 1px;
  width: 0;
}

.border.top-fullwidth {
  top: 0;
  width: 200vw;
  left: -100vw;
}

.border.horizontal-fullwidth {
  height: 1px;
  width: 200vw;
  right: -100vw;
}

.border.bottom-fullwidth {
  bottom: 0;
  height: 1px;
  width: 200vw;
  left: -100vw;
}

.border.top.active-stroke {
  animation: drawBorderTop 1s forwards;
}

.border.right {
  top: 0;
  right: 0;
}
[lang=en] .border.right {
  left: 0;
  right: auto;
}
.border.right {
  width: 1px;
  height: 0;
}

.border.right.active-stroke {
  animation: drawBorderRight 1s forwards;
}

.border.bottom {
  bottom: 0;
  left: 0;
}
[lang=en] .border.bottom {
  right: 0;
  left: auto;
}
.border.bottom {
  height: 1px;
  width: 0;
}

.border.bottom.active-stroke {
  animation: drawBorderBottom 1s forwards;
}

.border.left {
  top: 0;
  left: 0;
}
[lang=en] .border.left {
  right: 0;
  left: auto;
}
.border.left {
  width: 1px;
  height: 0;
}

.border.left.active-stroke {
  animation: drawBorderLeft 1s forwards;
}

@keyframes drawBorderTop {
  to {
    width: 100%;
  }
}
@keyframes drawBorderRight {
  to {
    height: 100%;
  }
}
@keyframes drawBorderBottom {
  to {
    width: 100%;
  }
}
@keyframes drawBorderLeft {
  to {
    height: 100%;
  }
}
.border.left.one-six {
  left: 16.667%;
}
[lang=en] .border.left.one-six {
  right: 16.667%;
  left: auto;
}
.border.left.one-three {
  left: 33.333%;
}
[lang=en] .border.left.one-three {
  right: 33.333%;
  left: auto;
}
.border.left.one-two {
  left: 50%;
}
[lang=en] .border.left.one-two {
  right: 50%;
  left: auto;
}
.border.left.two-three {
  left: 66.667%;
}
[lang=en] .border.left.two-three {
  right: 66.667%;
  left: auto;
}
.border.left.two-three-vertical {
  left: 33.23%;
}
[lang=en] .border.left.two-three-vertical {
  right: 33.23%;
  left: auto;
}
.border.left.five-six {
  left: 83.333%;
}
[lang=en] .border.left.five-six {
  right: 83.333%;
  left: auto;
}

.border.top.one-six {
  top: 16.667%;
}
.border.top.one-four {
  top: 25%;
}
.border.top.twenty-nine {
  top: 28.4%;
}
.border.top.one-three {
  top: 33.333%;
}
.border.top.two-three {
  top: 66.667%;
}
.border.top.one-two {
  top: 50%;
}
.border.top.sixty-five {
  top: 64.2%;
}
.border.top.three-four {
  top: 75%;
}

.timeline-wrapper.year-active .border.top.one-two {
  top: 24%;
}
.timeline-wrapper.year-active .border.top.three-four {
  top: 85%;
}

.industrial-section {
  display: flex;
  flex-direction: column-reverse;
  padding-top: 5.6rem;
}
@media (width > 768px) {
  .industrial-section {
    padding-top: unset;
    display: grid;
    grid-template-rows: 4fr 5fr 5fr;
    grid-template-columns: 10rem repeat(7, 1fr) 10rem;
  }
}
@media (width > 1440px) {
  .industrial-section {
    grid-template-rows: 14.1714285714rem 17.7142857143rem 17.7142857143rem;
    grid-template-columns: 1fr repeat(7, 17.7142857143rem) 1fr;
  }
}
.industrial-section .img-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
}
@media (width > 768px) {
  .industrial-section .img-container {
    display: block;
    grid-column: 1/6;
    grid-row: 1/-1;
  }
}
.industrial-section .img-container .main-img {
  grid-row: 1/-1;
  grid-column: 1/-1;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  zoom: 0.7;
  -o-object-position: 64% 38%;
     object-position: 64% 38%;
}
@media (width > 768px) {
  .industrial-section .img-container .main-img {
    zoom: 0;
    -o-object-position: 75% 50%;
       object-position: 75% 50%;
  }
}
.industrial-section .section-text-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.8rem;
  padding-bottom: 4.5rem;
  padding-inline: 3.6rem;
}
@media (width > 768px) {
  .industrial-section .section-text-container {
    grid-row: 1/-1;
    grid-column: 6/9;
    padding-inline-end: 0;
    padding-inline-start: 8.5rem;
    padding-bottom: 0;
    gap: 2.8rem;
  }
}
.industrial-section .section-text-container .title {
  padding-top: 3.2rem;
  max-width: 26.7rem;
}
@media (width > 768px) {
  .industrial-section .section-text-container .title {
    max-width: 37.9rem;
    padding-top: 0;
  }
}
@media (width > 768px) {
  .industrial-section .section-text-container .description {
    max-width: 32rem;
  }
}
.industrial-section .blurred-grid-item {
  grid-row: 1;
  grid-column: 1;
  height: 100%;
  width: 100%;
  background-color: var(--grey-20);
  backdrop-filter: blur(15px);
  aspect-ratio: 1;
}
@media (width > 768px) {
  .industrial-section .blurred-grid-item {
    grid-row: 2;
    grid-column: 2;
  }
}
.industrial-section .grid-small-img {
  z-index: 1;
  height: 100%;
  width: 100%;
  grid-row: 2;
  grid-column: 2;
  -o-object-fit: cover;
     object-fit: cover;
}
@media (width > 768px) {
  .industrial-section .grid-small-img {
    grid-row: 3;
    grid-column: 3;
  }
}
.industrial-section .border.first {
  grid-column: 2;
}
.industrial-section .border.second {
  grid-column: 3;
}
.industrial-section .border.third {
  grid-column: 4;
}
.industrial-section .border.fourth {
  grid-column: 5;
}
