


@keyframes fadeIn {
    to { opacity: 1; }
}

.logo {
    display: block;
    margin: 0 auto 2.5rem;
    max-width: 100%;
    height: auto;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: bold;
    color: #222;
}

.form-group input {
    width: 100%;
    padding: 0.9rem;
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid #bbb;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
}

.form-group input:focus {
    border-color: #0056b3;
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
    outline: none;
}

.submit-btn, .ajax-btn {
    width: 100%;
    background-color: #004b9e;
    color: white;
    padding: 0.9rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
}

.submit-btn:hover {
    background-color: #003570;
}

.submit-btn:active {
    transform: translateY(1px);
}

.error {
    color: #dc3545;
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: bold;
    background-color: #fff3f3;
    padding: 0.75rem;
    border-radius: 5px;
    border: 1px solid #ffcccb;
}

@media (max-width: 768px) {
    body, html {
        align-items: flex-start; /* Ändert die vertikale Ausrichtung auf mobilen Geräten */
    }

    .container {
        margin-top: 2rem; /* Fügt etwas Abstand oben hinzu */
        margin-bottom: 2rem; /* Fügt etwas Abstand unten hinzu */
        padding: 1.5rem; /* Reduziert das Padding im Container */
    }
}

@media (max-height: 600px) {
    .container {
        margin-top: 1rem; /* Noch weniger Abstand für sehr kleine Bildschirme */
        margin-bottom: 1rem;
        padding: 1rem;
    }
}



