body {
  margin: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.list-group-item {
    position: relative;
    display: flex
;
    padding: 0px;
    background-color: #fff!important;
    border: none !important;
}

/* Centering for quiz questions */
.centered {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px; /* avoids edge clipping */
}

/* Normal flow for results */
.normal {
  display: block;
  min-height: auto;
  padding: 20px;
}

#quiz-container {
  max-width: 800px;
  width: 100%;
}



.question-box {
 
  border-radius: 8px;
  background-color: #fff;
}

.question-text h5{
  border: 2px solid #6f42c1;
  font-size: 34px;
  font-family: 'Comic Sans MS', cursive, sans-serif;
}

.option {
  margin: 15px 0;
  font-size: 34px;
  position: relative;
}

.option input[type="radio"] {
  display: none;
}

.option label {
  cursor: pointer;
  padding: 5px 10px;
  border: 1px solid #6f42c1;
  border-radius: 5px;
  display: inline-block;
  /* margin-left: 120px; Moves the label 12px to the right */
}

.option input[type="radio"]:checked + label {
  background-color: #6f42c1;
  color: #fff;
}

.character-img {
  width: auto;
  height: auto;
}



input.form-check-input {
  appearance: none;        /* Remove default radio styling */
  -webkit-appearance: none;
  -moz-appearance: none;
  
  width: 28px;             /* Square size */
  height: 28px;
  border: 3px solid #000;  /* Bold black border */
  border-radius: 6px;      /* Keep it square (set to 0 for sharp corners) */
  cursor: pointer;
  outline: none;
  position: relative;
}

/* When checked */
input.form-check-input:checked {
  background-color: #17a2b8!important; /* Bootstrap primary color */
  border-color: #17a2b8!important;
}

/* Add a checkmark (optional) */
input.form-check-input:checked::after {
  content: "✔";
  color: #fff;
  font-size: 18px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
}


.form-check {
    position: relative;
    display: block;
    padding-left: 1.25rem;
    font-size: 35px;
    font-weight: 900;
}


.btn-primary {
    color: #5a5959 !important;
    background-color: #ffc107 !important;
    border-color: #ffc107 !important;
    font-size: 22px;
    font-weight: 600;
}


h5.question-text.text-center.mb-3 {
    font-size: 32px;
    text-align: left !important;

}

#quiz-container {
    max-width: 1200px;
    width: 100%;
}

 


