.progress-slider {
  height: 2px;
  background-color: rgba(3, 104, 90, 0.5);
  width: 95%;
  vertical-align: middle;
}

.progress-slider .fill {
  height: 4px;
  background-color: var(--chsGreen);
  vertical-align: middle;
  margin-top: -1px;
  width: 0%;
}

.progress-slider-number {
  color: var(--chsGreen);
  font-weight: bold;
  font-family: 'ABC Ginto Nord Variable';
  font-style: normal;
  font-weight: 400;
  font-size: 11px;
  line-height: 130%;
  vertical-align: middle;
}

.text-slide.text-position-top .progress-slider .fill {
  width: 0%;
  animation-delay: 2s;
  animation: grow 10s linear forwards;
}

@keyframes grow {
  0% {
    width: 0;
  }

  100% {
    width: 100%;
  }
}

video {
  border: none;
  width: 125%;
  height: auto;
  margin-left: -2px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.slider-container {
  width: 100%;
  height: 550px;
  margin: auto;
  overflow: hidden;
  position: relative;
}

.slider {
  width: 100%;
  height: 100%;
  margin: auto;
  overflow: hidden;
  position: absolute;
  z-index: 50px;
}

.slider-inset {
  width: 80%;
  height: 80%;
  margin: auto;
  z-index: 100;
  overflow: hidden;
  position: relative;
  display: none;
}

.slide {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  animation-delay: 1s ease-in-out;
}

.inner-slide {
  width: 90%;
  height: 77%;
  top: 11%;
  left: 5%;
  z-index: 1;
  position: absolute;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  animation-delay: 0s ease-in-out;
}

.text-slide {
  width: 80%;
  height: 54%;
  top: 23%;
  left: 10%;
  z-index: 150;
  position: absolute;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  animation-delay: 0s ease-in-out;
  padding: 40px;
}

.slide-animation-in {
  animation: slide-animation-in 8s;
}

.slide-animation-out {
  animation: slide-animation-out 10s;
}

.slide-text {
  position: relative;
  width: 600px;
  height: 150px;
  top: 65px;
  vertical-align: text-bottom;
  background-color: rgba(255, 255, 255, 0.8);
  color: #000;
  text-align: center;
  margin: auto;
  font-size: 48px;
}

.text-slide1 {
  background-color: #e2e2f3;
}

.text-slide2 {
  background-color: #e5e3dc;
}

.text-slide3 {
  background-color: #dbf3ff;
}

.text-slide4 {
  background-color: #d1e5e8;
}

.text-slide5 {
  background-color: #d2eae0;
}

.position-top {
  z-index: 10;
  animation: slide-animation-in 5s;
}

.inner-position-top {
  z-index: 100;
  animation: slide-animation-in 4s;
}

.text-position-top {
  z-index: 200;
  animation: slide-animation-in 5s;
}

.hide-display {
  display: none;
}

.position3 {
  z-index: 4;
}

.inner-position3 {
  z-index: 90;
}

.text-position3 {
  z-index: 190;
}

@media (max-width: 1200px) {
  .slider-container {
    height: 550px;
  }

  .text-slide h4 {
    font-size: 16px;
  }

  .text-slide h7 {
    font-size: 10px;
  }

  video {
    height: 100%;
    width: auto;
  }
}

@media (max-width: 996px) {
  .inner-slide {
    background-image: unset !important;
  }

  .text-slide {
    width: 86%;
    height: 77%;
    top: 11%;
    left: 7%;
    padding: 24px;
  }
}

@media (max-width: 500px) {
  .text-slide {
    width: 84%;
    height: 84%;
    top: 8%;
    left: 9%;
  }

  .slider-container {
    height: 600px;
  }
}

@keyframes slide-animation-in {
  0% {
    transform: translateX(900px);
  }

  30% {
    transform: translateX(0px);
  }
}
