@font-face {
    font-family: 'BPdots';
    src: url('fonts/BPdotsSquareBold.otf');
}

body {
    margin: 0;
    background-image: url("ditherBg3.png");
    background-size: cover;
    overflow-y: hidden;
    overflow-x: hidden;
}

#controls {
    position: fixed;
    /* width: 600px; */
    vertical-align: bottom;
    height: 45px;
    transform: translateX(-50%);
    top: -2px;
    left: 50%;
    display: flex;
    z-index: 10;
    gap: 20px;
    background-color: rgba(194, 212, 231, 0.8);
    padding: 0px 32px;
    min-width: 550px;
    border-radius: 0px 0px 10px 10px;
    /* border: 2px solid rgba(51, 61, 72, 0.402); */
    font-family: 'BPdots';
    font-size: 0.9rem;
    opacity: 0.8;
}

canvas, p {
    -webkit-touch-callout: none; /* iOS Safari */
        -webkit-user-select: none; /* Safari */
        -khtml-user-select: none; /* Konqueror HTML */
            -moz-user-select: none; /* Old versions of Firefox */
            -ms-user-select: none; /* Internet Explorer/Edge */
                user-select: none; /* Non-prefixed version, currently
                                    supported by Chrome, Edge, Opera and Firefox */
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0); /* mobile webkit */

}

#slider, #mode {
    display: flex;
}

#controls p, #controls div  {
    margin: auto;
}

#mode, #mode div {
    display: flex;
}

#mode div {
    margin-top: -3px;
}

#sliderVal {
    width: 18px;
}

#slider input {
    margin: 0 8px;
}

#mode label {
    display: block !important;
    margin-top: 4px !important;
    margin-left: 4px !important;
}

@media only screen and (max-width: 600px) {
    #mode {
        display: none;
    }
    #controls {
        width: 90vw;
        min-width: unset;
        padding: 0;
    }
}
