/* Optimized CSS */
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@100..900&family=Sen:wght@400;700;800&display=swap');

:root {
  --primary-color: #6B5546;
  --secondary-color: #ececec;
  --font-base: 'Jost', sans-serif;
  --font-size-base: 16px;
  --radius: 10px;
  --transition: 0.5s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-base);
  width: 100%;
  background: #f5f2ee;
}

main {
  min-height: 100vh;
  display: grid;
  width: 100%;
  position: relative;
}
.centerContent {
  margin: 0 auto;
}
.side {
  width: 100%;
  position: relative;
  z-index: 10;
  height: 100%;
}

.side_image {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
}

.side_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.border-up, .border-down {
  width: 100%;
  height: 10px;
  background-color: var(--secondary-color);
  display: block;
  position: relative;
}

.border-up::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: var(--primary-color);
}
.step-count-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0rem;
    }
.step-count {
  position: absolute;
  top: 0;
  right: 0;
  width: 90%;
  height: 10px;
  display: grid;
  background-color: var(--secondary-color);
  z-index: 1000;
}

.step-single {
  height: 8%;
  display: inline-block;
}

.step-line {
  height: 10px;
  top: 20px;
  left: 0;
  width: 100%;
  background-color: var(--secondary-color);
  position: relative;
  z-index: -2;
  transition: var(--transition);
}

.step-line .fill {
  width: 100%;
  height: 0;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.step-number {
  border-radius: 50%;
  position: relative;
  left: -18px;
  background-color: #fff;
  min-height: 28px;
  font-size: 18px;
  color: #d4d4d4;
  font-weight: bold;
  display: grid;
  place-content: center;
  min-width: 28px;
}

.step-number::before,
.step-number::after {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  z-index: -1;
  transition: var(--transition);
}
.step-number::before {
  background-color: var(--secondary-color);  
}
.step-number::after {
   background-color: var(--primary-color);   
}
.step-single.active .fill {
  height: 100%;
}

.step-single.active .step-number {
  color: #000;
}

.step-single.active .step-number::after {
  height: 36px;
}

form {
  display: grid;
  position: relative;
  overflow: hidden;
}

.countdown {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--primary-color);
  width: 73px;
  height: 111px;
  display: grid;
  place-content: center;
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
}

.countdown h3 {
  font-size: 30px;
  font-family: var(--font-base);
  color: #000;
  font-weight: normal;
}

#countdown-timer {
  font-weight: bold;
}

.wrapper {
  width: 71%;
  margin: 30px auto 20px;
}

.wrapper section {
  display: flex;
  flex-direction: column;
  height: 70%;
  position: relative;
  z-index: 10;
}

fieldset {
  flex: 1;
  margin-top: 60px;
}

.quiz-question {
  font-size: 45px;
  color: #000;
  font-weight: bold;
  text-align: center;
}

.radio-field {
  position: relative;
  height: 80px;
  width: 100%;
  margin-bottom: 10px;
  align-items: center;
  display: flex;
}

.radio-field input {
  -webkit-appearance: none;
  position: absolute;
  width: 100%;
  height: 80px;
  background-color: #fff;
  border: 3px solid var(--secondary-color);
  cursor: pointer;
  transition: var(--transition);
  padding: 0 100px 0 0;
  border-radius: 0;
  vertical-align: middle;
}

.radio-field label {
  font-size: 18px;
  color: rgb(0, 10, 56);
  display: flex;
  align-items: center;
  padding: 0 65px 0 0;
  pointer-events: none;
  position: relative;
  z-index: 10;
  line-height: 1.2;
}

.radio-field label::before {
  content: "X";
  width: 50px;
  height: 80px;
  font-size: 30px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  margin-right: 15px;
  transition: var(--transition);
  padding: 30px;
  color: var(--secondary-color);
}

.radio-field .op1::before { content: "A"; }
.radio-field .op2::before { content: "B"; }
.radio-field .op3::before { content: "C"; }
.radio-field .op4::before { content: "D"; }

.radio-field input:checked {
  border-color: var(--primary-color);
}

.radio-field input:checked ~ label::before {
  background-color: var(--primary-color);
}

.radio-field input:checked::before {
  content: "";
  position: absolute;
  top: 11px;
  right: 13px;
  border-radius: 50%;
  background-color: var(--primary-color);
  width: 40px;
  height: 40px;
}

.radio-field input:checked::after {
  content: "";
  position: absolute;
  border-left: 3px solid #ffffff;
  border-bottom: 3px solid #ffffff;
  top: 30px;
  right: 22px;
  width: 25px;
  height: 15px;
  transform: rotate(-45deg);
  opacity: 0;
  z-index: 1000;
  transition: var(--transition);
}

.next-prev {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  margin: 30px 0 0;
}

.next-prev button {
  border: 2px solid transparent;
  background-color: #fff;
  height: 70px;
  width: 230px;
  font-size: 18px;
  font-weight: bold;
  color: #000;
}

.next-prev button i {
  position: relative;
  top: 2px;
  margin: 0 7px;
}

.next-prev .next {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.footer-line {
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
}

#error div {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
  width: 90%;
}

.logoEvent {
  text-align: center;
  margin: 90px auto 0;
  width: 280px;
}

.logoEvent img {
  max-width: 100%;
}
label.form-label {
    font-weight: bold;
}
input.form-control {
    height: 70px;
    border-radius: 0;
    border: 3px solid var(--secondary-color);
}