@font-face {
	font-family: 'Victor Mono';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(../fonts/victor-mono-400.woff2);
	unicode-range: U+000-5FF;
}

@font-face {
	font-family: 'Victor Mono';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url(../fonts/victor-mono-700.woff2);
	unicode-range: U+000-5FF;
}

:root {
	color-scheme: light dark;
	--font: 'Victor Mono', monospace;
	--fontsize: 1rem;
	--lineheight: 1.75rem;
}

/*:root {
    color-scheme: light dark;
}

body {
    background: light-dark(#eeeeee, #333333) !important;
}*/



* {
	box-sizing: content-box;
	scroll-behavior: smooth;
}

html {
	overflow-y: scroll;
}

html, body {
	background-color: var(--body);
	color: var(--text);
	font-family: var(--font);
	font-size: var(--fontsize);
	line-height: var(--lineheight);
	margin: 0;
	padding: 0;
}

a {
	color: var(--text);
	display: inline-block;
	text-decoration: underline;
	text-decoration-color: var(--line);
	text-decoration-thickness: .05rem;
	/* text-decoration-style: wavy; */
	text-underline-offset: 2px;
}

a.male {
	color: var(--blue);
	text-decoration-color: var(--blue);
}

a.female {
	color: var(--purple);
	text-decoration-color: var(--purple);
}

a > img {
	vertical-align: top;
}

p {
	hyphens: auto;
	margin: 0;
	padding: 10px 0;
	text-align: left;
	word-wrap: break-word;

	-moz-hyphens: auto;
	-webkit-hyphens: auto;
	-o-hyphens: auto;
}

code {
	background-color: var(--code);
	border-radius: 5px;
	color: var(--orange);
	padding: 3px 5px;
}

blockquote {
	background-color: var(--highlight);
	border-left: 5px solid var(--dark);
	margin: 10px 0 10px 20px;
}

blockquote > p {
	padding: 10px 15px;
}

ul {
	margin: 0 0 0 30px;
	padding: 5px 0;
}

ul > li {
	padding: 5px 0;
}

ul > li > a > svg {
	height: 20px;
	width: 20px;
}

ul > li > ul {
	margin: 0 0 0 20px;
}

ol {
	list-style-type: none;
	counter-reset: item;
	margin: 5px 0 0 10px;
	padding: 5px 0;
}

ol > li {
	display: table;
	counter-increment: item;
	padding: 5px 0;
}

ol > li > div {
	padding: 5px 0;
}

ol > li:before {
	content: counters(item, ".");
	display: table-cell;
	font-weight: 700;
	width: 25px;
}

ol > li > ol {
	margin: 0;
}

ol > li > ol > li:before {
	content: counters(item, ".");
	width: 40px;
}

ol > li > ol.second > li > ol.third > li:before {
	width: 50px;
}

ol.third {
	margin-bottom: -5px;
}

input:not([type="checkbox"]),
textarea,
select {
	background-color: var(--field_bg);
	border: 1px solid var(--field_border);
	border-radius: 3px;
	color: var(--field_text);
	font-family: var(--font);
	font-size: var(--fontsize);
	line-height: 100%;
	outline: none;
	resize: none;
	padding: 5px 8px;
	width: calc(100% - (9px * 2));
}

input::placeholder,
textarea::placeholder,
select::placeholder {
	line-height: 140%;
	opacity: .8;
}

