button.button-base, button.image-medium, button.image-large, button.image, button.slider, button.secondary--wide, button.secondary--green, button.secondary, button.primary {
  border-radius: min(32px, 4vh);
  border-width: min(6px, 0.8vh);
  border-style: solid;
  text-align: center;
  font-size: min(3vw, 3vh);
  font-weight: 500;
  color: #fbfbfd;
  min-width: 60px;
  min-height: 50px;
  cursor: pointer;
}
button.primary {
  background: #275bdd;
  padding: min(20px, 2.5vh) min(72px, 10vh);
  border-color: #0f3cac;
  box-shadow: -6px -8px 0px 0px rgba(15, 60, 172, 0.5) inset;
  font-size: clamp(16px, min(2vw, 3vh), 48px);
  font-weight: 700;
  color: #fbfbfd;
}
@media (max-width: 500px) {
  button.primary {
    font-size: 24px;
    font-weight: 500;
    color: #fbfbfd;
    padding: min(12px, 1.7vh) min(60px, 8vh);
    border-radius: min(24px, 3vh);
  }
}
button.primary:hover {
  background: #2051cb;
  border-color: #0d3496;
  box-shadow: -6px -8px 0px 0px rgba(13, 52, 150, 0.5) inset;
}
button.primary:active {
  background: #1d4ab9;
  border-color: #0b2e83;
  box-shadow: -6px -8px 0px 0px rgba(11, 46, 131, 0.5) inset;
}
button.primary:disabled {
  background: #c0c0c0;
  border-color: #979797;
  box-shadow: -6px -8px 0px 0px #979797 inset;
  cursor: no-drop;
}
button.secondary {
  background: #275bdd;
  border-color: #0f3cac;
  box-shadow: -8px -10px 0px 0px #0f3cac inset, 0px 0px 12px 0px #d4def8 inset;
  font-size: 56px;
  width: 160px;
  height: 160px;
}
@media (max-width: 650px) {
  button.secondary {
    font-size: 42px;
    font-weight: 500;
    border-radius: min(24px, 3vh);
    width: 115.2px;
    height: 115.2px;
  }
}
@media (max-width: 500px) {
  button.secondary {
    font-size: 48px;
    font-weight: 500;
    border-radius: min(24px, 3vh);
    width: 144px;
    height: 144px;
  }
}
button.secondary:hover {
  background: #2051cb;
  border-color: #0d3496;
  box-shadow: #d4def8 inset;
}
button.secondary:active {
  background: #1d4ab9;
  border-color: #0b2e83;
  box-shadow: -8px -10px 0px 0px #0b2e83 inset, 0px 0px 12px 0px #d4def8 inset;
}
button.secondary--green {
  background: #89ce00;
  padding: min(48px, 6.5vh) min(48px, 6.5vh);
  border-color: #5ba300;
  box-shadow: -8px -10px 0px 0px #5ba300 inset, 0px 0px 12px 0px #cfebb6 inset;
}
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
@media (max-width: 500px) {
  button.secondary--green {
    font-size: 64px;
    font-weight: 500;
    color: #fbfbfd;
    padding: min(40px, 5.5vh) min(40px, 5.5vh);
    border-radius: min(24px, 3vh);
    min-width: 40px;
    min-height: 40px;
  }
}
button.secondary--green:hover {
  background: #7ab800;
  border-color: #4d8a00;
  box-shadow: -8px -10px 0px 0px #4d8a00 inset, 0px 0px 12px 0px #cfebb6 inset;
}
button.secondary--green:active {
  background: #70a800;
  border-color: #539400;
  box-shadow: -8px -10px 0px 0px #539400 inset, 0px 0px 12px 0px #cfebb6 inset;
}
button.secondary--wide {
  background: #275bdd;
  padding: min(20px, 2.5vh) min(72px, 10vh);
  border-color: #0f3cac;
  box-shadow: -6px -8px 0px 0px rgba(15, 60, 172, 0.5) inset;
  font-size: 32px;
  font-weight: 700;
  color: #fbfbfd;
}
@media (max-width: 500px) {
  button.secondary--wide {
    font-size: 24px;
    font-weight: 500;
    color: #fbfbfd;
    padding: min(12px, 1.7vh) min(60px, 8vh);
    border-radius: min(24px, 3vh);
  }
}
button.secondary--wide:hover {
  background: #2051cb;
  border-color: #0d3496;
  box-shadow: #d4def8 inset;
}
button.secondary--wide:active {
  background: #1d4ab9;
  border-color: #0b2e83;
  box-shadow: -8px -10px 0px 0px #0b2e83 inset, 0px 0px 12px 0px #d4def8 inset;
}
button.slider {
  background: #275bdd;
  border-color: #0f3cac;
  box-shadow: -8px -10px 0px 0px #0f3cac inset, 0px 0px 12px 0px #d4def8 inset;
  font-size: 56px;
  width: 16px;
  height: 16x;
}
button.replay {
  position: absolute;
  top: min(8px, 1vh);
  right: min(8px, 1vh);
  cursor: pointer;
  border-radius: min(16px, 2vh);
  padding: min(16px, 2vh);
  background-color: rgba(39, 91, 221, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  width: min(64px, 8vh);
  height: min(64px, 8vh);
  border: 2px solid #0f3cac;
}
@media (max-width: 500px) {
  button.replay {
    width: 48px;
    height: 48px;
    padding: 12px;
  }
}
button.replay:hover {
  background-color: rgba(32, 81, 203, 0.4);
  border: 2px solid #0d3496;
}
button.replay:active {
  background-color: rgba(29, 74, 185, 0.6);
  border: 2px solid #0b2e83;
}
button.replay:disabled {
  background-color: rgba(255, 255, 255, 0.6);
  border: 2px solid #bdbdbd;
  pointer-events: none;
}
button.replay:disabled svg path {
  fill: #bdbdbd;
}
button.image {
  padding: 0;
  box-sizing: border-box;
  border-color: #275bdd;
  min-width: unset !important;
  min-height: unset !important;
}
button.image img {
  border: none;
  width: min(clamp(120px, 10vw, 150px), 15vh);
  height: min(clamp(120px, 10vw, 150px), 15vh);
  padding: 0;
  margin: 0;
  border-radius: min(32px, 4vh);
  float: left;
}
@media (max-width: 650px) {
  button.image {
    border-radius: min(32px, 4vh);
  }
  button.image img {
    width: min(clamp(100px, 18vw, 150px), 15vh);
    height: min(clamp(100px, 18vw, 150px), 15vh);
    border-radius: min(24px, 3vh);
  }
}
@media (max-width: 500px) {
  button.image {
    border-radius: 24px;
  }
  button.image img {
    width: 22vw;
    height: 22vw;
    border-radius: 16px;
  }
}
button.image:hover {
  border-color: #0f3cac;
}
button.image:active {
  border-color: #0b2e83;
}
button.image-large {
  padding: 0;
  box-sizing: border-box;
  border-color: #275bdd;
}
button.image-large img {
  border: none;
  width: calc(min(70vh, 90vw) / 2 - 10px);
  height: calc(min(70vh, 90vw) / 2 - 10px);
  padding: 0;
  margin: 0;
  border-radius: min(24px, 3vh);
  float: left;
}
button.image-large:hover {
  border-color: #0f3cac;
}
button.image-large:active {
  border-color: #0b2e83;
}
button.image-medium {
  padding: 0;
  box-sizing: border-box;
  border-color: #275bdd;
}
button.image-medium img {
  border: none;
  width: min(clamp(70px, 22vw, 250px) - 10px, 38vh);
  height: min(clamp(70px, 22vw, 250px) - 10px, 38vh);
  padding: 0;
  margin: 0;
  border-radius: min(24px, 3vh);
  float: left;
}
@media (max-width: 500px) {
  button.image-medium {
    border-radius: 24px;
  }
  button.image-medium img {
    width: 22vw;
    height: 22vw;
    border-radius: min(24px, 3vh);
  }
}
button.image-medium:hover {
  border-color: #0f3cac;
}
button.image-medium:active {
  border-color: #0b2e83;
}
button.image-medium.selected {
  border-color: #0b2e83;
}
button.no-pointer-events {
  pointer-events: none;
  cursor: default;
}
button.success-shadow {
  box-shadow: 0 0 20px 5px rgb(85, 251, 56);
  border-radius: 2rem;
}
button.error-shadow {
  box-shadow: 0 0 30px 8px rgb(255, 43, 1);
  border-radius: 2rem;
}
button.warning-shadow {
  box-shadow: 0 0 20px 5px #ffc839;
  border-radius: 2rem;
}
button.info-shadow {
  box-shadow: 0 0 20px 5px #275bdd;
  border-radius: 2rem;
}

.arrow-key-border {
  max-width: 100% !important;
  pointer-events: none;
  padding-top: 1vw;
}
.arrow-key-border svg {
  width: min(6vw, 6vh);
  height: min(6vw, 6vh);
}

.lev-toast-default {
  position: fixed;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffffff;
  color: #275bdd;
  padding: 10px 20px;
  border: #0f3cac solid 3px;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: block;
  transition: top 0.5s ease;
  font-size: 1.5rem;
}
@media (max-width: 650px) {
  .lev-toast-default {
    font-size: 1.2rem;
  }
}
.lev-toast-default.show {
  top: 10vh;
}
@media (max-width: 650px) {
  .lev-toast-default.show {
    top: 5vh;
  }
}

.lev-overlay-default {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
}

.lev-text {
  font-size: 32px;
  line-height: 1;
  color: #275bdd;
  letter-spacing: 0;
  font-weight: 700;
}
.lev-text.primary {
  color: #275bdd;
}
.lev-text.secondary {
  color: #0f3cac;
}
.lev-text.base {
  color: #fbfbfd;
}
.lev-text.h0 {
  font-size: 85px;
}
.lev-text.h1 {
  font-size: 72px;
}
.lev-text.h2 {
  font-size: 64px;
}
.lev-text.h3 {
  font-size: 48px;
  line-height: 1.5;
}
.lev-text.h4 {
  font-size: 40px;
  line-height: 1.5;
}
.lev-text.main-bold {
  font-size: 32px;
  line-height: 1.5;
}
.lev-text.main-regular {
  font-size: 32px;
  line-height: 1.5;
  font-size: 500;
}

.jspsych-display-element {
  height: 100%;
  width: 100%;
  margin: 0;
  max-width: 100%;
  overflow: hidden;
  font-family: "Source Sans Pro", Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
  touch-action: manipulation;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
  color: #0f3cac;
  background-color: #d7e3fd;
  background-image: url("https://storage.googleapis.com/tasks-shared/levante-background.png");
  background-size: cover;
}
.jspsych-display-element .jspsych-content-wrapper {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.jspsych-display-element .jspsych-content-wrapper .jspsych-content {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2vw;
}

.turn {
  width: 240px;
  height: 240px;
  animation: rotateOnce 4s infinite;
}

@keyframes rotateOnce {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(180deg);
  }
  100% {
    transform: rotate(0deg);
  }
}
.lev-response-row {
  width: 100%;
}
.lev-response-row.linear-4 {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.lev-response-row.linear-4 .response-container, .lev-response-row.linear-4 .response-container--small {
  display: flex;
  width: calc(25% - 30px);
  min-width: 150px;
  max-width: 200px;
  aspect-ratio: 1;
  font-size: 85px;
  font-weight: 700;
  color: #fbfbfd;
  justify-content: center;
  align-items: center;
}
@media (max-width: 800px) {
  .lev-response-row.linear-4 .response-container, .lev-response-row.linear-4 .response-container--small {
    display: flex;
    width: calc(25% - 10px);
    aspect-ratio: 1;
    font-size: 64px;
    font-weight: 600;
    color: #275bdd;
    justify-content: center;
    align-items: center;
  }
}
@media (max-width: 500px) {
  .lev-response-row.linear-4 .response-container, .lev-response-row.linear-4 .response-container--small {
    display: flex;
    width: calc(25% - 10px);
    aspect-ratio: 1;
    font-size: 48px;
    font-weight: 500;
    color: #0f3cac;
    justify-content: center;
    align-items: center;
  }
}
.lev-response-row.linear-4 .response-container--small {
  max-width: 150px;
}
.lev-response-row.multi-4 {
  display: flex;
  flex-direction: row;
  justify-content: center;
}
@media (max-width: 500px) {
  .lev-response-row.multi-4 {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    row-gap: 10px;
  }
}
.lev-response-row.multi-stack {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.lev-response-row-inline.grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr; /* two columns of equal width */
  grid-template-rows: 1fr 1fr; /* two rows of equal height */
  gap: 1vw;
}
.lev-response-row-inline.grid-3x2 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: 50% 50%;
  padding: 10px;
  grid-gap: 4px;
}
.lev-response-row-inline.grid-3x2 > * {
  grid-column: span 2;
}
.lev-response-row-inline.grid-3x2 > *:nth-child(4) {
  grid-column: 2/span 2;
}

.lev-response-row-diamond-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* three columns of equal width */
  grid-template-rows: auto auto; /* three rows, size according to content */
  gap: 2rem;
  margin-left: auto;
  margin-right: auto;
}
.lev-response-row-diamond-layout :nth-child(1) {
  grid-column: 2; /* Centered in the middle column */
  grid-row: 1;
}
.lev-response-row-diamond-layout :nth-child(2) {
  grid-column: 1; /* First column */
  grid-row: 1/3; /* Spanning from the first row to the third grid line */
  align-self: center; /* Center this button vertically */
}
.lev-response-row-diamond-layout :nth-child(3) {
  grid-column: 3; /* Third column */
  grid-row: 1/3; /* Spanning from the first row to the third grid line */
  align-self: center; /* Center this button vertically */
}
.lev-response-row-diamond-layout :nth-child(4) {
  grid-column: 2; /* Centered in the middle column */
  grid-row: 2;
}

