* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    font-family: monospace;
}

html,
body {
    height: 100vh;
}

.app {
    height: 100%;
    background-color: #111;
    color: #eee;
    display: flex;
    justify-content: flex-start;
    align-items: normal;
    /*overflow: hidden;*/
}

aside {
    padding-inline: 30px;
    padding-block: 20px;
}

h1 {
    text-align: center;
    margin-bottom: 15px;
    background-color: #23556a;
    padding: 10px;
}

p {
    text-align: center;
    line-height: 1.5rem;
}

.MIDIOutputsList {
    flex: 2;
    list-style: none;
    width: max-content;
    padding-top: 0;
    border: 1px solid;
    /*margin-bottom: 25px;*/

    li {
        /*margin-top: 25px;*/
        /*padding: 30px;*/
        padding-block: 10px;
        /*border: 1px solid;*/
        border-left: 5px solid transparent;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        transition: all 0.2s;
    }
    li span {
        display: inline-block;
        /*border-right: 1px solid;*/
        text-align: center;
    }
    li:hover {
        opacity: 0.6;
        cursor: pointer;
    }
}

.list-element.selected {
    color: #6ad86a;
    border-left: 5px solid;
}

.list-element.selected:hover {
    color: #409fad;
    opacity: 1;
}

h3 {
    text-align: center;
    margin-block: 40px;
}

h3:last-child {
    font-size: 10px;
    margin-bottom: 0px;
}

h3.label {
    font-size: 12px;
    margin-bottom: 10px;
}

.cc-select-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.button {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cc-select-button {
    border: 3px solid purple;
    border: 3px solid grey;
    padding: 10px;
    font-family: monospace;
    border-radius: 10px;
    background-color: transparent;
    color: #eee;
    transition: all 0.2s;
}

.cc-select-button:hover {
    /*opacity: 0.6;*/
    cursor: pointer;
    /*background-color: #4562b9;*/
    color: springgreen;
}

.cc-select-button.selected {
    /*background-color: #006eff;*/
    border-color: springgreen;
}

.button-led {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: grey;
}

.button-led.selected {
    background-color: #3bf73b;
    box-shadow: 0 0 5px 3px #3bf73b;
}

hr {
    margin-block: 30px;
}

.pad {
    flex: 4;
    width: 100%;
    height: 100%;
    background-color: pink;
    background-color: #386895;
    background-color: #36516f;
    touch-action: none;
    position: relative;
    overflow: hidden;

    /* Copy - Paste Code */

    background-color: #111927;
    background-image:
        linear-gradient(
            to right,
            oklab(0 0 0 / 0.09),
            oklab(0.39 -0.06 -0.05 / 0.65)
        ),
        url("ghost.png");
}

.bar {
    /* dynamically created - not in the HTML */
    position: absolute;
    padding: 5px;
    background-color: #eee;
    background-color: #dbc96c;
    background-color: #fff;
    opacity: 0.5;
    color: #222;
    font-size: 24px;
    font-family: monospace;
    text-align: center;
    border-radius: 10px;
    /* Copy - Paste Code */
    /* From https://css.glass */
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-top: 10px solid;
    color: #eee;
    font-weight: bold;
}

.canvas-container {
    width: 80%;
    max-width: 400px;
    height: 200px;
    margin: 0 auto;
    overflow-x: scroll;
    overflow-y: hidden;
    border: 1px solid;
}

.canvas-display {
    width: auto;
    min-width: 100%;
    height: 100%;
    background-color: #3f3c37;
    background-color: #292827;
    /*background-color: #e3b052;*/
    /*display: block;*/
    /*margin: 0 auto;*/
}

.cc-values {
    width: 100px;
    height: 100%;
    border: 1px solid #222;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /*font-size: 12px;  */
    background-color: #222;
    color: #222;
    color: #eee;

    span {
        text-align: center;
        font-family: monospace;
    }
}
