:root {
    --background-box: #2d3748;
    --hover-box: #4a5568;
    --default-background: #1a202c;
    --text-color: #e2e8f0;
    --title-color: #e2e8f0;
    --status-online: #38a169;
    --status-offline: #e53e3e;
    --accent-color: #3182ce;
    --input-background: #2d3748;
    --button-background: #3182ce;
    --button-hover: #2b6cb0;
    --input-border: #4a5568;
    --placeholder-color: #718096;
}

body {
    background-color: var(--default-background);
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    margin: 0;
    display: flex;
    justify-content: center;
    height: 100vh;
}


.user-data {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    position: absolute;
    top: 0;
    right: 0;
    margin: 30px;
    font-size: 26px;
    font-weight: bold;
}

#profil-picture {
    position: relative;
    width: 128px;
    /* Breite des Profilbildes */
    text-align: center;
    /* Zentriert den Inhalt */
}

#profil-picture img {
    width: 100%;
    border-radius: 50%;
    /* Rundet das Bild ab */
}
.blur-box {
    filter: blur(10px);
    pointer-events: none;
}


#username {
    opacity: 0;
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    font-size: 20px;
    font-weight: bold;
    position: absolute;
    top: 110%;
    /* Positioniert den Text unterhalb des Bildes */
    left: 50%;
    transform: translateX(-50%);
    transition: opacity 0.3s ease-in-out;
    /* Übergang für das Ein- und Ausfaden */
    background-color: var(--background-box);
    border-radius: 8px;
    /* Rundet die Ecken ab */
    padding: 5px 10px;
    /* Fügt Innenabstand hinzu */
}

#profil-picture:hover #username {
    opacity: 1;
    /* Zeigt den Text beim Hover an */
}



#login-discord {
    background-color: #5865F2;
    color: white;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

#login-discord img {
    height: 24px;
    margin-right: 10px;
}

#login-discord:hover {
    background-color: #4853c7;
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.6);
}

#login-discord::before {
    content: '';
    position: absolute;
    top: -10px;
    bottom: -10px;
    left: -10px;
    right: -10px;
    background: rgba(88, 101, 242, 0.6);
    filter: blur(20px);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 10px;
}

#login-discord:hover::before {
    opacity: 1;
}



.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 600px;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
}

.notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    text-align: center;
    z-index: 1000;
    opacity: 0;
    animation: fadeInOut 5.5s ease-in-out;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.main-title {
    max-width: 90%;
    width: 900px;
}

.menu {
    width: 100%;
    max-width: 600px;
    margin: 10px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.box {
    width: 100%;
    max-width: 400px;
    padding: 15px;
    border-radius: 5px;
    background-color: var(--background-box);
    margin: 10px auto;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: var(--text-color);
    transition: background-color 0.3s, color 0.3s;
    cursor: pointer;
}

.box:hover {
    background-color: var(--hover-box);
    color: var(--title-color);
}

.titlemenu {
    font-size: 36px;
    color: var(--title-color);
    margin-bottom: 20px;
}

.accent-divider {
    width: 100%;
    max-width: 425px;
    min-height: 1px;
    background-color: var(--accent-color);
    margin: 20px auto;
}

.join-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 40px 0;
    color: var(--text-color);
}

.code-input {
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    max-width: 500px;
    margin-bottom: 20px;
}

.code-box {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background-color: var(--background-box);
    border: 2px solid var(--input-border);
    text-align: center;
    font-size: 24px;
    color: var(--text-color);
    margin: 0 5px;
    outline: none;
    transition: border-color 0.3s;
    text-transform: uppercase;
}

.code-box::placeholder {
    color: var(--placeholder-color);
}

.code-box:focus {
    border-color: var(--accent-color);
}

#connection {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background-color: var(--default-background);
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
}

#serverStatus {
    color: var(--status-offline);
}

.footer {
    position: fixed;
    bottom: 10px;
    left: 10px;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    color: var(--text-color);
}

.heart:hover .first-bubble,
.first-bubble:hover {
    display: block;
}

.heart .first-bubble {
    content: "Mit Hilfe von ChatGPT";
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    color: black;
    border: 1px solid black;
    border-radius: 5px;
    padding: 5px;
    font-size: 14px;
    white-space: nowrap;
    z-index: 1;
    display: none;
}

.first-bubble:hover::after {
    content: "Genervt by cepocholo";
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    color: black;
    border: 1px solid black;
    border-radius: 5px;
    padding: 5px;
    font-size: 14px;
    white-space: nowrap;
    z-index: 2;
}

.heart {
    position: relative;
}

.first-bubble.persist {
    display: block !important;
}





.quotedisplay {

            >* {
                border: 1px solid #ccc;
                padding: 20px;
                margin: 20px;
                border-radius: 10px;
                max-width: 600px;
            }

            >*>a {
                color: rgb(0, 128, 255);
            }

            color: white;
        }

        .richtig {
            background-color: green;
            border-radius: 10px;
        }

        .quote {
            font-style: italic;
            margin-bottom: 10px;
        }

        .author {
            font-weight: bold;
            margin-bottom: 10px;
        }

        .timestamp {
            color: #888;
            margin-bottom: 20px;
        }

        .video {
            margin-bottom: 20px;
        }

        .answers {
            list-style: none;
            margin-left: 0;
        }

        .antworten {
            margin-top: 1rem;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
        }

        .antwort {
            border: #888 1px solid;
            border-radius: 10px;
            padding: 0 10px;
        }

        .answer {
            display: inline;
        }

        .avatar {
            border-radius: 50%;
            height: 2em;
            width: 2em;
            display: inline;
        }