body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    height: 100vh;
    background-color: #09061b;
    overflow: hidden;
}



#github img {
    height: 5vh;
    position: absolute;
    padding: 2vh;
    opacity: 0.2;
    z-index: 1;
    transition: opacity .25s ease-in-out, color .25s ease-in-out;
    -moz-transition: opacity .25s ease-in-out, color .25s ease-in-out;
    -webkit-transition: opacity .25s ease-in-out, color .25s ease-in-out;
}

#github img:hover {
    opacity: 0.5;
}



#demo {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(0, 0, 0, 0.2);
    font-size: 7vh;
    font-weight: 700;
    text-align: center;
    cursor: default;
    z-index: -1;
}



#menu {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-wrap: wrap;
    max-height: 70vh;
    max-width: 100vh;
    width: 80%;
    padding: 6vh 2vw 3vh 2vw;
    background-color: #ffffff;
    border-radius: 5vh;
    z-index: 2;
    overflow: auto;
    justify-content: center;
    align-items: center;
    transition: top 0.75s ease-in-out;
    -moz-transition: top 0.75s ease-in-out;
    -webkit-transition: top 0.75s ease-in-out;
}

#menu > div {
    transform: scale(1);
    margin: 0 3vh 3vh 3vh;
    padding: 0 3vh 3vh 3vh;
    width: 20vh;
    height: 25vh;
    cursor: pointer;
    border-radius: 2vh;
    background-color: #ffffff;
    transition: box-shadow .15s ease-in-out, transform .15s ease-in-out;
    -moz-transition: box-shadow .15s ease-in-out, transform .15s ease-in-out;
    -webkit-transition: box-shadow .15s ease-in-out, transform .15s ease-in-out;
    box-shadow: 0 0 3vh #d4d4d4;
}

#menu > div:hover {
    transform: scale(1.05);
    box-shadow: 0 0 3vh #c4c4c4;
}

#menu p {
    text-align: center;
    font-weight: 700;
    font-size: 2.7vh;
}

#menu img {
    position: absolute;
    display: block;
    left: 50%;
    bottom: 5%;
    transform: translate(-50%, 0);
    width: 15vh;
}



#createMenu, #browseMenu, #generalMenu {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 6vh;
    background-color: #ffffff;
    border-radius: 5vh;
    min-width: 250px;
    z-index: 2;
    transition: top 0.75s ease-in-out;
    -moz-transition: top 0.75s ease-in-out;
    -webkit-transition: top 0.75s ease-in-out;
}

#createMenu > h1, #browseMenu > h1, #generalMenu > h1 {
    margin: 0 0 4vh 0;
    color: #1a1a1a;
}

#createMenu > section {
    margin-top: 2vh;
}

#createMenu > section > input, #createPosition > div > input, #createVelocity > div > input {
    text-align: center;
    border-radius: 5vh;
    border: none;
    box-shadow: 0 0 2vh #bebebe;
    font-size: 14px;
    padding: 0.5vh;
}

#createName input, #createMass input, #createRadius input, #createColor input {
    float: right;
    width: 20vh;
    min-width: 165px;
    margin-left: 2.7vh;
}

#createPosition > div, #createVelocity > div {
    float: right;
}

#createPosition input, #createVelocity input {
    width: 8vh;
    min-width: 60px;
    margin-left: 2.5vh;
}

#createStatic > input, #createCameraFollow > input {
    cursor: pointer;
    float: right;
    appearance: none;
    -webkit-appearance: none;
    width: 2vh;
    height: 2vh;
    background-color: #ffffff;
    border: 0.35vh solid #1a1a1a !important;
    border-radius: 5vh !important;
    box-shadow: 0 0 2vh #bebebe !important;
    transition: background-color .15s ease-in-out, border .15s ease-in-out;
    -moz-transition: background-color .15s ease-in-out, border .15s ease-in-out;
    -webkit-transition: background-color .15s ease-in-out, border .15s ease-in-out;
}

#createStatic > input:checked, #createCameraFollow > input:checked {
    background-color: #1a1a1a;
    border: 0.35vh solid #ffffff !important;
}

#createPlanet {
    float: none;
    position: relative;
    left: 50%;
    transform: translate(-50%, 0) scale(1);
    margin: 4vh 0 0 0;
    display: inline-block;
    cursor: pointer;
    background-color: #ffffff;
    font-size: 16px;
    border: none;
    padding: .9vh 1.2vh;
    border-radius: 3vh;
    transition: box-shadow .15s ease-in-out, transform .15s ease-in-out;
    -moz-transition: box-shadow .15s ease-in-out, transform .15s ease-in-out;
    -webkit-transition: box-shadow .15s ease-in-out, transform .15s ease-in-out;
    box-shadow: 0 0 2vh #cacaca;
}

#createPlanet:hover {
    transform: translate(-50%, 0) scale(1.1);
    box-shadow: 0 0 2vh #bebebe;
}



#browseMenu {
    padding: 4vh 6vh;
    max-height: 70vh;
    overflow: auto;
}

#browseMenu > div {
    padding: 1vh 3.5vh;
    margin: 2vh 0;
    min-width: 200px;
    border-radius: 5vh;
    box-shadow: 0 0 3vh #dddddd;
}

