@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400&family=Roboto:wght@400&display=swap");

@font-face {
  font-family: "Cocogoose Condensed";
  src: url("../fonts/cocogoose-condensed-light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Cocogoose Condensed";
  src: url("../fonts/cocogoose-condensed-semilight.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Cocogoose Condensed";
  src: url("../fonts/CocogooseCondensed-Regular.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Circle";
  src: url("../fonts/circle.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  outline: none;
}

html {
  height: 100%;
  width: 100%;
  margin: 0;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "Cocogoose Condensed", "Inter", "Roboto", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  position: relative;
  -webkit-text-size-adjust: none;
  margin: 0;
  overflow-x: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

body.main {
  background: #000;
}

main {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  width: 100%;
  min-height: 100vh;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

main.first {
  background: #000;
}

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  -webkit-transition: all 0.1s ease 0s;
  transition: all 0.1s ease 0s;
}

input,
textarea,
select,
button {
  font-family: inherit;
  outline: none;
}

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

input::-webkit-search-decoration,
input::-webkit-search-cancel-button,
input::-webkit-search-results-button,
input::-webkit-search-results-decoration,
textarea::-webkit-search-decoration,
textarea::-webkit-search-cancel-button,
textarea::-webkit-search-results-button,
textarea::-webkit-search-results-decoration,
select::-webkit-search-decoration,
select::-webkit-search-cancel-button,
select::-webkit-search-results-button,
select::-webkit-search-results-decoration,
button::-webkit-search-decoration,
button::-webkit-search-cancel-button,
button::-webkit-search-results-button,
button::-webkit-search-results-decoration {
  display: none;
}

input::-webkit-input-placeholder, textarea::-webkit-input-placeholder, select::-webkit-input-placeholder, button::-webkit-input-placeholder {
  color: rgba(0, 0, 0, 0.4);
}

input::-moz-placeholder, textarea::-moz-placeholder, select::-moz-placeholder, button::-moz-placeholder {
  color: rgba(0, 0, 0, 0.4);
}

input:-ms-input-placeholder, textarea:-ms-input-placeholder, select:-ms-input-placeholder, button:-ms-input-placeholder {
  color: rgba(0, 0, 0, 0.4);
}

input::-ms-input-placeholder, textarea::-ms-input-placeholder, select::-ms-input-placeholder, button::-ms-input-placeholder {
  color: rgba(0, 0, 0, 0.4);
}

input::placeholder,
textarea::placeholder,
select::placeholder,
button::placeholder {
  color: rgba(0, 0, 0, 0.4);
}

input:focus::-webkit-input-placeholder, textarea:focus::-webkit-input-placeholder, select:focus::-webkit-input-placeholder, button:focus::-webkit-input-placeholder {
  visibility: hidden;
}

input:focus::-moz-placeholder, textarea:focus::-moz-placeholder, select:focus::-moz-placeholder, button:focus::-moz-placeholder {
  visibility: hidden;
}

input:focus:-ms-input-placeholder, textarea:focus:-ms-input-placeholder, select:focus:-ms-input-placeholder, button:focus:-ms-input-placeholder {
  visibility: hidden;
}

input:focus::-ms-input-placeholder, textarea:focus::-ms-input-placeholder, select:focus::-ms-input-placeholder, button:focus::-ms-input-placeholder {
  visibility: hidden;
}

input:focus::placeholder,
textarea:focus::placeholder,
select:focus::placeholder,
button:focus::placeholder {
  visibility: hidden;
}

input[type=number] {
  -moz-appearance: textfield;
}

img {
  max-width: 100%;
  max-height: 100%;
  height: auto;
  vertical-align: middle;
  border: 0;
}

b {
  font-weight: 600;
}

h1 {
  font-weight: 400;
  font-size: clamp(48px, 6vw, 70px);
  text-align: center;
  color: #000;
  margin-top: 0;
  margin-bottom: 20px;
  font-family: "Belarus", sans-serif;
  line-height: 0.8;
}

p {
  margin-top: 0;
  margin-bottom: 10px;
}

.svg {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.main-window {
  position: relative;
  width: 1200px;
  height: 782px;
  max-width: 100%;
  background: #000;
  padding: 40px 90px;
  overflow: hidden;
}

.main-window__title {
  position: relative;
  font-family: "Cocogoose Condensed", "Inter", "Roboto", sans-serif;
  font-weight: 600;
  font-size: 96px;
  line-height: 105%;
  text-transform: uppercase;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  z-index: 1;
  margin: 0;
}

.main-window__title--first {
  color: #157edb;
  margin-left: 160px;
}

.main-window__title--second {
  color: #157edb;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  margin-left: -15px;
  width: 100%;
}

.main-window__title--second::after {
  content: "";
  display: block;
  width: 500px;
  height: 10px;
  background: #157edb;
  margin-left: 20px;
}

.main-window__title--third {
  color: #FFF;
  margin-left: 80px;
}

.main-window__text {
  position: relative;
  z-index: 2;
  font-family: "Circle", sans-serif;
  font-weight: 350;
  font-size: 14px;
  line-height: 129%;
  color: #fff;
  width: 306px;
  margin-top: 20px;
}

.main-window__button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 100%;
  max-width: 306px;
  min-height: 40px;
  background: #e5e5e5;
  font-weight: 500;
  font-size: 21px;
  line-height: 86%;
  text-align: center;
  text-transform: uppercase;
  color: #000;
  margin-top: 15px;
  font-family: "Cocogoose Condensed", "Inter", "Roboto", sans-serif;
}

.main-window__button--1 {
  margin-top: 30px;
}

.main-window__image {
  position: absolute;
  overflow: hidden;
}

.main-window__image img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.main-window__image--1 {
  left: 420px;
  top: 300px;
  width: 311px;
}

.main-window__image--2 {
  top: 0;
  right: 90px;
  width: 366px;
  z-index: 2;
}

.main-window__logo {
  position: absolute;
  right: 90px;
  bottom: 50px;
  z-index: 2;
}

.test {
  width: 100%;
  max-width: 1200px;
  padding: 40px 84px;
}

.test__title {
  font-family: "Cocogoose Condensed", "Inter", "Roboto", sans-serif;
  font-weight: 600;
  font-size: 96px;
  line-height: 101%;
  text-transform: uppercase;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  width: 100%;
}

.test__title--first {
  color: #157edb;
  width: 100%;
  text-align: center;
}

.test__title--second {
  color: #000;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  margin-left: -15px;
  width: 100%;
}

.test__title--second::after {
  content: "";
  display: block;
  width: 500px;
  height: 10px;
  background: #157edb;
  margin-left: 20px;
  margin-right: -50px;
  margin-left: 40px;
  margin-right: -350px;
}

.test__steps {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  width: 100%;
  margin-top: 60px;
  gap: 50px;
}

.test .step {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  width: 100%;
}

.test .step__question {
  font-family: "Cocogoose Condensed", "Inter", "Roboto", sans-serif;
  font-weight: 500;
  font-size: 46px;
  line-height: 100%;
  text-transform: uppercase;
  color: #000;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  position: relative;
}

.test .step__question span {
  font-family: "Cocogoose Condensed", "Inter", "Roboto", sans-serif;
}

.test .step__question b {
  font-weight: 700;
}

.test .step__question b span {
  color: #157edb;
}

.test .step__answers {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  margin-top: 30px;
  gap: 22px;
}

.test .step__answer {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 0px;
          flex: 1 1 0;
  min-width: 0;
  position: relative;
  border: 1px solid #444;
  aspect-ratio: 329/172;
  padding: 15px;
}

.test .step__answer label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 12px;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  position: relative;
}

.test .step__answer label input[type=radio] {
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  border: 4px solid #157edb;
  background: #fff;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  cursor: pointer;
  margin: 0;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  position: absolute;
  top: 0;
  right: 0;
}

.test .step__answer label input[type=radio]:checked::after {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  background: #157edb;
}

.test .step__answer label span {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  font-size: 21px;
  line-height: 114%;
  font-weight: 500;
  text-transform: uppercase;
  color: #000;
  margin-top: 3px;
}

.test .step--1 .step__answer {
  margin-bottom: 75px;
}

.test .step--1 .step__image {
  position: absolute;
  top: 75px;
  left: 15px;
  width: 100%;
  max-width: 85%;
  height: 100%;
  overflow: hidden;
}

.test .step--1 .step__image img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.test .step--2 .step__image {
  position: absolute;
  max-width: 50%;
}

.test .step--2 .step__image--1 {
  right: 0;
  top: 50px;
}

.test .step--2 .step__image--2 {
  right: -20px;
  top: 60px;
}

.test .step--2 .step__image--3 {
  right: -10px;
  top: 80px;
}

.test__border {
  width: 494px;
  height: 10px;
  background: #157edb;
  margin-left: -84px;
}

.test--bold .test__title--second::after {
  width: 200px;
}

.test--bold .step--1 .step__image {
  position: absolute;
  top: 120px;
  left: 15px;
  width: min(85%, 460px);
  max-width: 85%;
  height: auto;
  overflow: hidden;
}

.test--bold .step--1 .step__image img {
  display: block;
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
}

.test--bold .step__question-image {
  position: absolute;
  top: 0;
  right: 0;
  max-width: 22%;
  overflow: hidden;
}

.test--bold .step__question-image img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.test--bold .step--2 .step__question-image {
  top: -40%;
}

.test--bold .step--4 .step__question-image {
  top: -40%;
}

.test-result {
  position: relative;
  width: 1200px;
  height: 782px;
  max-width: 100%;
  background: #000;
  padding: 40px 83px 110px;
  overflow: hidden;
  opacity: 0;
  -webkit-transition: opacity 0.35s ease;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.test-result.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.test-result__container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  position: relative;
  height: 100%;
}

.test-result__title {
  font-weight: 600;
  font-size: 48px;
  line-height: 101%;
  text-transform: uppercase;
  color: #fff;
  position: relative;
  z-index: 1;
}

.test-result__title p {
  margin-bottom: 30px;
}

.test-result__title span {
  color: #157edb;
}

.test-result__image {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.test-result__border {
  position: absolute;
  bottom: 0;
  right: 0;
  max-width: 40%;
  aspect-ratio: 427/477;
}

.test-result__text {
  position: relative;
  z-index: 2;
  font-family: "Circle", sans-serif;
  font-weight: 350;
  font-size: 14px;
  line-height: 129%;
  color: #fff;
  width: 306px;
  margin-top: 20px;
  margin-top: auto;
}

.test-result__button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 100%;
  max-width: 306px;
  min-height: 40px;
  background: #e5e5e5;
  font-weight: 500;
  font-size: 21px;
  line-height: 86%;
  text-align: center;
  text-transform: uppercase;
  color: #000;
  margin-top: 30px;
  font-family: "Cocogoose Condensed", "Inter", "Roboto", sans-serif;
}

.test-result--bold .test-result__title {
  font-size: 42px;
}

.test-result--bold .test-result__text {
  width: auto;
}

.test-result--bold .test-result__button {
  max-width: 408px;
}

.test-result--bold .test-result__title p + p {
  max-width: 70%;
}

@media (max-width: 1199px) {
  .main-window {
    width: 100%;
    height: auto;
    aspect-ratio: 1200/782;
    padding: clamp(20px, 3vw, 40px) clamp(24px, 7.5vw, 90px) clamp(20px, 3vw, 50px);
  }

  .main-window__title {
    font-size: clamp(42px, 6vw, 96px);
    line-height: 0.96;
  }

  .main-window__title--first {
    margin-left: 13.33%;
  }

  .main-window__title--second {
    margin-left: -1.25%;
  }

  .main-window__title--second::after {
    width: 41.67%;
    height: clamp(6px, 0.8vw, 10px);
    margin-left: clamp(8px, 1.7vw, 20px);
  }

  .main-window__title--third {
    margin-left: 6.67%;
  }

  .main-window__text {
    font-size: clamp(11px, 1.15vw, 14px);
    width: min(30%, 306px);
    max-width: 306px;
  }

  .main-window__button {
    font-size: clamp(14px, 1.75vw, 21px);
  }

  .main-window .main-window__button--1 {
    margin-top: clamp(18px, 3vw, 30px);
  }

  .main-window__image--1 {
    left: 39%;
    top: 35.36%;
    width: 22.92%;
    max-width: 311px;
  }

  .main-window__image--2 {
    right: 7.5%;
    width: 28.5%;
    max-width: 366px;
  }

  .main-window__logo {
    right: 7.5%;
    bottom: 6.39%;
    width: clamp(96px, 15vw, 180px);
  }

  .main-window__logo img {
    display: block;
    width: 100%;
    height: auto;
  }

  .test .step__answer {
    padding: clamp(12px, 1.5vw, 15px);
  }

  .test .step__answer label span {
    font-size: clamp(14px, 1.5vw, 21px);
    padding-right: 30px;
  }

  .test .step--1 .step__image {
    top: clamp(42px, 8vw, 75px);
    left: clamp(8px, 1.5vw, 15px);
    width: min(80%, 360px);
    max-width: 80%;
  }

  .test {
    padding: clamp(20px, 4vw, 40px) clamp(24px, 7vw, 84px);
  }

  .test__title {
    font-size: clamp(42px, 8vw, 96px);
  }

  .test__title--second {
    margin-left: -1.25%;
  }

  .test__title--second::after {
    width: min(41.67%, 500px);
    height: clamp(6px, 0.8vw, 10px);
    margin-left: clamp(8px, 1.7vw, 20px);
  }

  .test__steps {
    margin-top: 40px;
    gap: 30px;
  }

  .test .step__question {
    font-size: clamp(30px, 4vw, 46px);
  }

  .test .step__answers {
    gap: 16px;
  }

  .test .step__answer {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 0px;
            flex: 1 1 0;
  }

  .test--bold .step--1 .step__answer {
    margin-bottom: clamp(16px, 8vw, 90px);
  }

  .test--bold .step--1 .step__image {
    top: clamp(80px, 10vw, 120px);
    left: clamp(8px, 1.5vw, 15px);
    width: min(75%, 360px);
  }

  .test-result {
    width: 100%;
    height: auto;
    min-height: 782px;
    padding: clamp(20px, 3vw, 40px) clamp(24px, 7.5vw, 90px) clamp(20px, 3vw, 50px);
  }

  .test-result__title {
    font-size: clamp(32px, 5vw, 48px);
  }

  .test-result__image {
    right: 0;
    bottom: 0;
    max-width: 38%;
  }

  .test-result__text {
    font-size: clamp(11px, 1.15vw, 14px);
    width: min(45%, 306px);
  }

  .test-result--bold .test-result__title {
    font-size: clamp(24px, 4vw, 42px);
  }
}

@media (max-width: 900px) {
  .main-window__title {
    font-size: clamp(34px, 5vw, 60px);
  }

  .main-window__text {
    width: min(70%, 290px);
  }

  .test__title {
    font-size: clamp(34px, 6vw, 60px);
  }

  .test .step__question {
    font-size: clamp(26px, 5vw, 36px);
  }

  .test-result__title {
    font-size: clamp(28px, 5.5vw, 38px);
  }

  .test-result__image {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: -90px;
    max-width: 100%;
    width: 100%;
  }

  .test-result__text {
    width: 100%;
    max-width: 420px;
    margin-top: 20px;
  }
}

@media (max-width: 640px) {
  .main-window {
    padding: 20px 18px 24px;
  }

  .main-window__title {
    font-size: clamp(28px, 8vw, 44px);
  }

  .main-window__title--first,
  .main-window__title--third {
    margin-left: 0;
  }

  .main-window__title--second {
    margin-left: 0;
  }

  .main-window__text {
    width: min(100%, 220px);
    font-size: 12px;
  }

  .main-window__button {
    max-width: 100%;
    width: 100%;
    font-size: clamp(14px, 4vw, 18px);
    min-height: 42px;
  }

  .main-window .main-window__button--1 {
    margin-top: 18px;
  }

  .main-window__image--1 {
    left: auto;
    right: 12%;
    top: 52%;
    width: 34%;
  }

  .main-window__image--2 {
    width: 38%;
    right: 4%;
  }

  .main-window__logo {
    width: 92px;
    right: 18px;
    bottom: 18px;
  }

  .test {
    padding: 20px 18px 24px;
  }

  .test__title {
    font-size: clamp(28px, 8vw, 44px);
  }

  .test__title--second {
    margin-left: 0;
  }

  .test__border {
    width: 100%;
    max-width: 220px;
    margin-left: 0;
  }

  .test .step__question {
    font-size: clamp(24px, 7vw, 34px);
    line-height: 1;
  }

  .test .step__answers {
    margin-top: 18px;
    gap: 14px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
  }

  .test .step__answer {
    padding: 12px 14px;
    width: 100%;
    max-width: 339px;
  }

  .test .step__answer label {
    min-height: 100%;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }

  .test .step__answer label input[type=radio] {
    position: static;
    margin-top: 4px;
  }

  .test .step__answer label span {
    font-size: clamp(12px, 4vw, 16px);
    line-height: 1.15;
  }

  .test .step--1 .step__answer {
    margin-bottom: 90px;
  }

  .test .step--1 .step__image {
    max-width: 240px;
    width: 100%;
    height: auto;
  }

  .test .step--2 .step__image {
    max-width: none;
  }

  .test .step--2 .step__image--1 {
    right: -15px;
    top: 60px;
  }

  .test-result {
    padding: 20px 18px 24px;
  }

  .test-result__title {
    font-size: clamp(24px, 7vw, 32px);
    line-height: 1.1;
  }

  .test-result__text {
    width: 100%;
    font-size: 12px;
    margin-top: 20px;
  }

  .test-result__button {
    max-width: 100%;
    font-size: 18px;
  }
}