* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Tahoma, Verdana !important;
  border: none;
  outline: none;
  text-decoration: none;
  color: #404040;
}
:root {
  --primary: #cc0000;
  --secoundary: #eedc94;
}
[class*="grid"] {
  display: grid;
}
.align-center {
  align-items: center;
}
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  scroll-padding-top: 8rem;
}
body{
background: linear-gradient(#000000ab,#000000ab), url("woman-holding-cash.jpg");
background-position:center;
background-repeat:no-repeat;
background-size:cover;
height: 100vh;
width:100%;
}

p,
a,
input,
select,
textarea,
button {
  font-size: 1.6rem;
}
p {
  font-weight: 500;
}
img,
video {
  max-width: 100%;
}
.container {
  max-width: 1240px;
  padding: 0 1rem;
  margin: auto;
  width: 100%;
}

.main-wraper {
  background: white;
  max-width: 65rem;
  width: 100%;
  padding: 3rem;
  margin: auto;
  border-radius: 1rem;
  margin-top: 2rem;
}
.header {
  text-align: center;
  margin-bottom: 3rem;
}
.body {
  background: var(--secoundary);
  padding: 3rem;
  border-radius: 1rem;
}
.navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  text-align: center;
}
.header .typo h1 {
  font-size: 3.2rem;
  line-height: 1.2;
}
.header .typo h1 span {
  color: var(--primary);
}
.header .typo p {
  font-size: 2rem;
  margin-top: 1rem;
}
.step {
  opacity: 0.3;
}
.step.active {
  opacity: 1;
}
.step h2 {
  font-size: 3rem;
  line-height: 1;
}
.navigation {
  margin-bottom: 3rem;
}
.question {
  text-align: center;
}
.question h2 {
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.4;
}
.answer {
  display: grid;
  gap: 0.3rem;
  margin-top: 1rem;
}
.answer button {
  background: none;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  cursor: pointer;
  padding: 1.5rem;
  border-radius: 1rem;
  transition: 0.3s;
}
.answer button span {
  width: 1.8rem;
  aspect-ratio: 1/1;
  border-radius: 5rem;
  border: 1px solid black;
  background: white;
}
.progress {
  width: 100%;
  height: 1rem;
  background: white;
  margin: 2rem 0;
  border-radius: 5rem;
  overflow: hidden;
}
.progress .bar {
  width: 10%;
  height: 100%;
  background: var(--primary);
  border-radius: 5rem;
}
.question-box {
  display: none;
}
.question-box.active {
  display: block;
}
.answer button:hover {
  background: #fdcb13;
  box-shadow: 0 10px 20px #00000016;
}
.af-textWrap {
  height: 6rem;
  width: 100%;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.136);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  padding: 0 2rem;
  gap: 1rem;
  margin-bottom: 1rem;
}
.af-textWrap input {
  background: none;
  height: 100%;
}
.af-textWrap i {
  font-size: 2.5rem;
}
form button {
  height: 8rem;
  background: -webkit-linear-gradient(
    top,
    #ee432e 0,
    #c63929 50%,
    #b51700 50%,
    #891100 100%
  );
  color: white;
  font-size: 2.5rem;
  border-radius: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-transform: capitalize;
  box-shadow: 0 0 0 1px rgba(255, 115, 100, 0.4) inset,
    0 1px 3px rgb(51, 51, 51);
  border: 1px solid rgb(149, 17, 0);
}
.footer img {
  width: 40%;
  display: block;
  margin: auto;
  margin-top: 3rem;
}
u {
  text-decoration: underline;
}
.end h3 {
  font-size: 3rem;
  text-align: center;
  text-transform: capitalize;
  color: var(--primary);
  margin-bottom: 1rem;
}
.step p {
  font-weight: 600;
  font-size: 1.3rem;
  margin-top: 0.5rem;
}
@media (max-width: 1380px) {
  html {
    font-size: 45%;
  }
}
@media (max-width: 660px) {
  html {
    font-size: 62.5%;
  }
  .main-wraper {
    padding: 2rem;
  }
  .header .typo h1 {
    font-size: 2rem;
  }
  .header .typo p {
    font-size: 1.6rem;
  }
  .body {
    padding: 2rem;
  }
  .navigation {
    gap: 1rem;
  }
  .step h2 {
    font-size: 1.6rem;
  }
  .step p {
    font-size: 1rem;
  }
  .question h2 {
    font-size: 1.6rem;
  }
  .progress {
    height: 0.8rem;
    margin-bottom: 0.5rem;
  }
  .end h3 {
    font-size: 2.5rem;
  }
  .af-textWrap {
    height: 5rem;
  }
  form button {
    height: 6rem;
    border-radius: 0.5rem;
    font-size: 1.8rem;
  }
  .af-textWrap {
    padding: 0 1.5rem;
    height: 5rem;
  }
  .af-textWrap i {
    font-size: 2rem;
  }
}