::-webkit-scrollbar { 
    display: none; 
}

#browseMenu > div > p {
    display: inline-block;
    margin: 1vh 0 2vh 0;
}

.removePlanet {
    float: right;
    margin: 1vh 0;
}

.removePlanet button {
    transform: scale(1);
    background-color: #ffffff;
    border: none;
    cursor: pointer;
    font-family: 'Varela Round', sans-serif;
    font-size: 2vh;
    transition: transform .05s ease-in-out;
    -moz-transition: transform .05s ease-in-out;
    -webkit-transition: transform .05s ease-in-out;
}

.removePlanet button:hover {
    transform: scale(1.15);
}

.planetOptions {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.planetOptions > * {
    margin-bottom: 1.5vh !important;
}

.planetOptions > div {
    display: flex;
    flex-direction: row;
}

.planetOptions input[type=text], .planetOptions button {
    box-shadow: 0 0 2vh #bebebe;
    border: none;
    border-radius: 5vh;
    text-align: center;
    margin: 0 1vh;
    z-index: 0;
}

.planetOptions input[type=text] {
    font-size: 14px;
    padding: 0.5vh;
    width: 10vh;
}

.planetOptions label {
    position: relative;
    margin: 0 2vh;
}

.planetOptions input[type=checkbox] {
    position: absolute;
    bottom: 0;
    margin-left: 0.75vh;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    width: 2vh;
    height: 2vh;
    background-color: #ffffff;
    border: 0.35vh solid #1a1a1a;
    border-radius: 5vh;
    box-shadow: 0 0 1vh #bebebe;
    transition: background-color .15s ease-in-out, border .15s ease-in-out;
    -moz-transition: background-color .15s ease-in-out, border .15s ease-in-out;
    -webkit-transition: background-color .15s ease-in-out, border .15s ease-in-out;
}

.planetOptions input[type=checkbox]:checked {
    background-color: #1a1a1a;
    border: 0.35vh solid #ffffff;
}

.planetOptions button {
    cursor: pointer;
    font-size: 16px;
    padding: 0.7vh;
    width: 7vh;
    background-color: #ffffff;
    transform: scale(1);
    transition: transform .05s ease-in-out;
    -moz-transition: transform .05s ease-in-out;
    -webkit-transition: transform .05s ease-in-out;
}

.planetOptions button:hover {
    transform: scale(1.1);
}

.lightInput[type=text]::placeholder {
    color: #bebebe;
}

.darkInput[type=text]::placeholder {
    color: #666666;
}

.darkInput[type=checkbox]:checked {
    background-color: #ffffff !important;
}



#generalMenu > section {
    margin-top: 2vh;
}

#generalMenu > section > input {
    float: right;
}

#generalMenu > section > input[type=text] {
    text-align: center;
    border-radius: 5vh;
    border: none;
    box-shadow: 0 0 2vh #bebebe;
    font-size: 14px;
    padding: 0.5vh;
    width: 10vw;
    min-width: 75px;
    margin-left: 2.7vh;
}

#generalMenu > section > input[type=checkbox] {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    width: 2vh;
    height: 2vh;
    background-color: #ffffff;
    border: 0.35vh solid #1a1a1a;
    border-radius: 5vh;
    box-shadow: 0 0 2vh #bebebe;
    transition: background-color .15s ease-in-out, border .15s ease-in-out;
    -moz-transition: background-color .15s ease-in-out, border .15s ease-in-out;
    -webkit-transition: background-color .15s ease-in-out, border .15s ease-in-out;
}

#generalMenu > section > input[type=checkbox]:checked {
    background-color: #1a1a1a;
    border: 0.35vh solid #ffffff;
}

#applySettings {
    float: none;
    position: relative;
    left: 50%;
    transform: translate(-50%, 0) scale(1);
    margin: 4vh 0 0 0;
    display: inline-block;
    cursor: pointer;
    background-color: #ffffff;
    font-size: 16px;
    border: none;
    padding: .9vh 1.2vh;
    border-radius: 3vh;
    transition: box-shadow .15s ease-in-out, transform .15s ease-in-out;
    -moz-transition: box-shadow .15s ease-in-out, transform .15s ease-in-out;
    -webkit-transition: box-shadow .15s ease-in-out, transform .15s ease-in-out;
    box-shadow: 0 0 2vh #cacaca;
}

#applySettings:hover {
    transform: translate(-50%, 0) scale(1.1);
    box-shadow: 0 0 2vh #bebebe;
}



svg {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    fill: none;
    stroke: #ffffff;
    opacity: 0.5;
    transition: opacity .25s ease-in-out;
    -moz-transition: opacity .25s ease-in-out;
    -webkit-transition: opacity .25s ease-in-out;
    stroke-width: 5;
    z-index: 1;
}

svg:hover {
    opacity: 1;
}



canvas {
    position: absolute;
    display: block;
    z-index: 0;
}



.unselectable {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* No Arrows On Input */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

/* Remove Outline When Buttons Or Inputs Are Selected */
input:focus, button:focus {
    outline: none;
}