html {
    overflow-y: scroll;
}

body {
    font-family: Arial, Helvetica;
    font-size: 12pt;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

body::before {
    content: '';
    flex: 1;
}

body::after {
    content: '';
    flex: 2;
}

#experimentArea {
    position: relative;
    text-align: center;
}

.trialDiv {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    text-align: center;
    display: none;
}

#comprehensionCheck {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    text-align: left;
    width: 500px;
}

#comprehensionCheck h3 {
    text-align: center;
}

#comprehensionCheck > p {
    text-align: center;
}

.comprehensionQuestion {
    margin-bottom: 10px;
}

.comprehensionQuestion label {
    cursor: pointer;
    display: block;
    padding: 2px 0;
}

#comprehensionCheck button {
    display: block;
    margin: 10px auto;
    padding: 8px 20px;
    font-size: 12pt;
    cursor: pointer;
}

#comprehensionFeedback {
    text-align: center;
    font-weight: bold;
}

#submitButton {
    display: none;
}

#instructions {
    width: 60%;
    text-align: center;
}

#startExperiment {
    color: rgb(200,200,200);
    text-decoration: none;
}

#startExperiment:hover{
    color: white;
}

#startExperimentButton {
    width: 200px;
    text-align: center;
    border: 4px outset gray;
    background: gray;
    padding: 5px;
    margin: 0 auto;
}

#meter{
    width: 10cm;
    height: 10cm;
}

.instr {
    display: none;
}

#done {
    display: none;
}
