.sec-hero {
  min-height: calc(100vh - 17.9rem);;
  display: flex;
  flex-wrap: wrap;
  position: relative;
  z-index: 3;
}

.sec-hero::after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../images/240822-baner-glowny-broadbandIT-ludzie.jpg);
  background-position: bottom !important;
  background-size: cover !important;
}

.hero-item {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 4vw 0;
}

.hero-text {
  max-width: 93rem;
}

.hero-text .h1 {
  margin-bottom: 4.8rem;
}

.hero-text .h1 * {
  font-size: 5rem;
  line-height: 5.9rem;
  margin-bottom: 0;
  letter-spacing: 1.5px;
}
.hero-text .h1 span,
.hero-text .h1 strong{
  color: var(--main-color);
}
.hero-text p {
  letter-spacing: 0.6px;
}

#changingword {
  color: var(--main-color);
}

.hero-btn {
  margin-top: 7.2rem;
}

.hero-btn .btn {
  min-width: 22.3rem;
}

.hero-arrow {
  position: absolute;
  left: calc(50% - 2.4rem);
  bottom: -3.4rem;
  width: 4.8rem;
  height: 8.4rem;
  text-align: center;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: var(--btn-color) !important;
  border: 0.3rem solid var(--btn-color ) !important;
  border-radius: 1rem;
  padding-top: 2.05rem;
}

.hero-arrow:hover {
  background: var(--second-active-color);
}

.hero-arrow img {
  animation: bounce 2s infinite;
}

/* .hero-arrow:hover img {
  -webkit-filter: brightness(0) invert(31%) sepia(23%) saturate(1525%) hue-rotate(195deg) brightness(97%) contrast(88%);
  filter: brightness(0) invert(31%) sepia(23%) saturate(1525%) hue-rotate(195deg) brightness(97%) contrast(88%);
} */

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-2rem);
  }

  60% {
    transform: translateY(-1rem);
  }
}

@media(min-width:1560px) and (max-width:1659.98px) {
  .hero-item {
    padding: 6.15vw 0;
  }

  .hero-text .h1 {
    margin-bottom: 3.8rem;
  }

  .hero-btn {
    margin-top: 5.6rem;
  }
}

@media(min-width:1460px) and (max-width:1559.98px) {
  .sec-hero {
    min-height: calc(100vh - 15.3rem);
    min-height: calc(100dvh - 15.3rem);
  }
  .hero-item {
    padding: 6.15vw 0;
  }

  .hero-text .h1 {
    margin-bottom: 3.5rem;
  }

  .hero-btn {
    margin-top: 5.6rem;
  }
}

@media(min-width:1360px) and (max-width:1459.98px) {
  .sec-hero {
    min-height: calc(100vh - 15.3rem);
    min-height: calc(100dvh - 15.3rem);
  }
  .hero-item {
    padding: 6.15vw 0 0;
  }

  .hero-text {
    max-width: 80rem;
  }

  .hero-text .h1 {
    margin-bottom: 3.5rem;
  }
  .hero-text .h1 * {
    font-size: 4.7rem;
    line-height: 5.6rem;
  }
  .hero-btn {
    margin-top: 5.6rem;
  }
}

@media(min-width:1200px) and (max-width:1359.98px) {
  .sec-hero {
    min-height: calc(100vh - 15rem);
    min-height: calc(100dvh - 15rem);
  }

  .hero-text .h1 {
    margin-bottom: 3.5rem;
  }
  .hero-text .h1 * {
    font-size: 4.5rem;
    line-height: 5.4rem;
  }
  .hero-text {
    max-width: 72rem;
  }

  .hero-btn {
    margin-top: 5.6rem;
  }
}

@media(min-width:992px) and (max-width:1199.98px) {
  .sec-hero {
    min-height: calc(100vh - 7rem);
    min-height: calc(100dvh - 7rem);
  }

  .hero-item {
    padding: 8.15vw 0;
  }

  .hero-text {
    max-width: 72rem;
  }

  .hero-text .h1 {
    margin-bottom: 3.8rem;
  }
  .hero-text .h1 * {
    font-size: 4.5rem;
    line-height: 5.4rem;
  }
  .hero-btn {
    margin-top: 5.2rem;
  }
}

@media(min-width:768px) and (max-width:991.98px) {
  .sec-hero {
    min-height: calc(100vh - 7rem);
    min-height: calc(100dvh - 7rem);
  }

  .hero-item {
    padding: 9.15vw 0;
  }

  .hero-text {
    max-width: 66rem;
  }

  .hero-text .h1 {
    margin-bottom: 3.6rem;
  }
  .hero-text .h1 * {
    font-size: 4rem;
    line-height: 4.9rem;
  }

  .hero-text p {
    letter-spacing: 0.3px;
  }

  .hero-btn {
    margin-top: 4rem;
  }
}

@media(max-width:767.98px) {
  .sec-hero {
    min-height: calc(100vh - 7rem);
    min-height: calc(100dvh - 7rem);
    height: auto;
  }

  .sec-hero::after {
    background-position: bottom;
  }

  .hero-item {
    padding: 4rem 0 5rem;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-text .h1 {
    margin-bottom: 2.8rem;
  }

  .hero-text .h1 * {
    letter-spacing: 0.6px;
    font-size: 2.6rem;
    line-height: 3.4rem;
  }

  .hero-text p {
    letter-spacing: 0.3px;
  }

  .hero-btn {
    margin-top: 3.8rem;
  }

  .hero-arrow {
    height: 6rem;
    width: 4rem;
    left: calc(50% - 2rem);
    border-radius: 0.7rem;
    bottom: -3rem;
    padding-top: 1.5rem;
  }

  .hero-arrow img {
    width: 2rem;
  }
}