<input id="checkboxInput" type="checkbox" /> <label class="toggleSwitch" for="checkboxInput"> <div class="speaker"> <svg viewBox="0 0 75 75" version="1.0" xmlns="http://www.w3.org/2000/svg"> <path style="stroke:#fff;stroke-width:5;stroke-linejoin:round;fill:#fff;" d="M39.389,13.769 L22.235,28.606 L6,28.606 L6,47.699 L21.989,47.699 L39.389,62.75 L39.389,13.769z" ></path> <path style="fill:none;stroke:#fff;stroke-width:5;stroke-linecap:round" d="M48,27.6a19.5,19.5 0 0 1 0,21.4M55.1,20.5a30,30 0 0 1 0,35.6M61.6,14a38.8,38.8 0 0 1 0,48.6" ></path>
.toggleSwitch { width: 50px; height: 50px; position: relative; display: flex; align-items: center; justify-content: center; background-color: rgb(39, 39, 39); border-radius: 50%; cursor: pointer; transition-duration: 0.3s; box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.13);