.parent {
  width: 90%;
  max-width: 800px;
  display: grid;
  place-items: center;
  text-align: center;
  /* Centers both vertically & horizontally */
  background-color: #ffffff;
  padding: 80px;
  margin: auto;
}

.parent-info {
  width: 1000px;
  height: 350px;
  display: grid;
  place-items: center;
  /* Centers both vertically & horizontally */
  background-color: #ffffff;
  padding: 10vh;
  margin: auto;
}

.para {
  text-align: left;
  margin-bottom: 0.5em;
}

p.myclass {
  font: 20px sans-serif;
  color: black;
  line-height: 20px;
  height: 30px;
  margin: 10px;
  display: table-cell;
  vertical-align: middle;
  padding: 10px;
}

p.myclass2 {
  font: 20px sans-serif;
  line-height: 20px;
  height: 30px;
  margin: 10px;
  display: table-cell;
  text-align: center;
  vertical-align: middle;
  padding: 10px;
}

p.prompt {
  font: 14px;
  line-height: 30px;
  margin: 50px;
  vertical-align: middle;
  text-align: center;
  padding: 8px;
}

p {
  display: block;
  text-align: center;
  font-family: "Helvetica", "Arial", sans-serif;
  color: black;
  margin: 0px;
}

.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;
  }
}

@keyframes fadeGrey {
  0% {
    color: #cccccc;
  }

  50% {
    color: #999999;
  }

  100% {
    color: #cccccc;
  }
}

.fade-text {
  animation: fadeGrey 1.4s infinite ease-in-out;
}

#jspsych-survey-text-next {
  font-size: 20px;
  font-weight: bold;
  font-family: "Helvetica", "Arial", sans-serif;
  height: 40px;
  width: 120px;
  padding: 4px 4px 4px 4px;
}

/* Style for the question title */
.jspsych-survey-multi-choice-question p {
  font-size: 20px;
  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: 20px;
  /* 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: #bcb33bae;
}

.jspsych-btn {
  font-size: 20px !important;
  font-family: "Helvetica", "Arial", sans-serif;
  font-weight: bold;
  text-align: center;
  /* Center-align title */
  color: #000000;
  font-weight: 600;
  margin: 20px 0;
  border: 2px;
  padding: 10px;
  background-color: #ddd67468;
}

#jspsych-survey-multi-choice-next {
  font-size: 20px;
  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: #ddd67468;
}

body {
  font: normal 24px Helvetica, Arial, sans-serif !important;
  /* <-- fonts */
  padding: auto;
  margin: auto;
}

#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;
}

.fade-in {
  opacity: 0;
  transition: opacity 1s ease-in;
}

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: 30px;
  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: "Helvetica", "Arial", sans-serif;
  font-size: 24px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  color: #333;
  /* Default text color */
}

p.myclass {
  font: 20px sans-serif;
  color: black;
  line-height: 20px;
  height: 30px;
  margin: 10px;
  display: table-cell;
  vertical-align: middle;
  padding: 10px;
}

p.myclass2 {
  font: 20px sans-serif;
  line-height: 20px;
  height: 30px;
  margin: 10px;
  display: table-cell;
  text-align: center;
  vertical-align: middle;
  padding: 10px;
}

p.prompt {
  font: 14px;
  line-height: 30px;
  margin: 50px;
  vertical-align: middle;
  text-align: center;
  padding: 8px;
}

p {
  display: block;
  text-align: center;
  color: black;
  margin: 0px;
}


.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 li input[type="radio"] {
  height: 25px;
  width: 25px;
  vertical-align: middle;
  text-align: center;
  margin: 0;
  margin-left: -12px !important;
  flex-shrink: 0;
  /* prevent squishing */
}

.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 {
  list-style: none;
  margin: auto;
  padding: 0 0 35px;
  display: flex;
  /* ← make the row a flex container */
  justify-content: space-between !important;
  /* ← evenly space buttons */
  align-items: center;
  width: 60vw !important;
  font-size: 20px !important;
  line-height: 1.1em;
  font-family: "Helvetica", "Arial", sans-serif !important;
}

.jspsych-survey-likert-opts li {
  display: flex;
  justify-content: flex-start;
  /* align items to the left inside each li */
  /* space between the radio and label */
}

.jspsych-survey-likert-opts label {
  margin: 0;
  padding: 0;
  cursor: pointer;
}

.reveal-btn {
  font-size: 16px !important;
  font-family: "Helvetica", "Arial", sans-serif;
  font-weight: bold;
  text-align: center;
  /* Center-align title */
  color: rgb(26, 26, 126);
  cursor: pointer;
  display: inline-block;
  width: 100%;
  opacity: 0.7;
}