html {
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

body {
    margin: 0;
    background: #444;
}

#gameContainer {
    width: 100vw;
    height: 100vh;
}

canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* try to handle mobile dialog */

canvas+* {
    z-index: 2;
}

.logo {
    display: block;
    max-width: 100vw;
    max-height: 70vh;
}

.progress {
    margin: 1.5em;
    border: 1px solid white;
    width: 50vw;
    display: none;
}

.progress .full {
    margin: 2px;
    background: white;
    height: 1em;
    transform-origin: top left;
}

.loader {
    position: absolute;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.spinner, .spinner:after {
    border-radius: 50%;
    width: 5em;
    height: 5em;
}

.spinner {
    margin: 10px;
    font-size: 10px;
    position: relative;
    text-indent: -9999em;
    border-top: 1.1em solid rgba(255, 255, 255, 0.2);
    border-right: 1.1em solid rgba(255, 255, 255, 0.2);
    border-bottom: 1.1em solid rgba(255, 255, 255, 0.2);
    border-left: 1.1em solid #ffffff;
    transform: translateZ(0);
    animation: spinner-spin 1.1s infinite linear;
}

.subsection{ 
    background:rgb(56, 56, 56);
    font-size: 1.2em;
    text-align: center;
}

.myerror {
    color:rgb(255, 0, 0)
}

.form-range {
    width: 100%;
    height: 1.5rem;
    padding: 0;
}

.form-label {
    width: 100%;
}

.form-left {
    float: left;
}

.form-right {
    float: right;
}

.form-center {
    margin: 0 auto;
    width: 100px;
}

.color-container {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.form-space {
    margin-bottom: 20px;
}

.color-item {
    width: 140px;
    white-space: nowrap;
    overflow: hidden;
}

@keyframes spinner-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.h3, h3 {
    font-size: 1.75rem;
}

.help_overlay {
    position: absolute;
    right: 15px;
    top: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.help_button {
    background: url(TemplateResources/HelpIcon.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 50px;
    height: 50px;
}

.help_button::after {
    content: none;
}

.bugReportPane {
    margin-top: 20px;
    background: #222222;
    border: 1px solid gray;
    border-radius: 5px;
}

ul.niceList > li {
    margin-bottom: 5px;
}

#bugDescriptionInput {
    width: 100%;
    padding: 10px;
}

div#dropZone {
    background: gray;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    opacity: 0.6;
    visibility: hidden;
}

.files input {
    outline: 2px dashed #92b0b3;
    outline-offset: -10px;
    -webkit-transition: outline-offset .15s ease-in-out, background-color .15s linear;
    transition: outline-offset .15s ease-in-out, background-color .15s linear;
    padding: 120px 0px 85px 35%;
    text-align: center !important;
    margin: 0;
    width: 100% !important;
}
.files input:focus{     outline: 2px dashed #92b0b3;  outline-offset: -10px;
    -webkit-transition: outline-offset .15s ease-in-out, background-color .15s linear;
    transition: outline-offset .15s ease-in-out, background-color .15s linear; border:1px solid #92b0b3;
 }
.files{ position:relative}
.files:after {  pointer-events: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 50px;
    right: 0;
    height: 56px;
    content: "";
    background-image: url(SeedDrop.png);
    display: block;
    margin: 0 auto;
    background-size: 100%;
    background-repeat: no-repeat;
}
.color input{ background-color:#f1f1f1;}
.files:before {
    position: absolute;
    bottom: 10px;
    left: 0;  pointer-events: none;
    width: 100%;
    right: 0;
    height: 57px;
    content: " or drag it here. ";
    display: block;
    margin: 0 auto;
    color: #2ea591;
    font-weight: 600;
    text-transform: capitalize;
    text-align: center;
}
