@import url("https://fonts.googleapis.com/css2?family=Afacad:wght@400..700&family=Inter:opsz,wght@14..32,100..900&display=swap");

:root {
  --font-inter: "Inter", sans-serif;
  --font-afacad: "Afacad", sans-serif;

  --color-page-background: #111212;
  --color-custom-red: #a93739;
  --color-custom-red-hover: #6c2c2d;
  --color-custom-blue: #6787da;
  --color-custom-blue-hover: #3f558f;
  --color-custom-dark: #202021;
  --color-custom-dark-hover: #2d2d30;
  --color-custom-yellow: #f1e432;
  --color-custom-grey: #555555;
  --color-custom-light: #f2f2f2;
  --color-custom-black: #161617;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  word-break: break-word;
}

body {
  font-family: var(--font-afacad);
  font-style: normal;
  font-weight: 700;
  line-height: 0.827;
  color: #ffffff;
  background-color: var(--color-page-background);
}

img,
svg {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

a,
a:hover,
a:focus,
a:active {
  text-decoration: none;
  color: inherit;
}

button {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  color: white;
  font-family: var(--font-afacad);
  font-size: 18px;
  font-weight: 700;
  line-height: 0.827;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  transition: all ease-in 0.15s;
  -webkit-transition: all ease-in 0.15s;
  -moz-transition: all ease-in 0.15s;
  -ms-transition: all ease-in 0.15s;
  -o-transition: all ease-in 0.15s;
}

.wrapper {
  position: relative;
  height: 100%;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.-container {
  position: relative;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0px 8px;
}

/* ---------------------- Overlay section --------------------------- */
.section-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  z-index: 99999;
  background: rgba(22, 22, 23, 0.88);
  backdrop-filter: blur(5.9px);
  -webkit-backdrop-filter: blur(5.9px);

  display: flex;
  align-items: center;
  justify-content: center;
}
.overlay__container {
  position: relative;
  padding: 10px 0px;
  border: 1px solid #a93739;
  background: var(--color-custom-dark);
  box-shadow: 0px 0px 79.3px -20px #a93739;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}
.overlay__cover-ellipse {
  position: absolute;
  width: 182px;
  height: 182px;
}
.overlay__cover-ellipse--top {
  top: 0;
  left: 0;
  transform: translate(-60px, -60px);
  -webkit-transform: translate(-60px, -60px);
  -moz-transform: translate(-60px, -60px);
  -ms-transform: translate(-60px, -60px);
  -o-transform: translate(-60px, -60px);
}
.overlay__cover-ellipse--bottom {
  bottom: 0;
  right: 0;
  transform: translate(60px, 60px);
  -webkit-transform: translate(60px, 60px);
  -moz-transform: translate(60px, 60px);
  -ms-transform: translate(60px, 60px);
  -o-transform: translate(60px, 60px);
}
.overlay__content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 7px;
}
.overlay__heading {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0px 16px 0px 10px;
}
.overlay__heading .heading__title {
  font-size: 36px;
  text-transform: uppercase;
  color: var(--color-custom-light);
}
.overlay__items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}
.overlay__item {
  gap: 11px;
  padding: 10.5px 16px 10.5px 8.5px;
  border: 0.5px solid var(--color-custom-red);
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}
.overlay__item .item__icon {
  width: 38px;
  height: 38px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}
.overlay__item .item__icon img {
  width: 53px;
  height: 53px;
}
.overlay__item .item__content .item__title {
  font-size: 8.8px;
  color: var(--color-custom-grey);
}
.overlay__item .item__content .item__link {
  font-size: 20.5px;
  text-transform: uppercase;
  color: var(--color-custom-light);
}
.overlay__item .item__button {
  width: 92px;
  height: 28px;
  font-size: 14px;
  margin-left: auto;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}
.overlay__btn-close {
  width: 188px;
  justify-self: center;
}

