/* Reset and base styles  */
* {
  padding: 0px;
  margin: 0px;
  border: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  font-family: sans-serif !important;
}

/* Links */

a,
a:link,
a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

/* Common */

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

h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-size: inherit;
  font-weight: inherit;
}

ul,
ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

address {
  font-style: normal;
}

/* Form */

input,
textarea,
button,
select {
  font-family: sans-serif;
  font-size: inherit;
  color: inherit;
  background-color: transparent;
}

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

button,
input[type='submit'] {
  display: inline-block;
  box-shadow: none;
  background-color: transparent;
  background: none;
  cursor: pointer;
}

input:focus,
input:active,
button:focus,
button:active {
  outline: none;
}

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

label {
  cursor: pointer;
}

legend {
  display: block;
}

.wrapper_container {
  max-width: 750px;
  width: 100%;
  margin: 0 auto;
  padding: 0 10px;
  padding-top: 30px;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo img {
  max-width: 250px;
  width: 100%;
}

.title_container {
  text-align: center;
  margin: 10px 0;
  margin-top: 30px;
  font-size: 25px;
  font-weight: 500;
}

.text_contant {
  font-size: 18px;
  margin: 10px 0;
  margin-top: 30px;
  text-align: center;
}

.quiz_container {
  max-width: 700px;
  width: 100%;
  padding: 10px;
}

.quiz_title {
  text-align: center;
  font-weight: bold;
  font-size: 20px;
  margin: 20px 0;
}

.quiz_question {
  text-align: center;
  font-size: 18px;
  margin: 10px 0;
  margin-bottom: 20px;
}

.answer_container {
  display: flex;
  justify-content: center;
  gap: 60px;
}

.answer {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 250px;
  cursor: pointer;
  border-radius: 10px;
}

.answer_img {
  flex: 1 1 auto;
}

.answer_text {
  text-align: center;
  background-color: rgb(0, 122, 255);
  padding: 20px;
  color: #fff;
  font-weight: bold;
}

.options_container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.option {
  flex: 0 1 48%;
  background-color: rgb(0, 122, 255);
  color: #fff;
  font-weight: bold;
  height: 85px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s ease;
  display: flex;
  font-size: 20px;
  justify-content: center;
}

.active_option {
  background-color: rgb(16, 86, 198);
}

.option:hover {
  background-color: rgb(16, 86, 198);
}

.bnt_next {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 auto;
  background-color: #f5f5f5;
  color: #000;
  font-size: 20px;
  border-radius: 10px;
  width: 100%;
  max-width: 350px;
  padding: 10px 0;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s ease;
}

.bnt_next:disabled {
  background-color: #ccc;
}

.bnt_next:hover {
  background-color: #dad3d3;
}

.options_container input {
  padding: 20px;
  background-color: #fff;
  border: 3px solid #f5f5f5;
  border-radius: 10px;
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bnt_result {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 auto;
  background-color: rgb(0, 122, 255);
  color: #fff;
  font-size: 20px;
  border-radius: 10px;
  width: 100%;
  max-width: 350px;
  padding: 10px 0;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s ease;
}

.quiz_item,
.form-block {
  display: none;
}

.active {
  display: block;
}

.icon_text {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  font-size: 16px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px;
  background-color: yellow;
  color: #000;
  font-size: 20px;
  margin: 30px auto;
  border: 1px solid #000;
  border-radius: 5px;
  cursor: pointer;
}

[scroll='goScrollToForm'] {
  cursor: pointer;
}

.container_people {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 20px 0;
  margin-bottom: 50px;
}

.container_people p {
  font-size: 18px;
}

.footer {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 50px;
}

.footer p {
  font-size: 14px;
  text-align: center;
}

@media screen and (max-width: 598px) {
  .answer_container {
    /* flex-direction: column; */
    /* gap: 20px; */
    align-items: center;
  }

  .option {
    flex: 0 1 100%;
  }
}

.check_question {
  display: none;
  /* width: 24px; */
  /* height: 24px; */
  border-radius: 100%;
  /* background-color: #e5e7eb; */
  /* border: 2px solid #8a8989; */
  min-width: 24px;
  margin-right: 5px;
}

.ckeck_active {
  background-color: #8a8989;
  border: 2px solid #e5e7eb;
  background-image: url(../images/arrow.svg);
  background-position: center;
  background-repeat: no-repeat;
}

.blue_text {
  color: blue;
  text-align: left;
  font-size: 20px;
  margin-bottom: 5px;
}

.red_rext {
  color: red;
  text-align: left;
  font-size: 20px;
  margin-bottom: 20px;
}

.text {
  color: #000;
  text-align: left;
  font-size: 20px;
  margin-bottom: 20px;
}

.img_success img {
  display: block;
  margin: 10px auto;
  width: 100%;
}

.subtitle_container {
  text-align: left;
  font-size: 25px;
  margin-bottom: 10px;
}

.result-text {
  font-size: 20px;
  line-height: 1.5;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 20px;
}

@media (max-width: 414px) {
  .option {
    height: 95px;
  }
}
