
    /* Style the color buttons */
.color-button {
    width: 60px;
    height: 60px;
    margin: 10px;
    border: none;
    cursor: pointer;
    border-radius: 50%;
}
#redButton { background-color: red; }
#greenButton { background-color: #00ff00; }
#blueButton { background-color: blue; }
#whiteButton { background-color: white; border: 1px solid black; }

#brightnessSlider {
    width: 320px;
    margin: 20px 0;
}
    .slider-container {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .icon {
        font-size: 24px;
    }

.container{
    display: flex;
    flex-direction: column;
    align-items: center;
}

    input[type=range].brightness {
        width: 100%;
        margin: 0.55px 0;
        background-color: transparent;
        -webkit-appearance: none;
    }
    input[type=range].brightness:focus {
        outline: none;
    }
    input[type=range].brightness::-webkit-slider-runnable-track {
        background: rgba(105, 105, 105, 0.0);
        border: 0.2px solid #010101;
        border-radius: 1.3px;
        width: 100%;
        height: 23.9px;
        cursor: pointer;
    }
    input[type=range].brightness::-webkit-slider-thumb {
        margin-top: -0.75px;
        width: 50px;
        height: 25px;
        background: #ffffff;
        border: 1px solid rgba(0, 0, 30, 0.3);
        border-radius: 5px;
        cursor: pointer;
        -webkit-appearance: none;
    }
    input[type=range].brightness:focus::-webkit-slider-runnable-track {
        background: #808080;
    }
    input[type=range].brightness::-moz-range-track {
        background: rgba(105, 105, 105, 0.78);
        border: 0.2px solid #010101;
        border-radius: 1.3px;
        width: 100%;
        height: 23.9px;
        cursor: pointer;
    }
    input[type=range].brightness::-moz-range-thumb {
        width: 50px;
        height: 25px;
        background: #ffffff;
        border: 1px solid rgba(0, 0, 30, 0.3);
        border-radius: 5px;
        cursor: pointer;
    }
    input[type=range].brightness::-ms-track {
        background: transparent;
        border-color: transparent;
        border-width: 1.55px 0;
        color: transparent;
        width: 100%;
        height: 23.9px;
        cursor: pointer;
    }
    input[type=range].brightness::-ms-fill-lower {
        background: #525252;
        border: 0.2px solid #010101;
        border-radius: 2.6px;
    }
    input[type=range].brightness::-ms-fill-upper {
        background: rgba(105, 105, 105, 0.78);
        border: 0.2px solid #010101;
        border-radius: 2.6px;
    }
    input[type=range].brightness::-ms-thumb {
        width: 50px;
        height: 25px;
        background: #ffffff;
        border: 1px solid rgba(0, 0, 30, 0.3);
        border-radius: 5px;
        cursor: pointer;
        margin-top: 0px;
        /*Needed to keep the Edge thumb centred*/
    }
    input[type=range].brightness:focus::-ms-fill-lower {
        background: rgba(105, 105, 105, 0.78);
    }
    input[type=range].brightness:focus::-ms-fill-upper {
        background: #808080;
    }

    how to remove the virtical space around the range input in IE*/
    @supports (-ms-ime-align:auto) {

        input[type=range].brightness {
            margin: 0;
            /*Edge starts the margin from the thumb, not the track as other browsers do*/
        }
    }
