@charset "UTF-8";
.header {
  background: #fff;
  padding: 19px 0;
  margin-bottom: 19px;
}
.header__box {
  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;
  gap: 120px;
}
.header__sec2 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 30px;
}
.header__sec2 p {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  color: #171411;
}
@media (max-width: 768px) {
  .header {
    padding: 15px 0px;
  }
  .header__box {
    gap: 20px;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
  .header .logo1 img {
    width: 63px;
  }
  .header__sec2 {
    gap: 9px;
  }
  .header__sec2 p {
    font-size: 12px;
  }
  .header .logo2 img {
    width: 106px;
  }
  .header .logo3 img {
    width: 40px;
  }
}
@media (max-width: 375px) {
  .header__box {
    gap: 15px;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
  .header .logo1 img {
    width: 57px;
  }
  .header__sec2 {
    gap: 7px;
  }
  .header__sec2 p {
    font-size: 12px;
  }
  .header .logo2 img {
    width: 96px;
  }
  .header .logo3 img {
    width: 35px;
  }
}

.footer {
  margin-top: 19px;
}
.footer__top {
  background: #ececeb;
  padding: 15px 0;
}
.footer__top .container {
  max-width: 1300px;
}
.footer__top p {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 130%;
  text-align: center;
  color: #000;
  margin-bottom: 20px;
}
.footer__top p:last-child {
  margin-bottom: 0;
}
.footer__top a {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 130%;
  text-align: center;
  color: #000;
  text-decoration: underline;
  -webkit-text-decoration-skip-ink: none;
          text-decoration-skip-ink: none;
  margin: 0 3px;
}
.footer__top a:hover {
  text-decoration: none;
}
.footer__bottom {
  padding: 19px 0;
  background: #3a3c42;
}
.footer__bottom .container {
  max-width: 1300px;
}
.footer__bottom p {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 18px;
  line-height: 135%;
  text-align: center;
  color: #fff;
}
.footer__bottom a {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 18px;
  text-decoration: underline;
  -webkit-text-decoration-skip-ink: none;
          text-decoration-skip-ink: none;
  text-align: center;
  color: #fff;
}
.footer__bottom a:hover {
  text-decoration: none;
}
@media (max-width: 768px) {
  .footer span {
    display: block;
  }
  .footer p {
    font-size: 15px;
  }
  .footer a {
    font-size: 15px;
  }
}

:root {
  --font-family: "Montserrat", sans-serif;
  --second-family: "SF Pro", sans-serif;
}

body {
  background: #fbf9fa;
  font-family: "Montserrat", sans-serif;
  -webkit-transition: 0.23s;
  transition: 0.23s;
}

* {
  background-repeat: no-repeat;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

strong {
  font-weight: 600;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 50px;
}
@media screen and (max-width: 1100px) {
  .container {
    width: 100%;
    padding: 0 16px;
  }
}

html,
body {
  height: 100%;
  margin: 0;
}

.wrapper {
  min-height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.main {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.started {
  background: #d6e1ef;
}

.quiz-container {
  overflow: hidden;
}

.quiz-block {
  display: none;
  -webkit-animation: fadeIn 0.5s ease-out;
          animation: fadeIn 0.5s ease-out;
}

.quiz-block.active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 14px;
}
@media (max-width: 768px) {
  .quiz-block.active {
    gap: 20px;
  }
}

.quiz-content {
  padding: 20px 20px 20px 48px;
  width: 55%;
}
@media (max-width: 1100px) {
  .quiz-content {
    padding: 30px 25px;
  }
}

.quiz-image {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-animation: fadeIn 0.5s ease-out 0.2s backwards;
          animation: fadeIn 0.5s ease-out 0.2s backwards;
  width: 45%;
  border-radius: 30px;
  overflow: hidden;
}
.quiz-image img {
  width: 100%;
  min-height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
@media (max-width: 768px) {
  .quiz-image {
    max-height: 400px;
  }
}
@media (max-width: 450px) {
  .quiz-image {
    max-height: 290px;
    border-radius: 18px;
  }
}

.quiz-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #333;
  -webkit-animation: slideUp 0.5s ease-out;
          animation: slideUp 0.5s ease-out;
}

.progress-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.progress {
  font-size: 16px;
  color: #666;
  position: relative;
  margin-top: 10px;
  height: 12px;
  width: 100%;
  border-radius: 7px;
  background-color: #f0f3f6;
  max-width: 500px;
}
.progress__line {
  position: absolute;
  height: 100%;
  background: #4db29b;
  left: 0;
  top: 0;
  border-radius: 7px;
}
.progress span {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  color: #3a3c42;
  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;
  background: #fbf9fa;
  border: 1px solid #4db29b;
  border-radius: 5px;
  padding: 5px 12px;
  width: 58px;
  height: 30px;
  position: absolute;
  top: -10px;
  margin-left: -20px;
}
@media (max-width: 450px) {
  .progress span {
    margin-left: -30px;
  }
}

.answers {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 8px;
  margin-top: 20px;
  margin-bottom: 20px;
  -webkit-animation: slideUp 0.5s ease-out 0.2s backwards;
          animation: slideUp 0.5s ease-out 0.2s backwards;
  width: 100%;
  max-width: 500px;
}

.answer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid #cecdcd;
  border-radius: 16px;
  padding: 0px 20px;
  padding-left: 20px;
  height: 54px;
  min-height: 50px;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 15px;
  line-height: 130%;
  color: #212529;
}

.answer:hover {
  background-color: #f8f8f8;
  border-color: #ccc;
}

.answer.active {
  background-color: #1DB6A1;
  border-color: #4DB29B;
  color: #fff;
}

.answer::before {
  content: "";
  position: relative;
  left: 0px;
  min-width: 28px;
  max-width: 28px;
  min-height: 28px;
  max-height: 28px;
  background-color: transparent;
  border: 2px solid #4DB29B;
  border-radius: 50px;
}

.answer.active::before {
  border-color: #fff;
  -webkit-box-shadow: inset 0 0 0 4px #fff;
          box-shadow: inset 0 0 0 4px #fff; /* внутренний бордер толщиной 2px */
}

.answer input[type=radio] {
  margin-right: 10px;
}

.next-btn,
.start-btn,
.restart-btn {
  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;
  gap: 5px;
  padding: 12px 24px;
  background: #1db6a1;
  cursor: pointer;
  -webkit-transition: 0.3s ease;
  transition: 0.3s ease;
  text-decoration: none;
  -webkit-animation: slideUp 0.5s ease-out 0.3s backwards;
          animation: slideUp 0.5s ease-out 0.3s backwards;
  border: 2px solid #1db6a1;
  border-radius: 10px;
  padding: 20px 31px;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 18px;
  text-align: center;
  color: #fff;
}
.next-btn svg path,
.start-btn svg path,
.restart-btn svg path {
  -webkit-transition: 0.3s ease;
  transition: 0.3s ease;
}
@media (max-width: 768px) {
  .next-btn,
  .start-btn,
  .restart-btn {
    font-size: 16px;
    width: 100%;
  }
}

.next-btn:hover,
.restart-btn:hover {
  background-color: #fff;
  color: #1db6a1;
}
.next-btn:hover svg path,
.restart-btn:hover svg path {
  fill: #1db6a1;
}

.next-btn:disabled {
  border-color: #cccccc;
  background-color: #cccccc;
  cursor: not-allowed;
}

.next-btn {
  border-color: #fbce70;
  background-color: #fbce70;
  color: #000;
}

.next-btn:hover {
  background-color: #f8bf44;
  color: #000;
}
.next-btn:hover svg path {
  fill: #000;
}

.restart-btn {
  background-color: #2196F3;
}

.restart-btn:hover {
  background-color: #1976D2;
}

@media (max-width: 768px) {
  .quiz-block.active {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .quiz-content,
  .quiz-image {
    width: 100%;
  }
}
/* Анимации */
@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-webkit-keyframes slideUp {
  from {
    -webkit-transform: translateY(20px);
            transform: translateY(20px);
    opacity: 0;
  }
  to {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}
@keyframes slideUp {
  from {
    -webkit-transform: translateY(20px);
            transform: translateY(20px);
    opacity: 0;
  }
  to {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}
.back-btn {
  border: 1px solid #3a3c42;
  border-radius: 10px;
  padding: 15px 20px;
  width: 64px;
  height: 54px;
  background: transparent;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  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;
}
.back-btn svg {
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-transform: scale(1);
          transform: scale(1);
}

.back-btn:hover svg {
  -webkit-transform: scale(1.2);
          transform: scale(1.2);
}

.back-btn:active {
  -webkit-transform: translateX(-2px);
          transform: translateX(-2px);
}

#start-block .quiz-content {
  background-image: url(../img/bg1.png);
  background-size: cover;
  background-position: center;
  border-radius: 30px;
  padding: 37px 37px 22px 37px;
  min-height: 100%;
}
#start-block .quiz-content__box {
  height: 100%;
  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-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  width: 100%;
  max-width: 536px;
}
@media (max-width: 1100px) {
  #start-block .quiz-content {
    padding: 30px 25px;
  }
}

.title1 {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 35px;
  line-height: 165%;
  color: #171411;
  margin-bottom: 24px;
}
.title1 span {
  background: #fbce70;
  border-radius: 8986384px;
  padding: 10px 10px 10px 20px;
}
@media (max-width: 1100px) {
  .title1 {
    font-size: 22px;
    line-height: 202%;
  }
  .title1 span {
    padding: 8px 8px 8px 15px;
  }
}
@media (max-width: 768px) {
  .title1 {
    margin-bottom: 15px;
  }
}

.title2 {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 45px;
  color: #171411;
  margin-bottom: 20px;
}
@media (max-width: 1100px) {
  .title2 {
    font-size: 36px;
    line-height: 120%;
  }
}

.ppp {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 17px;
  line-height: 150%;
  color: #171411;
  margin-bottom: 40px;
}
@media (max-width: 1100px) {
  .ppp {
    font-size: 17px;
    line-height: 140%;
  }
}
@media (max-width: 768px) {
  .ppp {
    font-size: 17px;
    line-height: 140%;
    margin-bottom: 30px;
  }
}

.small-pp {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 129%;
  color: #000;
  margin-top: 20px;
}

.titleblock {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 23px;
  line-height: 165%;
  color: #000;
}
@media (max-width: 1100px) {
  .titleblock {
    font-size: 22px;
    line-height: 130%;
    margin-bottom: 15px;
  }
}

.titlequestion {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 20px;
  line-height: 120%;
  color: #2b2d2f;
}
@media (max-width: 1100px) {
  .titlequestion {
    font-size: 18px;
  }
}

.quiz-step .quiz-content {
  background: #fff;
  border-radius: 30px;
}

.pp_min {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 130%;
  color: #000;
  margin-bottom: 20px;
}
@media (max-width: 1100px) {
  .pp_min {
    font-size: 14px;
  }
}

.result-block {
  min-height: 659px;
}
.result-block--content {
  max-width: 598px;
  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;
}
.result-block .quiz-content {
  background: #fff;
  border-radius: 30px;
  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-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  padding-top: 20px;
  padding: 20px 50px 20px 50px;
}
@media (max-width: 1100px) {
  .result-block .quiz-content {
    padding: 30px 25px 50px 25px;
  }
}
.result-block--v2 .quiz-content {
  padding-top: 36px !important;
}
.result-block p {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 18px;
  line-height: 130%;
  color: #000;
  margin-bottom: 20px;
}
.result-block p a {
  color: #000;
  text-decoration: underline;
}
.result-block p a:hover {
  opacity: 0.8;
  text-decoration: none;
}
.result-block .result-title {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 32px;
  line-height: 120%;
  color: #4db29b;
}
.result-block .result-title--red {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 32px;
  line-height: 120%;
  color: #d76841;
}
.result-block .next-btn {
  margin-top: 20px;
}
.result-block .red-frame {
  border: 1px solid #d76841;
  border-radius: 20px;
  padding: 16px 24px;
  margin-top: 20px;
}
.result-block .red-frame p {
  font-size: 15px;
}
@media (max-width: 768px) {
  .result-block {
    min-height: auto;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
  }
  .result-block .quiz-image {
    -webkit-box-ordinal-group: 0;
        -ms-flex-order: -1;
            order: -1;
  }
  .result-block .result-title {
    font-size: 22px;
  }
  .result-block p {
    font-size: 16px;
    margin-bottom: 15px;
  }
  .result-block p strong {
    font-size: 18px;
  }
  .result-block .next-btn {
    margin-top: 15px;
  }
  .result-block .red-frame {
    margin-top: 30px;
  }
  .result-block .red-frame p strong {
    font-size: 15px;
  }
}