@import url("https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Sen:wght@400;500;600;700;800&display=swap");

:root {
  --primary-color: rgb(252, 16, 0);
  --text-color: rgb(0, 0, 0);
}

body {
  width: 100%;
  height: auto;
  position: relative;
  font-family: "Jost";
}
main {
  width: 100%;
  min-height: 100vh;
  position: relative;
  background-image: url(../images/bg.jpg);
  background-size: cover;
  padding: 50px 0;
}
main::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(52, 52, 52, 0.66);
}
main > * {
  position: relative;
}

header {
  width: 100%;
  margin-bottom: 30px;
}
.stepCounter {
  font-size: 22px;
  color: rgb(255, 255, 255);
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 25px;
}
.stepBar {
  background-color: rgb(255, 255, 255);
  width: 100%;
  height: 22px;
}
.stepBar .fill {
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  transition: 0.5s all ease-in-out;
}
#step1 .hidePrev {
  opacity: 0;
  pointer-events: none;
}
.stepHead {
  width: 100%;
  height: auto;
  position: relative;
  margin: 0;
}
.stepHead img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nextPrev {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 100%;
  width: calc(100% + 96px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transform: translate(-50%, -50%);
}
.nextPrev button {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background-color: rgb(90, 91, 90);
  border: 0;
  font-size: 34px;
  color: rgb(255, 255, 255);
}
.nextPrev button i {
  transition: 0.5s;
}
.nextPrev .next,
.nextPrev .apply {
  background-color: var(--primary-color);
}
.nextPrev .next:hover i,
.nextPrev .apply:hover i {
  margin-left: 20px;
}
.nextPrev .prev:hover i {
  margin-right: 20px;
}
.question {
  font-size: 60px;
  color: var(--text-color);
  font-weight: bold;
  text-align: center;
  background-color: rgb(255, 255, 255);
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  box-shadow: 0px 3px 13px 0px rgba(0, 0, 0, 0.14);
  height: 200px;
  display: grid;
  place-content: center;
  padding: 0 80px;
}
.options {
  width: 100%;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 40px;
}
.options .option {
  border-radius: 10px;
  background-color: rgb(255, 255, 255);
  box-shadow: 0px 3px 13px 0px rgba(0, 0, 0, 0.14);
  width: 20%;
  height: 128px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.option label {
  font-size: 30px;
  color: rgb(0, 0, 0);
  font-weight: bold;
  margin-right: 60px;
}
.option input {
  -webkit-appearance: none;
  border: solid 2px rgb(88, 88, 88);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  transition: 0.5s;
  position: relative;
  background-color: transparent;
}
.option input::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: rgb(255, 255, 255);
  font-size: 24px;
  display: grid;
  place-content: center;
  opacity: 0;
}
.option input:checked {
  background-color: var(--primary-color);
  border-color: transparent;
}
.option input:checked::before {
  opacity: 1;
}
.option input:checked #error {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000000;
}
