@font-face {
  font-family: "TT Travels";
  src: url("../fonts/TT-Travels-Next-Trial-Variable.woff2") format("woff2 supports variations"), url("../fonts/TT-Travels-Next-Trial-Variable.woff2") format("woff2-variations");
  font-weight: 100 1000;
}

:root {
  --color-dark: #1b2a17;
  --color-light: #f4f1e8;
  --color-green: #504e17;
  --color-grey: #999586;
  --color-white: #ffffff;
  --section-gap: 110px;
  --container-padding-x: 24px;
}

* {
  padding: 0;
  margin: 0;
  border: 0;
}

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

aside,
nav,
footer,
header,
section {
  display: block;
}

img,
video,
canvas,
svg {
  display: block;
}

input,
input::placeholder,
textarea,
textarea::placeholder {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
}

input:focus {
  outline: 0;
}

input::-ms-clear {
  display: none;
}

button {
  display: inline-block;
  cursor: pointer;
  padding: 0;
  border: none;
  background: none;
  -webkit-user-select: none;
          user-select: none;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
}

button:disabled {
  cursor: default;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

a {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

img {
  vertical-align: top;
}

ol,
ul {
  padding: 0;
}

ol[role=list],
ul[role=list],
ol[role=listbox],
ul[role=listbox] {
  list-style: none;
}

.container {
  max-width: 1920px;
  width: 100%;
  margin: 0 auto;
  padding-left: var(--container-padding-x);
  padding-right: var(--container-padding-x);
}

.container--full {
  padding: 0;
}

.custom-scrollbar {
  scrollbar-color: var(--color-grey) transparent;
  scrollbar-width: thin;
}

.custom-scrollbar::-webkit-scrollbar {
  background-color: transparent;
  width: 4px;
  height: 4px;
  border-radius: 2px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background-color: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background-color: var(--color-grey);
  border-radius: 2px;
}

/* p2 */

body {
  font-family: "TT Travels", "Helvetica", "Arial";
  font-size: 15px;
  line-height: 1.6;
  font-weight: 350;
  background-color: var(--color-light);
  color: var(--color-dark);
}

::selection {
  color: #fff;
  background: var(--color-dark);
}

::-moz-selection {
  color: #fff;
  background: var(--color-dark);
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: clip;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

.h2 {
  font-size: 24px;
  font-weight: 597;
  line-height: 1.2;
  text-transform: uppercase;
}

.h3 {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
}

.text-button {
  font-size: 14px;
  font-weight: 350;
  line-height: 1.6;
  text-transform: uppercase;
}

.button-primary {
  position: relative;
  display: inline-block;
  padding: 16px;
  border-radius: 1px;
  color: var(--color-dark);
  background-color: transparent;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  border-width: 1px;
  border-style: solid;
  border-color: var(--color-accent);
  overflow: hidden;
  transition-duration: 0.37s;
  transition-timing-function: ease-out;
  transition-property: border-radius;
}

.button-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background-position-x: 0;
  background-position-y: center;
  background-repeat: no-repeat;
  background-image: url("../img/icons/arnament-light.svg");
  transform: translateX(0);
  transition: transform 0.37s ease-out;
}

.button-primary--white {
  color: var(--color-white);
  border-color: var(--color-white);
}

.button-primary--white::after {
  background-image: url("../img/icons/arnament-light.svg");
}

.button-primary:hover {
  border-top-left-radius: 30px;
  border-bottom-right-radius: 30px;
}

.button-primary:hover::after {
  transform: translateX(-110px);
}

.button-primary:disabled {
  cursor: default;
  color: var(--color-white);
  background-color: var(--color-light);
  border-color: var(--color-light);
}

.input {
  width: 100%;
  float: left;
  display: block;
  margin: 0;
  text-transform: none;
  padding: 16px 24px;
  border-radius: 1px;
  color: var(--color-dark);
  border: 1px solid var(--color-green);
  background-color: transparent;
  transition-duration: 0.25s;
  transition-timing-function: ease-out;
  transition-property: color, border-color;
}

.input::-webkit-inner-spin-button,
.input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.input::placeholder {
  color: var(--color-grey);
}

.input:hover,
.input:focus,
.input._fill {
  border-color: var(--color-dark);
}

.input:disabled {
  color: var(--color-grey);
  border-color: var(--color-grey);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.back-btn {
  display: flex;
  align-items: center;
  gap: 17px;
  color: var(--color-light);
}

.height-100vh {
  height: 100vh;
}

.skoro .container {
  overflow: hidden;
}

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

.skoro__block {
  display: flex;
  min-width: 100%;
}

.skoro__s {
  width: 17.28%;
  display: flex;
}

.skoro__s1 {
  flex: 0 0 35.294%;
}

.skoro__s2-wrap {
  position: relative;
  flex: 0 0 48.75%;
  transform-origin: 0;
}

.skoro__s2 {
  position: absolute;
  top: 0;
  left: 0;
  /*width: 103.078126%;*/
  width: 103.0781261107557%;
  transform: translateX(0);
}

.skoro__s3 {
  flex: 0 0 16.2629%;
}

.skoro__static-block {
  display: flex;
  flex: 0 0 82.72%;
}

.skoro__k {
  width: 22.6647%;
}

.skoro__o {
  width: 26.2853%;
}

.skoro__r {
  width: 23.8957%;
}

.skoro__svg {
  width: 100%;
}

.skoro-letter {
  opacity: 0;
  transform: translateY(80px);
}

.scale {
  position: relative;
  overflow: hidden;
  margin-top: -200px;
}

.scale__wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-light);
}

.scale__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scale-block {
  position: relative;
  width: 200px;
  height: 300px;
}

.scale-block-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0.2;
}

