rt()
	document.querySelector('#controls').addEventListener('click', toggleOptions);

	lightnessSlider.addEventListener("input", function() {
		var lightness = this.value;
		clock.color.lightness = lightness;
		if (clock.color.gradient) {
		  window.body.style.setProperty('--background', `linear-gradient(to right, hsl(${clock.color.hue}, 50%, ${lightness}%) , hsl(${clock.color.hue + 30}, 50%, ${lightness}%))`);
		}

		else {
		  window.body.style.setProperty('--background', `hsl(${clock.color.hue}