.a-toggle {
    height: 32px;
    width: 64px;
    min-width: 64px;
    border-radius: 32px;
    position: relative;
    transition: .4s;
    cursor: pointer;
    box-shadow: 1px 1px 4px rgb(0 0 0 / 40%);
    user-select: none;
}

.a-toggle-on {
    background-color: #2196f3;
}

.a-toggle-off {
    background-color: grey;
}

.a-toggle-on > .a-toggle-circle {
    left: 36px;
}

.a-toggle-circle {
    background-color: white;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    position: absolute;
    top: 4px;
    left: 4px;
    transition: .4s;
}