.head {
  padding-top: 72px;
  background-image: url("/images/head-line-big.svg");
  background-size: 100%;
  background-position: center 380px;
}

.head__header {
  font-weight: 600;
  font-size: 76px;
  line-height: 106px;
  text-align: center;
  margin-bottom: 7px;
}

.head__text {
  font-size: 24px;
  line-height: 32px;
  text-align: center;
  margin: 0 auto 36px;
  max-width: 642px;
}

.head__button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

.head__web-button {
  margin-right: 30px;
}

.head__web-button, .head__download-button {
  padding: 21px 32px;
}

.head__web-button-text, .head__download-button-text {
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  display: block;
  background-position: left center;
}

.head__download-button-text {
  padding-left: 36px;
  background-size: 28px;
}

.head__other-platforms-label {
  text-align: center;
  margin-bottom: 12px;
  color: var(--placeholder-color);
}

.head__other-platforms-list {
  display: flex;
  justify-content: center;
  margin-bottom: 110px;
}

.head__other-platforms-item:not(:last-child) {
  margin-right: 14px;
}

.head__other-platforms-text {
  padding: 0 0 0 28px;
  border: none;
  background-position: left center;
  background-size: 24px;
  line-height: 24px;
  border-radius: 0;
}

.head__other-platforms-item_windows .head__other-platforms-text {
  background-image: url("/images/icons/windows-logo-blue.svg");
}

.head__other-platforms-item_macos .head__other-platforms-text {
  background-image: url("/images/icons/apple-logo-blue.svg");
}

.head__other-platforms-item_android .head__other-platforms-text {
  background-image: url("/images/icons/google-play-logo-blue.svg");
}

.head__other-platforms-item_ios .head__other-platforms-text {
  background-image: url("/images/icons/app-store-logo-blue.svg");
}

.head__other-platforms-item_app-gallery .head__other-platforms-text {
  background-image: url("/images/icons/app-gallery-logo-blue.svg");
}

.head__other-platforms-item_get-apps .head__other-platforms-text {
  background-image: url("/images/icons/get-apps-logo-blue.svg");
}

.head__other-platforms-item_ru-store .head__other-platforms-text {
  background-image: url("/images/icons/ru-store-logo-blue.svg");
}

.head__other-platforms-item_apk .head__other-platforms-text {
  background-image: url("/images/icons/download-blue.svg");
}

.head__preview {
  position: relative;
}

.head__video-element, .head__preview-desktop {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 36px 108px #c1cad266;
  border: 8px solid #ffffff;
}

.head__preview-block {
  background-color: var(--main-background-color);
  box-shadow: 0 24px 50px #bec6ce6b;
  border-radius: 16px;
  padding: 15px;
  position: absolute;
  display: flex;
}

.head__preview-block_service {
  top: -46px;
  right: -76px;
}

.head__preview-block_platforms {
  left: -81px;
  bottom: -73px;
}

.head__preview-icon {
  height: 75px;
  background-position: center;
  margin-right: 16px;
  border-radius: 10px;
  width: 75px;
}

.head__preview-block_service .head__preview-icon {
  background-color: #9474dc;
  background-image: url("/images/icons/services-icon.svg");
}

.head__preview-block_platforms .head__preview-icon {
  background-color: var(--link-text-color);
  background-image: url("/images/platforms-icon.svg");
}

.head__preview-text-container {
  display: flex;
  flex-flow: column;
  justify-content: center;
}

.head__preview-title {
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  white-space: nowrap;
}

.head__preview-subtitle {
  color: var(--placeholder-color);
  white-space: nowrap;
}

.head__preview-android {
  display: none;
  width: 256px;
  margin: 0 auto;
  -webkit-filter: drop-shadow(0 16px 58px #a0a9b3af);
  filter: drop-shadow(0 16px 58px #a0a9b3af);
}

.head__preview-ios {
  display: none;
  width: 258px;
  margin: 0 auto;
  -webkit-filter: drop-shadow(0px 20px 70px #a0a9b3af);
  filter: drop-shadow(0px 20px 70px #a0a9b3af);
}

@media screen and (max-width: 1280px) and (min-width: 681px) {
  .head__preview {
    padding: 0;
  }
}
@media screen and (max-width: 1400px) and (min-width: 681px) {
  .head__preview-block_service {
    right: 10px;
  }

  .head__preview-block_platforms {
    left: 10px;
  }
}

@media screen and (max-width: 768px) and (min-width: 681px) {
  .head__other-platforms {
    margin-bottom: 110px;
    flex-wrap: wrap;
  }

  .head__other-platforms-label {
    width: 100%;
    text-align: center;
    margin-bottom: 12px;
  }
}

@media screen and (max-width: 680px) {
  .head {
    padding-top: 32px;
    background-image: url("/images/head-line-small.svg");
    background-position: center 347px;
  }

  .head__header {
    font-size: 54px;
    line-height: 76px;
    margin-bottom: 4px;
  }

  .head__text {
    font-size: 18px;
    line-height: 24px;
    margin: 0 auto 32px;
  }

  .head__other-platforms-label {
    display: none;
  }

  .head__button-container {
    flex-flow: column-reverse;
    margin-bottom: 24px;
  }

  .head__other-platforms-list {
    display: none;
  }

  .head_ios .head__preview {
    margin-top: 46px;
  }

  .head__download-button {
    width: 100%;
  }

  .head__web-button {
    margin-right: 0;
    margin-top: 16px;
    width: 100%;
  }

  .head__preview {
    margin-top: 46px;
    padding: 0;
  }

  .head__video-element, .head__preview-desktop {
    display: none;
  }

  .head__web-button-text, .head__download-button-text {
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    background-size: 24px;
  }

  .head__web-button, .head__download-button {
    padding: 12px 32px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .head_android .head__preview-android {
    display: block;
  }

  .head_ios .head__preview-ios {
    display: block;
  }

  .head__preview-block {
    position: relative;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin-top: 16px;
  }

  .head__preview-icon {
    width: 55px;
    height: 55px;
    margin-right: 18px;
  }
}
