body {
  font-family: "Helvetica", "Arial", sans-serif;
  text-align: center;
  /* Center all text */
  margin: 20px;
  /* Add some margin */
}

.rating-options {
  display: flex;
  /* Use flexbox for horizontal layout */
  justify-content: center;
  /* Center the options */
  margin-top: 10px;
  /* Add some space above the options */
}

.rating-options label {
  margin: 0 10px;
  /* Space between options */
}

h2 {
  color: #007bff;
  /* Blue color for headings */
  font-family: "Helvetica", "Arial", sans-serif;
  font-size: 30px;
}

p {
  line-height: 1.6;
  /* Improve readability */
  font-family: "Helvetica", "Arial", sans-serif;
  font-size: 24px;
  text-align: center;
  /* Center all text */
}

.jspsych-btn {
  font-family: "Helvetica", "Arial", sans-serif;
  font-size: 18px;
  margin: 30px 0px;
}

.jspsych-btn:checked {
  background: red;
}

.small-btn {
  padding: 24px 12px;
  margin-left: 15px;
  margin-right: 15px;
  font-size: 20px;
  width: 200px;
  /* Set the same width for all buttons */
}

.conf-btn {
  padding: 0.2em;
  margin-left: 15px;
  margin-right: 15px;
  font-size: 15px;
  width: 180px;
  /* Set the same width for all buttons */
}

.jspsych-content {
  max-width: 85%;
}

.loader {
  width: 20px;
  aspect-ratio: 1;
  border-radius: 50%;
  animation: l5 1s infinite linear alternate;
}

@keyframes l5 {
  0% {
    box-shadow:
      30px 0 #000,
      -30px 0 #0002;
    background: #000;
  }

  33% {
    box-shadow:
      30px 0 #000,
      -30px 0 #0002;
    background: #0002;
  }

  66% {
    box-shadow:
      30px 0 #0002,
      -30px 0 #000;
    background: #0002;
  }

  100% {
    box-shadow:
      30px 0 #0002,
      -30px 0 #000;
    background: #000;
  }
}

.jspsych-survey-likert-statement {
  display: block;
  font-size: 24px !important;
  font-family: "Helvetica", "Arial", sans-serif;
  padding-top: 40px;
  margin-bottom: 10px;
}

.jspsych-survey-likert-opts {
  list-style: none;
  width: 100%;
  margin: auto;
  padding: 0 0 35px;
  display: block;
  font-size: 14px;
  line-height: 1.1em;
}

input[type="radio"] {
  height: 30px;
  width: 30px;
  vertical-align: middle;
}

.jspsych-survey-multi-choice-question {
  text-align: center !important;
}

.jspsych-survey-multi-choice-text {
  text-align: center !important;
  font-family: "Helvetica", "Arial", sans-serif !important;
}

.jspsych-survey-multi-choice-option {
  display: table;
}

.jspsych-survey-likert-opts {
  list-style: none;
  width: 60vw !important;
  margin: auto;
  padding: 0 0 35px;
  display: block;
  font-size: 20px !important;
  line-height: 1.1em;
  font-family: "Helvetica", "Arial", sans-serif !important;
}

.jspsych-survey-likert-opts::before {
  content: "";
  position: relative;
  top: 11px;
  left: 9.5%;
  display: block;
  background-color: #efefef;
  height: 0px !important;
  width: 100%;
}

.jspsych-survey-likert-opts li {
  display: flex;
  justify-content: center;
  /* Horizontally centers the radio buttons */
  align-items: center;
  /* Vertically aligns items if needed */
}

.vertical-btn {
  margin-left: 30px;
  margin-right: 30px;
  width: 200px;
  /* Set the same width for all buttons */
}

.jspsych-survey-multi-select-question {
  font-family: "Helvetica", "Arial", sans-serif !important;
  font-size: 20px !important;
}

.jspsych-display-element {
  font-family: "Helvetica", "Arial", sans-serif !important;
}