@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=Russo+One&family=Sen:wght@400;500;600;700;800&display=swap");

:root {
  --primary-color: rgb(27, 75, 144);
  --text-color: rgb(0, 0, 0);
}

body {
  width: 100%;
  height: auto;
  font-family: "Jost";
}
main {
  width: 100%;
  min-height: 100vh;
  background-image: url(../images/bg.png);
  background-color: rgb(179, 206, 233);
  background-size: cover;
  position: relative;
  display: flex;
  flex-direction: column;
}

header,
footer {
  width: 100%;
  padding: 0 85px;
}
header {
  min-height: 200px;
  display: grid;
  place-content: center;
}
.stepsBar {
  width: 100%;
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}
.stepsBar .stepSingle {
  width: 320px;
  height: auto;
  position: relative;
}
.stepSingle span {
  border-radius: 50%;
  background-color: rgb(179, 205, 232);
  width: 50px;
  height: 50px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-content: center;
  font-size: 24px;
  font-family: "Sen";
  color: rgb(255, 255, 255);
  font-weight: bold;
  transition: 0.5s cubic-bezier(0.445, 0.05, 0.55, 0.95);
}
.stepSingle .bar {
  width: 100%;
  border-radius: 5px;
  background-color: rgb(188, 210, 234);
  height: 12px;
}
.bar .fill {
  width: 0%;
  margin: 0 auto;
  background-color: var(--primary-color);
  border-radius: inherit;
  height: 100%;
  transition: 0.5s cubic-bezier(0.445, 0.05, 0.55, 0.95);
}
.active .bar .fill {
  width: 100% !important;
}
.active span {
  background-color: var(--primary-color);
}
.steps {
  flex: 1;
  width: 100%;
  padding: 30px 85px;
  height: 100%;
  background-image: url(../images/opBG.jpg);
  background-size: cover;
}
.sideImg {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 100;
}
.sideImg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
form {
  width: 80%;
}
.question {
  --left-minus: -25px;
  background-color: rgb(163, 193, 220);
  width: calc(100% - var(--left-minus));
  height: 180px;
  border-top-right-radius: 50px;
  border-bottom-right-radius: 50px;
  display: grid;
  place-content: center;
  text-align: center;
  margin-bottom: 25px;
  position: relative;
  left: var(--left-minus);
  padding: 0 40px;

  font-size: 43px;
  font-family: "Sen";
  color: rgb(0, 0, 0);
  font-weight: 800;
}
.options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 80%;
  margin: 0 auto;
}
.options .option {
  position: relative;
  display: grid;
  place-content: center;
  margin-top: 40px;

  width: 40%;
  height: 98px;
}
.option::before {
  content: "";
  position: absolute;
  top: -65px;
  left: 50%;
  transform: translate(-50%, 0);
  background-color: rgb(163, 193, 220);
  width: 2px;
  height: 65px;
  z-index: 10;
}
.options input {
  -webkit-appearance: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background-color: rgb(163, 193, 220);
  cursor: pointer;
  z-index: 20;
  border: solid 2px transparent;

  transition: 0.5s;
}
.option label {
  font-size: 30px;
  position: relative;
  font-family: "Sen";
  color: rgb(255, 255, 255);
  font-weight: bold;
  z-index: 30;
  transition: 0.5s;
  pointer-events: none;
}
.options input:checked {
  border-color: var(--primary-color);
}
.options input:checked ~ label {
  color: var(--primary-color);
}
footer {
  min-height: 170px;
  display: grid;
  align-content: center;
}
.nextPrev {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: auto;
}
.nextPrev button {
  background-color: rgb(255, 255, 255);
  width: 258px;
  height: 84px;
  font-size: 20px;
  color: rgb(124, 120, 120);
  font-weight: bold;
  border: 0;
  text-transform: uppercase;
}
.nextPrev button.next {
  background-color: var(--primary-color);
  color: rgb(255, 255, 255);
}
.nextPrev button.prev i {
  margin-right: 10px;
}
.nextPrev button.next i {
  margin-left: 10px;
}

.nextPrev button i {
  transition: 0.5s;
}
.nextPrev button.prev:hover i {
  transform: translateX(-10px);
}
.nextPrev button.next:hover i {
  transform: translateX(10px);
}
#error {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000000000;
}
