form {
	text-align: center;
}

input[type="number"] {
	appearance: none;
	-moz-appearance: textfield;
	-webkit-appearance: textfield;
}

button,
input[type="text"],
input[type="number"],
input[type="password"] {
	padding: 1em 0.8em;
	font-size: 1em;
	border: 0.15em solid white;
	border-radius: 12px;
	background-color: #1e1e1e;
	color: white;
	outline: none;
	transition: box-shadow 0.2s, transform 0.2s;
	width: 100%;
	text-align: center;
}

input[type="text"]:focus,
input[type="number"]:focus,
input[type="password"]:focus {
	box-shadow: 0 0 0.2em white;
	transform: scale(1.02);
}

button,
input[type="submit"],
input[type="button"] {
	padding: 12px 20px;
	font-size: 16px;
	background-color: var(--secondary);
	color: var(--primary);
	border: none;
	border-radius: 12px;
	cursor: pointer;
	transition: background 0.3s, transform 0.2s;
	font-weight:bold;
}

button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
	color: hsl(from var(--primary) h s calc(l - 10));
	background-color: hsl(from var(--secondary) h s calc(l - 10));
	transform: scale(1.02);
	font-weight:bold;
}

button:active,
input[type="submit"]:active,
input[type="button"]:active {
	transform: scale(0.97);
	font-weight:bold;
}