﻿
.app-container-section {
    flex-grow: 1;
    display: flex;
    flex-direction: column; /*row | row-revers | column | column-reverse*/
    justify-content: flex-start; /*flex-start | flex-end | center | space-between | space-around | space-evenly*/
    align-items: center; /* oder align-self strech | flex-start | flex-end | center | basline | auto*/

    height: 100%;
    max-height: 100%;
    width: 100%;
}


#app-container-subsection-id-start-welcome {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    transition: opacity 1.5s;
    overflow: hidden;
    overflow-x: hidden;
}

#app-container-section-id-actions {
    padding: 2% 2% 2% 2%;
    box-sizing: border-box;
    gap: 10px;
}


.cloudCanvas {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    pointer-events: none
}

#schwierigkeitLeicht {
    height: auto;
    width: auto;
    display: inline-block;
    opacity: 0.5;
}


#tb_SpielerName {
    width: 30%;
    margin-left: auto
}


#schwierigkeitSchwer {
    height: auto;
    width: auto;
    display: inline-block;
    opacity: 0.5;
}

.schwierigkeit {
    margin: auto;
    text-align: center;
    background-color: white;
}




#erklaerung1 {
    display: none;
}

#erklaerung2 {
    display: none;
}

#Auswahl {
    display: none;
    height: 100vh;
}

.center {
    margin: auto;
    width: auto;
    border: 3px solid #73AD21;
    padding: 10px;
}

#textButton1 {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.app-container {
    justify-content: space-between;
}



.bannerBox {
    transition: width 2s;
    margin-left: auto;
    margin-right: auto;
    min-width: 100px;
    min-height: 50px;
    max-width: 100%;
    max-height: 100%;
    z-index: 2;
}

#welcomeImg {
    margin: auto;
    max-width: 1100px;
    width: 100%;
    height: auto;
    transition: opacity 1.5s;
}

#test {
    display: none;
}

@@media only screen and (max-width: 800px) {

    #welcomeImg {
        display: none;
    }

    #test {
        display: block;
    }
}







/*View-Difficulty*/
.dificulty {
    height: 100%;
    opacity: 0.5;
    transition: opacity 0.2s;
    text-align: center;
}

.dificulty p {
    font-size: 30px;
}

.dificulty:hover {
    opacity: 1;
}



.textfeld:focus {
    background-color: transparent;
}


.spacer {
    flex: 0 0 50%;
}

.item {
    flex: 0 0 500px;
    height: 80%;
    background-color: rgba(255, 255, 255, 0.4);
    scroll-snap-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border-bottom: solid #aad200;
    margin-top: auto;
    margin-bottom: auto;
    max-width: 93vw;
}

.item-inner {
    transition: transform 0.1s ease, opacity 0.1s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.item-inner img {
    max-width: 100%;
    max-height: 80%;
    object-fit: contain;
}

.item-inner p {
    font-weight: bold;
    margin-top: 1rem;
    transition: transform 0.1s ease, opacity 0.1s ease;
}






/*Überarbeitet*/
@@keyframes animationCloudMovement {
    0% {
        left: -10%;
        opacity: 0%;
    }

    20% {
        opacity: 100%;
    }

    80% {
        opacity: 100%;
    }

    100% {
        left: 100%;
        opacity: 0%;
    }
}

.cloud {
    z-index: 1;
    position: absolute;
    background-image: url("images/wolke.webp");
    background-size: contain;
    background-repeat: no-repeat;
}


/*Ende Überarbeitet*/

#bt_pressToStart {
    min-width: fit-content;
    background-color: #aad200;
    animation-name: animationPressToStart;
    animation-duration: 4s;
    animation-timing-function: ease-in-out;
    animation-play-state: running;
    animation-iteration-count: infinite;
}



@@keyframes animationPressToStart {
    0% {
        opacity: 20%;
    }

    50% {
        opacity: 100%;
    }

    100% {
        opacity: 20%;
    }
}






#buttonBox {
    display: flex;
    flex-direction: row; /*row | row-revers | column | column-reverse*/
    justify-content: center; /*flex-start | flex-end | center | space-between | space-around | space-evenly*/
    align-items: center; /* oder align-self strech | flex-start | flex-end | center | basline | auto*/

    margin-left: auto;
    margin-right: auto;
    gap: 20px;
}



#test {
    display: none;
}

@@media only screen and (max-width: 800px) {

    #welcomeImg {
        display: none;
    }

    #test {
        display: block;
    }
}






#TextAreaSelection {
    display: none;
    text-align: center;
    font-size: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    width: 100%;
    transition: opacity 1.5s;
}

#usernameSelection {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    flex-direction: column; /*row | row-revers | column | column-reverse*/
    justify-content: space-evenly; /*flex-start | flex-end | center | space-between | space-around | space-evenly*/

    min-width: 40%;
    max-width: 100%;
    width: clamp(500px, 1vw, 100%);
    transition: opacity 2s;
}

.explanation {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    width: 90%;
}


.explanation li {
    font-size: 25px;
    font-family: SourceSans3-Medium;
    color: white;
    list-style: none
}

.explanation li::before {
    content: "\25FC"; /* Add content: \2022 is the CSS Code/unicode for a bullet */
    color: #aad200; /* Change the color */
    display: inline-block; /* Needed to add space between the bullet and the text */
    width: 1em; /* Also needed for space (tweak if needed) */
    margin-left: -1em; /* Also needed for space (tweak if needed) */
}

#explanation_1_grow {
    flex-grow: 1;
    width: 100%;
}

#usernameSelection_alert {
    color: #e30613;
    font-family: SourceSans3-Bold;
    display: none;
    font-size: 25px;
}

.textfeld {
    height: 100px;
    width: 100%;
    border-radius: 40px;
    text-align: center;
}

.textfeld:focus {
    background-color: transparent;
}

.scroll-container {
    height: 800px;
    gap: 2vh;
}

