.foot{
	position:fixed;
	bottom:0;
	left:0;
	margin-top:auto;
	display:flex;
	flex-direction: column;
	flex-grow:1;
	width:100vw;
	pointer-events: none;
}
.cmd-output{
	/* background-color: #000; */
	flex-grow: 2;
	margin-left:4px;
	margin-right:80px;
	display:flex;
	flex-direction: column;
	justify-content: flex-end;
	color: #777;
	word-wrap:break-word;
	width:100vw;
	pointer-events: none;
}
.cmd-input{
	padding:0;
	flex-grow:0;
	flex-shrink:1;
	/* background-color: #fff; */
	height: 32px;
	min-height:0;
	margin-left:4px;
	margin-right:80px;
	margin-bottom:4px;
	width:100vw;
}
#cmdInput{
	background: none;
	border:none;
	pointer-events: none;
	color:#ccc;
	width:100%;
}
#cmdInput:focus{
	outline:none;
}
#arrow{
	color:#ccc;
	pointer-events: none;
	cursor: default;
}
.jumpscare{
	transition:opacity 2s;
}
.fadejumpscare{
	opacity:0;
}
.terminal-shadow{
	text-shadow: 1px 1px 0 #1b1b1b;
}
/* Global stuff that makes no sense to redefine 80 billion times. */
@font-face{
	font-family: 'Toshiba';
	src: url(/49ce8999be347f672e9d.ttf) format('truetype');
}

:root{
	background-color: #333;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	font: 16px 'Toshiba';
}

.content{
	padding:8px;
	padding-top: 80px;
	padding-left: 80px;
	height:100%;
	color: #fff;
	display:block;
}

.too-small p{
	font: 3vw 'Toshiba';
}

.no-select{
	user-select: none;
	cursor: default;
}

#tooltip{
	opacity:0;
	position:fixed;
	background: rgba(73, 78, 110, 0.8);
	border:2px rgba(94, 99, 131, 0.8) solid;
	color:#fff;
	top:0;
	left:0;
	transition: opacity 0.2s;
	z-index: 1000000;
	pointer-events: none;
	/* font-size:0.5em; */
	padding:4px;
	font: 16px 'Toshiba';
}
#tooltip p{
	filter: drop-shadow(1px 1px 1px rgb(112, 112, 112));
}

.account-banner{
	position:absolute;
	top:60px;
	left:0;
	background-color: #34273d;
}

.account-banner::after{
	content:'';
	z-index: -2;
	position: absolute;
	top:0;
	right:-30px;
	/* border-left: 60px solid transparent; */
	border-right: 30px solid transparent;
	/* border-top: 60px solid #9358bd; */
	border-top: 30px solid #34273d;
}

.profile-btn{
	font: 16px 'Toshiba';
	/* font-weight: bold; */
	color:#fff;
	text-decoration: none;
	background:none;
	border:none;
	margin:8px;
}
.profile-btn:hover{
	color:#0fd7e6;
}

.account-panel{
	--width: 320px;
	--height: 400px;
	--offset-x: -320px;
	--offset-y: 0px;
	position:fixed;
	display:flex;
	flex-direction:column;
	width:var(--width);
	min-height:var(--height);
	max-height:calc(var(--height) + 180px);
	left:var(--offset-x);
	top:var(--offset-y);
	background-color: #34273d;
	z-index: 100000;
	border-right: 15px solid transparent;
	border-bottom: 15px solid transparent;
	clip-path:polygon(0 0, 100% 0, 100% 96%, 96% 100%, 0 100%);
	transition: left 0.4s ease-in-out, top 0.4s ease-in-out;
	color: #fff;
}

.account-panel-open{
	left:0;
	top:0;
}

