body {
    font-family: "Inter", Arial, sans-serif;
    color: #8a91b4;
    background: #000000;
    padding:20px;
}

.app {
    display: grid;
    grid-gap: 15px;
    overflow: hidden;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    grid-auto-flow: dense;
}

.item {
    border-radius: 20px;
    background: #24292e;
    padding: 10px;
    color: #FFF;
    border: 1px solid #626262;
}
.item img {
    width: 96px;
    height: 96px;
}

.item.long {
    grid-column: span 2;
}

.item .logo:active {
    cursor: pointer;
    filter: none !important;
    opacity: 1.0 !important;
}

.icon-gray {
    filter: grayscale(1);
    opacity: 0.4;
}

.led_range {
    -webkit-tap-highlight-color: rgba(255,255,255,0);
    width: 100%;
    /*height: 8px;*/
    background-color: #fff;
    box-shadow: 1px 1px 1.5px -0.5px rgba(255,255,255,0.1),0.5px 1px 4px 0px rgba(0,0,0,0.7) inset;
    background-image: -webkit-gradient(linear, 0% 0%, 100% 0%, color-stop(0.5, rgb(61, 205, 255)), color-stop(0.5, rgb(255, 255, 255)));
}

input.white_t_range {
    -webkit-appearance: none;
    width: 100%;
    /*height: 8px;*/
    background-color: #fff;
    background-image: linear-gradient(to right,#fac864,#f0f6ff);
    box-shadow: 1px 1px 1.5px -0.5px rgb(255 255 255 / 10%), 0.5px 1px 4px 0px rgb(0 0 0 / 70%) inset;
}

@supports (-webkit-appearance: none) or (-moz-appearance: none) {
    input[type=checkbox],
    input[type=radio] {
        --active: #275efe;
        --active-inner: #fff;
        --focus: 2px rgba(39, 94, 254, 0.3);
        --border: #bbc1e1;
        --border-hover: #275efe;
        --background: #fff;
        --disabled: #f6f8ff;
        --disabled-inner: #e1e6f9;
        -webkit-appearance: none;
        -moz-appearance: none;
        height: 21px;
        outline: none;
        display: inline-block;
        vertical-align: top;
        position: relative;
        margin: 0;
        cursor: pointer;
        border: 1px solid var(--bc, var(--border));
        background: var(--b, var(--background));
        transition: background 0.3s, border-color 0.3s, box-shadow 0.2s;
    }

    input[type=checkbox]:after,
    input[type=radio]:after {
        content: "";
        display: block;
        left: 0;
        top: 0;
        position: absolute;
        transition: transform var(--d-t, 0.3s) var(--d-t-e, ease), opacity var(--d-o, 0.2s);
    }

    input[type=checkbox]:checked,
    input[type=radio]:checked {
        --b: var(--active);
        --bc: var(--active);
        --d-o: 0.3s;
        --d-t: 0.6s;
        --d-t-e: cubic-bezier(0.2, 0.85, 0.32, 1.2);
    }

    input[type=checkbox]:disabled,
    input[type=radio]:disabled {
        --b: var(--disabled);
        cursor: not-allowed;
        opacity: 0.9;
    }

    input[type=checkbox]:disabled:checked,
    input[type=radio]:disabled:checked {
        --b: var(--disabled-inner);
        --bc: var(--border);
    }

    input[type=checkbox]:disabled + label,
    input[type=radio]:disabled + label {
        cursor: not-allowed;
    }

    input[type=checkbox]:hover:not(:checked):not(:disabled),
    input[type=radio]:hover:not(:checked):not(:disabled) {
        --bc: var(--border-hover);
    }

    input[type=checkbox]:focus,
    input[type=radio]:focus {
        box-shadow: 0 0 0 var(--focus);
    }

    input[type=checkbox]:not(.switch),
    input[type=radio]:not(.switch) {
        width: 21px;
    }

    input[type=checkbox]:not(.switch):after,
    input[type=radio]:not(.switch):after {
        opacity: var(--o, 0);
    }

    input[type=checkbox]:not(.switch):checked,
    input[type=radio]:not(.switch):checked {
        --o: 1;
    }

    input[type=checkbox] + label,
    input[type=radio] + label {
        font-size: 14px;
        line-height: 21px;
        display: inline-block;
        vertical-align: top;
        cursor: pointer;
        margin-left: 4px;
    }

    input[type=checkbox]:not(.switch) {
        border-radius: 7px;
    }

    input[type=checkbox]:not(.switch):after {
        width: 5px;
        height: 9px;
        border: 2px solid var(--active-inner);
        border-top: 0;
        border-left: 0;
        left: 7px;
        top: 4px;
        transform: rotate(var(--r, 20deg));
    }

    input[type=checkbox]:not(.switch):checked {
        --r: 43deg;
    }

    input[type=checkbox].switch {
        width: 38px;
        border-radius: 11px;
    }

    input[type=checkbox].switch:after {
        left: 2px;
        top: 2px;
        border-radius: 50%;
        width: 15px;
        height: 15px;
        background: var(--ab, var(--border));
        transform: translateX(var(--x, 0));
    }

    input[type=checkbox].switch:checked {
        --ab: var(--active-inner);
        --x: 17px;
    }

    input[type=checkbox].switch:disabled:not(:checked):after {
        opacity: 0.6;
    }

    input[type=radio] {
        border-radius: 50%;
    }

    input[type=radio]:after {
        width: 19px;
        height: 19px;
        border-radius: 50%;
        background: var(--active-inner);
        opacity: 0;
        transform: scale(var(--s, 0.7));
    }

    input[type=radio]:checked {
        --s: 0.5;
    }

    input[type=range] {
        -webkit-appearance: none;
        margin: 10px;
        height: 10px;
        border-radius: 40px;
    }

    input[type=range]::-webkit-slider-thumb {
        box-shadow: 1px 1px 1px #000000;
        border: 0px solid #fff;
        height: 25px;
        width: 25px;
        border-radius: 40px;
        background: #305bff;
        cursor: pointer;
        -webkit-appearance: none;
        margin-top: 0;
    }
}

.logo {
    float:left;
    border-right: solid 1px #4c4c4c;
}
.content {
    float:left;
    padding-left:5px;
    width:75%;
}

@media only screen and (max-width: 654px) {
    .item {
        grid-column: span 2;
    }
}