/* --------------------- Page top background -------------------------- */
.page_top-background {
  display: none;
}

/* ------------------------------ Header ------------------------------ */
.header {
  margin-bottom: 14px;
}
.header__container {
  padding-top: 24px;
  padding-bottom: 24px;
}
.header__logo-block {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2px;
}
.header__logo-img {
  display: inline-block;
  width: 79px;
  height: 79px;
}
.header__logo-text {
  text-transform: uppercase;

  h1 {
    font-size: 68px;
    color: var(--color-custom-red);
  }

  span {
    font-size: 20.5px;
    color: var(--color-custom-blue);
  }
}
.header__ad-block {
  display: none;
}

/* ---------------------- Main --------------------------- */
main {
  margin-bottom: 24px;
}
.main__grid-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 11px;
  padding: 0;
}

/* ---------------------- Contacts section + Overlay section --------------------------- */
.contacts__title {
  background-color: #603031;
  padding: 20px 24px;
  border-radius: 2px 2px 0px 0px;
  -webkit-border-radius: 2px 2px 0px 0px;
  -moz-border-radius: 2px 2px 0px 0px;
  -ms-border-radius: 2px 2px 0px 0px;
  -o-border-radius: 2px 2px 0px 0px;
  font-size: 18px;
  text-transform: uppercase;
}
.contacts__items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 14px 10px;
  border-radius: 0px 0px 14px 14px;
  -webkit-border-radius: 0px 0px 14px 14px;
  -moz-border-radius: 0px 0px 14px 14px;
  -ms-border-radius: 0px 0px 14px 14px;
  -o-border-radius: 0px 0px 14px 14px;
  background-color: var(--color-custom-red);
}
.overlay__item,
.contacts__item {
  display: flex;
  align-items: center;
  background-color: var(--color-custom-dark);
  transition: all ease-in 0.15s;
  -webkit-transition: all ease-in 0.15s;
  -moz-transition: all ease-in 0.15s;
  -ms-transition: all ease-in 0.15s;
  -o-transition: all ease-in 0.15s;

  &:hover {
    background-color: var(--color-custom-dark-hover);
  }
}
.contacts__item.contacts__item--inactive:hover {
  background-color: var(--color-custom-dark);
}
.contacts__item {
  gap: 22px;
  padding: 21px 17px;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}
