.heroBlock {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
  color: #fff;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 0 0 30px 30px;
  overflow: hidden;
}

.heroBlock__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.heroBlock__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.25) 0%,
    rgba(0, 0, 0, 0.15) 100%
  );
  z-index: 1;
}

.heroBlock__container {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  width: 90%;
  margin: 0 auto;
  text-align: start;
  padding: 265px 0 120px 0;
}

.heroBlock__title {
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-size: 56px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
  max-width: 900px;
  margin: 0;
}

.heroBlock__prefix,
.heroBlock__suffix {
  white-space: pre-wrap;
}

.heroBlock__typed {
  display: inline-block;
  min-width: 2ch;
  border-right: 2px solid #fff;
  padding-right: 4px;
}

.heroBlock__text {
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  max-width: 725px;
}

.heroBlock__buttons {
  display: inline-flex;
  gap: 12px;
}

.heroBlock__btn {
  padding: 14px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  box-sizing: border-box;
}

.heroBlock__btn--primary {
  background: var(--darkBlue);
  color: #fff;
  border: 1px solid var(--darkBlue);
}
.heroBlock__btn--primary:hover {
  background: #fff;
  color: var(--darkBlue);
  border: 1px solid var(--darkBlue);
}

.heroBlock__btn--secondary {
  background: transparent;
  color: var(--darkBlue);
  border: 1px solid var(--darkBlue);
}
.heroBlock__btn--secondary:hover {
  background: #fff;
  color: var(--darkBlue);
  border: 1px solid var(--darkBlue);
}

.heroBlock__go-down {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 50px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  opacity: 0.5;
  z-index: 100;
  animation: hb-bounce 1.6s infinite;
}

.heroBlock__go-down:hover {
  opacity: 1;
}

.heroBlock__go-down-icon {
  font-size: 28px;
  animation: hb-bounce 1.6s infinite;
}

@keyframes hb-bounce {
  0%,
  100% {
    transform: translateY(0) translateX(-50%);
  }
  50% {
    transform: translateY(10px) translateX(-50%);
  }
}

@media (max-width: 900px) {
  .heroBlock {
    min-height: 460px;
  }
  .heroBlock__container {
    width: 92%;
    padding: 200px 0 100px 0;
    text-align: center;
  }
  .heroBlock__title {
    font-size: 44px;
    max-width: 700px;
    margin: 0 auto 12px auto;
  }
  .heroBlock__text {
    font-size: 16px;
    max-width: 680px;
    margin: 0 auto 20px auto;
  }
  .heroBlock__buttons {
    gap: 10px;
  }
}

@media (max-width: 600px) {
  .heroBlock {
    min-height: 420px;
  }
  .heroBlock__container {
    padding: 150px 0 90px 0;
  }
  .heroBlock__title {
    font-size: 34px;
    max-width: 520px;
  }
  .heroBlock__text {
    font-size: 15px;
    max-width: 520px;
  }
  .heroBlock__buttons {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .heroBlock__btn {
    width: 100%;
    text-align: center;
    font-size: 16px;
    padding: 12px 16px;
  }
  .heroBlock__go-down {
    bottom: 30px;
  }
  .heroBlock__typed {
    border-right-width: 1px;
    padding-right: 3px;
  }
}
