@font-face {
	font-family: 'Satoshi';
	src: url('fonts/Satoshi-Regular.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Satoshi';
	src: url('fonts/Satoshi-Bold.ttf') format('truetype');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

:root {
	--background: #FFFFE3;
	--text: #000000;
	--outline: #7E7E7E;
}

:root.dark {
	--background: #10100e;
	--text: #FFFFE3;
	--outline: #7E7E7E;
}

:root.light {
	--background: #FFFFE3;
	--text: #000000;
	--outline: #7E7E7E;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	transition: background-color 0.5s ease, color 0.5s ease;
}

body {
	font-family: 'Satoshi-Regular', sans-serif;
	background-color: var(--background);
	color: var(--text);
}

a {
	color: var(--text);
}

h2 {
	font-family: 'Satoshi-Bold', sans-serif;
}

header {
	padding: 2rem;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.logo {
	display: flex;
	align-items: center;
	width: 2em;
}

.nav ul {
	list-style: none;
	display: flex;
	gap: 1rem;
}

.nav a {
	text-decoration: none;
	font-weight: 500;
	font-size: 0.8rem;
	transition: color 0.3s ease;
}

main {
	padding: 2rem;
}

.projekt-container {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	animation: fadeIn 1s ease-in;
}

.projekt {
	padding: 1.5rem;
	flex: 1 1 calc(33.333% - 2rem);
	text-align: left;
	border-radius: 10px;
	border: 1px solid var(--outline);
	transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.description {
	text-align: left;
	list-style: none;
	padding-left: 1.5rem;
}

footer {
	text-align: center;
	padding: 1rem;
}

.websitelink {
	text-decoration: none;
	padding-left: 1.5rem;
}

.websitelink:hover {
	color: #666;
}

.footer-icons {
	display: flex;
	gap: 1.5em;
	margin-bottom: 1em;
}

.icon-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.icon-item i {
	font-size: 2rem;
	transition: transform 0.3s ease, color 0.3s ease;
	cursor: pointer;
}

.icon-item span {
	font-size: 0.9rem;
	margin-top: 0.3em;
}

.icon-item i:hover {
	transform: scale(1.2);
}

#uber-mich {
	margin-bottom: 1rem;
}

#projekte {
	margin-block: 1rem;
}

/* Theme Toggle Button */
#theme-toggle {
	position: fixed;
	bottom: 1.5rem;
	right: 1.5rem;
	z-index: 1000;
	width: 3rem;
	height: 3rem;
	font-size: 1.2rem;
	border: none;
	background: transparent;
	cursor: pointer;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	backdrop-filter: blur(6px);
	transition: transform 0.3s ease, background-color 0.3s ease;
}

#theme-toggle:hover {
	transform: scale(1.1);
	background-color: rgba(0, 0, 0, 0.1);
}

:root.dark #theme-toggle {
	background-color: rgba(255, 255, 255, 0.05);
	color: var(--text);
}

:root.light #theme-toggle {
	background-color: rgba(0, 0, 0, 0.05);
	color: var(--text);
}

#theme-toggle .icon {
	display: block;
	transition: transform 0.4s ease, opacity 0.3s ease;
}
