#jspsych-survey-text-next {
  font-size: 24px;
  font-weight: bold;
  font-family: "Helvetica", "Arial", sans-serif;
  height: 40px;
  width: 120px;
  padding: 4px 4px 4px 4px;
}

.stimulus-pair {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4vw;
  margin: 20px auto;
  max-width: 900px;
}
.stimulus-img {
  width: min(40vw, 350px);
  min-width: 140px;
  height: auto;
  cursor: pointer;
  touch-action: manipulation; /* removes tap delay */
  -webkit-touch-callout: none; /* disables iOS long-press "save image" menu */
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent; /* removes gray flash on tap */
  border-radius: 8px;
  transition: transform 0.08s ease;
}
.stimulus-img:active {
  transform: scale(0.97); /* light visual feedback on tap */
}
.stimulus-labels {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 4vw;
  font-size: 18px;
}

/* Style for the question title */
.jspsych-survey-multi-choice-question p {
  font-size: 22px;
  font-weight: bold; /* Bold only for the title */
  color: #000000;
  font-family: "Helvetica", "Arial", sans-serif;
  margin-bottom: 10px;
}

/* Style for the options (radio buttons) */
.jspsych-survey-multi-choice-option label {
  font-size: 22px; /* Slightly smaller and not bold */
  font-weight: normal;
  color: #000000;
  font-family: "Helvetica", "Arial", sans-serif;
}

.jspsych-display-element input[type="text"] {
  font-family: "Helvetica", "Arial", sans-serif;
  font-size: 25px;
  height: 40px;
  width: 300px;
}

.jspsych-btn:hover {
  background-color: rgb(232, 230, 237);
  font-size: 25px;
  font-family: "Helvetica", "Arial", sans-serif;
  font-weight: bold;
  text-align: center; /* Center-align title */
  color: #000000;
  font-weight: 600;
  border: 0px;
}

.jspsych-btn {
  font-size: 25px;
  font-family: "Helvetica", "Arial", sans-serif;
  font-weight: bold;
  text-align: center; /* Center-align title */
  color: #000000;
  font-weight: 600;
  border: 0px;
  padding: auto;
  background-color: #1356551e;
}

#jspsych-survey-multi-choice-next {
  font-size: 25px;
  font-family: "Helvetica", "Arial", sans-serif;
  font-weight: bold;
  text-align: center; /* Center-align title */
  color: #000000;
  font-weight: 600;
  border: 0px;
  padding: 15px 25px;
  background-color: #1356552a;
}

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

body {
  font:
    normal 24px Helvetica,
    Arial,
    sans-serif !important; /* <-- fonts */
  padding: auto;
  margin: auto;
}

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

#jspsych-survey-multi-choice-response {
  font-size: 20px;
  font-weight: bold;
  color: #000000;
  font-weight: 200; /* Slightly less bold than the title */
  margin: 15px 0;
  font-family: "Helvetica", "Arial", sans-serif;
  height: 40px;
  width: 120px;
  padding: 0px 4px 4px 4px;
}

@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;
  }
}

h1 {
  font-size: 40px; /* Adjust size for main title */
  font-weight: bold;
  text-align: center; /* Center-align title */
  color: #135655; /* Title color */
  margin: 20px 0;
}

h2 {
  font-size: 25px;
  font-weight: bold;
  text-align: center; /* Center-align title */
  color: #000000;
  font-weight: 600; /* Slightly less bold than the title */
  color: #34495e;
  margin: 15px 0;
}

h3 {
  font-size: 20px;
  font-weight: bold;
  color: #000000;
  font-weight: 500; /* Slightly less bold than the title */
  color: #34495e;
  margin: 15px 0;
}

body {
  font-family: "Arial", sans-serif;
  font-size: 24px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  color: #333; /* Default text color */
}
