@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(198, 37, 79);
  --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(246, 199, 212);
  background-size: cover;
  padding: 40px 50px;
  position: relative;
}

.stepTotal h4 {
  font-size: 21px;
  color: var(--text-color);
  font-weight: bold;
  text-transform: uppercase;
  margin: 30px 0;
}

.stepTotal .stepBar {
  border-radius: 10px;
  background-color: rgb(214, 214, 214);
  width: 100%;
  height: 22px;
}

.stepBar .fill {
  width: 100%;
  transition: 0.5s;
  height: 100%;
  border-radius: inherit;
  background-color: var(--primary-color);
}

.steps {
  margin-top: 60px;
}
.question {
  font-size: 52px;
  color: var(--text-color);
  font-weight: bold;
  text-align: center;
}

.options {
  --inputHeight: 240px;
  margin: 100px 0;
  display: flex;
  width: 60%;
  height: calc(var(--inputHeight) * 2);
  margin-left: auto;
}
.options .option {
  min-width: var(--inputHeight);
  max-width: var(--inputHeight);
  height: var(--inputHeight);
  display: grid;
  place-content: center;
}
.options .option:nth-child(even) {
  align-self: end;
}
.option input {
  -webkit-appearance: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: rgb(202, 202, 202);
  transition: 0.5s;
  cursor: pointer;
}

.option label {
  font-size: 26px;
  color: var(--text-color);
  font-weight: bold;
  transition: 0.5s;
  position: relative;
  pointer-events: none;
  text-align: center;
  width: 80%;
  margin: 0 auto;
  line-height: 1.2;
}
.option input:checked {
  background-color: var(--primary-color);
  box-shadow: 0px 3px 51px 0px rgba(0, 0, 0, 0.2);
}
.option input:checked ~ label {
  color: rgb(255, 255, 255);
}
.nextPrev {
  width: 100%;
  display: flex;
  gap: 20px;
  justify-content: end;
  margin-top: 30px;
}
.nextPrev button {
  padding: 0 30px;
  border-radius: 10px;
  background-color: var(--primary-color);
  height: 88px;
  color: rgb(255, 255, 255);
  font-size: 24px;
  font-family: "Russo One";
  border: 0;
}
.questionMark {
  position: absolute;
  bottom: 0;
  left: 0;
}

#error {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000000000;
}
