body {
  font-family: "Inter", Helvetica, Arial, sans-serif;
  background-color: rgb(240, 240, 240);
  margin: 0;
  padding: 0;
}

.body-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  overflow-x: hidden;
}

.main-button-container {
  z-index: 1;
  width: 100%;
  padding: 5px 0 15px;
  bottom: 0;
  display: flex;
  justify-content: center;
}

.main-button {
  background-color: #b40542;
  box-shadow: 0 3px 10px 0 #dd0a54;
  color: #ffffff;
  border: none;
  font-size: 20px;
  font-weight: 500;
  min-width: 300px;
  max-width: 100%;
  height: 52px;
  border-radius: 24px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.main-button:hover {
  background-color: #dd0a54;
}

.landing-container {
  max-width: 880px;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

@media (max-width: 818px) {
  .landing-container {
    max-width: 500px;
  }
}

.landing-block {
  width: 100%;
  padding: 15px 0;
}

.landing-block_text {
  text-align: center;
}

.landing-block_text h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
  margin-top: 0;
  padding: 0 20px;
}

.landing-block_text h2 {
  font-size: 24px;
  padding: 0 20px;
  margin-top: 0;
}

.landing-block_text h3,
.landing-block_text p {
  padding: 0 20px;
  margin-top: 0;
  font-size: 18px;
  line-height: 26px;
}

@media (max-width: 818px) {
  .landing-block_text p {
    font-size: 20px;
  }
}

.landing-block_text ul {
  font-size: 18px;
  line-height: 26px;
  margin: 0;
  margin-left: 1.4rem;
  padding: 0;
}

.landing-block_img {
  max-width: 752px;
  margin: 0 auto;
}

@media (max-width: 376px) {
  .landing-block_img {
    max-width: 330px;
  }
}

.landing-block_img img {
  border-radius: 10px;
  width: 100%;
  display: block;
  height: auto;
}

.footer_section {
  padding: 25px 0;
  font-size: 14px;
  line-height: 22px;
  text-align: center;
  background-color: rgba(34, 34, 34, 0.1);
  width: 100%;
}

.footer_section img {
  display: block;
  margin: 0 auto 10px;
}

.footer_section a {
  color: rgba(0, 0, 0, 0.7);
  text-decoration: none;
}

.footer_section p {
  margin: 0;
}

.footer_text {
  display: flex;
  color: black;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .footer_text {
    display: block;
    text-align: center;
  }
}

@-webkit-keyframes questionAnimation {
  0% {
    -webkit-opacity: 0;
    -webkit-transform: translateY(0px);
  }
  100% {
    -webkit-opacity: 1;
    -webkit-transform: translateY(0);
  }
}

@-webkit-keyframes questionOutAnimation {
  0% {
    -webkit-opacity: 1;
    -webkit-transform: translateY(0);
  }
  100% {
    -webkit-opacity: 0;
    -webkit-transform: translateY(-0px);
  }
}
@-moz-keyframes questionAnimation {
  0% {
    -moz-opacity: 0;
    -moz-transform: translateY(0px);
  }
  100% {
    -moz-opacity: 1;
    -moz-transform: translateY(0);
  }
}

@-moz-keyframes questionOutAnimation {
  0% {
    -moz-opacity: 1;
    -moz-transform: translateY(0);
  }
  100% {
    -moz-opacity: 0;
    -moz-transform: translateY(-0px);
  }
}

.quiz {
  position: fixed;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.884);
  display: none;
  justify-content: center;
  align-items: center;
  top: 0;
  width: 100vw;
  height: 100%;
  padding: 20px;
  box-sizing: border-box;
}

.quiz-container {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  opacity: 0;
  color: white;
  max-width: 600px;
  width: 100%;
  padding: 20px 30px;
  box-sizing: border-box;
}
.quiz-close-btn {
  position: absolute;
  top: 0px;
  right: 0px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}
.quiz-close-btn svg {
  display: block;
}
.quiz-close-btn:hover {
  opacity: 0.7;
}
.quiz-container {
  position: relative;
}

.quiz-container.active {
  display: flex;
  -webkit-animation: questionAnimation 0.5s forwards;
  -moz-animation: questionAnimation 0.5s forwards;
}

