:root {
	--text-primary: black;
	--text-secondary: #ececec;
	--bg-primary: #353541;
	--bg-secondary: #141418;
}

@font-face {
	font-family: "title";
	src: url("../font/Ethnocentric-Regular.otf");
}

@font-face {
	font-family: "text";
	src: url("../font/Conthrax-SemiBold.otf");
}

h1 {
	text-align: center;
	text-shadow: 2px 2px darkgrey;
	font-family: title;
	font-size: 5rem;
	width: 75vw;
	margin-left: auto;
	margin-right: auto;
}

h2 {
	text-shadow: 2px 2px darkgrey;
	font-size: 1.25rem;
	font-family: title;
	text-align: center;
}

/*h3 {
	text-shadow: 2px 2px darkgrey;
	font-family: title;
}*/

p {
	font-family: text;
	text-align: center;
	text-shadow: 1px 1px darkgrey;
}

body::-webkit-scrollbar {
	width: 0.25rem;
}

body::-webkit-scrollbar-track {
	background: black;
}

body::-webkit-scrollbar-thumb {
	background: darkgrey;
}

body {
	background-image: url(../img/ressources.png);
	/*position: fixed;*/
	margin: 0;
	padding: 0;
	background-repeat: no-repeat; /* Verhindert Wiederholungen */
	background-size: cover;       /* Skaliert das Bild, um den gesamten Viewport abzudecken */
	background-attachment: fixed;
}

main {
	margin-left: 5rem;
	padding: 1rem;
}

table {
	margin-left: auto;
	margin-right: auto;
}

.navbar {
	width: 4rem;
	height: 100vh;
	position: fixed;
	background-color: var(--bg-primary);
	transition: width 200ms ease;
}

.navbar-nav {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.nav-item {
	width: 100%;
}

.nav-item:last-child {
	margin-top: auto;
}

.nav-link {
	display: flex;
	align-items: center;
	height: 5rem;
	color: var(--text-primary);
	text-decoration: none;
}

.link-text {
	display: none;
	margin-left: 1rem;
}

.nav-link img {
	/*min-width: 2rem;*/
	margin: 0 1,5rem;
	padding-left: 0rem;
}

.navbar:hover {
	width: 20rem;
}

.navbar:hover .link-text {
	display: block;
}

.table-headings {
	font-family: text;
	font-size: 1.3rem;
	padding: 0.5rem;
}

.div-hub {
	margin-top: 1rem;
	margin-bottom: 1rem;
	padding: 0.5rem;
	border-radius: 1rem;
	width: 50vw;
	background: rgba(215, 215, 215, 0.75);
	margin-left: auto;
	margin-right: auto;
}