img {
  max-width: 100%;
}
.quiz-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  min-height: 100vh;
  padding: 50px 10px;
  background-color: white;
  z-index: 1;
  max-width: 688px;
  width: 100%;
  margin: 0 auto;
}
.quiz-section a.logo-link {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}
#form-area {
  border-radius: 20px;
  width: 100%;
  padding-top: 20px;
  margin: 0 auto;
}
#form-area .form-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
#form-area h2 {
  margin-bottom: 30px;
  font-size: 32px;
  text-align: left;
}
.heading-sub {
  margin-bottom: 20px;
  font-style: 14px;
  color: var(--text);
  text-align: center;
}
.grid-answers {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 10px 20px;
  margin-bottom: 20px;
}
#form-area #step1 .grid-answers {
  flex-direction: row;
}
.grid-answers button {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 12px;
  border: 1px solid #fff;
  -webkit-box-shadow: 0px 0px 10px -2px rgba(34, 60, 80, 0.2);
  -moz-box-shadow: 0px 0px 10px -2px rgba(34, 60, 80, 0.2);
  box-shadow: 0px 0px 10px -2px rgba(34, 60, 80, 0.2);
  transition: all 0.4s ease;
  border-radius: 5px;
  font-weight: 700;
  text-align: left;
}
#form-area #step1 .grid-answers button {
  flex-direction: column;
  gap: 5px;
}
#form-area #step1 .grid-answers button img {
  width: 75px;
}
#form-area #step1 .grid-answers button::after, #form-area .grid-answers button::before {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  outline: 1px solid #3A0F40;
  border: 4px solid #fff;
  border-radius: 50%;
  margin: 10px auto 0;
  transition: all 0.4s ease;
}
#form-area #step1 .grid-answers button::before {
  display: none;
}
#form-area .grid-answers button::before {
  margin: 0;
}
.grid-answers button.selected::after, #form-area .grid-answers button.selected::before {
  background-color: #3A0F40;
  border: 4px solid #fff;
}
.grid-answers button:hover,
.grid-answers button.selected {
  transform: translateY(-4px);
  -webkit-box-shadow: 0px 0px 14px 7px rgba(34, 60, 80, 0.2);
  -moz-box-shadow: 0px 0px 14px 7px rgba(34, 60, 80, 0.2);
  box-shadow: 0px 0px 14px 7px rgba(34, 60, 80, 0.2);
}
.answer-comments {
  width: 100%;
  margin-bottom: 20px;
  padding: 12px 16px;
  border-radius: 10px;
  text-align: left;
  border: 1px solid #77777721;
}
.submit-buton {
  width: 100%;
  background-color: #1C749F;
  padding: 16px 48px;
  border-radius: 10px;
  border: none;
  outline: none;
  color: #fff;
  font-weight: 700;
  transition: all 0.4s ease;
  pointer-events: all;
}
.submit-buton:disabled {
  opacity: 0.5;
  pointer-events: none;
}
.submit-buton:hover {
  background-color: #1c739f9f;
}
#registrationForm {
  display: flex;
  flex-direction: column;
  row-gap: 16px;
}
#registrationForm input, #step8 input {
  padding: 12px 16px;
  border: 1px solid #1c739f9f;
  border-radius: 10px;
  outline: none;
}
#registrationForm input:focus, #step8 input:focus {
  border-color: #1C749F;
}
#registrationForm button {
  margin-top: 30px;
}
#registrationForm .checkbox {
  display: flex;
  align-items: center;
  column-gap: 10px;
  padding-left: 0;
}
#registrationForm .checkbox input {
  position: relative;
  height: 20px;
  width: 20px;
  appearance: none;
  border-radius: 5px;
  border: 1px solid #1C749F;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  cursor: pointer;
  background: #fff;
}
#registrationForm .checkbox input::after {
  content: "";
  height: 20px;
  width: 20px;
}
#registrationForm .checkbox input:checked {
  background-color: #1C749F;
}
#registrationForm .checkbox input:checked::after {
  content: "";
  background: url(../images/check.svg) no-repeat center;
  background-size: 10px auto;
}
#registrationForm .checkbox label {
  padding: 0;
}
#registrationForm .checkbox label,
#registrationForm .checkbox input {
  cursor: pointer;
}
#registrationForm .checkbox a {
  color: #1C749F;
  margin: 0 auto;
  transition: 0.3s;
}
#registrationForm .checkbox a:hover {
  color: #3A0F40;
}
@media screen and (max-width:576px) {
  #form-area #step1 .grid-answers {
    flex-direction: column;
  }
}
.thanks {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  padding: 150px 0;
}
.thanks .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 10px;
}
.thanks img {
  width: 100px;
  height: auto;
  margin-bottom: 10px;
}
.thanks p {
  text-align: center;
  font-size: 18px;
  line-height: normal;
  line-height: 1.6em;
}
.thanks p b {
  color: #1C749F;
}
.thanks p.thanks-text {
  color: #3A0F40;
}
@media screen and (max-width: 767.98px) {
  .thanks {
    padding: 150px 0 100px;
  }
  .thanks p {
    font-size: 14px;
  }
    #form-area h2 {
      font-size: 24px;
    }
}

.docs {
  word-break: break-word;
  padding: 50px 20px 100px;
  max-width: 1170px;
  margin: 0 auto;
}
.docs h1 {
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 36px;
}
.docs li,
.docs p {
  color: inherit;
  line-height: normal;
  line-height: 1.6em;
}
.docs a {
  text-decoration: none !important;
  color: #1C749F;
}
.docs a:hover {
  color: #3A0F40;
}