<link rel="stylesheet" href="toggle.css" />
<input type="checkbox" id="darkmode-toggle" />
<label for="darkmode-toggle">
  <svg
    version="1.1"
    class="sun"
    xmlns="http://www.w3.org/2000/svg"
    xmlns:xlink="http://www.w3.org/1999/xlink"
    x="0px"
    y="0px"
    viewBox="0 0 496 496"
    style="enable-background: new 0 0 496 496"
    xml:space="preserve"
  >
    <rect
      x="152.994"
      y="58.921"
      transform="matrix(0.3827 0.9239 -0.9239 0.3827 168.6176 -118.5145)"
      width="40.001