@charset "UTF-8";
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

.header {
  padding: 0 15px;
  height: 46px;
  background: #181818;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 10px;
}
.header__img {
  max-height: 100%;
}
.header__title {
  color: #ffc700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  word-wrap: break-word;
}

.burger {
  width: 24px;
  height: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: transparent;
  border: none;
  padding: 0;
}
.burger-item {
  align-self: stretch;
  height: 2.6px;
  background: #dadada;
  display: inline-block;
}

.hide-block {
  z-index: 1;
  background: #181818;
  height: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px 13px 10px 23px;
  display: none;
  flex-direction: column;
  row-gap: 64px;
}
.hide-block.active {
  display: flex;
}

.burger-close {
  align-self: end;
  width: 28px;
  height: 28px;
  background: url("../img/icons/icon.png") no-repeat;
  background-size: cover;
  border: none;
  text-align: right;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 27px;
  padding: 0;
}
.nav-item {
  list-style: none;
}
.nav-link {
  font-weight: 300;
  font-size: 16px;
  line-height: 22px;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
}
.nav-link:focus {
  color: #f4ce0c;
}

.hero {
  text-align: center;
  background: url("../img/general_page/rain_bk.png");
  padding: 27px 0 11px;
}
.hero__button {
  cursor: pointer;
  margin-bottom: 20px;
}
.hero__text {
  max-width: 278px;
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 0.05em;
  color: #FFFFFF;
  margin: 0 auto 20px;
}
.hero__text p {
  margin: 0;
}
.hero__title {
  font-size: 30px;
  line-height: 35px;
  text-transform: uppercase;
  color: #FFC700;
  max-width: 252px;
  text-align: center;
  margin: 0 auto 150px;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}
.hero__text--gold {
  color: #FFC700;
}
.hero__text--small {
  font-size: 15px;
  line-height: 19px;
  letter-spacing: 0.05em;
}
.hero-more {
  text-decoration: none;
}
.hero-more__title {
  font-size: 8px;
  line-height: 11px;
  color: white;
  margin: 0;
  letter-spacing: 0.05em;
}