.lev-row-container {
  display: flex;
  padding: 24px;
  justify-content: center;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #275bdd;
  margin: 8px 0;
}
.lev-row-container.header p {
  font-size: 48px;
  font-weight: 600;
  margin: 0;
}
@media (max-width: 800px) {
  .lev-row-container.header {
    display: flex;
    padding: 16px;
    justify-content: center;
    align-items: center;
  }
  .lev-row-container.header p {
    font-size: 40px;
    font-weight: 500;
    margin: 0;
  }
}
@media (max-width: 500px) {
  .lev-row-container.header {
    display: flex;
    padding: 12px;
    justify-content: center;
    align-items: center;
  }
  .lev-row-container.header p {
    font-size: 24px;
    font-weight: 500;
    margin: 0;
  }
}
.lev-row-container.instruction {
  display: flex;
  padding: min(24px, 3.5vh);
  justify-content: center;
  align-items: center;
  text-align: center;
  border: 3px solid #0f3cac;
  border-radius: min(32px, 4vh);
  background-color: #ffffff;
  width: calc(100vw - 2 * (min(64px, 8vh) + min(8px, 1vh) + 24px));
  max-width: max-content;
}
.lev-row-container.instruction p {
  font-size: clamp(16px, min(2vw, 3vh), 48px);
  font-weight: 400;
  line-height: 1;
  margin: 0;
}
@media (max-width: 800px) {
  .lev-row-container.instruction {
    display: flex;
    padding: min(16px, 2.5vh);
    justify-content: center;
    align-items: center;
    border-radius: min(24px, 3vh);
  }
  .lev-row-container.instruction p {
    font-size: clamp(16px, min(2vw, 3vh), 48px);
    font-weight: 400;
    line-height: 1;
    margin: 0;
  }
}
@media (max-width: 500px) {
  .lev-row-container.instruction {
    display: flex;
    padding: 12px;
    justify-content: center;
    align-items: center;
    border-radius: min(24px, 3vh);
    width: 90vw;
  }
  .lev-row-container.instruction p {
    font-size: clamp(16px, min(2vw, 3vh), 48px);
    font-weight: 400;
    line-height: 1;
    margin: 0;
  }
}
.lev-row-container.instruction-small {
  display: flex;
  padding: min(24px, 3.5vh);
  justify-content: center;
  align-items: center;
  text-align: center;
  border: 3px solid #0f3cac;
  border-radius: min(32px, 4vh);
  background-color: #ffffff;
  width: calc(100vw - 2 * (min(64px, 8vh) + min(8px, 1vh) + 24px));
  max-width: max-content;
}
.lev-row-container.instruction-small p {
  font-size: clamp(16px, min(2vw, 3vh), 48px);
  font-weight: 400;
  line-height: 1;
  margin: 0;
}
@media (max-width: 800px) {
  .lev-row-container.instruction-small {
    display: flex;
    padding: min(16px, 2.5vh);
    justify-content: center;
    align-items: center;
    border-radius: min(24px, 3vh);
  }
  .lev-row-container.instruction-small p {
    font-size: clamp(16px, min(2vw, 3vh), 48px);
    font-weight: 400;
    line-height: 1;
    margin: 0;
  }
}
@media (max-width: 500px) {
  .lev-row-container.instruction-small {
    display: flex;
    padding: 12px;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
    width: 90vw;
  }
  .lev-row-container.instruction-small p {
    font-size: clamp(16px, min(2vw, 3vh), 48px);
    font-weight: 400;
    line-height: 1;
    margin: 0;
  }
}

