* > small {
 opacity: 1 !important;
}


.header {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100%;
  background-image: linear-gradient(
      var(--color-transparent),
      var(--color-semi-transparent)
    ),
    url("./images/header-background.png");
  background-size: cover;
  background-position: top left;
  position: relative;
  overflow: hidden;
}

.header video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header_content {
  padding: 18px 110px;
  z-index: 1;
}


.header__logo-container {
  display: flex;
  justify-content: space-between;
}

.header__logo img {
  max-height: 50px;
}

.header__contact {
  display: flex;
  align-items: center;
}

.header__phone-button {
  display: flex;
  align-items: center;
  background-color: var(--color-button-bg);
  border: none;
  border-radius: 30px;
  padding: 10px 20px;
  margin-right: 15px;
  cursor: pointer;
  font: var(--font-header-small);
  text-decoration: none;
  transition: background-color 0.5s ease;
}

.header__phone-number {
  margin-left: 10px;
  color: var(--color-black);
}

.header__phone-button:hover {
  background-color: var(--color-gray);
}

.header__phone-icon {
  width: 20px;
  height: auto;
}

.header__quiestion-icon {
  display: none;
}

.header__contact-button {
  background-color: var(--color-primary);
  color: var(--color-pure-white);
  border: none;
  border-radius: 30px;
  padding: 12.5px 35px;
  cursor: pointer;
  font: var(--font-pt-root-small-alt);
  transition: background-color 0.5s ease;
}

.header__contact-button:hover {
  background-color: var(--color-hover-dark-blue);
}

.header__info {
  text-align: start;
  margin-top: 124px;
}

.header__title {
  margin: 0;
  max-width: 900px;
  font: var(--font-bold-extra-large);
  text-shadow: 0px 4px 30px var(--color-shadow);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.header__stats {
  margin-top: 204px;
  display: flex;
  justify-content: space-between;
  width: 100%;
  list-style: none;
  padding-left: 0;
}

.header__stat {
  text-align: center;
  margin-right: 20px;
}

.header__stat:last-child {
  margin-right: 0;
}

.header__stat-number {
  font: var(--font-large-semibold);
  margin: 0;
  letter-spacing: -4%;
}

.header__stat-description {
  font: var(--font-medium-semibold-description);
  margin-bottom: 61px;
  margin-top: 0;
  text-transform: uppercase;
}

.header__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 20px;
}

.header__stat-number-container {
  display: flex;
  align-items: center;
}

.header__stat-arrow {
  margin-right: 10px;
  object-fit: contain;
  width: 23px;
}

.header__series {
  padding: 8.5px 24.5px;
  border: 2px solid var(--color-pure-white);
  border-radius: 49px;
  color: var(--color-pure-white);
  font: var(--font-medium-semibold);
  background-color: transparent;
  cursor: pointer;
  text-transform: uppercase;
  transition: background-color 0.5s ease;
  text-decoration: none;
}

.header__series:hover {
  background-color: var(--color-white-overlay);
}

@media (max-width: 1110px) {
  .header__stat-number {
    font: var(--font-semibold-large);
  }
  
  .header__stat {
    margin-right: 0px;
  }
}

@media (max-width: 890px) {
  .header_content {
    padding: 20px 20px 60px 20px;
  }

  .header__logo img {
    max-height: 18px;
  }

  .header__logo-container {
    align-items: center;
  }

  .header__contact {
    display: flex;
    column-gap: 38px;
  }

  .header__phone-button {
    padding: 15px;
    border-radius: 50px;
  }

  .header__phone-number {
    display: none;
  }

  .header__contact-button {
    padding: 15px;
    border-radius: 50px;
  }

  .header__info {
    margin-top: 101px;
  }

  .header__title {
    font-size: 32px;
    line-height: 39px;
  }

  .header__stat-arrow {
    width: 10px;
  }

  .header__series {
    margin-top: 35px;
    padding: 6px 20px;
    font-size: 16px;
  }

  .header__stats {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 123px;
  }

  .header__stat:not(:first-child) {
    display: none;
  }

  .header__stat {
    padding: 20px 30px;
    border-left: 2px solid var(--color-pure-white);
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin-right: 10px;
  }

  .header__stat-number {
    font-size: 32px;
    line-height: 44px;
  }

  .header__stat-number-container {
    display: flex;
    align-items: center;
  }

  .header__stat-description {
    font-size: 14px;
    line-height: 18px;
    margin: 0;
    margin-top: 10px;
    text-align: left;
  }

  .header__stat-description::before {
    display: inline;
    content: "непрерывного ";
  }
  
  .header__question {
    display: none;
  }

  .header__quiestion-icon {
    display: block;
    width: 18px;
    height: 18px;
  }
}