:root {
  --content-horisontal-margin: 55rem;
  --section-vertical-padding: 150rem;

  --color-sky-gray: #3c4254;
  --color-white: #ffffff;
  --text-primary: #fff;
  --text-secondary: rgba(255, 255, 255, 0.5);
  --text-light: rgba(255, 255, 255, 0.75);
  --text-error: #920c0c;
  --placeholder-color: rgba(255, 255, 255, 0.3);
  --bg-primary: #1e1f25;
  --bg-secondary: #7a797f;
  --warning: #f29020;
  --warning-darker: #f27220;
  --corp-blue-dark: #253b80;
  --corp-blue-light: #179bd7;
  --placeholder: #757575;
  --grey-dark: #353535;
  --header-height: 84rem;
}

@media (max-width: 575px) {
  :root {
    --content-horisontal-margin: 18rem;
    --section-vertical-padding: 130rem;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  padding: 0;
  margin: 0;
}

html {
  font-size: 0.072vw;
}

@media (max-width: 767px) {
  html {
    font-size: 0.15vw;
  }
}

@media (max-width: 575px) {
  html {
    font-size: 0.231vw;
  }
}

body {
  font-size: 16px;
  font-family: 'PT Sans', sans-serif;
  background-color: var(--bg-primary);
  background-image: url(./assets/noise-bg-2.webp), url(./assets/noise-bg-1.webp);
  color: var(--text-primary);
  overflow-x: hidden;
  position: relative;
}

.index-up {
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #78777c;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #1c1d22;
}

.overflow-hidden {
  overflow: hidden;
}

.no-events {
  pointer-events: none;
}

.secondary-btn:disabled {
  opacity: 0.5;
  cursor: initial;
}

.secondary-btn {
  padding: 40rem 60rem;
  background: transparent;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 20rem;
  line-height: 26rem;
  text-transform: uppercase;
  color: var(--text-primary);
  border-radius: 1000px;
  border: 1px solid var(--text-primary);
  cursor: pointer;
}

.secondary-btn sm {
  padding: 10rem 48rem;
}

.error {
  color: #430505;
  font-size: 16rem;
}

.intspirit-logo {
  margin: 0 var(--content-horisontal-margin);
  height: var(--header-height);
  align-items: center;
  display: flex;
}

.intspirit-logo img,
.footer-logo img {
  height: 28rem;
  width: auto;
}

.loading {
  overflow: hidden;
  height: 100vh;
  pointer-events: none;
}

.loading .index-up {
  opacity: 0;
}

.loader {
  position: absolute;
  top: 0;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: row-reverse;
  overflow: hidden;
}

.progress-bar {
  background: linear-gradient(to bottom right, var(--warning-darker), var(--warning));
  height: 100%;
  width: 100%;
  transition: transform 350ms;
}

.percents {
  position: absolute;
  bottom: 35rem;
  left: 57rem;
  font-size: 78rem;
  line-height: 78rem;
  font-weight: 400;
  z-index: 1;
  font-family: sans-serif;
}

.hidden {
  display: none !important;
}

.background-grey {
  will-change: opacity;
  transition: opacity 0.5s;
  opacity: 0;
  background-color: var(--bg-secondary);
  background-image: url('./assets/landing/noise-grey-bg-2.webp'), url('./assets/landing/noise-grey-bg-1.webp');
  position: absolute;
  pointer-events: none;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

/* -------------------FOOTER------------------------ */

.footer {
  padding: 120rem 0 80rem;
  position: relative;
  overflow: hidden;
}

.footer-data {
  margin: 0 var(--content-horisontal-margin);
  position: relative;
}

.footer .spot-blue {
  bottom: 0;
  transform: translate(-50%, 25%);
}

.footer .spot-orange {
  right: 0;
  transform: translate(50%);
}

.footer .spot-white {
  bottom: 0;
  left: 15%;
  transform: translate(-50%, 25%);
}

.footer h1 {
  font-size: 48rem;
  line-height: 58rem;
  white-space: nowrap;
}

.footer .logo {
  display: flex;
  gap: 170rem;
  align-items: center;
  flex-wrap: wrap;
}

.footer .links-section {
  margin-top: 120rem;
  display: flex;
  gap: 160rem;
  justify-content: center;
  margin-bottom: 117rem;
}

.footer .links-section-title {
  font-weight: 700;
  font-size: 30rem;
  line-height: 42rem;
}

.footer ul {
  padding: 0;
  margin: 0;
}

.footer li {
  font-family: 'Roboto', sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: 18rem;
  line-height: 28rem;
  color: var(--text-light);
  list-style: none;
  margin-top: 20rem;
}

.footer a {
  text-decoration: none;
  color: var(--text-light);
}

.footer .copyright {
  font-family: 'Roboto', sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: 12rem;
  line-height: 23rem;
  color: var(--text-light);
}

.footer .docs-links {
  margin-top: 42rem;
}

/* -------------------COOKIE------------------------ */

.cookie {
  position: fixed;
  width: 540px;
  max-width: 100%;
  bottom: 30rem;
  right: 30rem;
  padding: 30rem;
  background: var(--bg-primary) url(./assets/noise-bg-1.webp);
  z-index: 2;
  overflow: hidden;
  will-change: opacity;
  border: 1px solid rgba(255, 255,255, 0.03);
}

.cookie p {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 18rem;
  line-height: 28rem;
  color: var(--text-light);
  margin: 6rem 0 20rem;
}

.cookie .secondary-btn {
  padding: 18rem 60rem;
  margin: 0 auto;
  display: block;
}

.cookie h2 {
  color: var(--text-primary);
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 20rem;
  line-height: 26rem;
}

.cookie .close-cookie {
  position: absolute;
  top: 4rem;
  right: 10rem;
  border: 0 none;
  background: none;
  color: var(--text-light);
  cursor: pointer;
  font-size: 30rem;
  padding: 0 2rem;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
}
.cookie .close-cookie:after{
  display: inline-block;
  content: "+";
  transform: rotate(45deg);
}

/* -------------------HEADER------------------------ */

.go-home {
  z-index: 2;
  position: absolute;
}

.header {
  margin: 0 var(--content-horisontal-margin);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  height: var(--header-height);
  box-sizing: content-box;
  z-index: 1;
}

.live-line:after {
  content: "";
  width: 0;
  height: 1px;
  background-color: #ffffff80;
  position: absolute;
  bottom: 0;
  z-index: 1;
}

.live-line.active:after {
  width: 100%;
  transition-property: width;
  transition-duration: .5s;
}

.header nav {
  position: absolute;
  right: 100rem;
}

.header ul {
  display: flex;
  font-weight: 300;
  font-size: 18rem;
  color: var(--text_light);
  gap: 100rem;
  font-family: 'Roboto', sans-serif;
}

.header li {
  list-style: none;
}

.header a {
  color: inherit;
  text-decoration: none;
}

/* -------------------LANGUAGE SELECTOR------------------------ */

.lang-selector {
  color: transparent;
  border: 0 none;
  outline: 0 none;
  text-transform: capitalize;
  padding: 5rem 0 5rem 5rem;
  position: absolute;
  right: 0;
  font-size: 18rem;
  font-weight: normal;

  background: transparent url(./assets/language.svg) no-repeat;
  background-size: contain;

  appearance: none;
}

/* -------------------MODAL------------------------ */

.modal {
  background: var(--bg-secondary);
  display: flex;
  height: 100%;
  width: 100%;
}

/* -------------------NOTIFICATION------------------------ */

.notification {
  position: fixed;
  bottom: 30rem;
  right: 30rem;
  padding: 30rem;
  background: var(--bg-primary) url(./assets/noise-bg-1.webp);
  z-index: 2;
  overflow: hidden;
  will-change: opacity;
  border: 1px solid rgba(255, 255,255, 0.03);
}

.notification .success {
  border: 1px solid #C3F775;
}

.notification .error {
  border: 1px solid #FE553C;
}

.notification h2 {
  color: var(--text-primary);
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 20rem;
  line-height: 26rem;
}

.notification p {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 18rem;
  line-height: 28rem;
  color: var(--text-light);
  margin-top: 6rem;
}

.notification .spots i {
  height: 220rem;
  width: 220rem;
  transform: translate(80%, -50%);
}

/* -------------------PRIMARY BUTTON------------------------ */

.primary-btn {
  padding: 40rem 60rem;
  background: var(--warning);
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 20rem;
  line-height: 26rem;
  text-transform: uppercase;
  color: var(--text-primary);
  border-radius: 1000px;
  border: 0;
  cursor: pointer;
}

.primary-btn:disabled {
  opacity: 0.5;
  cursor: initial;
}

.primary-btn .sm {
  padding: 10rem 48rem;
}

/* -------------------PRIMARY LINK------------------------ */

.primary-link {
  position: relative;
  overflow: hidden;
  display: inline-block;
  text-decoration: none;
  color: var(--text-primary);
  will-change: transform;
}

.primary-link::before {
  content: "";
  height: 2px;
  width: 100%;
  transform: translate(-102%, 0);
  border-bottom: 1px solid var(--text-primary);
  bottom: 0;
  position: absolute;
  opacity: 0;
}

.primary-link::after {
  content: "";
  height: 2px;
  width: 100%;
  transform: translate(102%, 0);
  transition-property: transform;
  transition-duration: 500ms;
  border-bottom: 1px solid var(--text-primary);
  bottom: 0;
  position: absolute;
  left: 0;
  opacity: 1;
}

.primary-link:hover::before {
  transform: translate(0, 0);
  transition-property: transform;
  transition-duration: 500ms;
  opacity: 1;
}

.primary-link:hover::after {
  transform: translate(0, 0);
  opacity: 0;
}

/* -------------------ROUND BUTTON------------------------ */

.btn-to-top.splash-btn {
  width: 100rem;
  height: 100rem;
  position: absolute;
  right: 0;
  background: transparent;
  border-radius: 100%;
  border: 1px solid var(--text-primary);
  bottom: 0;
  cursor: pointer;
}

.btn-to-top .arrow {
  background-image: url('./assets/arrow-top.svg');
  transition: background-image 900ms ease-out;
  transition-delay: 500ms;
  width: 100%;
  height: 19rem;
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18rem;
  position: relative;
  z-index: 1;
}

.btn-to-top.active .arrow {
  background-image: url('./assets/arrow-top-black.svg');
  transition: background-image 600ms;
}

@media not all and (min-resolution:.001dpcm) {
  @supports (-webkit-appearance:none) and (stroke-color:transparent) {
    .btn-to-top:hover {
      background-color: #fff;
    }
  }
}

/* -------------------SECONDARY BUTTON------------------------ */

.secondary-btn {
  padding: 40rem 60rem;
  background: transparent;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 20rem;
  line-height: 26rem;
  text-transform: uppercase;
  color: var(--text-primary);
  border-radius: 1000px;
  border: 1px solid var(--text-primary);
  cursor: pointer;
}

.secondary-btn:disabled {
  opacity: 0.5;
  cursor: initial;
}

.secondary-btn.sm {
  padding: 10rem 48rem;
}

/* -------------------SPLASH BUTTON------------------------ */

.splash-btn {
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.splash-btn i {
  position: absolute;
  display: block;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  background: var(--corp-blue-dark);
  pointer-events: none;
  transition-property: transform;
  transition-duration: 1000ms;
  transition-timing-function: ease-out;
  border-radius: 100%;
}

.splash-btn .btn-content {
  position: relative;
  z-index: 1;
  pointer-events: none;
  display: block;
}

.splash-btn.active i {
  transform: scale(3000);
  transition-timing-function: ease-in;
}

/* @media (max-width: map-get($grid-breakpoints, 'lg') - 1) {
  &.active {
    i {
      transform: scale(500);
    }
  }
}

@media not all and (min-resolution:.001dpcm) {
  @supports (-webkit-appearance:none) and (stroke-color:transparent) {
    i {
      display: none;
    }

    &:hover {
      background-color: $corp_blue_dark;
    }
  }
} */

.splash .color-change {
  transition: ease-out 1000ms color 500ms;
}

.splash .color-change.active {
  transition: ease-out 1000ms color 0ms;
}

/* -------------------TEXT SPLIT------------------------ */

.no-visible {
  visibility: hidden;
}

/* -------------------SPOTS------------------------ */

.spots {
  display: block;
  position: absolute;
  user-select: none;
  pointer-events: none;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.spots img {
  position: absolute;
}

.spots i {
  display: block;
  position: absolute;
  opacity: 0.7;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  height: 440rem;
  width: 440rem;
  will-change: transform;
}

.spots .spot-orange {
  background-image: url('./assets/spots/spot-orange-blur.png');
}

.spots .spot-blue {
  background-image: url('./assets/spots/spot-blue-blur.png');
}

.spots .spot-blue-circle {
  background-image: url('./assets/spots/spot-blue-circle-blur.png');
}

.spots .spot-white {
  background-image: url('./assets/spots/spot-white-blur.png');
}

.spots .spot-right {
  right: 0;
  top: 0;
  transform: translate(50%, 0);
}

.spots .spot-left {
  left: 0;
  bottom: 0;
  transform: translate(-50%, 0);
}

/* -------------------SECTION HEADER------------------------ */

.section-header {
  display: flex;
  justify-content: space-between;
  padding-bottom: 26rem;
  margin: 0 var(--content-horisontal-margin);
  position: relative;
  align-items: center;
}

.section-header h2 {
  font-weight: 400;
  font-size: 30rem;
  line-height: 39rem;
  color: var(--text-secondary);
  margin: 0;
  padding: 0;
}

.legal {
  padding: 40px var(--content-horisontal-margin);
  position: relative;
}

.background-el {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(./assets/landing/noise-grey-bg-2.webp), url(./assets/landing/noise-grey-bg-1.webp);
  opacity: 0.5;
  z-index: -1;
}

.legal h1 {
  font-size: 48rem;
  line-height: 58rem;
  margin-bottom: 40rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.legal h1::after {
  content: "";
  width: 100%;
  height: 1px;
  background-color: #ffffff80;
  display: block;
  margin-top: 26rem;
}

.legal .container {
  display: flex;
  gap: 40rem;
}

.legal h2 {
  margin-bottom: 24rem;
}

.legal p {
  margin-bottom: 16rem;
}

.legal .container {
  flex-direction: column;
}
