body {
    font-family: "Helvetica", "Arial", sans-serif;
    text-align: center;
    font-size: 24px;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /* display: flex;
    /* 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: #34495e;
    /* Blue color for headings */
    font-family: "Helvetica", "Arial", sans-serif;
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    margin: 15px 0;
}

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

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

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

.legalese {
    line-height: 1.6;
    font-family: "Courier New", "Palatino Linotype", "Book Antiqua", "Times New Roman", Times, serif;
    font-size: 20px;
    text-align: left;
}

.button_labels {
    font-weight: bold;
    font-size: 20px;
    min-width: 140px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;

}

.jspsych-btn {
    font-family: "Helvetica", "Arial", sans-serif;
    font-size: 20px;
    margin: 30px 0px;
    text-align: center;
    /* Center-align title */
    color: #000000;
    border: 0px;
    padding: auto;
    background-color: rgb(232, 230, 237);
    margin: 8px;
}

.jspsych-content {
    max-width: 80%;
    max-height: 100vh !important;
}


/* HTML: <div class="loader"></div> */
.loader {
    width: 60px;
    aspect-ratio: 1;
    display: flex;
    color: #000;
    border: 4px solid;
    box-sizing: border-box;
    border-radius: 50%;
    background:
        radial-gradient(circle 5px, currentColor 95%, #0000),
        linear-gradient(currentColor 50%, #0000 0) 50%/4px 60% no-repeat;
    animation: l1 2s infinite linear;
}

.loader:before {
    content: "";
    flex: 1;
    background: linear-gradient(currentColor 50%, #0000 0) 50%/4px 80% no-repeat;
    animation: inherit;
}

@keyframes l1 {
    100% {
        transform: rotate(1turn)
    }
}

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

.consent-text {
    font-size: 18px !important;
    line-height: 1.6;
    color: #333333;
    text-align: left;
}

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

#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-survey-likert-opts li input[type="radio"] {
    display: block;
    position: relative;
    top: 0;
    left: 50%;
    margin-left: -6px;
    transform: scale(1.5);
    /* Increase the size of the radio button */
}

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

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

.jspsych-btn:hover {
    background-color: rgb(225, 220, 230);
}

.jspsych-survey-likert-opts::before {
    background-color: #ffffff !important;
    height: 0px !important;
    width: 100%;
}

.jspsych-survey-likert-opt-label {
    line-height: 1.1em;
    font-size: 18px;
    color: black;
}

.jspsych-survey-likert-statement {
    display: block;
    font-size: 20px !important;
    font-weight: bold;
    padding-top: 20px;
    margin-bottom: 10px;
}

.jspsych-html-button-response-button {
    margin: 8px 8px !important;
}

#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: #1356552a;
}

#jspsych-video-button-response-stimulus {
    border: none !important;
    margin: 8px;
}

#jspsych-fullscreen-btn {
    width: 400px;
}

video:focus {
    outline: none !important;
}