* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --header-span: #fac60e;
  --bg-color: #dddde396;
  --bg-select-question: #e1e1ec;
  --bg-color-radio: radial-gradient(circle, rgba(255, 200, 0, 1) 52%, rgba(255, 255, 255, 1) 100%);
  --bg-color-before: #6f7072;
  --bg-color-button: #ffc800;
  --bg-radio: #ffc800;
  --text-color: #111;
  --form-color: #fafafc;
  --border-default: #ababb1;
  --border-input: #48474d;
  --input-span-hover: #6c6a71;
  --text-span: #a19cadbf;
  --text-white: #fff;
}

body,
input,
select {
  font-family: "Roboto", sans-serif;
}

h1,
h2,
h3,
legend,
button,
textarea,
span {
  font-family: "Archivo", sans-serif;
}

.page {
  max-width: 960px;
  margin: 0 auto;
}

body::before {
  content: "";
  width: 100%;
  height: 370px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  background: var(--bg-color-before);
}

body {
  background: var(--bg-color);
}

.support {
  position: fixed;
  bottom: 30px;
  right: 50px;
}
.support img {
  width: 80px;
  height: 80px;
}

.support h2 {
  text-align: center;
  color: var(--text-color);
  font-size: 16px;
}

header {
  width: 500px;
  margin-top: 74px;
}

header h1 {
  font-weight: bold;
  font-size: 36px;
  line-height: 42px;
  color: var(--text-white);
  margin-bottom: 24px;
}

header span {
  color: var(--header-span);
}

header p {
  font-size: 16px;
  line-height: 26px;
  color: var(--text-white);
  /* text-transform: uppercase; */
}

form {
  margin-top: 38px;
  background: var(--form-color);
  min-height: 300px;
  border-radius: 8px 8px 0 0;
  padding: 0 50px 70px;
  display: flex;
  flex-direction: column;
  grid: 48px;
  margin-bottom: 60px;
}

fieldset {
  border: none;
}

fieldset legend {
  font-weight: 600;
  font-size: 24px;
  line-height: 34px;
  width: 100%;
  padding-bottom: 20px;
}

fieldset h1 {
  font-weight: bold;
  font-size: 24px;
  line-height: 34px;
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 100px;
  margin-bottom: -20px;
}

.fieldset-wrapper {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: var(--bg-color);
  padding: 40px;
  border-radius: 8px;
  margin-top: 50px;
}

.input-wrapper {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.input-wrapper label {
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  color: #4e4958;
  margin: 20px 0 8px;
}

.input-wrapper label span {
  font-size: 14px;
  line-height: 24px;
  color: var(--text-span);
  margin-left: 12px;
}

.input-wrapper label span:hover {
  color: var(--input-span-hover);
}

.input-wrapper input {
  background: var(--form-color);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  height: 30px;
  padding: 0 24px;
  font-size: 16px;
  line-height: 26px;
  color: var(--input-span-hover);
}

.flex {
  margin-bottom: 80px;
}

.input-wrapper-flex {
  display: flex;
  gap: 20px;
}

.fieldset-wrapper h2 {
  font-size: 16px;
  display: flex;
  flex-direction: column;
}

.fieldset-wrapper h2 span {
  font-size: 14px;
  line-height: 24px;
  color: var(--text-span);
  margin-left: 12px;
}

.fieldset-wrapper h3 {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  padding: 30px 0 0 20px;
}
.fieldset-wrapper img {
  margin-top: 40px;
  width: 80px;
  align-self: center;
  margin-left: 10px; 
  margin-bottom: 5px;
}

.question {
  display: flex;
  justify-content: space-around;
  font-size: 12px;
  border-radius: 20px;
  color: var(--text-color);
  background:var(--bg-radio);
  padding: 7px 0 3px;
}

.question .select-question span {
  display: block;
}

.question .select-question {
  display: flex;
  flex-direction: column;
  padding: 8px;
  transition: all linear 0.1s;
  border-radius: 5px;
  gap: 2px;
}

.question .select-question:hover {
  background-color: #a5a8be75;
  cursor: pointer;
}

fieldset p {
  margin-top: 50px;
}

.fieldset-wrapper .textarea label {
  margin-top: 50px;
}

.textarea {
  display: flex;
  flex-direction: column;
}
.textarea label {
  margin-bottom: 10px;
  font-weight: bold;
}
.textarea textarea {
  border: none;
  border-radius: 10px;
  padding: 20px;
}

.button {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.button button {
  margin-top: 58px;
  width: 300px;
  padding: 20px;
  border-radius: 15px;
  border: none;
  color: var(--text-color);
  background: rgb(19, 24, 72);
  background: var(--bg-color-button);
  text-transform: uppercase;
}
