body {
    width:100%; 
    height:100%;
    font-family: Garamond;
    font-weight: bold;
    background-color: #180b04;
    padding: 0;
    margin: 0;
}

h4 {padding: 0; margin: 0;}

.centered {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.btn {
    width: 45%;
}

#c {    
    background-color: #180b04;
}

#particlesApp {
    max-width: 100vw;
    max-height: 100vh;
    overflow: hidden;
}

#controls
{
    /* Hide scrollbar for IE, Edge and Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    overflow-y: scroll;
    overflow-x: hidden;
    height: 90%;
    width: 100%;
}

#menu {
    max-width: 30%;
    width: 600px;
    background-color: #180b04;
    border: 3px solid #180b04; 
    box-sizing: border-box;
    position: absolute;
    right: 0;
    height: 100%;
}

/* Hide scrollbar for Chrome, Safari and Opera */
#controls::-webkit-scrollbar {
    display: none;
}

#githubContainer
{
    width: 100%;
    height: 2em;
    margin-top: 1%;
    padding-bottom: 2%;
    border-bottom: 2px solid #ddc9b4;
}

#menuToggle {
    position: absolute;
    right: 0;
    top: 0;
    color: rgba(221, 201, 180, 0.5);
    
    font-size: 2em;
    margin: 0% 6px 0% 0%;
    z-index: 1;
    cursor: pointer;
}

#menuToggle:hover {
    color: #fbeee0;
}

#buttonsContainer {
    background-color: #180b04;
    padding: 2% 0%;
    border-top: 2px solid #ddc9b4;
}

.controlLabel {
    color: #ddc9b4;
    font-style:normal;
    font-weight: bold;
    padding: 2% 0% 1% 0%;
}

.controlAreaLabel {
    color: #ddc9b4;
    font-style:normal;
    font-weight: bold;
}

.subcontrolContainer {
    padding-bottom: 1%;
}

#colourConfigContainer {
    flex:1;
    display: flex;
    flex-direction:row;
    justify-content: center;
    align-content: center;
    flex-basis: auto;
    padding-top: 0 !important;
}

#colourConfigContainer > .subcontrolContainer {
    width: 50%;
    margin:0 auto;
    text-align: center;
    padding-top: 3% !important;
}

#formula {
    text-align: left;
    resize: none;
    width: 100%;
    height: 80%;
    background-color: #ddc9b4;
    color: #422800;
    font-size: 11px;
    border:none;
    white-space: pre;
}

#formulaContainer {
    height: 30%;
}

#formulaPresetsLabel {
    margin-top: 50px;
}

.controlElementContainer {
    border-bottom: 2px solid #ddc9b4;
    padding-bottom: 5%;
}

/*Stolen from: https://getcssscan.com/css-buttons-examples*/
.buttonWood {
  background-color: #ddc9b4;
  border: 1px solid #422800;
  border-radius: 4px;
  color: #422800;
  cursor: pointer;
  display: inline-block;
  font-weight: 300;
  font-size: 14px;
  padding: 0 18px;
  line-height: 25px;
  text-align: center;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.buttonWood:hover {
  background-color: #fbeee0;
}

.buttonWood:active {
  box-shadow: #422800 2px 2px 0 0;
  transform: translate(2px, 2px);
}

#btnReset {
    float:left;
}

#btnUpdate
{
    float:right;
}

#buttonsContainer {
    width: 100%;
    position: absolute;   
    bottom: 0;
}

/*Stolen from: https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_rangeslider*/
.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 10px;
    background: #ddc9b4;
    outline: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    background: #422800;
    cursor: pointer;
    border: 2px solid #ddc9b4;
}

.slider::-moz-range-thumb {
    width: 15px;
    height: 15px;
    background: #422800;
    cursor: pointer;
    border: 2px solid #ddc9b4;
}

.colourpicker {
    width: 70%;
    margin:5px auto;
}

input::-moz-color-swatch,
input::-webkit-color-swatch {
    border: none !important;
    outline: none;
}


.inputBox {
    background-color: #ddc9b4;
    color: #422800;
    width: 100%;
    border:none;
    padding:3px;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}

.infoLabel {
    font-size: 11px;
}

#githubSVG {
    max-height: 100%;
    max-width: 100%;
    fill: #ddc9b4;
    text-align: center;
    float:left;
    text-align: right;
    z-index: 1;
    width: 2em;    
}

#githubSVG:hover {
    fill: #fbeee0;
}

#headerContainer {
    flex:1;
    display: flex;
    flex-direction:row;
    justify-content: center;
    align-content: center;
    flex-basis: auto;
    width: 100%;
    height: 5%;
    text-align: left;
}

#headerContainer > .controlAreaLabel{
    float:left; 
}

input::-webkit-calendar-picker-indicator {
    display: none;/* remove default arrow */
}

@media only screen and (max-width: 1080px) {
    #menu {
        max-width: 100%;
        width: 100%;
    }
}