@font-face {
    font-family: OpenSans;
    src: url(fonts/OpenSans-Regular.ttf);
}
 
body, html, div
{
    margin: 0px;
    padding: 0px;
    background: #333333;
    color: white;
    font-family: OpenSans;
}
body,html
{
    width:100%;
}

body.running
{
  overflow: hidden;
}

#setup
{
    margin: 0px;
    text-align: center;
}

#launcherLogo
{
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -256px;
  margin-top: -128px;
}

/** Radio buttons **/
.radiobuttons label
{
    display: inline-block;
    width: 150px;
    line-height: 50px;
    background: #e0e0e0;
    border-radius: 10px;
    margin: 10px;
    color: #333333;
    font-size: 1.4em;
    border: 4px solid #e0e0e0;
}

.radiobuttons input:checked +label
{
    background: #ffffff;
    border: 4px solid orangered;
}

.radiobuttons input
{
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.radiobuttons label:hover
{
    border: 4px solid orangered;
}


/** Checkboxes **/
.checkbox label
{
    display: inline-block;
    width: 400px;
    line-height: 50px;
    background: #e0e0e0;
    border-radius: 6px;
    margin: 4px;
    color: #333333;
    font-size: 1.25em;
    border: 4px solid #e0e0e0;
}

.checkbox input:checked +label
{
    background: #ffffff;
    border: 4px solid orangered;
}

.checkbox input
{
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox label:hover
{
    border: 4px solid orangered;
}

/** Buttons **/
button
{
    display: inline-block;
    width: 191px;
    line-height: 50px;
    background: white;
    border-radius: 10px;
    margin: 10px;
    color: #333333;
    font-size: 1.4em;
    border: 4px solid white;
}

button:hover
{
    border: 4px solid orangered;
}

#dpr label
{
    width: 104px;
}

@media screen and (max-width:768px), screen and (max-height:500px){
    #extraSetupContainer{
        display:none;
    }
}

#setup p
{
    font-size: 1.4em;
    margin: 0px;
    margin-top: 10px;
}

.debug{
  display:flex;
  position: absolute;
  right:0px;
  top:0px;
  flex-direction: column;
}

.debug > div
{
    color:white;
    background:#333333;
    text-align: right;
}

#demo
{
    cursor: none;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
}

#demo #democanvas
{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#demo canvas
{
    
}

/* loader */
#loader{
    display: flex;
    width: 100%;
    height: 100vh;
    justify-content: center;
    align-items: center;
}

.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
  }
  .lds-ellipsis div {
    position: absolute;
    top: 33px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #fff;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
  }
  .lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
  }
  .lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
  }
  .lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
  }
  .lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
  }
  @keyframes lds-ellipsis1 {
    0% {
      transform: scale(0);
    }
    100% {
      transform: scale(1);
    }
  }
  @keyframes lds-ellipsis3 {
    0% {
      transform: scale(1);
    }
    100% {
      transform: scale(0);
    }
  }
  @keyframes lds-ellipsis2 {
    0% {
      transform: translate(0, 0);
    }
    100% {
      transform: translate(24px, 0);
    }
  }
  