:root {
    --l: 300px
}

body {
    background: lavender;
  

}

#contenedor-reloj {
    width: var(--l);
    height: var(--l);
    position: relative;
    margin-top: 150px;
}

#fondo,
#manecilla-segundo,
#manecilla-minuto,
#manecilla-hora,
#puntos {
    position: absolute;
}

#elementos-svg {
    position: relative;
}

#fondo {
    width: var(--l);
    height: var(--l);
    background: lightgray;
    box-shadow: inset -5px -5px 5px 3px white,
        inset 5px 5px 5px 3px black,
        -5px -5px 5px 3px white,
        5px 5px 5px 3px black;
    border-radius: 50%;
    opacity: 0.3;

}

body.darkMode{
    background-color: black;
}
#fondo.darkMode{
background: white;
}

.toggle-switch {
    position: relative;
    width: 200px;
    
    
  }
  
  label {
    position: absolute;
    width: 47%;
    height: 35px;
    background-color: #28292c;
    border-radius: 50px;
    cursor: pointer;
  }
  
  input {
    position: absolute;
    display: none;
  }
  
  .slider {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    transition: 0.3s;
  }
  
  input:checked ~ .slider {
    background-color: #d8dbe0;
  }
  
  .slider::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 10px;
    width: 34px;
    height: 25px;
    border-radius: 50%;
    box-shadow: inset 14px -2px 0px 0px #d8dbe0;
    background-color: #28292c;
    transition: 0.3s;
  }
  
  input:checked ~ .slider::before {
    transform: translateX(40px);
    background-color:#28292c ;
    box-shadow: none;
  }

  .togglePosition{
    display: flex;
    flex-wrap: inherit; 
    align-items: center;
    justify-content: flex-end;
    margin-left: 800px;
  }