.lev-stimulus-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 900px;
  justify-content: center;
  margin-top: calc(min(64px, 8vh) + min(8px, 1vh));
  margin-bottom: 16px;
  align-items: center;
}
.lev-stimulus-container img {
  max-width: 100%;
  width: calc(3 * min(clamp(120px, 10vw, 150px), 15vh));
  height: calc(3 * min(clamp(120px, 10vw, 150px), 15vh));
}

.lev-stim-content, .lev-stim-content-x-3 {
  display: flex;
  width: 100%;
  text-align: center;
  justify-content: center;
  font-size: 64px;
  color: #275bdd;
}
.lev-stim-content img, .lev-stim-content-x-3 img {
  border: none;
  width: calc(min(70vh, 90vw) / 2 - 10px);
  height: calc(min(70vh, 90vw) / 2 - 10px);
  padding: 0;
  margin: 0;
  border-radius: min(24px, 3vh);
}

.lev-stim-content-x-3 img {
  width: calc(3 * min(clamp(120px, 10vw, 150px), 15vh));
  height: calc(3 * min(clamp(120px, 10vw, 150px), 15vh));
}
@media (max-width: 650px) {
  .lev-stim-content-x-3 img {
    width: calc(3 * min(clamp(100px, 18vw, 150px), 15vh));
    height: calc(3 * min(clamp(100px, 18vw, 150px), 15vh));
  }
}
@media (max-width: 500px) {
  .lev-stim-content-x-3 img {
    width: 66vw;
    height: 66vw;
  }
}

