/* 🐱 Allgemeines Layout */
body {
	font-family: Arial, sans-serif;
	background-color: #f4f4f4;
	color: #333;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0;
	padding: 10px;
	position:relative;
}
/* Basis-Styling für alle Links */
a {
    text-decoration: none; /* Entfernt den Unterstrich */
    color: #222; /* Dunkle Farbe für normalen Modus */
    font-weight: 500; /* Mittlere Schriftstärke */
    transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out; /* Sanfter Farbwechsel */
    padding: 4px 6px; /* Kleiner Innenabstand für bessere Klickfläche */
    border-radius: 3px; /* Leicht abgerundete Kanten */
}

/* Zustand: Hover – Link wird farblich hervorgehoben */
a:hover {
    color: #0073e6; /* Blau beim Hover */
    background-color: rgba(0, 115, 230, 0.1); /* Leichte Hintergrundfarbe */
}

/* Zustand: Active – Link beim Anklicken */
a:active {
    color: #0047a5; /* Dunkleres Blau beim Klicken */
    background-color: rgba(0, 115, 230, 0.2); /* Etwas stärkerer Hintergrund */
}

/* Zustand: Focus – Für Tastatur-Navigation wichtig */
a:focus {
    outline: 2px solid #0073e6; /* Blaue Umrandung für bessere Sichtbarkeit */
    outline-offset: 2px;
}

/* Zustand: Visited – Bereits besuchte Links */
a:visited {
    color: #222; /* Leicht violetter Farbton für bereits besuchte Seiten */
}

/* 🌙 Dark Mode – Automatische Anpassung */
@media (prefers-color-scheme: dark) {
    a {
        color: #fff; /* Linktext wird weiß */
    }

    a:hover {
        color: #4dafff; /* Hellere Farbe beim Hover */
        background-color: rgba(77, 175, 255, 0.2);
    }

    a:active {
        color: #fff;
        background-color: rgba(77, 175, 255, 0.3);
    }

    a:focus {
        outline: 2px solid #fff;
    }

    a:visited {
        color: #fff; /* Sanfter Violett-Ton für besuchte Links */
    }
}

/* 🎨 Box für Login & Profil */
.container {
	background: #ffffff;
	padding: 20px;
	border-radius: 10px;
	box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
	/* Modernere Schatten */
	text-align: center;
	width: 100%;
	max-width: 400px;
	margin-bottom:50px;
}
h1 {
	color: #ff6600;
	font-size: 24px;
}
/* 📝 Formulare */
.form-container {
	margin-top: 20px;
}
input, button {
	width: 100%;
	max-width: 350px;
	/* Einheitliche maximale Breite */
	box-sizing: border-box;
	/* Sicherstellen, dass Padding & Border zur Breite gehören */
	padding: 12px;
	margin: 5px 0;
	border-radius: 5px;
	border: 1px solid #ddd;
	font-size: 16px;
}
/* ✨ Buttons */
button {
	background: #ff6600;
	color: white;
	padding: 12px;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	width: 100%;
	font-size: 16px;
}
button:hover {
	background: #cc5200;
}
/* ❌ Fehlernachrichten */
.error {
	color: red;
	font-weight: bold;
}
/* 🔥 Profilseite */
.profile-header {
	text-align: center;
	margin-bottom: 20px;
}
.profile-picture {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid #ff6600;
}
/* 📸 Beitrag-Vorschau als Grid */
.grid-container {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
	gap: 10px;
	margin-top: 20px;
}
.grid-item {
	width: 80px;
	height: 80px;
	border-radius: 10px;
	background-size: cover;
	background-position: center;
}
/* 🔒 Private Profile */
.private-profile {
	font-size: 18px;
	color: #cc5200;
	font-weight: bold;
}
.upload-container {
	margin-top: 20px;
	padding: 15px;
	background: #f4f4f4;
	border-radius: 10px;
}
.upload-container input {
	width: 100%;
	padding: 10px;
	margin-top: 10px;
	border: 1px solid #ccc;
	border-radius: 5px;
	font-size: 16px;
	background: white;
	color: #333;
}
.upload-container button {
	margin-top: 10px;
}
/* 🌙 Dark Mode Upload-Felder */
@media (prefers-color-scheme: dark) {
	.upload-container {
		background: #1e1e1e;
	}
	.upload-container input {
		background: #2a2a2a;
		color: #ffffff;
		border: 1px solid #555;
	}
	.upload-container button {
		background: #ff8c00;
	}
	.upload-container button:hover {
		background: #e07b00;
	}
}
/* 🌙 Dark Mode */
@media (prefers-color-scheme: dark) {
	body {
		background-color: #121212;
	}
	.container {
		background: #1e1e1e;
		color: #ffffff;
	}
	button {
		background: #ff8c00;
	}
	button:hover {
		background: #e07b00;
	}
}
/* 📱 Mobile Optimierung */
@media screen and (max-width: 600px) {
	body {
		flex-direction: column;
		align-items: center;
		height: auto;
	}
	.container {
		width: 90%;
		max-width: 350px;
	}
	h1 {
		font-size: 20px;
	}
	input, button {
		font-size: 14px;
		padding: 10px;
	}
	.grid-container {
		grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
		gap: 5px;
	}
	.grid-item {
		width: 60px;
		height: 60px;
	}
}
.feed-container {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 10px;
	margin-top: 20px;
}
.feed-item {
	background: white;
	padding: 10px;
	border-radius: 10px;
	box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}