/* .contacts__item--bot {
  cursor: pointer;
} */
.overlay__heading .heading__icon,
.overlay__item .item__icon,
.contacts__item .item__icon {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.overlay__heading .heading__icon,
.contacts__item .item__icon {
  width: 78px;
  height: 77px;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}
.contacts__item.contacts__item--inactive .item__icon {
  opacity: 0.1;
}
.contacts__item .item__icon--support {
  background-color: var(--color-custom-yellow);
}
.contacts__item .item__icon--channel {
  background-color: var(--color-custom-red);
}
.contacts__item .item__icon--chat {
  background-color: var(--color-custom-blue);
}
.contacts__item .item__icon--matrix,
.contacts__item .item__icon--signal {
  background-color: #eaf0ff;
}
.contacts__item .item__icon--jabber {
  background-color: white;
}
.contacts__item .item__icon--bender-hub,
.contacts__item .item__icon--bender-search {
  background-color: var(--color-custom-black);
}
.contacts__item .item__icon--bender-hub img,
.contacts__item .item__icon--bender-search img {
  -o-object-fit: contain;
  object-fit: contain;
}
.contacts__item .item__icon--support img {
  width: 64px;
  height: 110px;
  transform: translateY(-10px);
  -webkit-transform: translateY(-10px);
  -moz-transform: translateY(-10px);
  -ms-transform: translateY(-10px);
  -o-transform: translateY(-10px);
}
.overlay__heading .heading__icon img,
.contacts__item .item__icon--bot img {
  width: 109px;
  height: 109px;
}
.contacts__item .item__icon--channel img {
  width: 93px;
  height: 94px;
}
.contacts__item .item__icon--chat img {
  width: 107px;
  height: 107px;
}
.contacts__item .item__icon--matrix img {
  width: 66px;
  height: 28px;
}
.contacts__item .item__icon--jabber img {
  width: 50px;
  height: 73px;
}
.contacts__item .item__icon--signal img {
  width: 48px;
  height: 48px;
}
.overlay__heading .heading__content,
.overlay__item .item__content,
.contacts__item .item__content {
  display: flex;
  flex-direction: column;
}
.overlay__heading .heading__content,
.contacts__item .item__content {
  gap: 6px;
}
.overlay__item .item__content {
  gap: 3px;
}
.overlay__heading .heading__subtitle,
.contacts__item .item__title {
  font-size: 18px;
  color: var(--color-custom-grey);
}
.contacts__item .item__link {
  font-size: 27px;
  text-transform: uppercase;
  color: var(--color-custom-light);
}
.contacts__item .item__link.item__link--bender-hub,
.contacts__item .item__link.item__link--bender-search {
  text-transform: none;
}
.overlay__btn-close,
.overlay__item .item__button,
.contacts__item .item__button {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-custom-red);
  transition: all ease-in 0.15s;
  -webkit-transition: all ease-in 0.15s;
  -moz-transition: all ease-in 0.15s;
  -ms-transition: all ease-in 0.15s;
  -o-transition: all ease-in 0.15s;

  &:hover {
    background-color: var(--color-custom-red-hover);
  }
}
.contacts__item.contacts__item--inactive .item__button {
  background-color: var(--color-custom-grey);
  color: #797979;

  &:hover {
    background-color: var(--color-custom-grey);
  }
}
.overlay__btn-close,
.contacts__item .item__button {
  height: 56px;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  font-size: 18px;
}
.overlay__item .overlay__btn-close,
.contacts__item .item__button {
  width: 128px;
  margin-left: auto;
}
.contacts__item .item__icon--copy {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  cursor: pointer;
  margin-right: -5px;
  padding: 7px;
  background-color: var(--color-custom-red);
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;

  transition: all ease-in 0.15s;
  -webkit-transition: all ease-in 0.15s;
  -moz-transition: all ease-in 0.15s;
  -ms-transition: all ease-in 0.15s;
  -o-transition: all ease-in 0.15s;

  &:hover {
    background-color: var(--color-custom-red-hover);
  }
}
.contacts__item .item__copy-icon svg {
  fill: white;
}
.contacts__item .item__button--arrow {
  width: 57px;
}
.contacts__item .item__button--arrow img {
  width: 16px;
  height: 16px;
}
.contacts__item .item__button.item__button--hidden {
  display: none;
}

/* ---------------------- Bender Search section --------------------------- */
.search__container {
  padding: 11px;
  background-color: var(--color-custom-blue);
}
.search__background {
  position: relative;
  padding: 23px;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
  background-color: var(--color-custom-black);
}
.search__cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.search__cover img {
  object-position: left;
  -o-object-position: left;
}
.search__content {
  position: relative;
  z-index: 2;
}
.search__title-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 23px;
}
.search__title-block .search__title-logo {
  width: 95px;
  height: 35px;
}
.search__title-block .search__title-text {
  font-size: 25px;
  text-transform: uppercase;
  color: var(--color-custom-yellow);
}
.search__title-block .search__title-text--emphasize,
.search__subtitle--emphasize {
  color: var(--color-custom-red);
}
.search__subtitle {
  font-size: 25px;
  margin-bottom: 25px;
}
.search__items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 27px;
  font-size: 16px;
  font-weight: 600;
}
.search__offers,
.search__offers .offers__items,
.search__promo .promo__items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.search__offers .offers__title {
  color: var(--color-custom-blue);
  font-weight: 700;
}
.search__promo {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.search__promo .promo__title {
  line-height: 1.4;
  text-wrap: pretty;
}
.search__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  background-color: var(--color-custom-blue);
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  transition: all ease-in 0.15s;
  -webkit-transition: all ease-in 0.15s;
  -moz-transition: all ease-in 0.15s;
  -ms-transition: all ease-in 0.15s;
  -o-transition: all ease-in 0.15s;

  &:hover {
    background-color: var(--color-custom-blue-hover);
  }
}