.lev-instructions-container {
  text-align: center;
  font-size: 1.3rem;
  width: 100%;
}
.lev-instructions-container .lev-title {
  text-align: center;
  margin-bottom: 3vh;
  font-size: 2rem;
}
.lev-instructions-container .lev-content {
  text-align: left;
  margin: 0 auto;
  line-height: 1.5;
}
.lev-instructions-container .lev-footer {
  margin-top: 1.5rem;
}
.lev-instructions-container img {
  object-fit: contain;
  width: 100%;
}

.lev-staggered-responses.lev-staggered-disabled {
  pointer-events: none;
}
.lev-staggered-responses.lev-staggered-grayscale {
  filter: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='grayscale'><feColorMatrix type='matrix' values='0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0'/></filter></svg>#grayscale"); /* Firefox 10+, Firefox on Android */
  filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: gray; /* IE6-9 */
  -webkit-filter: grayscale(100%); /* Chrome 19+, Safari 6+, Safari 6+ iOS */
}
.lev-staggered-responses.lev-staggered-opacity {
  opacity: 0.6;
}

.lev-fixation-container {
  display: flex;
  justify-content: center;
  align-items: center;
  color: black;
  font-size: 4rem;
}

video.instruction-video {
  width: min(40vw, 40vh);
  height: min(40vw, 40vh);
  margin-top: calc(0.065 * min(40vw, 40vh));
}
@media (max-width: 800px) {
  video.instruction-video {
    width: min(50vw, 50vh);
    height: min(50vw, 50vh);
    margin-top: calc(0.065 * min(50vw, 50vh));
  }
}
@media (max-width: 650px) {
  video.instruction-video {
    width: min(70vw, 70vh);
    height: min(70vw, 70vh);
    margin-top: calc(0.065 * min(70vw, 70vh));
  }
}
@media (max-width: 500px) {
  video.instruction-video {
    width: min(80vw, 80vh);
    height: min(80vw, 80vh);
    margin-top: calc(0.065 * min(80vw, 80vh));
  }
}
video.instruction-video-small {
  width: min(35vw, 35vh);
  height: min(35vw, 35vh);
}
@media (max-width: 800px) {
  video.instruction-video-small {
    width: min(50vw, 50vh);
    height: min(50vw, 50vh);
  }
}
@media (max-width: 650px) {
  video.instruction-video-small {
    width: min(70vw, 70vh);
    height: min(70vw, 70vh);
  }
}
@media (max-width: 500px) {
  video.instruction-video-small {
    width: min(80vw, 80vh);
    height: min(80vw, 80vh);
  }
}

