:root
{
	--fg: #1a1a1a;
	--bg: #eee;
	--ac: #4ca650;
	--imgbd: #a6a6a6;
}

/* Programmed by ItsZariep */
body
{
	font-family: Arial, sans-serif;
	margin: 0;
	padding: 10px;
	background-color: var(--bg);
	color: var(--fg);
}

button
{
	padding: 10px 20px;
	margin: 10px 0px 10px 0px;
	font-size: 16px;
	background-color: #4ca650;
	color: white;
	border: none;
	cursor: pointer;
	width: 333px;
}
	button:hover
	{
		background-color: #26702a;
	}

p
{
	margin-top: 10px;
	margin-bottom: 10px;
}

a
{
	color: #1a1a1a;
	margin-top: 5px;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 15px;
	font-weight: bold;
	border: 2px solid;
}

a:hover
{
	background-color: #4ca650;
}

label
{
	display: inline-block;
	margin-top: 10px;
}

img
{
	border: 3px solid var(--imgbd);
	margin: 3px;
	border-radius: 6px;
}

.ctrlctn {
	display: flex;
	font-size: 0.75rem;
	justify-content: space-around;
}

.bcctn {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 15px;
	flex-wrap: nowrap;
}

.bottomctn {
	display: flex;
	justify-content: space-between;
	flex-direction: row;
	align-items: center;
}

.switch
{
	position: relative;
	display: inline-block;
	width: 60px;
	height: 24px;
}
	.switch input
	{
		opacity: 0;
		width: 0;
		height: 0;
	}
	input[type="number"]
	{
		width: 50px;
		padding: 5px;
		border-radius: 3px;
		border: 1px solid #ccc;
		text-indent: 17px;
		height:30px;
		background-color: transparent;
	}
		input[type="number"]::-webkit-inner-spin-button,
		input[type="number"]::-webkit-outer-spin-button
		{
			height: 61px;
			width: 33px;
			transform: rotate(90deg) translateY(20px) translateX(15px);
			opacity: 1;
		}

.switch {
	position: relative;
	display: inline-block;
	width: 40px;   /* smaller, square-like */
	height: 20px;
}

.switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.slider
{
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	transition: .3s;
	border-radius: 6px;
}
	.slider:before
	{
		position: absolute;
		content: "";
		height: 12px;
		width: 12px;
		left: 4px;
		bottom: 4px;
		background-color: white;
		transition: .3s;
		border-radius: 3px;
		z-index: 1;
	}

	.slider:after
	{
		content: "L";
		position: absolute;
		right: 6px;
		top: 50%;
		transform: translateY(-50%);
		font-size: 11px;
		color: black;
		z-index: 2;
		pointer-events: none;
	}

	input:checked + .slider:after
	{
		content: "D";
		left: 6px;
		right: auto;
		color: white;
	}

	input:checked + .slider
	{
		background-color: #333;
	}

	input:checked + .slider:before
	{
		transform: translateX(20px);
	}
	.slider.overlay-slider:after
	{
		content: "OFF";
		font-size: 8px;
	}
	input:checked + .slider.overlay-slider:after
	{
		content: "ON";
		font-size: 8px;
	}
	.overlayctn
	{
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		font-size: 0.75rem;
	}

#image-container
{
	margin: 5px 0px 5px 0px;
	border: 1px solid var(--imgbd);
	border-radius: 9px;
	padding: 10px;
	max-width: 300px;
}

#image-container > *
{
	width: 100%;
}

.light-mode
{
	background-color: var(--bg);
	color: var(--fg);
}

.dark-mode
{
	background-color: var(--fg);
	color: var(--bg);
}
	.dark-mode input[type="number"]
	{
		color: var(--bg);
	}

	.dark-mode a
	{
		color: var(--bg);
	}
