@import url("https://fonts.googleapis.com/css2?family=Fira+Sans+Extra+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Smooch&display=swap");

@font-face {
  font-family: Gilroy;
  src: url("./fonts/Gilroy-Regular.woff2") format("woff2"),
    url("./fonts/Gilroy-Regular.woff") format("woff");
}

body {
  background: url("./images/hts-bg-1.png") center 46.875vw no-repeat,
    url("./images/bg.jpg?t=22") center top/cover;
  font-style: normal;
  font-family: "Fira Sans Extra Condensed";
}

.header__wrapper {
  margin: 0 calc(-5vw + 10px);
  padding: 0 5vw;
  grid-template-columns: 12.5vw 1fr 12.5vw;
  grid-template-rows: 1fr 10.41vw;
  min-height: 47vw;
  /* background: url("./images/header-bg-2.png") center -1.3vw no-repeat,
    url("./images/header-bg-1.png") center top no-repeat; */
}

.header__monitoring {
  padding-left: 3.65vw;
}

.header__title {
  font-size: 1.7rem;
  line-height: 1.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.navbar__wrapper {
  grid-template-columns: 7.81vw 1fr 9.11vw;
  margin-top: 1.3vw;
  margin-bottom: 1.3vw;
}

/* .navbar__wrapper .logo {
  width: 65px;
  height: auto;
} */

.navbar__link {
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 2.6vw;
}

.navbar__link:hover {
  color: #fc8a49;
  transform: translateY(0.5vw);
}

.navbar__link:after {
  background: unset;
}

.btn--profile {
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  background: #fc8a49;
  padding: unset;
  width: 100%;
  display: inline-block;
  text-align: center;
}

.btn--orange {
  background: linear-gradient(90deg, #fc8a49 0, #ff6726 100%);
}

.news-items__wrap {
  display: grid;
  grid-row-gap: 1rem;
}

.news-item {
  margin-bottom: 0;
  width: unset;
}

.news-item__link {
  font-size: 1.4rem;
  letter-spacing: 0.2em;
  padding: 0.52vw 0.78vw 0.31vw 0.78vw;
  line-height: 1.4rem;
}

.btn--profile > .btn__text {
  line-height: 2.6vw;
}

.server-monitoring__online {
  background: linear-gradient(90deg, #fc8a49 0, #ff6726 100%);
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  padding: 0.52vw 0 0.31vw 0;
  line-height: 1.4rem;
}

.server-monitoring__progress-value {
  box-shadow: unset;
}

.presentation__title {
  position: relative;
}

.presentation__title > span {
  font-size: 4.55rem;
  letter-spacing: 0.08em;
  position: relative;
}

.presentation__title > span:last-child {
  margin-left: 1rem;
}

.presentation__title:before {
  content: "";
  position: absolute;
  height: 5.1vw;
  width: 15.6vw;
  background-color: #7154e8;
  top: -1.04vw;
  right: -0.62vw;
}

.presentation__button {
  background: linear-gradient(90deg, #fc8a49 0, #ff6726 100%);
  font-size: 1.45rem;
  line-height: 1.45rem;
  letter-spacing: 0.2em;
  padding: 1.4vw 1.3vw;
  margin-top: 1.61vw;
}

.h-link {
  position: relative;
  width: 16.66vw;
  min-width: 16.66vw;
  min-height: 10.4vw;
  height: 10.4vw;
  padding: 3rem 1.5rem 1.5rem 1.5rem;
  overflow: hidden;
}

.h-link__wrap {
  grid-template-columns: 3.9vw 1fr;
  grid-template-rows: unset;
  grid-gap: 1.5rem;
}

.h-link__title {
  grid-column: unset;
  font-size: 2.87rem;
  position: relative;
}

.h-link__title span {
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.2em;
  font-size: 1.1rem;
  display: block;
}

.h-link__sn-logo {
  position: relative;
}

.h-link__members {
  grid-column: span 2;
  position: relative;
  display: flex;
  align-items: center;
}

.h-link__members span {
  display: inline-block;
  margin-left: 0.5rem;
}

.h-link__bg-icon {
  position: absolute;
}

.h-link:first-child {
  background: #7289da;
}

.h-link:first-child .h-link__bg-icon {
  top: 2.6vw;
  left: -3.07vw;
}

.h-link:nth-child(2) {
  background: #ff3a3a;
}

.h-link:nth-child(2) .h-link__bg-icon {
  top: 2.5vw;
  left: -0.41vw;
  transform: rotate(345deg);
}

.h-link:last-child {
  background: #2682fa;
}

.h-link:last-child .h-link__bg-icon {
  top: 3.02vw;
  left: -2.4vw;
}

.play {
  background: url("./images/hts-bg-2.png") center -5.73vw no-repeat;
  margin: 0 12vw;
  width: unset;
}

.play__title {
  font-size: 4.57rem;
  text-align: center;
  line-height: 3.71rem;
  position: relative;
  margin-top: 6.25vw;
}

.play__title span {
  position: relative;
}

.play__title:before {
  content: "";
  position: absolute;
  width: 11.46vw;
  height: 3.852vw;
  background: linear-gradient(90deg, #fc8a49 0, #ff6726 100%);
  box-shadow: 0 0.208vw 6.614vw #fc8a49;
  left: calc(50% - 5.729vw);
  top: 1.927vw;
}

.play__steps {
  position: relative;
  display: flex;
  justify-content: space-between;
  min-height: 28.646vw;
}

.play__steps:after {
  content: "";
  position: absolute;
  width: 33.177vw;
  height: 14.948vw;
  background: url("./images/hts-car.png") center center/cover no-repeat;
  left: calc(50% - 18.229vw);
  top: -0.52vw;
}

.play__steps:before {
  content: "";
  position: absolute;
  width: 45.208vw;
  height: 9.791vw;
  background: url("./images/hts-arrow.svg") center center/cover no-repeat;
  left: calc(50% - 25.417vw);
  top: 7.552vw;
}

.play-step {
  display: grid;
  grid-template-columns: 2.083vw 12.5vw;
  grid-column-gap: 0.7rem;
  align-self: flex-start;
}

.play-step__number {
  color: #ff6726;
  font-size: 6.86rem;
  line-height: 6.86rem;
}

.play-step__text {
  font-size: 3.43rem;
  line-height: 3.1rem;
  letter-spacing: 0.08em;
}

.play-step__text span {
  display: block;
  font-size: 1.7rem;
  letter-spacing: 0.5em;
}

.play-step__action {
  grid-column: span 2;
  margin-left: 2.604vw;
  margin-top: 1.5rem;
}

.play-step__action a {
  background: linear-gradient(90deg, #fc8a49 0, #ff6726 100%);
  display: inline-block;
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  color: #fff;
  text-decoration: none;
  padding: 0.417vw 0.573vw;
  transition: transform 0.2s;
}

.play-step__action a:hover {
  transform: scale(1.1);
}

.play-step:nth-child(2) {
  margin-top: 6.771vw;
}

.how-play__title {
  text-align: unset;
}

.how-play__title:after {
  display: none;
}

.footer {
  background: 0 0;
  text-align: unset;
  font-family: Gilroy, sans-serif;
  margin-top: 0;
}

.footer__wrap {
  display: grid;
  grid-template-columns: 7.813vw 12.716vw 12.716vw 12.716vw;
  grid-column-gap: 7.813vw;
}

.footer__wrap img {
  align-self: center;
}

.footer__column {
  display: grid;
  grid-row-gap: 1rem;
  align-self: center;
}

.footer__link {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.052vw;
}

@media (min-width: 1920px) {
  body {
    background-size: 100%, cover;
  }

  .header__wrapper {
    background-size: 75.781vw, 100%;
  }
}

@media (min-width: 1950px) {
  html {
    font-size: 20px;
  }
}

@media (max-width: 1900px) {
  html {
    font-size: 12px;
  }
}

@media (max-width: 1650px) {
  .play-step__text {
    font-size: 3rem;
    line-height: 3rem;
  }

  .play-step__text span {
    letter-spacing: 0.3em;
  }
}

@media (max-width: 1366px) {
  html {
    font-size: 10px;
  }

  .header__wrapper {
    background-size: 75.781vw, 100%;
  }

  .server-monitoring__number {
    font-size: 2.5051vw;
  }

  .server-monitoring__online {
    width: 5.33vw;
  }

  .h-link__sn-logo {
    display: none;
  }

  .h-link__title {
    grid-column: span 2;
  }
}

@media (max-width: 820px) {
  .header__wrapper {
    grid-template-columns: 1fr;
    grid-template-rows: unset;
    min-height: unset;
    background-size: 105vw, auto;
  }

  .h-links {
    padding: 0;
  }

  .h-link {
    width: 25%;
    height: 150px;
  }

  .server-monitoring__online {
    width: auto;
    font-size: 2rem;
  }

  .play {
    display: none;
  }

  .footer__wrap {
    grid-template-columns: 1fr;
    grid-row-gap: 0.5rem;
  }

  .footer__wrap img {
    width: 150px;
    justify-self: center;
    margin-bottom: 1rem;
  }

  .footer__column {
    grid-row-gap: 0.5rem;
    text-align: center;
  }

  .btn--profile,
  .btn--profile > .btn__text {
    transform: unset;
  }

  .btn--profile > .btn__text {
    line-height: 30px;
    padding: 0 7px;
  }

  .navbar__link--mobile {
    padding: 16px;
    font-size: 2rem;
  }
}

@media (max-width: 468px) {
  .h-link {
    min-width: 50%;
  }

  .h-link:first-child,
  .h-link:last-child,
  .h-link:nth-child(2),
  .h-link:nth-child(3) {
    transform: unset;
  }

  .h-link__wrap {
    transform: unset;
  }

  .news-item__link {
    line-height: 126px;
  }

  .navbar__wrapper {
    grid-template-columns: 85px 1fr 85px;
  }

  .footer__link {
    font-size: 1.2rem;
    line-height: 2rem;
  }
}

@media (max-width: 1024px) {
  html {
    font-size: 8px;
  }
}