.quiz-container.fade-out {
  -webkit-animation: questionOutAnimation 0.5s forwards;
  -moz-animation: questionOutAnimation 0.5s forwards;
}

.quiz-question {
  padding: 30px 0 25px;
  font-size: 28px;
  text-align: center;
  font-weight: 500;
}

.answer-variants-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.answer-variant {
  display: flex;
  padding: 20px;
  cursor: pointer;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.05);
  align-items: center;
}

.answer-variant:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.answer-variant label {
  padding-left: 1rem;
  cursor: pointer;
  user-select: none;
  font-size: 18px;
  color: white;
  flex: 1;
}

.answer-variant input {
  cursor: pointer;
}

.quiz-button-container {
  display: flex;
  justify-content: center;
  padding: 30px 0 0;
  gap: 20px;
  width: 100%;
}

.quiz-button {
  font-size: 18px;
  height: 50px;
  padding: 0 30px;
  font-weight: 500;
  color: white;
  border-radius: 25px;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.quiz-button:not([disabled]) {
  background-color: #b40542;
  box-shadow: 0 3px 15px #dd0a54;
  cursor: pointer;
  color: #ffffff;
}

.quiz-button:not([disabled]):hover {
  background-color: #b40542;
  transform: translateY(-3px);
}

.final-page-container {
  display: none;
  opacity: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.85);
  position: fixed;
  z-index: 10000;
  padding: 20px;
  color: white;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow-y: auto;
  box-sizing: border-box;
}

.final-page-container.active {
  display: flex !important;
  opacity: 1;
  animation: questionAnimation 0.4s forwards;
  overflow: hidden;
}

.final-page-text-container {
  max-width: 635px;
  padding: 1.5rem 1rem 1.6rem;
  text-align: center;
}

.final-page-text-container h1 {
  margin-bottom: 1.2rem;
  font-size: 32px;
  line-height: 1.3;
  font-weight: 500;
  color: white;
}

.final-page-text-container p {
  font-size: 18px;
  line-height: 1.5;
  color: white;
}

.final-page-form-container {
  padding: 5px 40px 25px;
  width: 100%;
  max-width: 500px;
  box-sizing: border-box;
}

.final-page-form-container form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.final-page-form-container input {
  height: 55px;
  border: none;
  color: #000000;
  background-color: #f0f0f0;
  border-radius: 10px;
  font-weight: 500;
  padding-left: 40px;
  font-size: 16px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.final-page-form-container input:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(221, 10, 84, 0.5),
    inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.final-page-form-container button {
  margin-top: 20px;
  min-height: 55px;
  width: 100%;
  font-weight: 600;
  color: white;
  background-color: #b40542;
  box-shadow: 0 3px 15px #dd0a54;
  font-size: 20px;
  padding: 12px 30px;
  border-radius: 28px;
  border: none;
  line-height: 1.3rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.final-page-form-container button:hover {
  transform: translateY(-3px);
}

.final-page-form-container input[name="name"] {
  background: #ebebeb url("../images/name-icon.png") no-repeat 12px center;
  background-size: 20px 20px;
  padding-left: 40px;
}

.final-page-form-container input[name="phone"] {
  background: #ebebeb url("../images/phone-icon.png") no-repeat 12px center;
  background-size: 20px 20px;
  padding-left: 40px;
}
@media (max-width: 450px) {

.quiz-question {
  font-size: 20px;
}

.answer-variant {
  padding: 10px;
}

.answer-variant label {
  font-size: 16px;

}

.answer-variant input {
  cursor: pointer;
}

.quiz-button-container {
  padding: 30px 0 0;
}

.quiz-button {
  font-size: 16px;
  padding: 0 25px;
}


.final-page-container {
  justify-content: flex-start;
  background-color: rgba(0, 0, 0, 0.85);
  position: fixed;
  border-radius: 10px;
  z-index: 10000;
  padding: 20px;
  top: 0;
  width: 100vw;
  height: 100%;
  overflow-y: auto;
  box-sizing: border-box;
}

.final-page-text-container {
  max-width: 350px;
}

.final-page-text-container h1 {
  font-size: 26px;
}

.final-page-text-container p {
  font-size: 16px;
}
.final-page-form-container input {
  height: 45px;
  font-size: 14px;
}

.final-page-form-container button {
  font-size: 16px;
  padding: 12px 25px;
}
}

