* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    font-family: 'Helvetica', sans-serif;
    background: #000;
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#container {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: block;
    overflow: hidden;
    line-height: 0;
}

#container > * {
    position: absolute;
    display: block;
    user-select: none;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: fadeIn 1.2s;
}

canvas {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

#renderCanvas {
    width: 100%;
    height: 100%;
    margin: auto;
    outline: none;
}

#container > video {
    object-fit: cover;
    object-position: 50% 50%;
}

.button {
    padding: 4px 8px 4px 8px;
    font-weight: bold;
    font-size: 13pt;
    touch-action: manipulation;
}

#permButton {
    position: absolute;
    left: calc (100% - 150px / 2);
}

#locButton {
    margin-top: 12px;
}

#latlon {
    position: absolute;
    width: 300px;
    padding: 8px !important;
    height: 32px;
    overflow: hidden;
    text-overflow: ellipsis;
    left: 16px;
    bottom: 64px;
    font-size: 11pt;
    color: #fff;
    text-align: center;
    background: #caccaa40;
}

#debug {
    position: absolute;
    width: 300px;
    padding: 8px !important;
    height: 300px;
    left: 16px;
    bottom: 100px;
    font-size: 11pt;
    color: #fff;
    text-align: left;
    background: #caccaa50;
}

.form-group {
    color: #fff;
}

#uicontainer {
    display: none;
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
}

#uicontainer > * {
    padding: 16px;
    touch-action: manipulation;
}

#devicelocui {
    display: block;
}

#locButton {
    display: none;
}

#serverlocui {
    display: none;
}

#sliders {
    width: 300px;
    color: #fff;
}

.slider {
    width: 100%;
    height: 25px;
    outline: none;
}
