:root {
	--base03: #002b36;
	--base02: #073642;
	--base01: #586e75;
	--base00: #657b83;
	--base0: #839496;
	--base1: #93a1a1;
	--base2: #eee8d5;
	--base3: #fdf6e3;
	--yellow: #b58900;
	--orange: #cb4b16;
	--red: #dc322f;
	--magenta: #d33682;
	--violet: #6c71c4;
	--blue: #268bd2;
	--cyan: #2aa198;
	--green: #859900;
}

@media (prefers-color-scheme: light) {
	:root {
		--emphasized-text: var(--base00);
		--comments: var(--base1);
		--background-color: var(--base3);
		--background-highlights: var(--base2);
		--shadow: var(--blue);
	}
}

@media (prefers-color-scheme: dark) {
	:root {
		--emphasized-text: var(--base0);
		--comments: var(--base01);
		--background-color: var(--base03);
		--background-highlights: var(--base02);
		--shadow: var(--yellow);
	}
}

body {
	margin: 0;
	background-color: var(--background-color);
	/* background: radial-gradient(ellipse at center, rgb(92, 94, 97) 0%, rgba(0,0,0,1) 100%); */
	font-family: Monospace;
	overscroll-behavior: block;
}

.repo_name {
	color: var(--emphasized-text);

}

.description {
	color: var(--comments);
}

.repo_card:hover {
	background-color: var(--background-highlights);
	box-shadow: 2px 2px 2px 2px var(--shadow);
}

a {
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

button {
	cursor: pointer;
	text-transform: uppercase;
}
/* 
#info {
	position: absolute;
	top: 0px;
	width: 100%;
	padding: 10px;
	box-sizing: border-box;
	text-align: center;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events: none;
	z-index: 1;
	/* TODO Solve this in HTML */
/*} */

a,
button,
input,
select {
	pointer-events: auto;
}

/* .lil-gui { */
	/* z-index: 2 !important; */
	/* TODO Solve this in HTML */
/* } */

/* @media all and (max-width: 640px) {
	.lil-gui.root {
		right: auto;
		top: auto;
		max-height: 50%;
		max-width: 80%;
		bottom: 0;
		left: 0;
	}
} */

#menu {
	position: absolute;
	bottom: 20px;
	width: 100%;
	text-align: center;
}

.repo_card {
	min-width: 30vh;
	/* width: -moz-fit-content; */
	/* width: fit-content; */
	min-height: 30vh;
	box-sizing: content-box;
	/* box-shadow: 0px 0px 2px rgba(0, 255, 255, 0.5); */
	/* border: 1px solid rgba(127, 255, 255, 0.25); */
	word-wrap: break-word;
	border: 1px solid black;
	border-radius: 10px;
	font-family: Helvetica, sans-serif;
	text-align: center;
	background-color: #fff;
	line-height: normal;
	cursor: default;
	overflow: clip;

}

.repo_card .number {
	position: absolute;
	height: 40vh;
	width: 94%;
	border: 2px solid black;
	border-radius: 10px;
	top: 3%;
	/* margin-left: auto; */
	right: 3%;
	font-size: 12px;
	color: rgba(127, 255, 255, 0.75);
}

.repo_card .repo_name {
	position: absolute;
	top: 5%;
	left: 0px;
	right: 0px;
	/* width: -moz-fit-content; */
	/* width: fit-content; */
	width: 30vh;
	/* Since fonts would be resized automatically, ideally there shouldn't be any overflow */
	/* overflow-y: scroll; */
	/* TODO: adjustable font size */
	font-size: 5vh;
	font-weight: bold;
	/* color: rgba(255, 255, 255, 0.75); */
	/* text-shadow: 0 0 10px rgba(47, 80, 80, 0.95); */
}

.repo_card .description {
	position: absolute;
	/* clear: both; */
	bottom: 15px;
	left: 0px;
	right: 0px;
	font-size: 2vh;
	/* color: rgba(127, 255, 255, 0.75); */
}

.language {
	position: relative;
	display: block;
	justify-content: center;
}

.homepage {
	position: absolute;
	top: 100%;
}
/* Make centerdiv of fixed size inside repo_card in the center */
.centerdiv{
	font-size: 3vh;
	top: 50%;
	margin-top:50%;
	vertical-align: middle;
	align-items: center;
	display:flex;
	text-align: center;
	align-content: center;
	justify-content: center;
}

button {
	/* color: rgba(127, 255, 255, 0.75); */

	/* background: transparent; */
	outline: 1px solid rgba(127, 255, 255, 0.75);
	border: 0px;
	padding: 5px 10px;
	cursor: pointer;
}

button:hover {
	background-color: rgba(0, 255, 255, 0.5);
}

button:active {
	color: #000000;
	background-color: rgba(0, 255, 255, 0.75);
}