html, body {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
}

body {
    background-image: url("background.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Hintergrund bleibt statisch */
    
    display: flex;
    justify-content: center;
    align-items: center;

    padding: 10px;
    box-sizing: border-box;
}

/* Zentrale Box */
.loginbox {
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 12px;
    color: white;
    text-align: center;

    width: 400px;
    max-width: 100%;
    max-height: 90vh;       /* 🔑 begrenzt Höhe */
    overflow-y: auto;       /* 🔑 Box scrollt */
    box-sizing: border-box;
}

/* Zentrale Box */
.box {
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 12px;
    color: white;
    text-align: center;

    width: 75%;
    max-width: 100%;
    max-height: 90vh;       /* 🔑 begrenzt Höhe */
    overflow-y: auto;       /* 🔑 Box scrollt */
    box-sizing: border-box;
}

/* Eingaben & Buttons */
input, button {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border-radius: 6px;
    border: none;
    margin-top: 10px;
    box-sizing: border-box;
    text-align: center;
}

button {
    cursor: pointer;
}

audio {
    width: 100%;
    margin-top: 15px;
}


.error {
    margin-top: 10px;
    color: #ff8080;
}

a {
      color: white;              /* Textfarbe des Links */
      text-decoration: none;        /* Unterstreichung entfernen */
      border: 2px solid lightskyblue;    /* Rahmen um den Link */
      padding: 5px 10px;            /* Abstand innen */
      border-radius: 5px;           /* abgerundete Ecken */
    }

    a:hover {
      color: white;                 /* Farbe beim Darüberfahren */
      background-color: lightskyblue;    /* Hintergrundfarbe beim Hover */
      border-color: 2px lightskyblue;       /* Rahmenfarbe ändern */
    }

