/* Hintergrund mit Farbverlauf für ein modernes und edles Aussehen */
body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #4b79a1, #283e51);
    color: #333;
    margin: 0;
    padding: 20px 0; /* Platz nach oben */
    min-height: 100vh; /* Keine feste Höhe, damit der Body mit dem Inhalt wächst */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Container im Card-Design mit Schatten und abgerundeten Ecken */
.container {
	
	font-family: 'Arial', sans-serif;
	color: #333;
	margin: 0;
    max-width: 800px;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.9); /* Halbtransparente Box */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    text-align: left;
    margin-top: 20px;
    overflow-y: auto; /* Ermöglicht Scrollen bei großem Inhalt */
    max-height: calc(100vh - 40px); /* Der Container soll nicht größer als der Bildschirm sein */
}
.container:hover {
	transform: translateY(-5px); /* sanfter Hover-Effekt */
}

h1 {
	font-size: 26px;
	color: #333;
	margin-bottom: 20px;
	font-family: 'Georgia', serif;
}

p {
	font-size: 16px;
	line-height: 1.6;
	color: #555;
}

/* Eingabefelder und Buttons mit modernem Design */
input[type="text"], input[type="password"] {
	width: 95%; /* Leicht schmaler als 100% für besseren Rand */
	padding: 12px 20px 12px 10px; /* Mehr Padding rechts (20px) und weniger links (10px) */
	margin: 10px 0;
	border: 1px solid #ddd;
	border-radius: 8px;
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
	font-size: 16px;
}

button {
	width: 100%;
	padding: 12px;
	background-color: #4b79a1;
	color: white;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	font-size: 16px;
	transition: background-color 0.3s ease;
}

button:hover {
	background-color: #36556b; /* Dunkleres Blau bei Hover */
}

.hidden {
	display: none;
}

/* Links im modernen Stil */
.links a {
	display: block;
	margin: 10px 0;
	color: #4b79a1;
	font-size: 16px;
	text-decoration: none;
	transition: color 0.3s ease;
}
.links a:hover {
	color: #36556b; /* Dunklerer Farbton bei Hover */
}

/* Datenschutz-Checkbox */
.privacy {
	margin-top: 10px;
	font-size: 14px;
	color: #555;
}

.privacy input {
	margin-right: 5px;
}

/* Footer für Impressum */
.impressum {
	margin-bottom: 30px;
	font-size: 14px;
	color: #444;
}

/* Moderner Effekt bei Focus auf Eingabefeldern */
input[type="text"]:focus, input[type="password"]:focus {
	outline: none;
	border-color: #4b79a1;
	box-shadow: 0 0 6px rgba(75, 121, 161, 0.5);
}

/* Modal Styles */
.modal {
	display: none;
	position: fixed;
	z-index: 1;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	overflow: auto;
}

.modal-content {
	background-color: #fff;
	margin: 10% auto;
	padding: 20px;
	border-radius: 10px;
	max-width: 800px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.close {
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
}

.close:hover,
.close:focus {
	color: #000;
	text-decoration: none;
	cursor: pointer;
}