
html, body {
    background-color: black;
    width   : 100%;
     margin  : 0;
    padding : 0;
    text-align: center;
}


#startScreen, #splashScreen {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

#splashScreen {
    z-index: 25;
}

#startScreen {
    z-index: 5;
    color: white;
    background-color: black;
    width: 1000px;
    text-align: center;
    opacity: 0;
}


#startScreen .chemical-info {
    position: relative;
    margin: 5px;
    display: inline-block;
}

#startScreen .chemical-spectre {
    width: 140px;
    height: 65px;
    border: 1px white solid;
    background-color: #404040;
    display: inline-block;
}
#startScreen .chemical-scale > * {
    display: inline-block;
}

#startScreen .chemical-scale-worst {
    font-size: 80px;
    width: 80px;
}

#startScreen .chemical-scale-best {
    font-size: 100px;
    width: 100px;
}

#startScreen .chemical-value {
    border: 1px white solid;
    color: white;
    font-size: 25px;
    font-family: arial;
}

#startScreen .chemical-scale-worst {
    color: white;
}


.color-choice {
    display: inline-block;
}

.color-choice-label-reset {
    display: inline;
}

.color-choice input {
    display: block;
}

.color-choice-label:not(.color-choice-label-reset) {
    display: block;
}


#foo:checked::before,
input[type="radio"].color-choice-radio {
    position:absolute;
    clip: rect(0,0,0,0);
    clip: rect(0 0 0 0);
    margin: 0px;
}

input[type="radio"].color-choice-radio + label::before {
    margin: 0px;
}

.color-choice-label {
    height: 22px;
    width: 22px;
}

#foo:checked,
input[type="radio"].color-choice-radio-red + label::before {
    content: url('assets/LD_button_RED_OFF.png');
}

input[type="radio"].color-choice-radio-red:checked + label::before,
input[type="radio"].color-choice-radio-red:hover + label::before {
    content: url('assets/LD_button_RED_ON.png');
}

#foo:checked,
input[type="radio"].color-choice-radio-green + label::before {
    content: url('assets/LD_button_GREEN_OFF.png');
}

input[type="radio"].color-choice-radio-green:checked + label::before,
input[type="radio"].color-choice-radio-green:hover + label::before {
    content: url('assets/LD_button_GREEN_ON.png');
}

#foo:checked,
input[type="radio"].color-choice-radio-blue + label::before {
    content: url('assets/LD_button_BLUE_OFF.png');
}

input[type="radio"].color-choice-radio-blue:checked + label::before,
input[type="radio"].color-choice-radio-blue:hover + label::before {
    content: url('assets/LD_button_BLUE_ON.png');
}

#reroll, #startGame {
    width: 300px;
    height: 50px;
    font-family: arial;
    font-size: 30px;
    border: 1px white solid;
    margin: 25px 15px;
}

#reroll {
    background: gray;
}

#startGame {
    background: rgb(212, 212, 212);
}



#gameScreen {
    position: relative;
    color: white;

    width: 1000px;
    text-align: center;
    margin: auto;
}

#gameOver-label {
    text-align: center;
    color: red;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 25;
    line-height: 500px;
    font-size: 150px;
    font-family: Arial, Helvetica, sans-serif;
}

#gameScreen {
    display: none;
    height: 560px;
}

#gameField {
    position: relative;
    width: 1000px;
    height: 500px;
    border: 1px white solid;
}

#terrain {
    width: 100%;
    height: 100%; 
}

#stats-view > div {
    display: inline-block;
    width: 33%;
}

.stats-label {
    font-family: arial;
    font-size: 40px;
    margin: 0px 50px;
}

#maxTotalTime-label {
    color: lime;
}


    

#flowers {
    display: none;
    margin-top: 1000px;
}

.flower-canvas {
    position: absolute;
    z-index: 10;
    pointer-events: painted;
}

.flower-canvas:hover {
    filter: drop-shadow(0px 0px 3px white);
}

.bonus-label {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 30px;
    -webkit-text-stroke: 0.5px white;
    pointer-events: none;
    z-index: 50;
}

.positive-bonus-label {
    color: lime;
}

.negative-bonus-label {
    color: red;
}

.goat-ingame {
    position: absolute;
    left: -50px;
    bottom: -60px;
    z-index: 50;
    pointer-events: none;
}

#version {
    text-align: right;
    display: block;
    width: 100%;
    opacity: .2;
}