img.instruction-video {
  width: min(40vw, 40vh);
  height: min(40vw, 40vh);
}
@media (max-width: 800px) {
  img.instruction-video {
    width: min(50vw, 50vh);
    height: min(50vw, 50vh);
  }
}
@media (max-width: 650px) {
  img.instruction-video {
    width: min(70vw, 70vh);
    height: min(70vw, 70vh);
  }
}
@media (max-width: 500px) {
  img.instruction-video {
    width: min(80vw, 80vh);
    height: min(80vw, 80vh);
  }
}

.haf-parent-container {
  width: 100%;
  max-width: 900px;
}

.haf-stimulus-holder {
  align-items: center;
  display: flex;
  flex-direction: column;
}

.haf-stimulus-container {
  border: 3px solid #275bdd;
  border-radius: 32px;
  display: flex;
  justify-content: space-between;
  background-color: #fff;
  height: 40vh;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 40px;
}
.haf-stimulus-container .stimulus-left {
  margin-top: auto;
  margin-bottom: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}
@media (max-width: 500px) {
  .haf-stimulus-container .stimulus-left {
    padding-left: 12px;
    padding-right: 12px;
  }
  .haf-stimulus-container .stimulus-left img {
    width: 70px;
    height: 70px;
  }
}
.haf-stimulus-container .stimulus-right {
  margin-top: auto;
  margin-bottom: auto;
  margin-left: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}
