body {
    margin: 0;
    overflow: hidden;
    background-color: #000;
    font-family: monospace;
    color: #fff;
}

canvas {
    display: block;
    image-rendering: pixelated;
}

@font-face {
    font-family: c64;
    src: url(C64_Pro_Mono-STYLE.woff2 ) format("woff2"),

}



#about {
    position: absolute;
    top: 00px;
    left: 0px;
    letter-spacing: -1px;
    float: right;
    font-size: 16;
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid #555;
    padding:10px;
    padding-top:45px;
    max-width: 300px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 0px 0px 20px 00px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease, visibility 0.7s ease;
    z-index: 12;
}

#about.visible {
    opacity: 1;
    visibility: visible;
}


#about-toggle {
    position: absolute;
    top: 0px;
    left: 0px;
    letter-spacing: -1px;
    float: right;
    font-size: 24px;
    font-family: Sintony;
    font-family: 'Pacifico', cursive;
    text-shadow:
        2px 2px 0 #000,
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
    cursor: pointer;
    color: #fff;
    font-family: Sintony;
    font-family: 'Pacifico', cursive;
    opacity: 0.3;
    letter-spacing: -1px;
    z-index: 333;
    border:none;
    background: none;
    transition: opacity 0.7s ease;
}

#about-toggle:hover {
    color: rgba(250, 250, 250, 1);
    opacity:0.9;
    transition: opacity 0.7s ease;
}
.title:hover {
    color: rgba(255, 255, 255, 0.7);
}

.title {
    font-size: 18 px;
    font-family: Oswald;
    font-family: 'Fascinate Inline', cursive;
    font-family: 'Covered By Your Grace', cursive;
    color: rgba(255, 255, 255, 0.5);
    position: absolute;
    left: 10px;
    bottom: 4px;
    cursor: default;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6);
}

#settings-toggle {
    position: absolute;
    background: none;
    border: none;
    top: 0px;
    right: 0px;
    z-index: 100;
    color: #fff;
    padding: 0px 10px;
    cursor: pointer;
    font-family: Sintony;
    font-family: 'Pacifico', cursive;
    opacity: 0.3;
    font-size: 24px;
    letter-spacing: -1px;
    text-shadow:
        2px 2px 0 #000,
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
    transition: opacity 0.7s ease;
}

#settings-toggle:hover {
    color: rgba(250, 250, 250, 1);
    opacity:0.9;
    transition: opacity 0.7s ease;
}

#settings {
    position: absolute;
    top: 0px;
    right: 0px;
    z-index: 99;
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid #555;
    padding: 15px;
    max-width: 300px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 0px 0px 0px 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

#settings.visible {
    opacity: 1;
    visibility: visible;
}


#credits.visible {
    display: block;
}

.section {
    margin-bottom: 15px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.section-title {
    font-weight: bold;
    margin-bottom: 8px;
    color: #00ff00;
}

.control-group {
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

input[type="range"] {
    flex-grow: 1;
    cursor: pointer;
}

button {
    background: #333;
    border: 1px solid #555;
    color: #fff;
    padding: 3px 8px;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
}

button:hover {
    background: #444;
}

button:active {
    background: #222;
}

.value {
    color: #00ffff;
    min-width: 40px;
    text-align: right;
}

#status-bar {
    position: absolute;
    bottom: 10px;
    left: 10px;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.5);
    padding: 2px 5px;
}


#credits {
    display: none;
    z-index: 1;
    opacity: 1;
    overflow: hidden;
    float: left;
    width: 100vw;
    height: 100vh;
    margin: 0;
    box-sizing: border-box;
    border-right: 12vw solid rgba(165, 165, 255, 1);
    border-left: 10vw solid rgba(165, 165, 255, 1);
    border-top: 10vh solid rgba(165, 165, 255, 1);
    border-bottom: 12vh solid rgba(165, 165, 255, 1);
    font: 2vw c64;
    font-size: 1.90vw;
    position: absolute;
    background: rgba(86, 86, 251, 0.6);
    line-height: 100%;
    top: 0px;
    left: 0px;
    color: rgba(255, 255, 255, 1);
    aaatext-shadow:
        2px 2px 0 #000,
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
}