body {
    margin: 0;
    background-color: #000;
    color: #fff;
    font-family: Monospace;
    font-size: 13px;
    line-height: 24px;
    overscroll-behavior: none;
}

#ui {
    background: rgba(0,0,0,.55);
    color: #fff;
    padding: 18px 20px;
    border-radius: 12px;
    max-width: 720px;
    width: min(92vw, 720px);
    box-shadow: 0 12px 40px rgba(0,0,0,.35);
}

#ui h1 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 650;
}
#ui p {
    margin: 6px 0;
    font-size: 14px;
    line-height: 1.3;
    opacity: .95;
}

#ui label {
    display: inline-block;
    margin: 6px 0 2px;
    font-size: 12px;
    opacity: .9;
}

#ui input {
    width: 100%;
    padding: 8px 0px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(255,255,255,.1);
    color: #fff;
}

#seed::placeholder {
    color: #fff;
    opacity: 0.75;
    font-family: Monospace;
}

#start {
    margin-top: 10px;
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 0;
    background: #12a150;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

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

a:hover {
    text-decoration: underline;
}

button {
    cursor: pointer;
    text-transform: uppercase;
}

#info {
    position: absolute;
    top: 0px;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
    z-index: 1; /* TODO Solve this in HTML */
}

a, button, input, select {
    pointer-events: auto;
}

.lil-gui {
    z-index: 2 !important; /* TODO Solve this in HTML */
}

@media all and ( max-width: 640px ) {
    .lil-gui.root { 
        right: auto;
        top: auto;
        max-height: 50%;
        max-width: 80%;
        bottom: 0;
        left: 0;
    }
}

#overlay {
    position: absolute;
    font-size: 16px;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #87ceeb;
}

#overlay button {
    background: transparent;
    border: 0;
    border: 1px solid rgb(255, 255, 255);
    border-radius: 4px;
    color: #ffffff;
    padding: 12px 18px;
    text-transform: uppercase;
    cursor: pointer;
}

#notSupported {
    width: 50%;
    margin: auto;
    background-color: #f00;
    margin-top: 20px;
    padding: 10px;
}