@media (max-width: 500px) {
  .haf-stimulus-container .stimulus-right {
    padding-left: 12px;
    padding-right: 12px;
  }
  .haf-stimulus-container .stimulus-right img {
    width: 70px;
    height: 70px;
  }
}

.haf-fixation-container {
  border: 3px solid #275bdd;
  border-radius: 32px;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40vh;
  margin-left: auto;
  margin-right: auto;
  margin-top: 40px;
  width: 100%;
}
.haf-fixation-container .fixation {
  font-size: 7vh;
}

.haf-cr-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.haf-cr-container p {
  margin-top: 16px;
}

.lev-corsi-override {
  display: grid;
  gap: 15px; /* adjust as needed for spacing between blocks */
  position: relative;
  width: 25rem;
  height: 25rem;
}
@media (max-width: 650px) {
  .lev-corsi-override {
    padding: 1rem;
  }
}
@media (min-width: 1000px) {
  .lev-corsi-override {
    padding: 0;
  }
}
.lev-corsi-override .lev-corsi-block-override {
  background-color: rgba(215, 215, 215, 0.93);
  width: 100%;
  height: 100%;
  border-radius: 2rem;
  border: 6px solid rgba(162, 162, 162, 0.93);
}

#jspsych-html-slider-response-wrapper {
  width: min(800px, 95%);
  max-height: 95%;
  margin: 0 !important;
}

