/* Allgemeine Styles für den Body */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #101010; /* Dunkler Hintergrund */
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    overflow: hidden;
    position: relative;
}

/* Helle, geometrische Elemente im Hintergrund */
#background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.8)); 
    pointer-events: none;
}

/* Styling des Formulars */
.form-container {
    background-color: #2c2c2c; /* Dunkleres Grauton für das Formular */
    padding: 50px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6); /* Schlagschatten für Tiefe */
    position: relative;
    z-index: 2;
    border: 1px solid #333; /* Harter Rand */
}

/* Titel */
h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #f39c12; /* Warmer Goldton */
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: bold;
}

/* Label für Input-Felder */
label {
    font-size: 16px;
    margin-bottom: 8px;
    display: block;
    color: #bbb; /* Helles Grau */
}

/* Input-Felder */
input {
    width: 100%;
    padding: 15px;
    margin-bottom: 25px;
    background-color: #333;
    border: 2px solid #555;
    border-radius: 4px; /* Scharfe Ecken */
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
    outline: none;
}

/* Hover und Focus-Effekte für Input-Felder */
input:hover, input:focus {
    border-color: #f39c12; /* Goldener Rand bei Hover/Focus */
    box-shadow: 0 0 10px rgba(243, 156, 18, 0.8);
}

/* Button */
button {
    width: 100%;
    padding: 15px;
    margin-left: 15px;
    background-color: #f39c12; /* Goldene Farbe für den Button */
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

/* Hover-Effekt für Button */
button:hover {
    background-color: #e67e22; /* Etwas dunkleres Orange */
    transform: scale(1.05); /* Leicht vergrößern bei Hover */
}

/* Link für die Registrierung */
a {
    color: #f39c12;
    text-decoration: none;
    font-size: 14px;
    margin-top: 15px;
    display: inline-block;
    transition: all 0.3s ease;
}

/* Hover-Effekt für den Link */
a:hover {
    text-decoration: underline;
    color: #e67e22;
}
#error {
    margin: 10px;
    color: orangered;
    font-size: 15px;
}

/* Für den mobilen Bereich */
@media (max-width: 600px) {
    .form-container {
        padding: 40px;
    }

    h2 {
        font-size: 24px;
    }
}
