html, body {
	width: 100%;
	margin: 0;
}
body {
	min-height: 100vh;
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	box-sizing: border-box;
	background: linear-gradient( #00e4ff, transparent ), linear-gradient( -45deg, white, transparent ), linear-gradient( 45deg, #2723de, transparent );
	background-blend-mode: multiply;
	font-family: 'Do Hyeon', sans-serif;
}
main {
	width: 400px;
	margin: 4%;
	padding: 20px;
	background-color: #484848;
	border: 1px solid #3a3a3a;
	text-align: center;
	color: #dcdcdc;
}
canvas {
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	width: 100%;
	height: 100%;
}
h1, h2, h3, h4, h5, h6, .success, a {
	color: #dcdcdc;
}
p {
	text-align: justify;
	font-family: 'Do Hyeon', sans-serif;
}
a {
	text-decoration: none;
	transition: font-weight 0.1s;
}
a:hover {
	color: #333535;
	font-weight: 700;
}
noscript {
	color: red;
}
input:not([type="radio"]):not([type="checkbox"]), textarea, button, .button {
	display: block;
	width: 100%;
}
input, textarea, button, .button {
	box-sizing: border-box;
	margin-bottom: 20px;
	padding: 8px;
	border: 1px solid #3a3a3a;
	border-radius: 4px;
	font-family: inherit;
	background-color: #fff;
	color: #000;
}
input, button, .button {
	font-size: 1.5em;
}
input[type=submit], button, .button {
	background-color: #333535;
	color: #fff;
}
input[type=submit]:hover, button:hover, .button:hover {
	background-color: #0f86de;
	cursor: pointer;
	color: #fff;
}
input[type=submit]:disabled, button:disabled, .button:disabled {
	background-color: #d4d4d4;
	color: #fff;
}
input[type=submit]:hover:disabled, button:hover:disabled, .button:hover:disabled {
	cursor: not-allowed;
}
textarea {
	width: 100%;
	height: 150px;
}
h2 {
	font-size: 1.4em;
}
footer {
	display: flex;
	flex-flow: column;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	background-color: #333535;
	font-size: 0.9em;
	color: #fff;
}
footer > div {
	margin: 2vh;
}
footer a, footer a:hover {
	color: #fff;
	text-decoration: none;
}
footer #patreon {
	text-align: center;
}
.patreon-widget {
	width: 178px !important;
}
::placeholder {
	color: #757575;
}
.closed, .closed h1, .closed h2 {
	color: #da7d06;
}
.error, .error h1, .error h2 {
	color: #d01d1d;
}
.error h2 {
	margin-top: -5px;
}
article.privacy {
	text-align: justify;
}
article.privacy h1, article.privacy h2, article.privacy h3, article.privacy p {
	margin: 0;
	padding: 0;
}
article.privacy h1, article.privacy h2, article.privacy h3 {
	font-size: 0.9em;
}
article.privacy p {
	margin-bottom: 20px;
}
.left {
	text-align: left;
}
.justify {
	text-align: justify;
}
.resetPadding {
	padding: 0;
}

.jsHide {
	display: none;
}
label.checkbox {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
}
label.checkbox input {
	visibility: hidden;
	display: block;
	height: 0;
	width: 0;
	position: absolute;
	overflow: hidden;
}
label.checkbox span {
	height: 50px;
	width: 50px;
	border: 1px solid #cacaca;
	border-radius: 4px;
	display: inline-block;
	position: relative;
	margin-right: 20px;
}
[type=checkbox]:checked + span::before {
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	font-size: 4em;
	color: #63aa4e;
	content: "\f00c";
	position: absolute;
	top: -10px;
	left: 0;
}
label.checkbox .tooltip {
	margin-left: auto;
}

.switch-field {
	display: inline-block;
	margin-bottom: 20px;
	overflow: hidden;
}
.switch-title {
	margin-bottom: 6px;
}
.switch-field input {
	position: absolute !important;
	clip: rect(0, 0, 0, 0);
	height: 1px;
	width: 1px;
	border: 0;
	overflow: hidden;
}
.switch-field label {
	float: left;
}
.switch-field label {
	display: inline-block;
	width: 60px;
	background-color: #e4e4e4;
	color: rgba(0, 0, 0, 0.6);
	font-weight: normal;
	text-align: center;
	text-shadow: none;
	padding: 6px 14px;
	border: 1px solid rgba(0, 0, 0, 0.2);
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1);
	transition: all 0.1s ease-in-out;
}
.switch-field label:hover {
	cursor: pointer;
}
.switch-field input:checked + label {
	background-color: #A5DC86;
	box-shadow: none;
}
.switch-field label:first-of-type {
	border-radius: 4px 0 0 4px;
}
.switch-field label:last-of-type {
	border-radius: 0 4px 4px 0;
}

.modal-window {
	position: fixed;
	background-color: rgba(33, 51, 103, 0.25);
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 999;
	opacity: 0;
	pointer-events: none;
	transition: all 0.3s;
}
.modal-window:target {
	opacity: 1;
	pointer-events: auto;
}
.modal-window > div {
	width: 400px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 2em;
	background: #ffffff;
	color: #333333;
}
.modal-window header {
	font-weight: bold;
}
.modal-window h1 {
	font-size: 150%;
	margin: 0 0 15px;
	color: #333333;
}
.modal-close {
	line-height: 50px;
	font-size: 80%;
	position: absolute;
	right: 0;
	text-align: center;
	top: 0;
	width: 70px;
	text-decoration: none;
}
.modal-close::after {
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	font-size: 2em;
	content: "\f410";
}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {
	footer {
		flex-flow: row;
		position: fixed;
		bottom: 0;
		left: 0;
		padding: 5px;
		padding-left: 10px;
		padding-right: 10px;
		transform: translate3d(0, 0, 0);
	}
	footer > div {
		margin: 0;
	}
	footer #patreon {
		text-align: right;
		position: relative;
		right: 15px;
	}
}