.jspsych-html-slider-response-container {
  width: 100% !important;
}

#jspsych-html-slider-response-response {
  width: 100%;
}

#jspsych-html-slider-response-stimulus {
  text-align: center;
  margin-bottom: 5rem;
}

#slider-btn-container {
  margin-top: 10vh;
  display: flex;
  justify-content: space-around;
}

.number-line-4afc-slider {
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  border-radius: 16px;
  border: 1px solid #bdc1c3;
}

/* Track: webkit browsers */
.number-line-4afc-slider::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 2px;
}

/* Track: Mozilla Firefox */
.number-line-4afc-slider::-moz-range-track {
  height: 8px;
  border-radius: 2px;
}

/* Thumb: webkit */
.number-line-4afc-slider::-webkit-slider-thumb {
  /* removing default appearance */
  -webkit-appearance: none;
  appearance: none;
  /* creating a custom design */
  margin-top: -3px;
  height: 15px;
  width: 15px;
  background-color: #275bdd;
  border-radius: 50%;
}

/* Thumb: Firefox */
.number-line-4afc-slider::-moz-range-thumb {
  /* removing default appearance */
  -webkit-appearance: none;
  appearance: none;
  height: 15px;
  width: 15px;
  background-color: #275bdd;
  border-radius: 50%;
}

.number-line-buttons {
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  border-radius: 16px;
  border: 1px solid #bdc1c3;
}

/* Track: webkit browsers */
.number-line-buttons::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 2px;
}

/* Track: Mozilla Firefox */
.number-line-buttons::-moz-range-track {
  height: 8px;
  border-radius: 2px;
}

/* Thumb: webkit */
.number-line-buttons::-webkit-slider-thumb {
  /* removing default appearance */
  -webkit-appearance: none;
  appearance: none;
  /* creating a custom design */
  margin-top: -3px;
  height: 0px;
  width: 15px;
  background-color: #275bdd;
  border-radius: 50%;
}

/* Thumb: Firefox */
.number-line-buttons::-moz-range-thumb {
  /* removing default appearance */
  -webkit-appearance: none;
  appearance: none;
  height: 0px;
  width: 15px;
  background-color: #275bdd;
  border-radius: 50%;
}

.roar-inference-btn {
  display: flex;
  padding: 8px;
  width: 50vh;
  height: 15vh;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: 1px solid black;
  background: white;
  border-radius: 32px;
  color: black;
  font-family: "Noto Sans";
  font-size: 1rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  cursor: pointer;
}
.roar-inference-btn:hover {
  background-color: gainsboro;
}
@media (min-width: 1000px) {
  .roar-inference-btn {
    width: 40vh;
    height: 10vh;
    font-size: 1.2rem;
  }
}

.instruction-no-border {
  display: flex;
  border: none;
  border-radius: 0;
  background-color: transparent;
  color: black;
  padding-bottom: 0;
  margin-left: 10%;
  margin-right: 10%;
  font-size: large;
}
.instruction-no-border p {
  margin-bottom: 0;
}
@media (min-width: 1200px) {
  .instruction-no-border {
    font-size: xx-large;
    margin-left: 15%;
    margin-right: 15%;
  }
}

.roar-instruction-question {
  display: flex;
  border: none;
  border-radius: 0;
  background-color: transparent;
  color: black;
  font-size: large;
  padding: 12px;
  font-weight: bold;
}
@media (min-width: 1200px) {
  .roar-instruction-question {
    font-size: xx-large;
  }
}

.inference-scroll {
  overflow-x: auto;
  overflow-y: auto;
}