.info {
  background-image: url("../img/general_page/image.png"), radial-gradient(84.34% 50.29% at 48.75% 49.71%, #2950c2 0%, rgba(38, 91, 199, 0.96) 40.62%, rgba(39, 98, 187, 0) 85.42%);
  min-height: 339px;
  padding: 44px 0;
}
.info__bg {
  height: 100%;
  background: radial-gradient(84.34% 50.29% at 48.75% 49.71%, #2950c2 0%, rgba(38, 91, 199, 0.96) 40.62%, rgba(39, 98, 187, 0) 85.42%);
}
.info__text {
  background-size: cover;
  font-size: 18px;
  line-height: 23px;
  text-align: center;
  letter-spacing: 0.05em;
  max-width: 248px;
  margin: 0 auto;
  color: #ffffff;
  display: flex;
  flex-direction: column;
}
.info__text::after {
  content: url("../img/icons/quotes-left.svg");
  align-self: flex-end;
}
.info__text::before {
  content: url("../img/icons/quotes-right.svg");
  align-self: flex-start;
}

.preference {
  background-color: white;
  padding: 38px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.preference__text {
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.05em;
  color: #272727;
}
.preference__text--large {
  font-weight: 700;
  text-transform: uppercase;
}
.preference__text--small {
  text-transform: lowercase;
}

.test-info {
  background: url("../img/general_page/rain_bk2.png");
  padding: 40px 12px 13px;
  position: relative;
  text-align: center;
}
.test-info::after {
  content: url("../img/general_page/lightning_left.png");
  position: absolute;
  right: 0;
  top: 0;
}
.test-info::before {
  content: url("../img/general_page/lightning_right.png");
  position: absolute;
  left: 0;
  bottom: 0;
}
.test-info__text {
  font-weight: 400;
  font-size: 15px;
  line-height: 20px;
  letter-spacing: 0.05em;
  color: #ffffff;
}
.test-info__text--gold {
  color: #ffc700;
}
.test-info__modal {
  font-size: 16px;
  line-height: 23px;
  letter-spacing: 0.05em;
  color: #181818;
  padding: 30px 19px;
  background: rgba(243, 243, 242, 0.8);
  border-radius: 20px;
}
.test-info__button {
  margin: 0 auto 52px;
}

.copyright {
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  font-size: 10px;
  line-height: 23px;
  text-align: center;
  letter-spacing: 0.05em;
}

.main {
  min-height: calc(100vh - 46px);
  background: url(../img/rain_bk2.png);
  padding: 20px;
  display: flex;
  justify-content: center;
}

.line {
  background: rgba(242, 243, 243, 0.6);
  border-radius: 10.5px;
  height: 11px;
  justify-self: baseline;
}
.line--green {
  display: block;
  width: 7%;
  background: #3bde7c;
}

.slide {
  min-height: 100%;
  display: flex;
}
.slide__title {
  line-height: 20px;
  letter-spacing: 0.35px;
  margin-top: 28px;
  font-size: 18px;
}
.slide__container {
  width: 260px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.slide__content {
  text-align: center;
  color: white;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.finish-slide__title {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 16px;
  letter-spacing: 1.5px;
  word-wrap: break-word;
}
.finish-slide__title--green {
  color: #3bde7c;
  font-size: 18px;
  line-height: 22px;
  letter-spacing: 1.8px;
}
.finish-slide__info {
  color: #3bde7c;
  font-size: 11px;
  font-family: PT Serif;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: 1.1px;
}
.finish-slide__number {
  font-size: 30px;
}
.finish-slide__phone {
  padding: 21px;
  background: red;
  display: flex;
  gap: 18px;
  border-radius: 5px;
  align-items: center;
  cursor: pointer;
}
.finish-slide__phone-text {
  color: white;
  font-size: 15px;
  font-family: Roboto;
  font-weight: 900;
  text-transform: capitalize;
  letter-spacing: 0.75px;
  word-wrap: break-word;
  margin: 0;
}
.finish-slide__alert {
  color: white;
  font-size: 8px;
  font-family: Roboto;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 14px;
  letter-spacing: 2px;
  background-color: #1c2741;
  border-radius: 6px;
  padding: 15px 12px;
}
.finish-slide__text {
  margin: 0;
}

.input {
  flex: 1;
  max-height: 60px;
  background-color: rgba(242, 243, 243, 0.15);
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.inputs {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.colorblock.activeBtn {
  border: 3px solid gold;
}

.colorblock {
  box-sizing: border-box;
  border: 3px solid transparent;
  box-sizing: border-box;
}

.question_content {
  margin: 15px 0;
}

.picture {
  height: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 21px 24px;
}

.numberBlock {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-basis: 100%;
  margin: 0;
  gap: 5px;
}
.numberBlock__item {
  border: 3px solid transparent;
  width: 41px;
  height: 41px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: white;
  color: black;
}

.test-img {
  max-width: 100%;
  margin: 0 auto;
}

.finish-slide {
  z-index: 0;
}

.finish-slide::before {
  content: url(../img/general_page/lightning_right.png);
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: -1;
}

.finish-slide::after {
  content: url(../img/general_page/lightning_left.png);
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.custom-radio {
  position: absolute;
  z-index: -1;
  opacity: 0;
}

/* для элемента label связанного с .custom-radio */
.custom-radio + label {
  display: inline-flex;
  align-items: center;
  user-select: none;
}

/* создание в label псевдоэлемента  before со следующими стилями */
.custom-radio + label::before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  flex-grow: 0;
  border: 1px solid #adb5bd;
  border-radius: 50%;
  margin-right: 0.5em;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 50% 50%;
}

/* стили при наведении курсора на радио */
.custom-radio:not(:disabled):not(:checked) + label:hover::before {
  border-color: #b3d7ff;
}

/* стили для активной радиокнопки (при нажатии на неё) */
.custom-radio:not(:disabled):active + label::before {
  background-color: #b3d7ff;
  border-color: #b3d7ff;
}

/* стили для радиокнопки, находящейся в состоянии checked */
.custom-radio:checked + label::before {
  border-color: rgb(39, 39, 39);
  background-color: rgb(41, 80, 194);
}

.custom-radio:checked + label {
  background-color: #ffc700;
}

/* стили для радиокнопки, находящейся в состоянии disabled */
.custom-radio:disabled + label::before {
  background-color: #e9ecef;
}

.lds-roller {
  margin: 0 auto;
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}

.lds-roller div {
  animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  transform-origin: 40px 40px;
}

.lds-roller div:after {
  content: " ";
  display: block;
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  margin: -4px 0 0 -4px;
}

.lds-roller div:nth-child(1) {
  animation-delay: -0.036s;
}

.lds-roller div:nth-child(1):after {
  top: 63px;
  left: 63px;
}

.lds-roller div:nth-child(2) {
  animation-delay: -0.072s;
}

.lds-roller div:nth-child(2):after {
  top: 68px;
  left: 56px;
}

.lds-roller div:nth-child(3) {
  animation-delay: -0.108s;
}

.lds-roller div:nth-child(3):after {
  top: 71px;
  left: 48px;
}

.lds-roller div:nth-child(4) {
  animation-delay: -0.144s;
}

.lds-roller div:nth-child(4):after {
  top: 72px;
  left: 40px;
}

.lds-roller div:nth-child(5) {
  animation-delay: -0.18s;
}

.lds-roller div:nth-child(5):after {
  top: 71px;
  left: 32px;
}

.lds-roller div:nth-child(6) {
  animation-delay: -0.216s;
}

.lds-roller div:nth-child(6):after {
  top: 68px;
  left: 24px;
}

.lds-roller div:nth-child(7) {
  animation-delay: -0.252s;
}

.lds-roller div:nth-child(7):after {
  top: 63px;
  left: 17px;
}

.lds-roller div:nth-child(8) {
  animation-delay: -0.288s;
}

.lds-roller div:nth-child(8):after {
  top: 56px;
  left: 12px;
}

@keyframes lds-roller {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.button {
  cursor: pointer;
  margin: 0 auto;
  padding: 14px 0 11px;
  width: 189px;
  font-weight: 700;
  font-size: 14px;
  line-height: 18px;
  text-align: center;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 20px;
  border: none;
  background: radial-gradient(50% 50% at 50% 50%, #ffc700 0%, #ffc700 100%);
}
.button--white {
  min-width: 200px;
  border: 1px solid #ffffff;
  background: none;
  color: white;
}
.button--gray {
  background: #dadada;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25) inset;
  color: #8e8e8e;
  margin: 0 auto;
}
.button__circle {
  width: 16px;
  height: 16px;
  background: white;
  border: none;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 3px;
}
.button__circle:after {
  content: url("../img/general_page/icon.png");
}

html {
  background-color: black;
}

* {
  box-sizing: border-box;
}

body {
  max-width: 320px;
  margin: 0 auto;
  background: url("../img/Header.png") no-repeat;
  position: relative;
}