@import url('color-scheme.css');
@import url('fonts/poppins-font.css');

body {
	font-family: 'Poppins';
	background-color: var(--bg-color);
	color: var(--text-color);
	display: flex;
	flex-direction: column;
	gap: 5em;
	margin: 0px;
}

section > h2 {
	margin-bottom: 0.75em;
}

@media screen and (min-width: 501px) {
	body {
		font-size: 18px;
	}

	section {
		width: 75%;
		margin-left: auto;
		margin-right: auto;
	}

	.impressum-grid {
		grid-template-columns: max-content max-content;
	}

	.label {
		margin-top: 5px;
	}

	h1 {
		font-size: 3em;
		font-weight: 600;
	}
	
	h2 {
		font-size: 2em;
		font-weight: 600;
	}

	h3 {
		font-size: 1em;
		font-weight: 600;
	}
}

@media screen and (max-width: 500px) {
	body {
		font-size: 15px;
	}

	.impressum-grid {
		grid-template-columns: max-content;
	}

	.label {
		margin-top: 10px;
	}

	h1 {
		font-size: 1.5em;
		font-weight: 600;
	}
	
	h2 {
		font-size: 1.3em;
		font-weight: 600;
		text-align: center;
	}
	
	h3 {
		font-size: 1em;
		font-weight: 600;
	}

	.navbar {
		font-size: 0.7em;
	}
}

a {
	color: var(--link-color);
	text-decoration: none;
	white-space: pre;
}

a:hover {
	background-color: #555;
	color: white;
}

h1, h2, h3, h4, h5 {
	margin: 0 0 0 0;
}

.navbar {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	column-gap: 1em;
}

.navbar > a {
	color: var(--text-color);
}

.navbar > a:hover {
	background-color: #555;
	color: white;
}

.header {
	padding: 0.5%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	background-color: var(--bg-color-header);
}

.impressum-grid {
	width: fit-content;
	display: grid;
	align-items: center;
	column-gap: 4rem;
	row-gap: 0.5rem;
}

.label {
	font-weight: 900;
}

.tech-stack-grid {
	display: flex;
	flex-wrap: wrap;
	column-gap: 3rem;
	row-gap: 1rem;
}

.member-list {
	display: flex;
	flex-direction: column;
	gap: 3em;
}

.member-list-entry {
	gap: 2em;
}

.member-foto {
	float: left;
	margin-right: 1em;
	margin-bottom: 1em;

	border: solid var(--text-color) 0.2em;
	border-radius: 10%;
	max-width: 15rem;
}

.member-name {
	font-size: 1.3em;
	font-weight: 900;
}

.member-function {
	font-size: 0.9rem;
}

.member-cv {
	font-size: 0.9rem;
}