.scale-text {
  --button-offset: 70px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  top: var(--button-offset);
}

.scale-text .container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.scale-text .container p {
  line-height: 2;
  mix-blend-mode: difference;
  color: #f3eaff;
}

.scale-text .container button {
  width: 100%;
  margin-top: var(--button-offset);
  opacity: 0;
  pointer-events: none;
}

.form-block {
  position: absolute;
  left: 0;
  top: 0;
  transform: translateY(100%);
  text-align: center;
  height: 100%;
  width: 100%;
  padding-top: 100px;
}

.form-block .back-btn {
  position: absolute;
  top: 40px;
  left: var(--container-padding-x);
}

.form-block .container {
  background-color: var(--color-light);
  height: 100%;
}

.form-block__wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 406px;
  height: 100%;
  width: 100%;
  margin: 0 auto;
}

.form-block__form {
  width: 100%;
  max-width: 406px;
  margin: 0 auto;
}

.form-block h2 {
  margin-bottom: 32px;
}

.form-block__form {
  margin-top: 64px;
}

@media (min-width: 767px) {
  :root {
    --section-gap: 130px;
    --container-padding-x: 60px;
  }

  body {
    font-size: 16px;
  }

  .h2 {
    font-size: 32px;
  }

  .h3 {
    font-size: 24px;
  }

  .text-button {
    font-size: 15px;
  }

  .skoro__s2 {
    transform: translateX(-1px);
  }

  .scale-block {
    width: 400px;
    height: 480px;
  }

  .scale-text {
    --button-offset: 40px;
  }

  .scale-text .container button {
    width: 340px;
  }

  .form-block {
    padding-top: 120px;
  }

  .form-block .back-btn {
    top: 55px;
  }

  .form-block .container {
    padding: 0;
  }
}

@media (min-width: 1023px) {
  :root {
    --container-padding-x: 80px;
  }

  .skoro-letter {
    transform: translateY(200px);
  }

  .scale-block {
    width: 536px;
    height: 285px;
  }

  .form-block {
    padding-top: 0;
    left: auto;
    right: 0;
    transform: translateX(100%);
  }

  .form-block .back-btn {
    top: 50px;
    left: 50px;
  }

  .form-block .container {
    width: 65%;
    margin-right: 0;
  }
}

@media (min-width: 1299px) {
  :root {
    --section-gap: 160px;
    --container-padding-x: 120px;
  }

  body {
    font-size: 18px;
  }

  .h2 {
    font-size: 48px;
  }

  .h3 {
    font-size: 36px;
  }

  .text-button {
    font-size: 16px;
  }

  .scale-block {
    width: 42.8472%;
    height: 330px;
  }

  .scale-block {
    width: 42.8472%;
    height: 330px;
  }

  .scale-text {
    --button-offset: 60px;
  }

  .form-block .back-btn {
    top: 60px;
    left: 60px;
  }

  .form-block .container {
    width: 68%;
  }

  .form-block__wrapper {
    max-width: 690px;
  }
}

@media (min-width: 1600px) {
  :root {
    --section-gap: 140px;
  }

  body {
    font-size: 22px;
  }

  .h2 {
    font-size: 64px;
  }

  .h3 {
    font-size: 48px;
  }

  .scale-block {
    width: 43.75%;
    height: 460px;
  }

  .form-block .back-btn {
    top: 64px;
    left: 64px;
  }

  .form-block__wrapper {
    max-width: 805px;
  }

  .form-block__form {
    max-width: 500px;
  }
}

@media (min-height: 600px) {
  .scale {
    margin-top: -300px;
  }
}

@media (min-height: 700px) {
  .scale {
    margin-top: -400px;
  }
}

@media (min-height: 800px) {
  .scale {
    margin-top: -500px;
  }
}



/* */
.scroll-down {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 48px;
  height: 48px;
}
.scroll-down__up {
}
.scroll-down__center {
  position: absolute;
  top: 0;
  left: 0;
}
.scroll-down__down {
  position: absolute;
  top: 0;
  left: 0;
}
@media (min-width: 1024px) {
  .scroll-down {
    bottom: 62px;
  }
}
