* {
  padding: 0;
  margin: 0;
  border: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  /* border: 1px solid red; */
}



a:hover {
  text-decoration: none;
}

/* Common */

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

h1,
h2,
h3,
h4,
h5,
h6,
div,
p,
span {
  font-size: inherit;
  font-weight: inherit;
  user-select: none;
}

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

img {
  vertical-align: top;
}

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

/* Form */

input,
textarea,
button,
select {
  font-family: inherit;
  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;
}



* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Comfortaa', serif;
  font-weight: 400;
}

body {
  background-color: #f3f4f7;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1396px;
  height: 100vh;
  padding-right: 15px;
  padding-left: 15px;
  margin-left: auto;
  margin-right: auto;
}

h2 {
  font-size: 16px !important;
}

h3 {
  font-size: 36px !important;
  width: max-content;
}

@media (max-width:600px) {
  h3 {
    font-size: 28px !important;
  }
}

@media (max-width:479px) {
  h3 {
    font-size: 24px !important;
    margin: 20px 0 !important;
  }
}

@media (max-width:380px) {
  h3 {
    font-size: 20px !important;
  }
}

.quiz-container {
  border-radius: 10px;
  width: 80%;
  /* max-width: 700px; */
  padding: 20px;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 8px;
}

@media (max-width:1000px) {
  .quiz-container {
    width: 100%;
    margin: 0 15px;
  }
}

@media (max-width:600px){
  .quiz-container {
    padding: 10px;
    margin: 0 5px;
  }
}

.quiz-step {
  display: none;
}

.quiz-step.active {
  display: block;
}

h2 {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 10px;
}

h3 {
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 700;
  margin: 30px 0;
  width: fit-content;
}

.input-field,
.checkbox-group {
  width: 100%;
  margin-bottom: 20px;
}

.input-field {
  width: 100%;
  /* width: 300px; */
  padding: 10px;
  font-size: 16px;
  border: 1px solid rgb(204, 204, 204);
  border-radius: 8px;
  margin-top: 8px;
  background-color: #f5f5f5;
}
.input-field-form{
  margin-bottom: 12px !important;
  margin-top: 0 !important;
}

.input-field1 {
  width: 300px;

}

@media (max-width:479px){
  .input-field1 {
    width: 100%;
  }
}

.checkbox-group {
  display: flex;
  flex-direction: column;
}

.checkbox-group1 {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (max-width:600px){
  .checkbox-group1 {
    gap: 5px;
  }
}

.checkbox-group label {
  margin-bottom: 10px;
}

.next-btn,
.submit-btn {
  background-color: rgb(0, 0, 0);
  color: rgb(255, 255, 255);
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s;
  display: block;
  margin-left: auto;
}

.submit-btn {
  margin: 0 auto;
  background: #e2dd53;
  color: #000;
  font-weight: 400;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s;
}

@media (max-width:767px){
  .submit-btn {
    margin-top: 10px !important;
    font-size: 18px !important;
    padding: 9px 10px !important;
  }
}

.next-btn:hover,
.submit-btn:hover {
  background-color: rgba(0, 0, 0, 0.6);
}

.next-btn1 {
  width: 300px;
  color: rgba(249, 249, 249, 0.95);
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s, color 0.3s;
  background-color: rgb(62, 94, 24);
  display: block;
  margin-bottom: 10px;
}

@media (max-width:479px) {
  .next-btn1 {
    width: 100%;
  }
}

/* Анимации */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.quiz-step {
  animation: fadeIn 0.5s ease-in-out;
}

.checkbox-group {
  flex-direction: column;
  gap: 20px;
}

.extra-options-btn {
  width: 300px;
  color: rgba(249, 249, 249, 0.95);
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s, color 0.3s;
  background-color: rgb(62, 94, 24);
}

.option-btn {
  width: 300px;
  color: rgba(249, 249, 249, 0.95);
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s, color 0.3s;
  background-color: rgb(62, 94, 24);
  text-align: center;
  display: block;
  margin: 5px 0;
}

@media (max-width:479px){
  .option-btn {
    width: 100%;
  }
}

.option-btn.selected {
  background-color: #4CAF50;
  width: 300px;
  color: rgba(249, 249, 249, 0.95);
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s, color 0.3s;
  text-align: center;
  display: block;
  margin: 5px 0;
}
@media (max-width:479px){
  .option-btn.selected {
    width: 100%;
  }
}


.hidden {
  display: none;
}


.option-btn.active {
  background-color: #4CAF50;
  color: white;
  border: none;
}

#company-website:disabled {
  cursor: not-allowed;
  /* Меняет курсор на тип "запрещено" */
}

#company-name:disabled {
  cursor: not-allowed;
  /* Меняет курсор на тип "запрещено" */
}

.select-5 {
  border-radius: 8px;
  border: 1px solid #a19494;
  cursor: pointer;
  padding: 3px;
  line-height: 1;
  margin-left: 5px;

}

.checkbox-group-row {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

@media (max-width:600px){
  .checkbox-group-row {
    gap: 8px;
  }
}

.input-field-textarea {
  width: 100%;
  height: 100px;
  padding: 10px;
  font-size: 16px;
  border: 1px solid rgb(204, 204, 204);
  border-radius: 8px;
  /* margin-top: 8px; */
  background-color: #f5f5f5;
  resize: none;
  margin-bottom: 15px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 8px;
  outline: none;
}




.form__box {
  display: flex;
  gap: 10%;
  

}

@media (max-width:797px){
  .form__box {
    gap: 2%;
  }
}
@media (max-width:690px){
  .form__box {
    flex-direction: column;
  }

}

.form__text-wrapper {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;

  h3 {
    font-weight: 600;
    font-size: 22px !important;
  }

  p {
    margin-top: 20px;
  }

}

@media (max-width:690px){
  .form__text-wrapper {
    text-align: left;
    margin-left: 10px;

    h3 {
      font-size: 18px !important;
      margin: 15px 0;
    }

    p {
      margin-top: 0px !important;
      margin-bottom: 15px;
    }
  }
  
}


.form-select {
  display: block;
  padding: 3px;
  line-height: 1;
  border-radius: 8px;
  border: 1px solid #a19494d2;
  cursor: pointer;
  margin-bottom: 15px;
  width: 250px;
}

.form-select-text {
  display: block;
  padding: 3px;
  line-height: 1;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 5px;
}

.form__main-wrapper {
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 8px;
  padding: 30px;
  border-radius: 10px;
}

@media (max-width:767px){
  .form__main-wrapper {
    padding: 15px;
  }
}

.input-field {}

.checkbox-policy-wrapper {

  display: inline-flex;
  gap: 10px;
}

.checkbox-policy {

  cursor: pointer;
}

.checkbox-adult-wrapper {
  margin-top: 15px;
  display: inline-block;
  display: inline-flex;
  gap: 10px;
}

.checkbox-adult {
  cursor: pointer;
}

.submit-btn {
  text-align: center;
  margin-top: 20px;
  width: 100%;
  padding: 20px;
  font-size: 22px;
}

.submit-btn:hover {
  background-color: #bbb623;
}

.form-error {
  display: block;
  color: red;
  min-height: 12px;
  font-size: 14px;
  line-height: 1;
  text-align: center;
  margin-top: 5px;
}