@font-face {
	font-family: "TTW";
	font-weight: 300;
	src: url('/titillium_regular.ttf');
}

@font-face {
	font-family: "TTW";
	font-weight: 700;
	src: url('/titillium_black.ttf');
}

@font-face {
	font-family: "OX";
	font-weight: 300;
	src: url('/oxanium.ttf');
}

@font-face {
	font-family: "MC";
	src: url('/minecraft.otf');
}

html {
	--void: #110b21;
	background-color: var(--void);
	font-family: "TTW";
	overflow-x: hidden;
	overflow-y: auto;
	width: 100%;
	/* filter: hue-rotate(10deg); */
}

main {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
	margin: 30vw 5vw auto 5vw;
}

main >div {
	width: 500px;
	max-width: 100vw;
	flex-grow: 1;
	flex-shrink: 0;
}

footer {
	color: rgba(128, 128, 128, 1);
	text-align: center;
	margin-bottom: 30px;
}

#banner {
	position: absolute;
	width: 100%;
	left: 0;
	top: 0;
	animation: Fatboy 0.8s cubic-bezier(0.8, 0, 0.7, 1) 0s forwards;
	pointer-events: none;
}

#logo {
	position: absolute;
	left: 50%;
	top: 17vw;
	height: 15vw;
	transform: translateX(-50%) translateY(-50%);
	opacity: 0;
	filter: brightness(1.1) drop-shadow(-0.2vw -0.4vw #fff7) drop-shadow(0px 0px 10px #fff9);
	animation: Kuroko 0.3s ease-out 0.36s forwards;
}

@keyframes Kuroko {
	0% { opacity: 0; }
	18% { opacity: 1; }
	36% { opacity: 0; }
	54% { opacity: 1; }
	72% { opacity: 0; }
	81% { opacity: 1; }
	90% { opacity: 0; }
	100% { opacity: 1; }
}

@keyframes Fatboy {
	0% { transform: scale(1.05); }
	100% { transform: scale(1); }
}

@keyframes Kouzaku {
	0% { opacity: 0; transform: translateY(-10px); }
	100% { opacity: 1; transform: translateY(0); }
}

section {
	--fg: #ff28ff;
	--bg: #701970;
	color: #fff;
	margin: 1em;
	padding: 1em;
	transition: all 0.3s ease-out;
}

section::selection, section *::selection {
	background-color: var(--fg);
	color: #000;
}

a {
	color: inherit;
	text-decoration: inherit;
}

section >* {
	opacity: 0;
	animation: Kouzaku 0.3s ease-out 0.36s forwards;
}

section h1 {
	--len: 5em;
	margin: 0;
	font-size: 2em;
	position: relative;
	z-index: 1;
	opacity: 0;
	animation: Kouzaku 0.3s ease-out 0.26s forwards;
}

section h1::before {
	content: '';
	position: absolute;
	z-index: -1;
	width: var(--len);
	height: 1em;
	top: 0;
	left: 1em;
	background: var(--bg);
	pointer-events: none;
}

section h1::after {
	content: '';
	position: absolute;
	width: var(--len);
	height: 3px;
	top: 100%;
	left: 0;
	background-color: var(--fg);
	pointer-events: none;
	transition: all 0.2s ease-out;
}

section:hover h1::after {
	width: calc(var(--len) + 0.4em);
	transition: all 0.3s ease-out;
}

section:not(:hover) {
	opacity: 0.9;
	transition: all 0.3s ease-out;
}

.push {
	color: #fff;
	position: relative;
	display: block;
	margin: 1em 0 1em 0;
	padding: 0.5em;
	line-height: 1.2em;
	border: 1px solid var(--fg);
	padding-left: 3.5em;
	z-index: 1;
}

.push img {
	position: absolute;
	left: 1.75em;
	top: 50%;
	width: 2.5em;
	max-height: 2.5em;
	transform: translateX(-50%) translateY(-50%);
}

.push h2 {
	position: relative;
	margin: 0;
	top: 1px;
	font-size: 1.25em;
	letter-spacing: 1px;
}

.push p {
	margin: 0;
	font-weight: 700;
	letter-spacing: 0.6px;
}

.push:hover {
	background-color: var(--fg);
	color: #000;
}

.push:hover img {
	filter: invert(1);
}

.push .reveal {
	opacity: 0;
}

.push:hover .reveal {
	opacity: 1;
}

.push:active {
	background-color: #fef;
	border-color: #fef;
	left: 2px;
	top: 4px;
}

.copied:active {
	background-color: #77ff77;
	border-color: #77ff77;
}

.item {
	position: relative;
	margin: 2.8em 0 0 1em;
	padding: 1.2em 1em 0.6em 1em;
}

.item h2 {
	color: #000;
	width: min-content;
	position: absolute;
	font-size: 1.4em;
	margin: 0;
	left: -1.1em;
	top: -0.9em;
	padding: 0 1em 0 0.5em;
	background-color: var(--fg);
	transform: rotate(-4deg);
}

.item h2::selection {
	background-color: #28ff28;
}

.item p {
	margin: 0;
	left: 0;
}

.item p a { color: var(--fg); }
.item a:hover { text-decoration: underline; }

.item::after {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	border: 1px solid var(--fg);
	z-index: -1;
}

.item div {
	display: flex;
	flex-flow: row nowrap;
	position: absolute;
	left: 100%;
	top: 0;
	width: min-content;
	height: min-content;
	transform: translateX(-100%) translateY(-50%);
}

.item div a {
	color: var(--fg);
	background-color: var(--void);
	position: relative;
	width: min-content;
	height: 100%;
	margin: 0 1em 0 0;
	padding: 0 0.5em 0 0.5em;
	align-items: center;
}

.status {
	color: #fff;
	border: 1px solid var(--bg);
	position: relative;
	display: block;
	margin: 1.2em 0 0 0;
	padding: 0.4em 1em;
	line-height: 1.2em;
	z-index: 1;
}

.status h2 {
	position: relative;
	margin: 0;
	top: 1px;
	font-size: 1.25em;
	letter-spacing: 1px;
}

.status p {
	margin: 0;
	letter-spacing: 0.6px;
}

.status::before {
	content: '';
	background-color: #ffc977;
	position: absolute;
	transform: translateY(-50%) translateX(-50%);
	top: 50%;
	left: calc(100% - 1.2em);
	width: 1em;
	height: 2em;
}

.on::before { background-color: #77ff77; }
.off::before { background-color: #ff4747; }

.mc-name, .mc-version, .mc-motd, .mc-players, .mc-slash {
	font-family: "MC";
}

.mc-version, .mc-players {
	position: absolute;
	transform: translateY(-50%) translateX(-100%);
	left: calc(100% - 2.2em);
}

.mc-name {
	color: #ffffff;
}

.mc-version {
	color: #555555;
	top: 70%;
}

.mc-motd {
	color: #808080;
}

.mc-players {
	color: #AAAAAA;
	top: 40%;
}

.mc-slash {
	color: #555555;
}
