body {
    font: 0.8em Verdana,sans-serif;
    background-color: black;
    color: white;
}

a {
    color: #DDEEFF;
    text-decoration: none;
}

a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

h2 {
    font-size: 1.1em;
    text-align: center;
}

#stats {
    position: absolute;
    top: 5px;
    left: 5px;
    z-index: 2;
    pointer-events: none;
	display: none;
}







#viewport-info h3 {
    margin: 2px;
}

#viewport-info ul {
    list-style: none;
    padding-right: 20px;
    padding-left: 20px;
}

#controls, #config {
    float: left;
    width: 411px;
    height: 120px;
    margin: 5px;
    margin-top: 10px;
    padding: 3px;
    background-color: #000;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

#config {
    text-align: right;
}

#fullscreenBtn {
    cursor: pointer;
}

#vrBtn {
    cursor: pointer;
}

#viewport-frame:-moz-full-screen, :-moz-full-screen canvas, canvas:-moz-full-screen {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
}

#viewport-frame:-webkit-full-screen, :-webkit-full-screen canvas, canvas:-webkit-full-screen {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
}

#loading {
    position: relative;
    margin: auto;
    top: 200px;
    padding: 10px;
    border: 2px solid #666;
    border-radius: 5px;
    width: 200px;
    z-index: 5;
    background-color: black;
    text-align: center;
    vertical-align: middle;
    pointer-events: none;
}




    h2, #viewport-info {
        display: none !important;
    }

    #webgl-error {
        width: 100%;
        height: 100%;
    }

    #viewport-frame
     {
        width: 100%;
        height: 100%;
        position: absolute;
        left: 0;
        top: 100;
        margin: 0;
		
    }

    canvas {
        position: absolute;
        top: 0;
        left: 0;
        cursor: move;
        background-color: black;
        display: none;
        text-align: center;
        width: 100%;
        height: 100%;
    }
	
	#viewport-help
     {
        width: 100%;
	    height: 100;
		/*max-width:1000px;*/
		max-height:138px;
        position: absolute;
        left: 0;
        top: 0;
        margin: 0;
		
    }



    #mobileVrBtn {
        display: none !important;
    }
    #mobileFullscreenBtn {
        display: none !important;
    }



/* Важная часть */
body {
  min-height: 100vh;
  padding: 50px;
  display: grid;
  justify-items: center;
  align-items: center;
  background-color: #18191C;
  color: #FFFFFF;
  font-family: "Roboto", sans-serif;
}

dialog {
  position: fixed;
  height: 250px;
  width: 350px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: none;
  padding: 0;
  background-color: #FFFFFF;
  color: #000000;
  text-align: center;
}

.openDialogBtn {
  position: fixed;
  bottom: 50px;
  right: 50px;
  min-width: 210px;
  border: 2px solid transparent;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 300;
  font-family: inherit;
  transition: background-color 0.2s linear;
}

.closeDialogBtn {
  margin: 15% auto 0;
  border: 2px solid transparent;
  min-width: 210px;
  border-radius: 6px;
  padding: 9px 15px;
  color: #000000;
  font-size: 18px;
  font-weight: 300;
  font-family: inherit;
  transition: background-color 0.2s linear;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
}

.dialog__wrapper {
  padding: 1em;
}

dialog::backdrop {
  background-color: rgb(0 0 0 / 0.8);
}

.scroll-lock {
  overflow: hidden;
}