html, body {
  height: 100%;
}

body {
  color: black;
  font-family: 'Quicksand', sans-serif;
  margin: 0;
  display: flex;

  /* This centers our sketch horizontally. */
  justify-content: center;

  /* This centers our sketch vertically. */
  align-items: center;
}

h1 {
  text-align: center;
  font-size: 40px;
}

p {
  font-size: 24px;
  width: 600px;
  margin-left: auto;
  margin-right: auto;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  color: black;
  margin-left: auto;
  margin-right: auto;
}




/* borrowing Bootstrap style for btn elements, but combining styles a bit */
.jspsych-btn {
  display: inline-block;
  padding: 6px 12px;
  margin: 0px;
  margin-left: auto;
  margin-right: auto;
  font-size: 14px;
  font-weight: 400;
  font-family: 'Open Sans', 'Arial', sans-serif;
  cursor: pointer;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px;
  color: #333;
  background-color: #fff;
  border-color: #ccc;
}

.jspsych-btn:hover {
  background-color: #ddd;
  border-color: #aaa;
}

.jspsych-btn:disabled {
  background-color: #eee;
  color: #aaa;
  border-color: #ccc;
  cursor: not-allowed;
}

.jspsych-display-element input[type="text"] {
  width: 600px;
  margin-left: auto;
  margin-right: auto;
}

#scores table {
  border-spacing: 1rem;
}
#scores td {
  padding: 0.2rem;
}

#scores tr:hover {background-color:  hsl(170, 70%, 50%)}
#scores th:nth-child(1) {background-color: rgb(128, 128,128);}
#scores th {
  text-align: center;
  /* font-size: 20px; */
  padding: 0.5rem;
  background: hsl(160, 60%, 50%);
}


.image-container .image-center-left {
    display: block;
    margin: auto;
    margin-left: -20px !important; /* Adjust as needed */
  }

.jspsych-instructions-nav {
  position: fixed;
  bottom: 30px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  background: white; /* Optional: background to ensure visibility */
  padding: 10px 0;
  z-index: 1000;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1); /* Optional: subtle shadow */
}
.jspsych-instructions-nav .jspsych-btn {
  font-family: 'Quicksand', sans-serif;
  font-size: 18px;
  padding: 10px 20px;
  border-radius: 8px;
  background-color: #cce5df;
  border: none;
  transition: background-color 0.3s;
}

.jspsych-instructions-nav .jspsych-btn:hover {
  background-color: #a9d2c8;
}

.jspsych-survey-multi-choice-option label.jspsych-survey-multi-choice-text {
  font-size: 20px; /* or larger, e.g. 24px */
  font-family: 'Quicksand', sans-serif;
}