.profile{
	margin:8px;
	display:flex;
	flex-direction:column;
	justify-content:center;
	align-items:center;
	gap:8px;
}
.badges-container{
	margin:8px;
	margin-top:0;
	display:flex;
	flex-direction:column;
	justify-content:center;
	align-items:center;
	gap:8px;
	flex-wrap: wrap;
}
.badges-container p u{
	font-size:32px;
}
/*
.badges{
	display:flex;
	flex-direction:row;
	justify-content:center;
	gap:8px;
	overflow-y:scroll;
	max-height:140px;
}
*/
.badges{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items:center;
	/* gap:4px; */
	max-height: calc(3 * 80px);
	overflow:hidden;
}
.badge{
	flex: 1 1 auto;
	max-width: 64px;
	max-height: 64px;
	object-fit: contain;
	margin:5px;
}
.profile-actions{
	margin-top:auto;
	display:flex;
	flex-direction:row;
	justify-content:center;
	align-items:center;
	gap:8px;
}
#avatar{
	width:160px;
	height:160px;
	border: 2px solid #fff;
	border-radius:50%;
}
#displayname *{
	font-size:32px;
}
.account-badge-rarity-0{
	color:#fff;
}
.account-badge-rarity-1{
	color:#333cb9;
}
.account-badge-rarity-2{
	color:#37c730;
}
.account-badge-rarity-3{
	color:#d47b28;
}
.account-badge-rarity-4{
	color:#d46060;
}
.account-badge-rarity-5{
	color:#f566df;
}
.account-badge-rarity-6{
	color:#f3e410;
}
.account-badge-rarity-7{
	color:#f51a16;
}
.account-badge-rarity-8{
	color:#1a95db;
}
.account-badge-rarity-9{
	color:#8d3bd1;
}
.account-badge-rarity-10{
	background: linear-gradient(to right, #db2a2a, #d16d15, #d4b413, #18fa14, #192abf, #760dd9, #db2a2a);
	-webkit-background-clip: text;
	background-clip:text;
	background-repeat:repeat-x;
	color:transparent;
	animation: rainbow_animation 6s linear infinite;
	background-size: 400% 100%;
}
.profile-action-btn{
	font: 32px 'Toshiba';
	/* font-weight: bold; */
	color:#fff;
	text-decoration: none;
	background:none;
	border:none;
	margin:8px;
}
.profile-action-btn:hover{
	color:#0fd7e6;
}
.logout-btn:hover{
	color:#db2a2a;
}

navi{
	position: fixed;
	display:flex;
	flex-direction:row;
	justify-content: flex-start;
	align-items: center;
	color: #fff;
	top:0px;
	left:-320px;
	width: 320px;
	height: 60px;
	background-color: #34273d;
	z-index: 99999;
	/* clip-path: polygon(0 0, 100% 0, 100% 100%, 60px 100%); */
	transition: left 0.4s ease-in-out, top 0.4s ease-in-out;;
}

navi::after{
	content:'';
	z-index: -2;
	position: absolute;
	top:0;
	right:-60px;
	/* border-left: 60px solid transparent; */
	border-right: 60px solid transparent;
	/* border-top: 60px solid #9358bd; */
	border-top: 60px solid #34273d;
}

navi::before{
	content:'';
	position: absolute;
	top: 4px;
	right: -20px;
	z-index: -1;
	width:0;
	height:0;
	/* border-left: 40px solid transparent; */
	border-right: 15px solid transparent;
	border-top: 15px solid #ffffff;
	transition: opacity 0.2s;
	opacity:100%;
}

.navi-content{
	display:flex;
	flex-direction:row;
	justify-content: flex-start;
	align-items: center;
	gap: 4px;
	padding: 4px;
	overflow: hidden;
}

.navi-btn{
	font: 32px 'Toshiba';
	/* font-weight: bold; */
	color:#fff;
	text-decoration: none;
	background:none;
	border:none;
}
.navi-btn:hover{
	color:#0fd7e6;
}
.navi-btn:visited{
	color:#fff;
}

.navi-open{
	left:0;
}
.navi-open::before{
	opacity:0;
}

.navi-disabled{
	left:-380px;
	top:-60px;
}
.navi-disabled::before{
	opacity:0;
}

.red{
	color:#db2a2a;
}
.orange{
	color:#d16d15;
}
.yellow{
	color:#d4b413;
}
.green{
	color:#15961e;
}
.blue{
	color:#192abf;
}
.purple{
	color:#760dd9;
}
.lightblue{
	color:#1ad6cd;
}
.lightgreen{
	color:#18fa14;
}
.lightpurple{
	color:#e714fa;
}
.darkred{
	color:#6e0000;
}
.darkblue{
	color:#00046e;
}
.rainbow{	
	background: linear-gradient(to right, #db2a2a, #d16d15, #d4b413, #18fa14, #192abf, #760dd9, #db2a2a);
	-webkit-background-clip: text;
	background-clip:text;
	background-repeat:repeat-x;
	color:transparent;
	animation: rainbow_animation 6s linear infinite;
	background-size: 400% 100%;
}

.no-scroll-x{
	overflow-x: hidden;
}

.no-scroll.y{
	overflow-y: hidden;
}

.no-scroll{
	overflow: hidden;
}

@keyframes rainbow_animation {
    0% {
        background-position: 0 0;
    }

	100% {
        background-position: 132% 0;
    }
}

@media (max-width: 768px) {
	.content {
		padding: 48px; /* Reduce padding for smaller screens */
	}
}
/* * {
	font: 16px 'Toshiba';
} */

body {
	display: flex;
	flex-direction: column;
	height: 100vh;
}

html, body{
	background: linear-gradient(
		to bottom right,
		#6846b9 0%,
        #4e36a1 14%,
        #2e1e6b 40%,
        #0e0a14 75%,
        #050408 100% 
	);
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
}

:root{
	
}

.content{
	/* padding:0; */
	height:100%;
}
.greeting{
}
code{
	background-color: #050408;
	padding:4px;
	border-radius:6px;
}
.container{
	display:flex;
	flex-direction:row;
	/* justify-content:center; */
	/* align-items:center; */
	width:100%;
	height:100%;
	position: relative;
	z-index: 10;
}
.explanation{
	background-color: #05040866;
	margin-left:auto;
	margin-right:auto;
	margin-bottom:auto;
	width:40%;
	border-radius: 8px;
	padding:8px;
	margin-top: 64px;
}
.register-form{
	display:flex;
	flex-direction:column;
}
.register-form p{
	margin-bottom:12px;
	font-size: 64px;
	text-decoration: underline;
}
.register-form button{
	margin-top:12px;
	width:fit-content;
}
.register-form input{
	background-color: #391568;
	border: 2px solid #2e2055;
	color:#fff;
	font-size: 32px;
	width: 30vw;
	min-width: 300px;
	transition: background-color 0.2s, border-color 0.2s;
	padding:2px;
}
.register-form input:focus{
	outline: none;
	background-color: #43177e;
	border-color: #332166;
}
.register-form input:disabled{
	background-color: #3c3847;
	border-color: #322d41;
	color:#777;
}
.register-form button{
	background-color: #391568;
	border: 2px solid #2e2055;
	color:#fff;
	/* font-size: 32px; */
	width: 30vw;
	min-width: 300px;
	transition: background-color 0.2s, border-color 0.2s;
}
.register-form button:hover{
	background-color: #43177e;
	border-color: #332166;
}

.register-form button:active{
	background-color: #321757;
	border-color: #251944;
}

.register-form button:disabled{
	background-color: #3c3847;
	border-color: #322d41;
	color:#777;
}
.register-form button:focus{
	outline: none;
}
@media (max-width: 768px) {
	.register-form p{
		font-size: 32px;
	}
	.container{
		flex-direction:column;
	}
	.explanation{
		margin-left:0;
		margin-right:0;
		margin-top: 12px;
		width: 300px;
	}
}
