.switch{width:60px;height:34px;display:inline-block;position:relative}.switch input{opacity:0;width:0;height:0}.slider{cursor:pointer;background-color:#ccc;inset:0}.slider,.slider:before{transition:all .4s;position:absolute}.slider:before{content:"";background-color:#fff;width:26px;height:26px;bottom:4px;left:4px}input:checked+.slider{background-color:#111311}input:focus+.slider{box-shadow:0 0 1px #111311}input:checked+.slider:before{transform:translate(26px)}.slider.round{border-radius:34px}.slider.round:before{border-radius:50%}
