#gl1 {
    width: 100%;
    height: 80%;
    max-height: calc(100vh - 100px);
    /* Max height to allow space for buttons */
    object-fit: contain;
}
.mri-settings {
    padding: 0 10px;
    display: flex;
    height: 2em;
    justify-content: space-between;
    align-items: center;
    background-color: #F0F0F0;
    position: relative;
    z-index: 10;
}
.mri-settings select {
    display: flex;
    height: 1.75em;
}
#opacityControls {
    display: flex;
    justify-content: flex-start;
    padding: 2px 10px;
    gap: 10px;
    flex-wrap: wrap;
}
#opacityControls div {
    display: flex;
    align-items: center;
    gap: 10px;
}
label {
    font-size: 12px;
    margin-right: 5px;
}
input[type="range"] {
    width: 150px;
}