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

:root {
  --primary-color: rgb(0, 26, 78);
  --text-color: rgb(0, 0, 0);
}
body {
  width: 100%;
  height: auto;
  font-family: "Jost";
  position: relative;
}
main {
  width: 100%;
  min-height: 100vh;
  position: relative;
  background-image: url(../images/bg.png);
  background-size: cover;
  background-color: var(--primary-color);

  display: flex;
  flex-direction: column;
}
.bar {
  width: 100%;
  background-color: rgb(255, 255, 255);
  height: 56px;
}
.bar .fill {
  width: 100%;
  background-color: var(--primary-color);
  height: 100%;
  transition: 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.steps {
  width: 100%;
  height: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  place-content: center;
  margin: 30px auto;
}
.qArea {
  position: relative;
  width: 100%;
  height: 700px;
  display: grid;
  place-content: center;
}
.qArea .QBG {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.qNumber,
.question {
  position: relative;
  z-index: 100;
  width: 50%;
  margin: 0 auto;
  text-align: center;
}
.qNumber {
  font-size: 24px;
  color: rgb(0, 0, 0);
  font-weight: bold;
  margin-bottom: 20px;
}
.question {
  font-size: 60px;
  color: rgb(3, 3, 3);
  font-weight: bold;
  margin-bottom: 30px;
}

.nextPrev {
  width: 50%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  margin: 0 auto;
}
.nextPrev button {
  background-color: rgb(255, 255, 255);
  box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.1);
  width: 87px;
  height: 77px;
  border-top-left-radius: 10px;
  border: 0;
  font-size: 34px;
  color: rgb(0, 0, 0);
}
.nextPrev button.next {
  background-color: var(--primary-color);
  color: rgb(255, 255, 255);
  border-radius: 0;
  border-top-right-radius: 10px;
}

.options {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: end;
  justify-content: center;
  height: 100%;
  margin-right: 90px;
}
.options .option {
  width: 354px;
  height: 122px;
  display: grid;
  place-content: center;
  position: relative;
}
.option input {
  -webkit-appearance: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  background-color: rgb(190, 190, 190);
  cursor: pointer;
  transition: 0.5s;
}

.option label,
.option span {
  position: relative;
  pointer-events: none;
  z-index: 100;
}
.option label {
  font-size: 35px;
  color: var(--text-color);
  font-weight: bold;
  transition: 0.5s;
}
.option span {
  border-radius: 5px;
  background-color: rgb(255, 255, 255);
  width: 64px;
  height: 64px;
  font-size: 35px;
  color: var(--primary-color);
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);

  display: grid;
  place-content: center;
}
.option input:checked {
  background-color: var(--primary-color);
}
.option input:checked::before {
  content: "";
  position: absolute;
  background-image: url(../images/check.png);
  width: 40px;
  height: 36px;
  top: 50%;
  transform: translate(0, -50%);
  right: 30px;
  opacity: 0;
}
.option input:checked ~ label {
  color: rgb(255, 255, 255);
}
#error {
  position: fixed;
  top: 20px;
  left: 20px;
}
