@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(255, 0, 0);
  --secondary-color: rgb(229, 53, 53);
}

body {
  width: 100%;
  height: auto;
  position: relative;
}

main {
  width: 100%;
  min-heighte: 100vh;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 50px 0;
}
.steps {
  border-radius: 20px;
  background-color: rgb(255, 255, 255);
  box-shadow: 0px 0px 40px 0px rgba(0, 0, 0, 0.3);
  width: 100%;
  padding: 25px;
  padding-top: 25px;
  padding-bottom: 25px;
  position: relative;
  z-index: 10;
  transform-style: preserve-3d;
  max-width:600px;
}
#step1 .prev {
  opacity: 0;
  pointer-events: none;
}
.backgroundSlab {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  transform: translateZ(-1px);
}
.backgroundSlab::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(209, 18, 27);
  border-radius: 20px;
  z-index: 1;
  transform: rotate(-1.5deg);
}
.backgroundSlab::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(255, 186, 0);
  border-radius: 20px;
  z-index: 2;
  transform: rotate(1.5deg);
}
.show-section > fieldset {
  width: 100%;
  margin: 0 auto;
}
.question {
  font-size: 60px;
  color: rgb(0, 0, 0);
  font-weight: bold;
  text-align: center;
  width: 90%;
  margin: 0 auto;
}
.options {
  margin-top: 20px;
  margin-bottom: 15px;
}
.option {
  float:left;
  width: 99%;
  position: relative;
  heighte: 101px;
  margin-bottom: 10px;
  display: grid;
  align-content: center;
}
.option input {
  -webkit-appearance: none;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 0px;
  background-color: #bbb;
  height: 100%;
  width:100%;
  cursor: pointer;
}
.option input::before {
  content: "";
  width: 0;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  //background-color: var(--primary-color);
  border-radius: inherit;
  transition: 0.5s;
}

.option label {
  font-size: 32px;
  color: rgb(163, 163, 163);
  font-weight: 500;
  position: relative;

  display: flex;
  justify-content: start;
  align-items: center;
  height: inherit;
  pointer-events: none;
}
.option label::before {
  content: "X";
  display: inline-block;
  //background-color: rgb(163, 163, 163);
  width: 40px;
  height: inherit;
  displaye: grid;
  place-content: center;
  color: rgb(255, 255, 255);
  font-weight: bold;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
  font-size: 20px;
  transition: 0.5s;
  margin-right: 0px;
  text-align:center;
  height:100%;
  padding-top:4px;
  box-sizing:border-box;
}
.option:nth-child(1) label::before {
  content: "A";
}
.option:nth-child(2) label::before {
  content: "B";
}
.option:nth-child(3) label::before {
  content: "C";
}
.option:nth-child(4) label::before {
  content: "D";
}
.option:nth-child(5) label::before {
  content: "E";
}
.option input:checked:before {
  width: 100%;
}

.option input:checked ~ label {
  color: rgb(255, 255, 255);
}
.option input:checked ~ label::before {
  color: rgb(255, 255, 255);
  color: rgb(255, 255, 255);
  //background-color: var(--secondary-color);
}
.nextPrev {
  display: flex;
  align-items: center;
  gap: 90px;
  justify-content: center;
  width: 100%;
}
.nextPrev button {
  font-size: 90px;
  color: rgb(156, 156, 156);
  border: 0;
  background-color: transparent;
  height: auto;
  transition: 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}
.nextPrev .prev:hover {
  transform: translateX(-15px);
}
.nextPrev .next:hover,
.nextPrev .apply:hover {
  transform: translateX(15px);
}
.nextPrev .next,
.nextPrev .apply {
  color: rgb(242, 171, 0);
}
.stepCount {
  font-size: 56.276px;
  color: rgb(0, 0, 0);
}
.avatar {
  position: absolute;
  bottom: 0;
  left: 0;
  border-radius: inherit;
}

#error {
  position: fixed;
  top: 20px;
  left: 20px;
}