mark {
	margin: 0 -0.4em;
	padding: 0.1em 0.4em;
	border-radius: 0.8em 0.3em;
	background: transparent;
	background-image: var(--marker);
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

input[disabled],
textarea[disabled],
select[disabled] {
	background-color: var(--field_bg_inactive);
	border: 1px dashed var(--field_border_inactive);
	color: var(--field_text_inactive);
	cursor: not-allowed;
}

input:not([disabled]):not([readonly]):focus,
input:not([disabled]):not([readonly]):hover,
textarea:not([disabled]):not([readonly]):focus,
textarea:not([disabled]):not([readonly]):hover,
select:not([disabled]):focus,
select:not([disabled]):hover {
	background-color: var(--field_bg_hover);
	border: 1px solid var(--field_border_hover);
}

input[type="submit"],
input[type="submit"]:focus,
input[type="submit"]:hover {
	background-color: var(--green) !important;
	border: 1px solid var(--green) !important;
	color: var(--main);
	cursor: pointer;
	font-weight: 700;
	padding: 8px 10px;
	width: auto;
}

input[type="submit"][disabled] {
	background-color: var(--highlight) !important;
	border: 1px dashed var(--line) !important;
	color: var(--text);
	cursor: not-allowed;
	opacity: .7;
}

input[type="radio"] {
	cursor: pointer;
	line-height: 100%;
	opacity: 0;
	position: absolute;
	width: auto;
}

input[type="radio"] + label {
	border: 1px solid transparent;
	cursor: pointer;
	margin: 0 3px;
	opacity: .7;
	padding: 1px 3px;
}

input[type="radio"]:checked + label {
	background-color: var(--checked);
	backdrop-filter: blur(3px);
	border-radius: 2px;
	color: var(--checked_str);
	opacity: 1;
}

input[type="radio"]:checked:focus + label {
	border: 1px solid var(--checked_focus);
}

input[type="date"] {
	appearance: none;
}

input[readonly] {
	border: 1px dashed var(--line);
}

input, textarea {
	caret-color: var(--yellow);
}

textarea {
	height: 200px;
	line-height: 180%;
	min-height: 150px;
	resize: vertical;
	vertical-align: top;
	padding: 5px 10px;
	width: calc(100% - 20px - (1px * 2));
}

select {
	appearance: none;
	background-image: var(--icon_select);
	background-size: 17px;
	background-repeat: no-repeat;
	background-position: center right 8px;
	cursor: pointer;
	padding: 8px;
	width: calc(100% - 20px);
}

h1 {
	font-size: 190%;
	font-weight: 700;
	margin: 0 0 5px 0;
	line-height: 2.5rem;
	padding: 0;
}

h1.nav {
	align-items: center;
	display: inline-flex;
	flex-flow: row wrap;
}

h1 > svg,
h1 > a > svg {
	margin: 0 5px;
	opacity: .4;
	width: 32px;
}

h2 {
	font-size: 140%;
	font-weight: 700;
	margin: 30px 0 0 0;
	padding: 0;
}

hr {
	border: 0;
	border-top: 1px solid var(--line);
	margin: 30px -50px;
	padding: 0;
}

sup {
	vertical-align: top;
}

figure {
	margin-block-start: 0;
	margin-block-end: 0;
	margin-inline-start: 0;
	margin-inline-end: 0;
	margin: 0;
}

figure,
figure > img {
	object-fit: cover;
	vertical-align: top;
}

svg {
	height: 100%;
	vertical-align: top;
	width: 20px;
}

svg[class*="icon-tabler-gender-female"] {
	stroke: var(--purple);
}

svg[class*="icon-tabler-gender-male"] {
	stroke: var(--blue);
}



form > .item:not(.first) {
	margin-top: 20px;
}

form > .item > .label,
form > .side-by-side > .item > .label {
	line-height: 140%;
	margin-bottom: 8px;
	margin-left: 9px;
}

form > .item > .desc,
form > .side-by-side > .item > .desc {
	color: var(--blue);
	font-size: 88%;
	line-height: 140%;
	margin-top: 5px;
	padding: 5px;
}

form > .button {
	align-items: center;
	display: flex;
	flex-flow: row nowrap;
	justify-content: flex-end;
	margin-top: 10px;
	text-align: right;
}



details {
	border: 1px dashed var(--line);
	border-radius: 5px;
	padding: 3px;
	position: relative;
	z-index: 9999;
}

details:not(:first-child) {
	margin-top: 5px;
}

details > summary {
	align-items: flex-start;
	cursor: pointer !important;
	display: flex;
	flex-flow: row nowrap;
	font-size: 124%;
	font-weight: 700;
	list-style-type: none;
	margin: 0;

	user-select: none;
	-moz-user-select: none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	-webkit-user-drag: none;
}

details > summary {
	padding: 10px;
}

details > summary:hover {
	background-color: var(--highlight);
}

details > summary > svg,
details > summary > div > svg {
	margin-right: 10px;
	width: 24px;
}

details > summary > .open,
details > summary > .close {
	padding: 5px 0;
}

details > summary > .open > div,
details > summary > .close > div {
	align-items: center;
	display: flex;
	margin-right: 20px;
}

details > summary > .close {
	display: none;
}

details[open]:not(:last-child) {
	margin-bottom: 20px;
}

details[open] > summary {
	background-color: var(--highlight);
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
	margin-bottom: 2px;
}

details[open] > summary > .open {
	display: none;
}

details[open] > summary > .close {
	display: inline-block;
}

details[open] > .content {
	background-color: var(--highlight);
	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
	padding: 0 10px;
}















#website {
	margin: 10px auto 0 auto;
	max-width: 800px;
}

#website.logged-out {
	margin: 10px auto 50px auto;
}

#website > header > a {
	align-items: center;
	background-image: url(../images/logo-bg.webp);
	background-size: 100%;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 5px;
	color: var(--white);
	display: flex;
	flex-flow: row nowrap;
	justify-content: center;
	margin-bottom: 10px;
	padding: 30px;
	text-decoration: none;
	transition: background-size .5s linear;
}

#website > header > a:hover {
	background-size: 105%;
}

#website > header > a > .logo {
	align-items: center;
	background-color: var(--white);
	border-radius: 100%;
	display: flex;
	justify-content: center;
	height: 62px;
	margin-right: 20px;
	width: 62px;
}

