:root {
    --font-color: rgb(34, 34, 34);
    --radius: 0.5rem;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Verhindert horizontales Scrollen */
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--font-color-main);
}

body {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background-color: var(--background-color);
    color: var(--font-color-main);
}

#content-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100% - 64px);
    width: 100%;
}



h2 {
    margin-bottom: 8px;
}


footer {
    display: flex;
    justify-content: center;
    align-items: center;
    
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    min-height: 64px;
    font-size: 12px;
    color: var(--font-color-main);
    font-weight: bold;
    box-shadow: 0px 0px 29px -16px rgba(0, 0, 0, 0.5);
}

/* input[type="text"] {
    width: 100%;
    box-sizing: border-box;
    background-color: rgba(255, 255, 255, 0.5);
} */

#background-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(../images/background/light-source.svg);
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.container {
    flex-direction: column;
    height: min-content;
    width: 400px;
    padding: 32px;
    row-gap: 16px;
    text-align: center;
    position: relative;
}

.container::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: var(--current-progress);
    height: 4px;
    background-color: var(--lebrain-pink);
    animation: none;
}

.container.animate::after {
    animation: fillContainer 5s linear forwards;
}


@keyframes fillContainer {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}



.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw; /* Breite des gesamten Viewports */
    height: 100vh; /* Höhe des gesamten Viewports */
    overflow: hidden; /* Verhindert das Scrollen */
    z-index: -1; /* Stellt den Container hinter den Inhalt */
}

.background-image {
    width: 100%;
    height: 100%;
    background-image: url(../images/brains/05ef6759-62a9-4f2e-bc9d-b58478ddb0ab2.webp);
    background-size: cover; /* Bedeckt den gesamten Container, könnte über den Rand hinausgehen */
    background-position: center center; /* Zentriert das Bild */
}


#info-span {
    display: none;
    font-size: 0.8rem;
    font-weight: bold;
    width: 100%;
}

.info-span-error {
    display: block;
    color: rgba(255, 0, 0, 1);
}

.info-span-info {
    display: block;
    color: var(--font-color-main);
}


.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

@media only screen and (max-width: 768px) {


    .container {
        width: 95%;
        max-width: 400px;
        height: max-content;
    }


}
