#ruler {
    width: min(calc(100% - 20px), 800px);
    height: 0px;
}

#scalediv {
    transform-origin: top left;
    width: 800px;
    height: 500px;
    background-color: lightgrey;

    ul {
        padding: 0;
    }
}

#quiz-area {
    user-select: none;
    height: 100%;

    -webkit-transition: opacity 250ms ease-in-out;
    -ms-transition: opacity 250ms ease-in-out;
    transition: opacity 250ms ease-in-out;
    &.fade-out {
        opacity: 0;
    }
}

#bg-image {
    position: absolute;
    object-fit: cover;
    z-index: -1;
    height: 500px;
    width: 800px;
}

#bg-fade {
    position: absolute;
    z-index: -1;
    height: 500px;
    width: 800px;
    background-color: black;
    opacity: .3;
}

#bg-workarea {
    margin: 5px 5px 5px 5px;
    z-index: -1;
    position: absolute;
    height: 490px;
    width: 790px;
    background-color: white;
    opacity: .6;
}

#question {
    margin-top: 0;
    padding: 10px 10px 10px 15px;
    height: 5rem;
    align-content: center;
}

.quiz-answer {
    list-style: none;
    border: solid black 2px;
    margin: 5px 15px 5px 15px;
    padding: 2px 2px 2px 8px;
    height: 3.8rem;
    align-content: center;
    -webkit-transition: scale 250ms ease-in-out, background-color 250ms ease-in-out;
    -ms-transition: scale 250ms ease-in-out, background-color 250ms ease-in-out;
    transition: scale 250ms ease-in-out, background-color 250ms ease-in-out;

    &:hover {
        background-color: #ffb6c188;
        scale: 1.01;
    }
}