body {
	background-color: #222;
	color: #fff;
	font-family: sans-serif;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	margin: 0;
	padding: 20px;
	box-sizing: border-box;
}
h1 {
	font-size: 1.2rem;
	margin-bottom: 15px;
}
.container {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: center;
	align-items: flex-start;
	max-width: 1100px;
}
canvas {
	border: 2px solid #555;
	background-color: #000;
	box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}
.sidebar {
	display: flex;
	flex-direction: column;
	gap: 15px;
	width: 310px;
}
.controls {
	background: #333;
	padding: 15px;
	border-radius: 8px;
	box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.explanation {
	background: #2a2a2a;
	border-left: 4px solid #00ffcc;
	padding: 15px;
	border-radius: 4px;
	font-size: 0.85rem;
	line-height: 1.5;
	color: #ddd;
}
.explanation h2 {
	font-size: 1rem;
	margin-top: 0;
	margin-bottom: 10px;
	color: #00ffcc;
}
.explanation ul {
	padding-left: 20px;
	margin: 8px 0;
}
.formula {
	background: #1a1a1a;
	padding: 5px;
	border-radius: 4px;
	font-family: 'Courier New', Courier, monospace;
	font-size: 0.8rem;
	color: #ffcc00;
	margin: 5px;
	white-space: pre-wrap;
}
.control-group {
	margin-bottom: 12px;
}
.control-group label {
	display: block;
	font-size: 0.85rem;
	margin-bottom: 4px;
	color: #ccc;
}
.control-group input[type="range"] {
	width: 100%;
}
.value-display {
	float: right;
	font-weight: bold;
	color: #00ffcc;
}
button {
	width: 100%;
	padding: 8px;
	margin-top: 8px;
	background-color: #444;
	color: white;
	border: 1px solid #666;
	border-radius: 4px;
	cursor: pointer;
	font-weight: bold;
}
button:hover {
	background-color: #555;
}
.preset-buttons {
	display: flex;
	gap: 5px;
	margin-top: 10px;
}
.preset-buttons button {
	margin-top: 0;
	font-size: 0.75rem;
	padding: 5px;
}

a {
	text-decoration: none;
	font-size: 1.2rem;

}

a:link {
	color:yellow;
}

a:visited {
	color:#fff;
}
