/* Basis-Stile für die Seite */
body {
    font-family: Arial, sans-serif;
    background-color: #000;
    color: #fff;
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    justify-content: center; /* Horizontale Zentrierung */
    align-items: center; /* Vertikale Zentrierung */
    flex-direction: column;
    text-align: center;
    overflow: hidden; /* Verhindert Scrollen während der Animation */
	
}

/* Logo */
.logo-container {
    position: absolute;
    top: 40%;
    left: 50%;
	margin-top: 1%;
    transform: translate(-50%, -50%);
    opacity: 1;
    animation: logoAnimation 2s ease-in-out forwards; /* Logo bleibt 2 Sekunden und geht dann nach oben */
}

/* Die Animation für das Logo */
@keyframes logoAnimation {
    0% {
        top: 50%; /* Start in der Mitte */
        opacity: 1;
    }
    50% {
        top: 50%; /* Logo bleibt 2 Sekunden in der Mitte */
        opacity: 1;
    }
    100% {
        top: 10%; /* Logo bewegt sich nach oben */
        opacity: 1;
    }
}

/* Logo Bildgröße anpassen */
.logo-container img {
    width: 150px;	/* Logo Breite auf 150px setzen */
    height: auto; /* Höhe automatisch anpassen, um das Seitenverhältnis beizubehalten */
}

/* Container für das Formular */
.container {
    width: 100%;
    max-width: 500px; /* Maximale Breite für größere Bildschirme */
    padding: 20px;
    background-color: #333;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    margin: 0 10px; /* Abstand vom Bildschirmrand */
	margin-top: 1%;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0; /* Anfangs unsichtbar */
    transition: opacity 1s ease-out; /* Weicher Übergang für das Einblenden */
    position: relative; /* Positioniert relativ zur Seite */
}

/* Überschrift für das Formular */
h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: bold;
}

/* Formular selbst */
form {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Labels für die Eingabefelder */
label {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

/* Eingabefelder für Text, Auswahl und Textarea */
input[type="text"] {
    padding: 10px;
    margin-bottom: 15px;
    background-color: #444;
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 1.5rem;
    width: 90%; /* Eingabefelder füllen 90% der Breite aus */
    margin-left: auto;
    margin-right: auto; /* Zentriert das Eingabefeld */
    text-align: center; /* Text horizontal zentrieren */
    line-height: 40px; /* Vertikale Zentrierung des Textes */
}

/* Button-Stile */
button {
    padding: 12px;
    background-color: #ff6347; /* Tomatenfarbe */
    border: none;
    border-radius: 5px;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%; /* Button füllt die gesamte Breite aus */
}

button:hover {
    background-color: #ff4500; /* Dunklere Farbe bei Hover */
}

/* Fehleranzeige */
p {
    font-size: 1.2rem;
    color: red;
}

/* Responsiv für mobile Geräte */
@media screen and (max-width: 768px) {
    h2 {
        font-size: 2rem;
    }

    label {
        font-size: 1rem;
    }

    input[type="text"],
    select,
    textarea {
        font-size: 1rem;
        padding: 12px;
		text-align: center;
    }

    button {
        font-size: 1rem;
        padding: 14px;
    }

    .container {
        padding: 15px;
    }

    .logo-container img {
        width: 120px; /* Kleinere Logo-Breite für Tablets */
    }
}
        .content-container {
            display: none;
            opacity: 0;
            transition: opacity 1s ease-in-out;
        }
        .content-container.show {
            display: block;
            opacity: 1;
        }

@media screen and (max-width: 480px) {
    h2 {
        font-size: 1.8rem;
    }

    input[type="text"],
    select,
    textarea {
        font-size: 0.9rem;
        padding: 10px;
		text-align: center;
    }

    button {
        font-size: 0.9rem;
        padding: 10px;
    }

    .container {
        padding: 10px;
        width: 95%; /* Container nutzt fast die ganze Breite des Bildschirms */
    }

    .logo-container img {
        width: 100px; /* Noch kleinere Logo-Breite für kleine Bildschirme */
    }
}
