@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');

html {
	margin: auto 0;
}

header, nav, footer {
	text-align: center;
}

nav {
	position: relative;
	top: -1em;
	max-width: 100vw;
	overflow-x: scroll;
	overflow-y: hidden;
	white-space: nowrap;
	/* firefox scroll */
	scrollbar-width: none;
}

body {
	overflow: hidden;
	height: 100%;
	margin: 0;
	padding: 0;
	font-family: VT323, Monospace;
	font-size: 1.5em;
	/* ms scroll */
	-ms-overflow-style: none;
}

b {
	color: #00cdcd;
	text-shadow: 1px 1px 9px palegoldenrod;
}

.footer {
	max-width: 100vw;
	overflow-x: scroll;
	overflow-y: hidden;
	white-space: nowrap;
	/* firefox scroll */
	scrollbar-width: none;
}

.background {
	background-color: #2e2e2e;
	background-image: url("/assets/images/bg/dark.jpg");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center top;
	height: 100vh;
	width: 100vw;
	position: fixed;
	z-index: -1;
	filter: brightness(75%);
}

.content {
	top: 3em;
	bottom: 3.5em;
	padding-left: 1em;
	padding-right: 1em;
	max-width: 920px;
	margin: 0 auto;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	color: white;
	text-shadow: 2px 2px 5px pink;
	overflow: scroll;
	background-color: rgba(0,0,0, 0.1);
	/* firefox scroll */
	scrollbar-width: none;
}

.center {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

@media (max-width: 767px) {
	.content {
		width: calc(100vw - 4em);
	}
}

.content::-webkit-scrollbar {
	display: none;
}
nav::-webkit-scrollbar {
	display: none;
}
.footer::-webkit-scrollbar {
	display: none;
}

.user {
  display: inline-block;
  width: 32px;
  height: 32px;
  border-radius: 50%;

  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

pre {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

header {
	position: absolute;
	z-index: -1;
	top: -0.25em;
	left: 50%;
	transform: translateX(-50%);
	color: white;
}

footer {
	position: absolute;
	z-index: -1;
	bottom: 0em;
	left: 50%;
	transform: translateX(-50%);
	color: white;
}

a {
	text-decoration: none;
	color: #f2dea3;
	border-bottom: 1px dotted;
}
a:hover {
	border-bottom-style: solid;
}

a.active {
	font-weight: bold;
}

#bg-light {
	display: none;
}

@media (prefers-color-scheme: light) {
	.background {
		background-color: white;
		background-image: url("/assets/images/bg/light.jpg");
	}

	.content {
		background-color: rgba(255,255,255, 0.3);
		color: #2e2e2e;
		text-shadow: 1px 1px 9px #737373;
	}

	a {
		color: #00dea6;
	}

	b {
		color: #1b69de;
		text-shadow: 1px 1px 9px #737373;
	}

	#bg-light {
		display: unset;
	}

	#bg-dark {
		display: none;
	}
}

li {
	list-style-type: "— ";
}

.trans {
	border-bottom: 2px solid;
	border-image: linear-gradient(to right, #66CCFF 0% 20%, #FF99FF 20% 40%, #FFFFFF 40% 60%, #FF99FF 60% 80%, #66CCFF 80% 100%) 1;
}

.les {
	border-bottom: 2px solid;
	border-image: linear-gradient(to right, #A40061 0% 14%, #B75592 14% 28%, #D063A6 28% 43%, #FFFFFF 43% 57%, #E4ACCF 57% 71%, #C54E54 71% 86%, #8A1E04 86% 100%) 1;
}
