:root {
  --navbar-height: 100px;
  --content-width: 1240px;
}

.mobile-only {
  display: none;
}

@media screen and (max-width: 1240px) {
  :root {
    --content-width: 980px;
  }

  .desktop-only {
    display: none !important;
  }
  .mobile-only {
    display: inline-block;
  }

  footer {
    padding-left: 24px;
    padding-right: 24px;
    height: unset;
  }
}

@media screen and (min-width: 980px) {
  ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }

  ::-webkit-scrollbar-thumb {
    background: #666;
    border-radius: 20px;
  }

  ::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 20px;
  }
}

@media screen and (max-width: 800px) {
  :root {
    --navbar-height: 52px;
  }
}

@font-face {
  font-family: 'Poppins';
  src: url('/font/Poppins-Regular.ttf');
}

@font-face {
  font-family: 'Poppins';
  src: url('/font/Poppins-SemiBold.ttf');
  font-weight: 500;
}

@font-face {
  font-family: 'Poppins';
  src: url('/font/Poppins-Bold.ttf');
  font-weight: 600;
}

html {
  background-color: black;
  color: white;
}

body {
  font-family: Poppins, sans-serif;
  font-size: 20px;
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
}

body.locked {
  overflow: hidden;
}

html[lang='ru-RU'] body {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

html[lang='ru-RU'] .navbar-item {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

main {
  overflow-x: clip;
  background-color: #080808;
  background-image: url(/noise.png);
  background-position: center;
}

section {
  width: 100%;
}

.section-content {
  margin-left: auto;
  margin-right: auto;
  max-width: var(--content-width);
}

footer {
  display: flex;
  flex-direction: column;
  margin-left: auto;
  margin-right: auto;

  max-width: 1240px;
  width: 100%;
}

footer h3 {
  font-size: 16px;
}

a {
  color: #d24128;
  text-decoration: none;
}

h1 {
  font-weight: 600;
  font-size: 48px;
  line-height: 72px;
  margin: 0;
}

h2 {
  font-size: 36px;
  line-height: 50px;
  font-weight: 500;
}

.button {
  border-radius: 4px;
  border: 0;
  color: white;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: 0.2s all;
  background-position: left;
  background-size: 200%;
  background-repeat: repeat;
  background-color: #ff3d00;
  background-image: linear-gradient(
    90deg,
    #ff3d00 0%,
    #8032ff 50%,
    #ff3d00 100%
  );
  background-position: left;
  box-shadow:
    0px 0px 13px transparent,
    0px 4px 8px rgba(6, 8, 14, 0.2),
    inset 0px -1px 1px rgba(35, 34, 49, 0.2),
    inset 0px 1px 1px rgba(255, 255, 255, 0.3);
}
.button:hover,
.button:active {
  background-position: right;
  box-shadow:
    0px 0px 13px #e1616f,
    0px 4px 8px rgba(6, 8, 14, 0.2),
    inset 0px -1px 1px rgba(35, 34, 49, 0.2),
    inset 0px 1px 1px rgba(255, 255, 255, 0.3);
}
.button:active {
  background-image: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.25),
      rgba(0, 0, 0, 0.25)
    ),
    linear-gradient(90deg, #ff3d00 0%, #8032ff 50%, #ff3d00 100%);
}

.blackwhite-button {
  text-decoration: none;
  border-radius: 4px;
  transition: 0.2s all;
  color: #fff;
  border: 1px solid #fff;
  background-color: #000;
}
.blackwhite-button:hover,
.blackwhite-button:active {
  color: #000;
  border: 1px solid #000;
  background-color: #fff;
}

.form-control > div:first-child {
  background-color: #3c3c3c !important;
  border-radius: 4px;
}

.form-control[aria-expanded='true'] > div:first-child {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.form-control input {
  background-color: transparent;
  width: 100%;
  border: none;
  outline: none;
  font-weight: 400;
  font-size: 18px;
  line-height: 22px;
}

.form-control.readonly > div:first-child {
  background-color: #000000 !important;
}

.form-control.readonly .form-control-label {
  color: #666666;
}

.form-control.readonly input {
  color: #666666;
}

.form-control.error > div:first-child::before {
  display: none;
}

.form-control.error > div:first-child {
  border: 1px solid #d4170b;
  background-color: transparent !important;
}

.form-control.error [role='alert'] {
  font-weight: 400;
  font-size: 14px;
  line-height: 21px;
  margin-top: 2px;
  color: #d4170b;
  margin-left: 22px;
}

.select-value {
  font-weight: 400;
  font-size: 18px;
  line-height: 22px;
}

.select-option:not(:last-child) {
  border-bottom: 1px solid #7d7d7d;
}

.select-option:hover {
  background-color: #7d7d7d;
}

.form-control-label {
  font-size: 18px;
  line-height: 22px;
  transition-property: all;
}

.select-field-selected .form-control-label,
.form-control-filled .form-control-label,
.form-control-focused .form-control-label {
  font-size: 16px;
  line-height: 20px;
  color: #888888;
}

.code-input input {
  background-color: #3c3c3c !important;
  width: 60px;
  height: 75px;
  font-weight: 400;
  font-size: 35px;
  line-height: 52px;
}

.code-input.error input {
  background-color: #000000 !important;
  border: 1px solid #d4170b;
}

.code-input [role='alert'] {
  margin-top: 10px;
  color: #d4170b;
}

.code-input input:not(:last-child) {
  margin-right: 18.33px;
}

.base-h1-heading {
  /*styleName: Jack styles/H1;*/
  font-size: 48px;
  font-weight: 600;
  line-height: 72px;
}

.base-h2-heading {
  /*styleName: Jack styles/H2;*/
  font-size: 36px;
  font-weight: 600;
  line-height: 50.4px;
}

.base-h3-heading {
  /*styleName: Jack styles/H3;*/
  font-size: 32px;
  font-weight: 600;
  line-height: 41.6px;
  margin: 0;
}

.base-body2-text {
  /*styleName: Jack styles/Body_2;*/
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-align: left;
  color: #ffffff;
}

.base-body3-text {
  /*styleName: Jack styles/Body 3;*/
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
  color: #ffffff;
}
