@font-face {
  font-family: "Russo One";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: local('Russo One Regular'), local('Russo One-Regular'),
  url("../fonts/russoone-regular.woff2") format("woff2"),
  url("../fonts/russoone-regular.woff") format("woff"),
  url("../fonts/russoone-regular.ttf") format("ttf");
}

@font-face {
  font-family: "Open Sans";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: local('Open Sans Regular'), local('Open Sans-Regular'),
  url("../fonts/opensans-regular.woff2") format("woff2"),
  url("../fonts/opensans-regular.woff") format("woff"),
  url("../fonts/opensans-regular.ttf") format("ttf");
}

@font-face {
  font-family: "Open Sans";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: local('Open Sans Bold'), local('Open Sans-Bold'),
  url("../fonts/opensans-bold.woff2") format("woff2"),
  url("../fonts/opensans-bold.woff") format("woff"),
  url("../fonts/opensans-bold.ttf") format("ttf");
}

@font-face {
  font-family: "Oswald";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: local('Oswald Regular'), local('Oswald-Regular'),
  url("../fonts/oswald-regular.woff2") format("woff2"),
  url("../fonts/oswald-regular.woff") format("woff"),
  url("../fonts/oswald-regular.ttf") format("ttf");
}

@font-face {
  font-family: "Ubuntu";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: local('Ubuntu Bold'), local('Ubuntu-Bold'),
  url("../fonts/ubuntu-bold.woff2") format("woff2"),
  url("../fonts/ubuntu-bold.woff") format("woff"),
  url("../fonts/ubuntu-bold.ttf") format("ttf");
}

@font-face {
  font-family: "Bebas Neue";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: local('Bebas Neue Regular'), local('Bebas Neue-Regular'),
  url("../fonts/bebasneue-regular.woff2") format("woff2"),
  url("../fonts/bebasneue-regular.woff") format("woff"),
  url("../fonts/bebasneue-regular.ttf") format("ttf");
}


html {
  box-sizing: border-box;
  height: 100%;
}

button {
  outline: unset;
}

*,
*::before,
*::after {
  box-sizing: inherit;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden;
  margin: 0;
  padding: 0;
}

:root {
  --black: #000000;
  --black-light: #010101;
  --black-opacity: 0, 0, 0;
  --white: #ffffff;
  --white-dark: #EBEBEB;
  --red: #C5112C;
  --red-opacity: 197, 17, 44;
  --gray-dark: #121212;
  --blue: #103356;
}