.feed-header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}
.profile-link {
	display: flex;
	align-items: center;
	text-decoration: none;
	color: #333;
}
.avatar {
	width: 30px;
	/* Kleinere Größe */
	height: 30px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid #ff6600;
	margin-right:5px;
}
/* 🔥 Bildvorschau */
.feed-image {
	width: 100%;
	height: 200px;
	border-radius: 10px;
	background-size: cover;
	background-position: center;
}
/* 🌙 Dark Mode */
@media (prefers-color-scheme: dark) {
	body {
		background-color: #121212;
	}
	.feed-item {
		background: #1e1e1e;
		color: #ffffff;
	}
	.profile-link {
		color: #ffffff;
	}
}
.user-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 10px;
	margin-top: 20px;
}
.user-item {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: #333;
	background: white;
	padding: 10px;
	border-radius: 10px;
	box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}
.avatar {
	width: 30px;
	height: 30px;
	border-radius: 50%;
}
/* 🌙 Dark Mode */
@media (prefers-color-scheme: dark) {
	body {
		background-color: #121212;
	}
	.user-item {
		background: #1e1e1e;
		color: #ffffff;
	}
}
.post-header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 15px;
}
.post-image {
	width: 100%;
	height: auto;
	border-radius: 10px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	margin-bottom: 10px;
}
.profile-link {
	display: flex;
	align-items: center;
	text-decoration: none;
	color: #333;
}
.avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
}
.comment-list {
	margin-top: 20px;
}
.comment {
	background: white;
	padding: 10px;
	border-radius: 10px;
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	gap: 10px;
}
.comment-date {
	font-size: 12px;
	color: gray;
}
/* 🌙 Dark Mode */
@media (prefers-color-scheme: dark) {
	body {
		background-color: #121212;
	}
	.post-header, .comment {
		background: #1e1e1e;
		color: #ffffff;
	}
	.profile-link {
		color: #ffffff;
	}
}
textarea {
	width: 100%;
	height: 80px;
	padding: 10px;
	border-radius: 5px;
	border: 1px solid #ddd;
	font-size: 14px;
	margin-top: 10px;
	background: white;
	color: #333;
}
/* 💬 Button-Styling */
button {
	margin-top: 10px;
	padding: 10px;
	background: #ff6600;
	color: white;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	font-size: 14px;
}
button:hover {
	background: #cc5200;
}
/* 🌙 Dark Mode */
@media (prefers-color-scheme: dark) {
	textarea {
		background: #2a2a2a;
		color: white;
		border: 1px solid #555;
	}
	button {
		background: #ff8c00;
	}
	button:hover {
		background: #e07b00;
	}
	body {
		background-color: #121212;
		color: #ffffff;
	}
	.container {
		background: #1e1e1e;
		box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.1);
	}
}
.comment-form {
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 350px;
}
textarea {
	width: 100%;
	max-width: 350px;
	/* Einheitliche Maximalbreite */
	height: 80px;
	padding: 10px;
	border-radius: 5px;
	border: 1px solid #ddd;
	font-size: 14px;
	margin-top: 10px;
}
button {
	width: 100%;
	max-width: 350px;
	/* Einheitliche Maximalbreite */
	margin-top: 10px;
	padding: 10px;
	background: #ff6600;
	color: white;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	font-size: 14px;
}
button:hover {
	background: #cc5200;
}
/* 🌙 Dark Mode */
@media (prefers-color-scheme: dark) {
	textarea {
		background: #2a2a2a;
		color: white;
		border: 1px solid #555;
	}
	button {
		background: #ff8c00;
	}
	button:hover {
		background: #e07b00;
	}
}
.nav {
	display: flex;
	justify-content: center;
	/* ✅ Zentriert die Navigation */
	align-items: center;
	gap: 20px;
	width: 100%;
	padding: 10px 0;
}
/* Sicherstellen, dass die Links sich ordentlich verteilen */
.nav-link {
	text-decoration: none;
	font-size: 18px;
	color: #333;
	padding: 10px;
	transition: color 0.3s ease;
}
.nav-link:hover {
	color: #ff6600;
}
/* 🔥 Aktive Seite hervorheben */
.nav-link.active {
	font-weight: bold;
	color: #ff6600;
}
/* 💻 Fix für größere Bildschirme */
@media screen and (min-width: 800px) {
	header {
		display: flex;
		justify-content: center;
		/* ✅ Stellt sicher, dass die Navigation zentriert bleibt */
	}
}
/* 🌙 Dark Mode */
@media (prefers-color-scheme: dark) {
	header {
		background: #1e1e1e;
		border-bottom: 2px solid #444;
	}
	.nav-link {
		color: #ffffff;
	}
	.nav-link:hover {
		color: #ff8c00;
	}
	.nav-link.active {
		color: #ff8c00;
	}
}
header {
	position: fixed;
	/* ✅ Fixiert die Navigation oben */
	top: 0;
	left: 0;
	width: 100%;
	background: white;
	padding: 15px 0;
	text-align: center;
	border-bottom: 2px solid #ddd;
	z-index: 1000;
	/* ✅ Stellt sicher, dass sie über dem Inhalt bleibt */
}
body {
	padding-top: 60px;
	/* ✅ Verhindert, dass der Inhalt unter die Navigation rutscht */
}
.nav {
	display: flex;
	justify-content: center;
	gap: 30px;
}
.nav-link {
	text-decoration: none;
	font-size: 18px;
	color: #333;
	padding: 10px;
}
.nav-link:hover {
	color: #ff6600;
}
/* 🌙 Dark Mode */
@media (prefers-color-scheme: dark) {
	header {
		background: #1e1e1e;
		border-bottom: 2px solid #444;
	}
	.nav-link {
		color: #ffffff;
	}
	.nav-link:hover {
		color: #ff8c00;
	}
}
.user-table,
.report-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 20px;
}
.user-table th, .user-table td,
.report-table th, .report-table td{
	border: 1px solid #ddd;
	padding: 10px;
	text-align: center;
}
.user-table th,
.report-table th{
	background: #ff6600;
	color: white;
}
.avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
}
/* 🌙 Dark Mode */
@media (prefers-color-scheme: dark) {
	.user-table th,
	.report-table th{
		background: #ff8c00;
	}
	.user-table td,
	.report-table td {
		background: #1e1e1e;
		color: #ffffff;
	}
}
.user-table-container,
.report-table-container {
	width: 100%;
	overflow-x: auto;
	/* ✅ Scrollbare Tabelle auf schmalen Bildschirmen */
}
.user-table,
.report-table{
	width: 100%;
	border-collapse: collapse;
	min-width: 600px;
	/* ✅ Verhindert abgeschnittene Inhalte */
}
.user-table th, .user-table td,
.report-table th, .report-table td{
	border: 1px solid #ddd;
	padding: 10px;
	text-align: center;
}
/* 🌙 Dark Mode */
@media (prefers-color-scheme: dark) {
	.user-table th,
	.report-table th{
		background: #ff8c00;
	}
	.user-table td,
	.report-table td{
		background: #1e1e1e;
		color: #ffffff;
	}
}
/* Standard-Linkfarben innerhalb der Tabelle */
.user-table a,
.report-table a {
	color: #ff6600;
	/* Kräftiges Orange für sichtbare Links */
	text-decoration: none;
}
.user-table a:hover {
	color: #cc5200;
	/* Dunkleres Orange für Hover */
}
.user-table a:visited {
	color: #ff6600;
	/* 🚀 Verhindert das Standard-Lila */
}
.user-table a:active {
	color: #e07b00;
	/* Farbe beim Klicken */
}
/* 🌙 Dark Mode */
@media (prefers-color-scheme: dark) {
	.user-table a {
		color: #ff8c00;
		/* Helles Orange für dunklen Hintergrund */
	}
	.user-table a:hover {
		color: #e07b00;
	}
	.user-table a:visited {
		color: #ff8c00;
		/* Auch im Dark Mode konsistent */
	}
}
/* 🌐 Standard-Linkfarben */
.tag-item, .user-item {
	text-decoration: none;
	font-weight: bold;
}
/* 🌞 Light Mode */
@media (prefers-color-scheme: light) {
	.tag-item {
		color: #ff6600;
		/* Kräftiges Orange */
	}
	.tag-item:hover {
		color: #cc5200;
	}
	.user-item {
		color: #0073e6;
		/* Blau für Benutzerlinks */
	}
	.user-item:hover {
		color: #005bb5;
	}
}
/* 🌙 Dark Mode */
@media (prefers-color-scheme: dark) {
	.tag-item {
		color: #ff8c00;
		/* Warmer Orangeton für dunklen Hintergrund */
	}
	.tag-item:hover {
		color: #e07b00;
	}
	.user-item {
		color: #66b2ff;
		/* Hellblau für Benutzerlinks */
	}
	.user-item:hover {
		color: #3399ff;
	}
}
/* 🌐 Styling für Tag-Links */
.tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 10px;
}
.tag-item {
	display: inline-block;
	padding: 8px 12px;
	border-radius: 20px;
	font-weight: bold;
	text-decoration: none;
	transition: background 0.3s, color 0.3s;
}
/* 🌞 Light Mode */
@media (prefers-color-scheme: light) {
	.tag-item {
		background: #ffebcc;
		/* Helles Orange */
		color: #ff6600;
	}
	.tag-item:hover {
		background: #ffd699;
		color: #cc5200;
	}
}
/* 🌙 Dark Mode */
@media (prefers-color-scheme: dark) {
	.tag-item {
		background: #332200;
		/* Dunkles Braun für mehr Kontrast */
		color: #ff8c00;
	}
	.tag-item:hover {
		background: #664400;
		color: #e07b00;
	}
}
header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background: #fff;
	/* Oder Dark Mode entsprechend anpassen */
	z-index: 1000;
	/* ✅ Stellt sicher, dass die Navigation über anderen Elementen bleibt */
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.container {
	margin-top: 80px;
	/* ✅ Erzeugt Abstand zur Navigation */
}
h1, h2 {
	margin-top: 20px;
	/* 🛠 Falls nötig, mehr Abstand hinzufügen */
}
/* 🌙 Dark Mode */
@media (prefers-color-scheme: dark) {
	header {
		background: #1e1e1e;
	}
}
/* 🌍 Allgemeine Eingabefelder */
input, textarea {
	padding: 10px;
	border-radius: 6px;
	border: 1px solid #ccc;
	font-size: 16px;
	width: 100%;
	transition: background 0.3s, border-color 0.3s;
}
/* 🌞 Light Mode */
@media (prefers-color-scheme: light) {
	input, textarea {
		background: #fff;
		color: #333;
		border-color: #aaa;
	}
	input:focus, textarea:focus {
		border-color: #0073e6;
		outline: none;
	}
}
/* 🌙 Dark Mode */
@media (prefers-color-scheme: dark) {
	input, textarea {
		background: #222;
		color: #eee;
		border-color: #444;
	}
	input:focus, textarea:focus {
		border-color: #ff8c00;
		outline: none;
	}
}
.nav-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	position: relative;
}
/* 🔄 Hamburger-Menü weiter nach links */
.nav-toggle {
	display: none;
	font-size: 24px;
	cursor: pointer;
	color: #fff;
	position: absolute;
	margin-right: 10px;
	/* 👉 Menü weiter nach links */
}
/* ✨ Anpassung für Mobilgeräte */
@media (max-width: 768px) {
	.nav-links {
		display: none;
		flex-direction: column;
		width: 100%;
		position: absolute;
		top: 60px;
		left: 0;
		background: #222;
		padding: 10px;
	}
	.nav-toggle {
		display: block;
	}
}
.nav-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	position: relative;
	padding: 10px 15px;
	/* ✅ Mehr Abstand */
}
/* 🔄 Hamburger-Menü nach links ausrichten */
.nav-toggle {
	display: none;
	font-size: 26px;
	cursor: pointer;
	color: #fff;
	position: absolute;
	left: 15px;
	/* 🔧 Menü bleibt nun sauber innerhalb des Screens */
}
/* 📌 Menü wird nun korrekt angezeigt */
.nav-links {
	list-style: none;
	display: flex;
	gap: 15px;
	/* 🔧 Mehr Abstand zwischen den Icons */
}
.nav-links li {
	display: inline-block;
	/* ✅ Kein Überlappen */
}
/* 🔄 Dropdown-Menü für Mobilgeräte */
.nav-links.active {
	display: flex;
	flex-direction: column;
	position: absolute;
	top: 55px;
	left: 0;
	width: 100%;
	background: #222;
	padding: 10px;
	max-height: 0px;
	overflow: hidden;
	transition: max-height 0.5s ease-in-out;
}
/* ✨ Mobilgeräte-Anpassungen */
@media (max-width: 768px) {
	.nav-links {
		display: none;
	}
	.nav-toggle {
		display: block;
	}
}
/* 🌍 Standard Navigation */
.nav {
	padding: 10px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
/* 🎨 Dark Theme */
@media (prefers-color-scheme: dark) {
	.nav {
		background: #222;
	}
	.nav-links a {
		color: #fff;
	}
	.nav-toggle {
		color: #fff;
	}
}
/* 🌞 Light Theme */
@media (prefers-color-scheme: light) {
	.nav {
		background: #f9f9f9;
		/* Helle Hintergrundfarbe */
		border-bottom: 2px solid #ddd;
		/* Sanfte Abgrenzung */
	}
	.nav-links a {
		color: #222;
		/* Dunklere Schrift für bessere Lesbarkeit */
	}
	.nav-toggle {
		color: #222;
		/* Hamburger-Menü bleibt sichtbar */
	}
}
.container {
	max-width: 90%;
	/* ✅ Statt fester Breite nun flexibel */
	margin: 0 auto;
	padding: 20px;
}
@media (min-width: 1024px) {
	.container {
		max-width: 1200px;
		/* ✅ Größere Breite für Desktop */
	}
}
/* 🌞 Light Theme */
@media (prefers-color-scheme: light) {
	.nav {
		background: #f9f9f9;
		border-bottom: 2px solid #ddd;
	}
	.nav-links {
		background: #fff;
		/* ✅ Menü ist jetzt hell */
		/* border: 1px solid #ddd; */
	}
	.nav-links a {
		color: #222 !important;
		/* ✅ Text ist jetzt sichtbar */
	}
	.nav-toggle {
		color: #222;
	}
}
@media (max-width: 768px) {
	.nav-links {
		display: none;
		flex-direction: column;
		width: 100%;
		position: absolute;
		top: 55px;
		left: 0;
		background: #f9f9f9;
		padding: 10px;
		text-align: left;
		/* ✅ Links ausrichten */
	}
}
/* Dark Theme Anpassung */
@media (prefers-color-scheme: dark) {
	.notification {
		background-color: #333;
		/* ✅ Dunkler Hintergrund */
		border: 1px solid #555;
		/* ✅ Dezente Randfarbe */
		color: #fff;
		/* ✅ Helle Schrift */
	}
	.notification.unread {
		background-color: #444;
		/* ✅ Etwas heller für ungelesene Nachrichten */
	}
	.notification .meta {
		color: #bbb;
		/* ✅ Graue Meta-Infos */
	}
	.delete-btn {
		color: #ff6961;
		/* ❌ Rotes Löschen-Icon */
	}
	.delete-btn:hover {
		color: #ff4d4d;
	}
}
/* Globaler Container für Desktop-Seiten */
.container {
	width: 100%;
	max-width: 1200px;
	/* Maximalbreite – passe diesen Wert nach Bedarf an */
	margin: 0 auto;
	/* Zentriert den Inhalt horizontal */
	padding: 20px;
	/* Innenabstand, der den Inhalt vom Rand fernhält */
	box-sizing: border-box;
	margin-bottom:150px;
}
@media screen and (min-width: 769px) {
	body{
		padding-top: 170px;
	}
}

@media screen and (min-width: 1200px) {
	.feed-container {
		grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	}
}

/* Optional: Anpassungen für sehr große Bildschirme */
@media screen and (min-width: 1400px) {
	.feed-container {
		grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	}
	.container {
		max-width: 1400px;
		/* Oder ein anderer Wert, der dir gefällt */
		padding: 40px;
		/* Etwas mehr Padding, damit der Inhalt nicht zu gestreckt wirkt */
	}
}
/* Zusätzlich – falls du große Überschriften oder Text anpassen möchtest */
h1, h2, h3, p {
	max-width: 100%;
	line-height: 1.4;
}
/* Beispiel für standardisierte Layout-Abstände */
.section {
	margin-bottom: 40px;
}
/* Falls du sonstige Elemente (z. B. Formulare, Tabellen, etc.) zentralisieren möchtest, benutze ebenfalls die Container-Klasse */

/* Beispielhafte Styles – passe diese nach deinem Geschmack an */
    .profile-header {
      display: flex;
      align-items: center;
      margin-bottom: 20px;
    }
    .profile-header .avatar {
      width: 80px;
      height: 80px;
      border-radius: 50%;
      object-fit: cover;
      margin-right: 15px;
    }
    .profile-info {
      font-size: 1.2em;
    }
    .profile-actions {
      margin-top: 10px;
    }
    .profile-actions form {
      display: inline-block;
      margin-right: 10px;
    }
    .post-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
      gap: 10px;
    }
    .post-item {
      background-size: cover;
      background-position: center;
      padding-bottom: 100%; /* Erzeugt ein Quadrat */
    }
    .placeholder {
      text-align: center;
      font-style: italic;
      margin-top: 20px;
    }
		
		/* Basis-Styles */
.upload-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #f9f9f9;
}

.upload-form input[type="text"],
.upload-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
}

.upload-form input[type="file"] {
  margin-bottom: 10px;
}

.upload-form button {
  padding: 10px 20px;
  background-color: #0073e6;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1em;
}

.upload-form button:hover {
  background-color: #005bb5;
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
  .upload-form {
    background: #222;
    border-color: #444;
  }

  .upload-form input[type="text"],
  .upload-form textarea,
  .upload-form input[type="file"] {
    background: #333;
    border-color: #555;
    color: #f9f9f9;
  }

  .upload-form input::placeholder,
  .upload-form textarea::placeholder {
    color: #bbb;
  }

  .upload-form button {
    background-color: #339af0;
  }

  .upload-form button:hover {
    background-color: #1c7ed6;
  }
}
