:root {
	--light: #C5E3F0;
	--light-lighter: #CCE7F2;
	--light-alpha: #CCE7F265;
	--main: #86C6E0;
	--main-alpha: #86C6E0AA;
	--scrollbar: #50A5C7;
	--darker: #2B61AC;
	--dark: #18335F;
	--darker-light: #2B61ACCC;
}

.darktheme {
	--light: black;
	--main: black;
	--main-alpha: #86C6E0AA;
	--scrollbar: #50A5C7;
	--darker: #86C6E0;
	--dark: #C5E3F0;
	--darker-light: #C5E3F0CC;
	--text: #86C6E0;
}

.red {
	color: red;
}

.back-red {
	background: red;
	color: var(--light);
}

.yellow {
	color: yellow;
}

.back-yellow {
	background: yellow;
}

.back-orange {
	background: orange;
}

.dark-red {
	color: #DC143C;
}

.dark-orange {
	color: #FF8C00;
}

.dark-yellow {
	color: #DAA520;
}

.orange {
	color: #FF6600;
}

.inline-block {
	display: inline-block;
}

.color-main {
	color: var(--darker);
}

.inline-img {
	width: auto;
	height: 1em;
}

.outline-img {
	width: auto;
	height: 1.7em;
	margin-bottom: -0.3em;
}

.line-center-img {
	width: auto;
	height: 1.7em;
	margin: 0 10px -0.25em 0;
}

.center-text {
	text-align: center;
}

.center-block {
	margin: auto;
}

.rotate-animation:hover {
	animation: rotate 1s infinite alternate;
}

@keyframes rotate {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

.wrapper {
	display: grid;
}

.wrapper div:empty {
	display: block !important;
}

.grid-center {
	grid-template-columns: 1fr auto 1fr;
	grid-template-rows: 1fr auto 1fr;
	width: 100%;
	height: 100%;
}

.grid-3 {
	grid-column-start: span 3;
}

.animation-spin {
	animation: spin 1s infinite ease-in-out;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

.monospace {
	font-family: monospace;
	font-size: 1.3em;
}

.italic {
	font-style: italic;
}

.bold {
	font-weight: bold;
}

/*.link-icon {
	background-image: url(https://wikipedia.org/w/skins/Vector/resources/skins.vector.styles/images/external-link-ltr-icon.svg?b4b84);
	background-position: center right;
	background-repeat: no-repeat;
	padding-right: 15px;
	border-bottom: 1px solid;
}*/

.center img {
	width: 100%;
	height: auto;
}

.center h1 {
	font-size: 24px;
	padding: 10px 0;
}

.gray {
	color: gray;
}

.flex {
	display: flex;
}

.flex-center {
	justify-content: center;
	align-items: center;
}

.flag-icon {
	width: 30px;
	vertical-align: -3px;
}

.post .date {
	font-size: 18px;
	background: var(--main);
	color: var(--darker);
	margin-bottom: 6px;
	padding: 2px 6px;
	float: right;
}