html, body, #canvas-container {
    font-family: Arial, Helvetica, sans-serif;
    height: 100%;
    margin: 0;
}

canvas {
    z-index: -1;
    width: 100%;
    height: 100%;
    display: block;
    background-color: white;
}

#viewfinder {
    z-index: -0.5;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: .4em;
    height: .4em;
    fill: rgba(200, 200, 200, .5);
}

[hidden] {
    display: none !important;
}

.overlay {
    background-color: rgba(0, 0, 0, .85);
}

.panel {
    padding: 2em;
}

.tooltip {
    font-size: small;
    color: gray;
    text-align: center;
}

#framerate {
    position: absolute;
    top:0;
    left:0;
    padding: .25em;
    color: rgb(175, 26, 26);
}

#position {
    position: absolute;
    top: 30px;
    padding: .25em;
    color:white;
}

#win-panel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

#win-panel h1, #win-panel h2 {
    color:gold;
}

#main-panel {
    width: 100%;
    height: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    color: white;
}

#main-panel > h1 {
    color: #9c2121;
}

#main-panel > h2, #main-panel > h3 {
    color: #b15252;
}

#main-logo {
    height: 3em;
}

#scene-list {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#scene-list button {
    display: block;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: .5em;
    border: none;
    background-position: center;
    background-size: cover;
    flex-grow: 1;
    /* Text */
    color: white;
    text-shadow: 0 0 .25em black;
    font-size: xxx-large;
    font-weight: bold;
    /* Transition */
    transition: max-height 4s ease;
}

#scene-list button:hover {
    height: inherit;
}

#scene-list button[value="valley"] {
    background-color: #71ab21;
    background-image: url(../images/background_valley.jpg);
}

#scene-list button[value="sunset"] {
    background-color: #c5903b;
    background-image: url(../images/background_sunset.jpg);
}

#scene-list button[value="sleepyhollow"] {
    background-color: #0a6488;
    background-image: url(../images/background_night.jpg);
}

#scene-list button[value="divine"] {
    background-color: #0a6488;
    background-image: url(../images/background_divine.jpg);
    background-position-y: bottom;
}

#help-panel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
}

kbd {
    background-color: #eee;
    border-radius: 3px;
    border: 1px solid #b4b4b4;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .2), 0 2px 0 0 rgba(255, 255, 255, .7) inset;
    color: #333;
    display: inline-block;
    font-size: .85em;
    font-weight: 700;
    line-height: 1;
    padding: 2px 4px;
    white-space: nowrap;
}

#options-panel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
}

#options-panel h1, #options-panel h2, #options-panel h3 {
    text-align: center;
}

#side-panel {
    position: absolute;
    top: 50%;
    right: 0%;
    transform: translate(0%, -50%);
    color: white;
}

#side-panel input[type="number"] {
    background-color: rgb(48, 48, 48);
    color: white;
}

#side-panel label {
    margin: 1ex;
}

#side-panel select {
    margin-left: 1ex;
    width: 80%;
}

#side-panel .display-angle, .display-coord {
    text-align: center;
    display: inline-block;
    margin-right: 0;
    min-width: 6ex;
}

#light-controls-selector > * {
    display: inline-block;
}