body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

h1, h2 {
    text-align: center;
}

form {
    background-color: #fff;
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    width: 300px;
}

/* Alle Textfelder */
input[type="text"],
input[type="password"],
textarea {
    border-radius: 10px; /* Rundung der Ecken */
    border: 1px solid #ccc; /* sanfter Rahmen */
    padding: 10px; /* Innenabstand */
    box-shadow: 1px 1px 5px rgba(0,0,0,0.1); /* leichter Schatten */
    transition: all 0.3s ease; /* sanfte Animation beim Fokus */
}

    /* Wenn Textfeld aktiv / fokussiert ist */
    input[type="text"]:focus,
    input[type="password"]:focus,
    textarea:focus {
        border-color: #007bff; /* blaue Umrandung */
        box-shadow: 0 0 8px rgba(0,123,255,0.3);
        outline: none; /* entfernt den Standard-Fokusrahmen */
    }
}

button {
    border-radius: 8px; /* runde Ecken */
    background-color: #007bff; /* blau */
    color: white; /* Textfarbe */
    padding: 10px 20px; /* innen Abstand */
    border: none; /* kein Standardrahmen */
    cursor: pointer; /* Mauszeiger ändern */
    transition: all 0.2s ease; /* Animation beim Hover */
}

    /* Hover-Effekt für Buttons */
    button:hover {
        background-color: #0056b3; /* dunkleres Blau */
        transform: scale(1.05); /* leicht vergrößern */
    }


p {
    text-align: center;
}
/* Für kleine Bildschirme (Handys) */
@media (max-width: 600px) {
    body {
        flex-direction: column;
        padding: 10px;
        height: auto;
    }

    form {
        width: 90%;
        padding: 15px;
    }

    input[type="text"],
    input[type="password"],
    button {
        font-size: 16px;
        padding: 12px;
    }
}

/* Für Tablets */
@media (min-width: 601px) and (max-width: 992px) {
    form {
        width: 70%;
    }
}

/* Partyspiel Styling */
.party-title {
    color: #2c7a2c; /* Dunkelgrün für Überschrift */
    text-align: center;
    margin-bottom: 20px;
}

.party-online-list {
    list-style-type: none;
    padding: 0;
    margin-bottom: 20px;
}

    .party-online-list li {
        background-color: #e6f2e6; /* Helles Grün für Spieler */
        padding: 8px 12px;
        margin-bottom: 5px;
        border-radius: 8px;
    }

.party-current-player {
    font-weight: bold;
    font-size: 1.2em;
    color: #145214; /* Dunkelgrün */
}

.party-task {
    color: #1a521a; /* Dunkelgrün für Aufgabe */
    font-size: 1.1em;
    margin-top: 10px;
}

.party-button {
    background-color: #2c7a2c; /* Grün */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: block;
    margin: 20px auto;
}

    .party-button:hover {
        background-color: #1a521a; /* Dunkleres Grün */
        transform: scale(1.05);
    }