/* ---------------------- News section --------------------------- */
.news__title {
  background-color: var(--color-custom-blue);
  padding: 20px 24px;
  border-radius: 2px 2px 0px 0px;
  -webkit-border-radius: 2px 2px 0px 0px;
  -moz-border-radius: 2px 2px 0px 0px;
  -ms-border-radius: 2px 2px 0px 0px;
  -o-border-radius: 2px 2px 0px 0px;
  font-size: 18px;
  text-transform: uppercase;
}
.news__items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 24px 10px 24px 24px;
  border-radius: 0px 0px 10px 10px;
  -webkit-border-radius: 0px 0px 10px 10px;
  -moz-border-radius: 0px 0px 10px 10px;
  -ms-border-radius: 0px 0px 10px 10px;
  -o-border-radius: 0px 0px 10px 10px;
  background-color: var(--color-custom-dark);
  border: 1px solid #343437;

  max-height: 810px;
  overflow-y: auto;
}
.news__item {
  display: flex;
  flex-direction: column;
  gap: 23px;
  padding-bottom: 16px;
  border-bottom: 1px solid #343437;
}
.news__date {
  font-size: 18px;
  text-transform: uppercase;
}
.news__text {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}
.news__text--yellow,
.news__subtitle {
  color: var(--color-custom-yellow);
}
.news__subtitle {
  font-weight: 700;
  font-size: 16px;
  margin: 7px 0px;
}
.news__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 9px;
}
.news__action {
  padding: 12px 24px;
  font-size: 18px;
  font-weight: 700;
  background-color: var(--color-custom-blue);
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;

  &:hover {
    background-color: var(--color-custom-blue-hover);
  }
}

.news__scrollbar::-webkit-scrollbar {
  width: 9px;
}
.news__scrollbar::-webkit-scrollbar-track {
  margin: 6px 0px 12px 0px;
  background-color: #27272a;
  border-radius: 14px;
  -webkit-border-radius: 14px;
  -moz-border-radius: 14px;
  -ms-border-radius: 14px;
  -o-border-radius: 14px;
}
.news__scrollbar::-webkit-scrollbar-thumb {
  background-color: var(--color-custom-blue);
  border-radius: 14px;
  -webkit-border-radius: 144px;
  -moz-border-radius: 144px;
  -ms-border-radius: 144px;
  -o-border-radius: 144px;
}

/* ---------------------- Footer --------------------------- */
.footer__scroll-wrapper {
  overflow: hidden;
  padding: 24px 0px;
  margin-bottom: 24px;
  background-color: var(--color-custom-black);
}
.footer__container {
  display: flex;
  align-items: center;
  gap: 33px;

  will-change: transform;
}
.footer__link {
  flex-shrink: 0;
  -webkit-filter: grayscale(100%) brightness(0.5);
  filter: grayscale(100%) brightness(0.5);
  transition: all 0.15s ease-in;
  -webkit-transition: all 0.15s ease-in;
  -moz-transition: all 0.15s ease-in;
  -ms-transition: all 0.15s ease-in;
  -o-transition: all 0.15s ease-in;
}
.footer__link:hover,
.footer__link:active {
  filter: none;
  -webkit-filter: none;
}
.footer__link--ssn24 {
  width: 200px;
  height: 61px;
}
.footer__link--hub {
  width: 373px;
  height: 65px;
}
/* ----------------------------------------------------------- */
.hidden {
  display: none;
}