#website > header > a > .logo > img {
	width: 52px;
}

#website > header > a > div > .top {
	font-size: 222%;
	font-weight: 700;
}

#website > header > a > div > .meaning {
	line-height: 100%;
	margin-top: 10px;
	opacity: .7;
}

#website > nav {
	margin-bottom: 50px;
}

#website > nav > ul {
	align-items: center;
	display: flex;
	flex-flow: row nowrap;
	list-style-type: none;
	margin: 0;
	padding: 0;
}

#website > nav > ul > li {
	padding: 0;
}

#website > nav > ul > li > a,
#website > nav > ul > li > div {
	align-items: center;
	color: var(--text);
	display: inline-flex;
	flex-flow: row nowrap;
	line-height: 100%;
	padding: 10px;
	text-decoration: none;
}

#website > nav > ul > li > a:hover {
	background-color: var(--highlight);
	border-radius: 4px;
}

#website > nav > ul > li > a > svg,
#website > nav > ul > li > div > svg {
	margin-right: 8px;
	width: 16px;
}

#website > nav > ul > li > div {
	opacity: .4;
	padding: 12px 10px;
}

#website > .die {
	background-color: var(--highlight);
	border-radius: 5px;
	padding: 5px 20px;
}

#website > .die.error {
	background-color: var(--die_bg_error);
}

#website > .die > p {
	padding: 10px 0;
	text-align: left;
}

#website > .die > p > a {
	color: var(--text);
	padding: 10px 0;
	text-align: left;
}

#website > footer {
	background-color: var(--transparent_20);
	backdrop-filter: blur(10px);
	bottom: 0;
	font-size: 90%;
	margin-top: 30px;
	padding: 10px;
	position: sticky;
	text-align: center;
	z-index: 100;
}

#website > footer > a {
	color: var(--text);
}















.color-grey {
	opacity: .6;
}

.color-red {
	color: var(--red) !important;
}

.color-green {
	color: var(--green);
}

.color-blue {
	color: var(--blue);
}

.color-yellow {
	color: var(--yellow);
}



.checkboxes {
	padding: 20px 0;
}

.checkbox.nodesc {
	margin-top: 0;
}

.checkbox > div {
	align-items: center;
	display: inline-flex;
	flex-direction: row;
	position: relative;
}

.checkbox > div > input {
	cursor: pointer !important;
	left: 5px;
	opacity: 0;
	position: absolute;
	top: 5px;
}

.checkbox > div > input[disabled],
.checkbox > div > input[disabled] ~ label {
	color: var(--checkbox_disabled);
	cursor: not-allowed !important;
	user-select: none;
	-moz-user-select: none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	-webkit-user-drag: none;
}

.checkbox > div > input[disabled] ~ .icon-checkbox > svg > path:not(:first-child) {
	color: var(--checkbox_disabled);
}

.checkbox > div > .icon-checkbox {
	left: 6px;
	position: absolute;
	pointer-events: none;
	top: 5px;
}

.checkbox > div > .icon-checkbox.is-checked,
.checkbox > div > input:checked ~ .icon-checkbox.is-unchecked {
	opacity: 0;
}

.checkbox > div > input:checked ~ .is-checked {
	opacity: 1;
}

.checkbox > div > label {
	cursor: pointer !important;
	line-height: 140%;
	padding: 4px 8px 4px 35px;
}

.checkbox > div > input:not([disabled]):hover ~ .icon-checkbox,
.checkbox > div > input:not([disabled]):hover ~ label,
.checkbox > div > input:not([disabled]):focus ~ .icon-checkbox,
.checkbox > div > input:not([disabled]):focus ~ label {
	background-color: var(--checkbox_focus);
	border-radius: 3px;
}

.checkbox > .desc {
	color: var(--blue);
	display: block;
	left: 35px;
	line-height: 140%;
	font-size: 90%;
	margin-bottom: 30px;
	top: 5px;
	width: 60%;
}



.empty {
	opacity: .4;
}

.zero {
	opacity: .1;
}



.message {
	color: var(--blue);
	display: flex;
	font-size: 102%;
	justify-content: center;
	padding: 20px 10px;
}

.msg {
	display: none;
}

.msg > div {
	align-items: flex-start;
	display: flex;
	flex-direction: row;
	font-size: 100%;
	margin-bottom: 20px;
	padding: 0;
	text-align: left;
}

.msg > div > svg {
	margin-right: 10px;
}



.mono {
	font-family: var(--font_mono) !important;
	font-size: 100%;
}

.no-select {
	cursor: default;

	user-select: none;
	-moz-user-select: none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	-webkit-user-drag: none;
}

.side-by-side {
	align-items: flex-start;
	display: flex;
	flex-flow: row wrap;
}

.hidden {
	display: none !important;
}

.visible {
	display: block !important;
}



@keyframes rotation {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}
