html {
  scroll-behavior: smooth;
  background-color: rgb(39, 39, 39);
}

body {
  background-color: var(--page-bg);
  color: var(--text-color);
  font-family: var(--font-main);
}

img {
  display: block;
}

code {
  background-color: #e9f1f6;
  padding: 0.2rem;
  border-radius: 4px;
}

pre.code {
  overflow-x: auto;
  background-color: #e9f1f6;
  padding: 1rem;
  border-radius: 4px;
}

/* Контейнеры */
.container {
  margin: 0 auto;
  padding: 0 var(--container-padding);

  max-width: var(--container-width);
  width: 100%;
}

.page {
  height: 100%;
  font-size: 14px;
  font-family: var(--font-main);
  line-height: 18px;
}

.page__body {
  display: flex;
  flex-direction: column;
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  background-color: var(--page-bg);
  color: #000000;
}

.page-main {
  flex-grow: 1;
}

.footer {
  margin-top: auto;
}

:root {
  --container-width: 1262px;
  --container-padding: 15px;

  --font-main: "Montserrat", sans-serif;

  --page-bg: #fff;
  --text-color: #151515;
  --accent: #151515;
  --link-color: #e31e25;
}

.header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 31px 0;
}

.header__contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.header-link {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 16px;
  line-height: 110%;
  color: var(--text-color);
  text-decoration: none;
  transition: 0.3s ease;
}

.header-link:focus,
.header-link:hover,
.header-link:active {
  color: var(--link-color);
}

.fixed-social {
  position: fixed;
  right: 20px;
  bottom: 12px;
  z-index: 200;
  transition: 0.7s ease;
}
.fixed-social__list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.fixed-social__link {
  display: block;
  transform: rotate(0deg);
  transition: 0.7s ease;
}

.fixed-social__link img {
  width: 70px;
  height: 70px;
}

.fixed-social__link:hover {
  transform: rotate(360deg);
}

.fixed-social.hidden {
  opacity: 0;
  visibility: hidden;
  transition: 0.7s ease;
}

.promo {
  height: 100vh;
}

.promo__wrapper {
  min-width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.promo__wrapper::after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.banner {
  height: 100%;
}

.banner__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo__block {
  display: flex;
  align-items: center;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.promo__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 69px;
  max-width: 761px;
  margin: 0 auto;
}

.promo__info {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.promo__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.title-1 {
  padding: 0;
  margin: 0;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 77px;
  line-height: 92px;
  color: var(--page-bg);
  text-align: center;
}

.text {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 24px;
  line-height: 34px;
  color: var(--page-bg);
  text-align: center;
}

p {
  padding: 0;
  margin: 0;
}

.progress-title {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 24px;
  line-height: 120%;
  color: var(--page-bg);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.progress__block {
  max-width: 380px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 37px;
}

.progress__bar {
  position: relative;
  width: 100%;
  height: 8px;
  background-color: #d9d9d9;
}

.progress__line {
  position: absolute;
  width: 20%;
  height: 8px;
  background-color: var(--link-color);
}

@media (max-width: 1024px) {
  .promo__inner {
    gap: 50px;
  }

  .promo__info {
    gap: 40px;
  }

  .title-1 {
    font-size: 57px;
    line-height: 72px;
  }

  .text {
    font-size: 22px;
    line-height: 31px;
  }

  .progress-title {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .promo__inner {
    max-width: 100%;
    gap: 40px;
  }

  .promo__info {
    gap: 30px;
  }

  .title-1 {
    font-size: 37px;
    line-height: 52px;
  }

  .text {
    font-size: 20px;
    line-height: 29px;
  }

  .progress-title {
    font-size: 20px;
  }

  .fixed-social__link img {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 580px) {
  .header__wrapper {
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    padding: 10px 0;
  }

  .promo__inner {
    gap: 30px;
  }

  .promo__info {
    gap: 25px;
  }

  .title-1 {
    font-size: 32px;
    line-height: 42px;
  }

  .text {
    font-size: 20px;
    line-height: 29px;
  }

  .progress-title {
    font-size: 20px;
  }

  .fixed-social__link img {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 380px) {
  .header__contact {
    flex-direction: column;
  }
}