.visually-hidden:not(:focus):not(active) {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

a,
button {
  text-decoration: none;
  cursor: pointer;
  border: none;
  color: var(--white);
}

img {
  display: block;
}

svg {
  flex-shrink: 0;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

h1 {
  margin: 0;
}

.body {
  max-width: 1920px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.main {
  width: 100%;
  color: var(--white-dark);
  font-weight: 400;
  font-size: 18px;
  line-height: 34px;
  font-family: "Open Sans", sans-serif;
}

.container {
  max-width: 1320px;
  padding: 40px;
  margin: 0 auto;
}

.head {
  background-color: var(--black-light);
}

.head__wrapper {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.developed {
  display: flex;
  align-items: center;
  gap: 15px;
}

.developed__text {
  font-family: "Oswald", sans-serif;
  font-size: 26px;
  line-height: 38px;
  text-transform: uppercase;
  color: var(--white);
  transition: 0.3s;
}

.developed__icon {
  fill: var(--white);
  transition: 0.3s;
}

.developed:hover .developed__text {
  color: var(--red);
  transition: 0.3s;
}

.developed:hover .developed__icon {
  fill: var(--red);
  transition: 0.3s;
}

.head__content {
  display: flex;
  align-items: center;
  gap: 25px;
}

.head__img {
  margin: 0 0 -40px -90px;
}

.head__info {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.head__unit {
  font-family: "Ubuntu", sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 40px;
  max-width: 770px;
}

.main-title {
  font-family: "Russo One", sans-serif;
  font-size: 44px;
  line-height: 52px;
  color: var(--red);
  text-transform: uppercase;
}

.head__wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.head__text {
  font-size: 24px;
  line-height: 32px;
  max-width: 490px;
  margin: 0 0 42px;
}

.head__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.head__eesl {
  font-size: 36px;
  line-height: 42px;
  font-family: "Russo One", sans-serif;
  color: var(--red);
  transition: 0.3s;
  text-align: center;
}

.head__link:hover .head__eesl {
  color: var(--white);
  transition: 0.3s;
}

.intro {
  background-color: var(--red);
  overflow: hidden;
}

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

.intro__content {
  position: relative;
  z-index: 1;
  flex-grow: 1;
}

.texts {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.blur {
  padding: 40px 63px;
  background: rgba(var(--black-opacity), 0.55);
  backdrop-filter: blur(30px);
}

.title {
  font-weight: 700;
  font-size: 30px;
  line-height: 34px;
  text-transform: uppercase;
  font-family: "Ubuntu", sans-serif;
}

.subtitle {
  font-weight: 700;
  font-size: 24px;
  line-height: 28px;
  font-family: "Ubuntu", sans-serif;
}

.title--center {
  text-align: center;
}

.intro__img {
  margin: -15px -30px -40px -70px;
}

.task {
  background-image: url("../images/background-task.png");
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
}

.task__container {
  padding: 100px 40px;
  display: flex;
  justify-content: flex-end;
}

.task__content {
  max-width: 65%;
}

.functional {
  background-color: var(--gray-dark);
  overflow: hidden;
}

.functional__wrapper {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.functional__block {
  padding: 80px 40px;
}

.functional__list {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.functional__item {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.functional__column {
  display: flex;
  flex-direction: column;
  gap: 35px;
  flex-grow: 1;
}

.functional__content {
  display: flex;
  height: 385px;
}

.functional__unit {
  padding: 25px;
  background: rgba(var(--red-opacity), 0.55);
  backdrop-filter: blur(30px);
  width: 570px;
  flex-shrink: 0;
  justify-content: center;
}

.text__bold {
  color: var(--white);
  font-weight: 700;
}

.functional__container {
  flex-grow: 1;
  height: 100%;
  padding: 0 35px 0 0;
}

.functional__img {
  width: 100%;
  height: auto;
}

.functional__infos {
  display: grid;grid-template-columns: repeat(4,1fr);
}

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

.functional__number {
  font-family: "Bebas Neue", sans-serif;
  font-size: 170px;
  line-height: 170px;
  text-transform: uppercase;
  color: var(--red);
  z-index: 1;
  margin: 0 -21px;
}

.functional__dark {
  padding: 20px;
  background: rgba(var(--black-opacity), 0.55);
  backdrop-filter: blur(30px);
  height: 100%;
  display: flex;
  align-items: center;
  flex-grow: 1;
}

.nicescroll-rails,
#ascrail2000,
#ascrail2001,
#ascrail2002 {
  background: var(--blue);
  box-shadow: inset 0 4px 4px rgba(var(--black-opacity), 0.25);
  overflow: hidden;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  list-style: initial;
  padding: 0 0 0 20px;
}

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

.functional__screen {
  z-index: 1;
}

.functional__screen--1 {
  margin: -100px -75px 0 -160px;
}

.functional__screen--2 {
  margin: -25px 50px -35px -15px;
}

.functional__screen--3 {
  margin: -35px -35px -80px -330px;
}

.contacts {
  background-color: var(--red);
}

.contacts__container {
  padding: 90px 40px;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}

.contacts__texts {
  display: flex;
  flex-direction: column;
  gap: 50px;
  width: 41%;
}

.contacts__wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contacts__title {
  font-size: 40px;
  line-height: 44px;
  font-family: "Russo One", sans-serif;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.contacts__list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contacts__link {
  display: flex;
  align-items: center;
  gap: 15px;
}

.contacts__icon {
  flex-shrink: 0;
  fill: var(--white-dark);
  transition: 0.3s;
}

.contacts__unit {
  font-weight: 700;
  transition: 0.3s;
}

.contacts__link:hover  .contacts__icon {
  fill: var(--black-light);
  transition: 0.3s;
}

.contacts__link:hover .contacts__unit {
  color: var(--black-light);
  transition: 0.3s;
}

.socials {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.socials__text {
  font-weight: 700;
  font-size: 30px;
  line-height: 34px;
  font-family: "Ubuntu", sans-serif;
}

.socials__list {
  display: flex;
  align-items: center;
  gap: 40px;
  margin: 0 -5px;
}

.socials__link {
  padding: 5px;
  display: flex;
}

.socials__icon {
  fill: var(--white-dark);
  transition: 0.3s;
}

.socials__link:hover .socials__icon {
  fill: var(--black-light);
  transition: 0.3s;
}

.contacts__sportsoft {
  width: 45%;
}

.contacts__logo {
  width: 100%;
  height: auto;
}

@media (max-width: 1300px) {
  .head__text {
    font-size: 22px;
    line-height: 28px;
    margin: 0 0 36px;
  }

  .developed__text {
    font-size: 24px;
    line-height: 30px;
  }

  .head__unit {
    font-size: 32px;
    line-height: 36px;
  }

  .head__title {
    font-size: 36px;
    line-height: 44px;
  }

  .head__eesl {
    font-size: 32px;
    line-height: 36px;
  }

  .blur {
    padding: 40px;
  }

  .title {
    font-size: 28px;
    line-height: 32px;
  }

  .socials__text {
    font-size: 28px;
    line-height: 32px;
  }

  .subtitle {
    font-size: 22px;
    line-height: 26px;
  }

  .task__container {
    padding: 40px;
  }

  .functional__wrapper {
    gap: 40px;
  }

  .functional__block {
    padding: 40px;
  }

  .functional__list {
    gap: 40px;
  }

  .functional__item {
    gap: 30px;
  }

  .functional__column {
    gap: 30px;
  }

  .functional__number {
    font-size: 150px;
    line-height: 150px;
  }

  .functional__screen--1 {
    z-index: auto;
  }

  .functional__screen--2 {
    margin: -25px 20px -30px -15px;
  }

  .functional__screen--3 {
    z-index: auto;
    margin: -30px -200px -40px -200px;
  }

  .contacts__container {
    padding: 40px;
  }

  .contacts__texts {
    gap: 30px;
    width: 50%;
  }

  .contacts__sportsoft {
    width: 50%;
  }
}

@media (max-width: 1080px) {
  .container {
    padding: 30px;
  }

  .head__info {
    gap: 25px;
  }

  .head__img {
    margin: 0 0 -30px -130px;
    width: 370px;
    height: auto;
  }

  .head__logo {
    width: 200px;
    height: auto;
  }

  .blur {
    padding: 30px;
  }

  .title {
    font-size: 26px;
    line-height: 30px;
  }

  .socials__text {
    font-size: 26px;
    line-height: 30px;
  }

  .intro__img {
    margin: -30px -100px -30px -100px;
  }

  .functional__wrapper {
    gap: 30px;
  }

  .functional__list {
    gap: 30px;
  }

  .functional__item {
    gap: 20px;
  }

  .functional__column {
    gap: 20px;
  }

  .functional__number {
    font-size: 130px;
    line-height: 130px;
  }

  .functional__unit {
    padding: 20px;
    width: 506px;
  }

  .functional__container {
    padding: 0 25px 0 0;
  }

  .functional__screen--2 {
    margin: -10px 20px -20px -65px;
  }

  .functional__screen--3 {
    margin: -20px -250px -30px -250px;
  }
}

@media (max-width: 980px) {
  .main-title {
    font-size: 32px;
    line-height: 38px;
  }

  .contacts__title {
    font-size: 28px;
    line-height: 32px;
  }

  .head__unit {
    font-size: 30px;
    line-height: 34px;
  }

  .text {
    font-size: 16px;
    line-height: 24px;
  }

  .contacts__unit {
    font-size: 16px;
    line-height: 24px;
  }

  .task__content {
    max-width: 100%;
  }

  .functional__number {
    font-size: 110px;
    line-height: 110px;
    margin: 0 -16px;
  }

  .functional__infos {
    grid-template-columns: repeat(2,1fr);
    gap: 10px;
  }

  .functional__info:nth-child(2),
  .functional__info:nth-child(4),
  .functional__info:nth-child(5),
  .functional__info:nth-child(7) {
    display: none;
  }

  .functional__unit {
    width: 345px;
  }

  .functional__screen--1 {
    margin: 0 -180px 0 -180px;
  }

  .functional__screen--3 {
    margin: -20px -300px -30px -300px;
  }
}

@media (max-width: 730px) {
  .container {
    padding: 20px;
  }

  .head__text {
    font-size: 20px;
    line-height: 26px;
    margin: 0 0 32px;
  }

  .developed__text {
    font-size: 22px;
    line-height: 28px;
  }

  .head__unit {
    font-size: 28px;
    line-height: 32px;
  }

  .main-title {
    font-size: 30px;
    line-height: 36px;
  }

  .contacts__title {
    font-size: 26px;
    line-height: 30px;
  }

  .head__eesl {
    font-size: 28px;
    line-height: 32px;
  }

  .head__img {
    display: none;
  }

  .head__wrapper {
    gap: 20px;
  }

  .head__info {
    gap: 15px;
  }

  .head__wrap {
    gap: 15px;
  }

  .head__link {
    gap: 10px;
  }

  .head__logo {
    width: 150px;
  }

  .blur {
    padding: 20px;
  }

  .title {
    font-size: 24px;
    line-height: 28px;
  }

  .socials__text {
    font-size: 24px;
    line-height: 28px;
  }

  .subtitle {
    font-size: 20px;
    line-height: 24px;
  }

  .intro__img {
    margin: -20px -180px -20px -180px;
  }

  .functional__wrapper {
    gap: 20px;
  }

  .functional__list {
    gap: 20px;
  }

  .functional__item {
    gap: 15px;
  }

  .functional__column {
    gap: 15px;
  }

  .functional__number {
    font-size: 90px;
    line-height: 90px;
  }

  .functional__content {
    flex-direction: column;
    height: auto;
  }

  .functional__unit {
    width: 100%;
  }

  .functional__container {
    height: 385px;
    padding: 0;
  }

  .functional__screen {
    display: none;
  }

  .contacts__container {
    flex-direction: column;
    align-items: stretch;
  }

  .contacts__texts {
    width: 100%;
  }

  .contacts__sportsoft {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .contacts__logo {
    max-width: 556px;
  }

  .socials__list {
    gap: 20px;
  }

  .contacts__texts {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 15px;
  }

  .head__text {
    font-size: 16px;
    line-height: 22px;
    margin: 0 0 30px;
  }

  .developed__text {
    font-size: 20px;
    line-height: 26px;
  }

  .head__unit {
    font-size: 22px;
    line-height: 28px;
  }

  .developed {
    gap: 10px;
  }

  .main-title {
    font-size: 22px;
    line-height: 28px;
  }

  .contacts__title {
    font-size: 20px;
    line-height: 24px;
  }

  .head__eesl {
    font-size: 24px;
    line-height: 30px;
  }

  .head__wrapper {
    gap: 15px;
  }

  .blur {
    padding: 15px;
  }

  .texts {
    gap: 10px;
  }

  .title {
    font-size: 20px;
    line-height: 24px;
  }

  .socials__text {
    font-size: 20px;
    line-height: 24px;
  }

  .subtitle {
    font-size: 16px;
    line-height: 22px;
  }

  .text {
    font-size: 14px;
    line-height: 20px;
  }

  .functional__wrapper {
    gap: 15px;
  }

  .functional__list {
    gap: 15px;
  }

  .functional__item {
    gap: 10px;
  }

  .functional__column {
    gap: 10px;
  }

  .functional__number {
    font-size: 70px;
    line-height: 70px;
    margin: 0 -10px 0 0;
  }

  .functional__container {
    height: 300px;
  }

  .functional__infos {
    grid-template-columns: repeat(1,1fr);
  }

  .list {
    gap: 0;
    padding: 0 0 0 20px;
  }

  .contacts__wrapper {
    gap: 15px;
  }

  .contacts__texts {
    gap: 15px;
  }

  .socials {
    gap: 10px;
  }

  .socials__list {
    gap: 15px;
  }
}

@media (max-width: 400px) {
  .head__wrap {
    flex-direction: column;
  }

  .developed__icon {
    width: 160px;
    height: auto;
  }

  .head__text {
    margin: 0;
  }

  .intro__img {
    display: none;
  }
}





