@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: linear-gradient(
    90deg,
    rgb(255, 175, 164) 25%,
    rgb(255, 145, 129) 70%,
    rgb(255, 114, 94) 100%
  );
  --secondary-color: rgb(255, 255, 255);
}

body {
  width: 100%;
  height: auto;
  font-family: "Jost";
}
main {
  width: 100%;
  min-height: 100vh;
  background-image: url(../images/bg.jpg);
  background-size: cover;
  padding-bottom: 60px;
}
header {
  width: 100%;
  height: auto;
  margin-bottom: 30px;
}
.stepPrcnt {
  background-color: rgb(255, 255, 255);
  width: 100%;
  height: 55px;
  position: relative;
}
.stepPrcnt .fill {
  background: linear-gradient(
    90deg,
    rgb(220, 61, 39) 0%,
    rgb(238, 88, 67) 41%,
    rgb(255, 114, 94) 63%
  );
  width: 100%;
  height: 100%;
  transition: 0.5s all cubic-bezier(0.165, 0.84, 0.44, 1);
  color: rgb(0, 0, 0);
  font-size: 25px;
  display: grid;
  place-content: center;
}
.stepPrcnt .fill p {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps {
  width: 45%;
  margin-left: auto;
  height: 100%;
  display: grid;
  align-content: end;
  margin-top: 150px;
}
.stepNumber {
  font-size: 24px;
  color: rgb(0, 0, 0);
  font-weight: bold;
  text-align: center;
  margin-bottom: 15px;
}
.question {
  width: 100%;
  clip-path: polygon(
    0% 0%,
    100% 0%,
    100% 75%,
    50% 75%,
    60% 100%,
    25% 75%,
    0% 75%
  );
  height: 320px;

  background-color: rgb(220, 61, 39);
  border-radius: 50px;
  position: relative;
  z-index: 1;
  margin: 40px 0;
  font-size: 35px;
  color: rgb(255, 255, 255);
  font-weight: bold;
  text-align: center;
  display: grid;
  place-content: center;
  padding: 20px 20px 80px 20px;
}
.question::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  background: var(--primary-color);
  border-radius: inherit;
  z-index: -1;
  clip-path: polygon(
    0% 0%,
    100% 0%,
    100% 75%,
    50% 75%,
    60% 100%,
    25% 75%,
    0% 75%
  );
}

.questionImg {
  position: absolute;
  top: 80px;
  right: 15px;
  z-index: 1000;
}

.option {
  width: 47.5%;
  height: 118px;
  position: relative;
  display: flex;
  align-items: center;
  padding: 20px;
  margin-bottom: 28px;
}
.option input {
  -webkit-appearance: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-color);
  border-radius: 20px;
  cursor: pointer;
}
.option input:checked::before {
  content: "";
  position: absolute;
  background-image: url(../images/check.png);
  width: 40px;
  height: 36px;
  top: 50%;
  transform: translate(0, -50%);
  right: 25px;
  opacity: 0;
}
.option label {
  font-size: 27px;
  color: var(--secondary-color);
  font-weight: bold;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 111;
  pointer-events: none;
}
.option label::before {
  content: "A";
  border-radius: 5px;
  background-color: rgb(255, 114, 94);
  width: 56px;
  height: 64px;
  display: grid;
  place-content: center;
  margin-right: 40px;
  padding: 25px;
}
.nextPrev {
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: auto;
  margin-top: 35px;
}
.nextPrev button {
  border-radius: 10px;
  background-color: rgb(255, 255, 255);
  box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.1);
  width: 229px;
  height: 78px;
  font-size: 18px;
  color: rgb(0, 0, 0);
  font-weight: bold;
  border: 0;
  text-transform: uppercase;
  margin-top: 10px;
}
.nextPrev .prev:hover i {
  margin-left: 0px;
  margin-right: 30px;
}
.nextPrev .next:hover i {
  margin-right: 0px;
  margin-left: 30px;
}
.nextPrev button i {
  margin: 0 15px;
  transition: 0.4s;
}
.nextPrev .next,
.nextPrev .apply {
  background: var(--primary-color);
}

#error {
  position: fixed;
  top: 20px;
  left: 20px;
}
