body, html {
    height: 100%;
    margin: 0;
    font-family: 'Lato', sans-serif;
    background: #22374d; /* Dunkelblauer Hintergrund */
    overflow: hidden;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(193, 193, 193, 0.2);
    animation: rise infinite linear;
}

/* Individuelle Animationen für jede Blase für zufällige Positionen */
.bubble:nth-child(1) { animation: rise 25s infinite; }
.bubble:nth-child(2) { animation: rise 30s infinite; }
.bubble:nth-child(3) { animation: rise 35s infinite; }
.bubble:nth-child(4) { animation: rise 20s infinite; }
.bubble:nth-child(5) { animation: rise 22s infinite; }
.bubble:nth-child(6) { animation: rise 18s infinite; }
.bubble:nth-child(7) { animation: rise 28s infinite; }
.bubble:nth-child(8) { animation: rise 31s infinite; }

@keyframes rise {
    0% {
        transform: scale(0.5);
        top: 100%;
        left: calc(100% * var(--random)); /* Zufällige Startposition */
    }
    100% {
        transform: scale(1.1);
        top: -10%;
        left: calc(100% * var(--random2)); /* Zufällige Endposition */
    }
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-box {
    background: linear-gradient(to right, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.1));
    padding: 20px;
    width: 400px;
    height: 400px;
    border-radius: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    text-align: left;
    position: relative;
}

.login-box h1 {
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 28px;
}

.login-box p {
    color: #b0bec5;
    font-size: 16px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    color: #ffffff;
    display: block;
    margin-bottom: 5px;
}

.input-group input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    display: block;
    background: #cfd8dc;
    border-radius: 10px;
    border: none;
    box-sizing: border-box;
    color: #000;
}

.login-btn {
    background-color: #84B1E2;
    color: #424242;
    padding: 12px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
    margin-top: 20px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

.login-btn:hover {
    background-color: #639edd;
}

.error-message {
    color: #FF0000;
    background-color: #FFD2D2;
    padding: 10px;
    border: 1px solid #FF0000;
    border-radius: 5px;
    text-align: center;
    font-size: 16px;
}


.forgot-password {
    color: #cfd8dc;
    font-size: 14px;
    margin-top: 20px;
}

.language-selector {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 10%;
    width: auto;
}

.language-selector select {
    display: block;
    margin: 0 auto;
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    background: #8C9DB06E;
    color: #8a8a8a;
    font-size: 16px;
}

.language-selector select:hover {
    background-color: #8C9DB06E;
}

.language-selector select:focus {
    outline: none;
    border-color: #8C9DB06E;
}

