.RoomCodeOn {
    text-align: center;
}
.zentriert {
    text-align: center;
    justify-content: center;
    align-items: center;
}
.zentriertFlex {
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
}
.rechts {
    text-align: right;
    justify-content: right;
    align-items: right;
}
.unsichtbar {
    visibility: hidden;
    display: none;
}
.überschrift {
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 20px;
    margin-right: 20px;
    text-align: center;
}
.abstandOben {
    margin-top: 30px;
}
.abstandObenGrid {
    padding-top: 10px;
}
.kleinAbstandOben {
    margin-top: 5px;
}
.abstandLinks {
    margin-left: 20px;
}
.abstandLinksGrid {
    margin-left: 10px;
}
.RippchenName {
    margin-left: 180px;
}
.RippchenText {
    margin-top: 40px;
}
.HoogiName {
    margin-right: 180px;
}
.HoogiText {
    margin-top: 40px;
}
.abstandRechtsGrid {
    margin-right: 10px;
}
.abstandRechts {
    margin-right: 20px;
}
.buttonJoin {
    height: 100px;
    width: 200px;
}
.roomInput {
    max-width: 300px;
}
.black {
    background-color: black;
}
.green {
    background-color: green;
}
.yellow {
    background-color: yellow;
}
.brown {
    background-color: rgb(78, 44, 0);
}
.red {
    background-color: rgb(141, 0, 0);
}
.redText {
    color: rgb(141, 0, 0);
}

.buzzer {
    width: 300px;
    height: 300px;
    border-radius: 50%;       /* rund machen */
    font-size: 2rem;          /* großer Text */
    background-color: crimson;
    color: rgb(16, 10, 56);
    box-shadow: 0px 0px 50px rgba(87, 87, 87, 0.5);
}
.buzzer:active {
    transform: scale(0.99);       /* etwas kleiner gedrückt */
    background-color: #b30000;   /* dunkleres Rot */
    box-shadow: inset 0 4px 6px rgba(0,0,0,0.3);
}
.buzzer:disabled {
    background-color: #b30000;
}

.buzzer-container {
    display: flex;
    justify-content: center;  /* horizontal zentrieren */
    align-items: center;      /* vertikal zentrieren */
    padding: 20px 0;            
}

.cardDash {
    margin-left: 25px;
    margin-right: 25px;
    margin-top: 25px;
    margin-bottom: 25px;
    min-height: 200px;
    min-width: 300px;
    max-width: 300px;
    max-height: 300px;
}

.cardDashOverlay {
    margin-left: 5px;
    margin-top: 5px;
    min-height: 150px;
    min-width: 300px;
    max-width: 300px;
    max-height: 300px;
    overflow: hidden;
}

.answerInput {
    min-height: 100px;
    max-width: 1000px;
    text-align: center;
}

.hostAnswerInput {
    min-height: 100px;
    max-width: 300px;
    text-align: center;
}

.abstand {
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
}

.playerList {
    display: flex;
    justify-content: center;  /* horizontal zentrieren */
    align-items: center;      /* vertikal zentrieren */
    margin-top: 50px;
}

.faqBaseBox {
    margin-left: 40%;
    margin-right: 40%;
}
.faqBox {
    margin-left: 20%;
    margin-right: 20%;
}
.faqAbrunden {
    border-radius: 15px;
}
.faqAbrunden .message-header {
    border-radius: 15px 15px 0px 0px;
}
.faqAbrunden .message-body {
    border-radius: 0px 0px 15px 15px;
}
.faqAbrunden details:not([open]) .message-header {
    border-radius: 15px;
}
.questionCard {
    background: #1a1830;
    border: 2px solid #6c63ff;
    border-radius: 12px;
    padding: 20px 36px;
    margin: 0 auto 24px;
    max-width: 900px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #f0eefc;
    box-shadow: 0 0 24px rgba(108, 99, 255, 0.35);
    min-height: 100px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.punkteBox {
    width: 50px;
    height: 50px;
}

























@keyframes slideBounce {
    0% { transform: translateY(-140px) scale(0.85); opacity: 0; }
    60% { transform: translateY(6px) scale(1.04); opacity: 1; }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}

.qcard-slide {
    animation: slideBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}





/* 1. Die Definition der Bewegung */
@keyframes einfliegen {
    0% {
        opacity: 0;                 /* Start: Komplett durchsichtig */
        transform: translateY(30px); /* Start: 30 Pixel weiter unten */
    }
    100% {
        opacity: 1;                 /* Ende: Sichtbar */
        transform: translateY(0);    /* Ende: Originalposition */
    }
}

/* 2. Die Klasse, die wir den Elementen geben */
.animiert {
    /* Name der Animation | Dauer | Kurve (sanftes Ende) | Zustand behalten */
    animation: einfliegen 1s ease-out forwards;
    opacity: 0; /* Wichtig: Element ist am Anfang unsichtbar, damit es nicht kurz aufblitzt */
}

/* 3. Verzögerungen für nacheinander erscheinende Elemente */
.delay1 { animation-delay: 0.2s; }
.delay2 { animation-delay: 0.4s; }
.delay3 { animation-delay: 0.6s; }
.delay4 { animation-delay: 0.8s; }
.delayRejoin { animation-delay: 3s; }


.toolbar-groups {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.toolbar-groups .buttons {
    margin-bottom: 0;
}
.toolbar-divider {
    width: 1px;
    align-self: stretch;
    background-color: rgba(255, 255, 255, 0.15);
}

#bildButtonPlay {
    margin-top: 50px;
    padding: 100px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.grid {
    border-left: 1px solid #868686;
    border-top: 1px solid #868686;
}
.quizFeld {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}
.zellen {
    border-right: 1px solid #868686;
    border-bottom: 1px solid #868686;
    height: 528px;
    display: flex;
    flex-direction: column;
    align-items: center;
}



.quizFeld button {
    width: 400px;
    height: 200px;
    cursor: pointer;
}
.quizFeld button:focus {
    /* animation controlled via JS class .button-vollbild / .button-klein */
}
@keyframes buttonVollbild {
    0% {
        width: 400px;
        height: 200px;
    }
    20% {
        width: 340px;
        height: 176px;
    }
    100% {
        width: 100vw;
        height: 100vh;
        border-radius: 0;
    }
}