body {background-color: white;
    user-select: none;
}

#ball1{
    position: absolute;
    color: black;
    display: none;
    z-index: 9;
    pointer-events: none;
    top:43%;
    left: 18%;
}


#ball2{
    position: absolute;
    display: none;
    color: black;
    z-index: 9;
    pointer-events: none;
    top:43%;
    right: 18%;
}


header{
    display: flex;
    font-size: 25px;
    text-align: center;
    justify-content: center;
}

#square1 {
   width: 50%;
   height: 250px;
   background-color: blue;
   margin: 10px;
   font-size: 100px;
   color: white;
   display: flex;
   justify-content: center;
   align-items: center;
   text-align: center;
}

.square_unclick {
    cursor: not-allowed;
}

.pointer{
    cursor: pointer;
}

#square2 {
   width: 50%;
   height: 250px;
   background-color: red;
   display: flex;
   justify-content: center;
   align-items: center;
   text-align: center;
   margin: 10px;
   font-size: 100px;
   color: white;
}

#row1 {
    width: 100%;
}


.field{
    width: 100%;
    background-color: white;
    display: inline-block;
    margin: 10px;
    text-align: center;
    line-height: 100px;
    font-size: 24px;
    color: black;
    display: flex; 
    flex-direction: row;
}



#reset{
    display: flex;
    justify-content: center;
    width: 50%;
    align-items: center;
    background-color: black;
    margin: 10px;
    line-height: 100px;
    font-size: 24px;
    color: white;
    cursor: pointer;

}

#next_set{
    display: flex;
    width: 50%;
    justify-content: center;
    align-items: center;
    background-color: green;
    margin: 10px;
    line-height: 100px;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

main div {
    display: flex; flex-direction: row;
}

.colored-div{
    background-color: lightgreen;
}

.setleft{
    border-color: blue;
}

.setright{
    border-color: red;
}

#set1left{
    width: 100%;
    display: flex;
    justify-content: center;
    text-align: center;
    border-style: solid;
    margin: 5px;
}

#set2left{
    width: 100%;
    display: flex;
    justify-content: center;
    text-align: center;
    border-style: solid;
    margin: 5px;
}
#set3left{
    width: 100%;
    display: flex;
    justify-content: center;
    text-align: center;
    border-style: solid;
    margin: 5px;
}
#set1right{
    width: 100%;
    display: flex;
    justify-content: center;
    text-align: center;
    border-style: solid;
    margin: 5px;
}
#set2right{
    width: 100%;
    display: flex;
    justify-content: center;
    text-align: center;
    border-style: solid;
    margin: 5px;
}
#set3right{
    width: 100%;
    display: flex;
    justify-content: center;
    text-align: center;
    border-style: solid;
    margin: 5px;
}

#timer {
    font-size: 400%;
    position: absolute;
    text-align: center;
    pointer-events: none;
    left: 50%;
    transform: translateX(-50%);
}

button {
    font-size: 1em;
    padding: 5px 10px;
}

#start{
    position: fixed;
    background-color: goldenrod;
    z-index: 999;
    font-size: 200px;
    height: 100%;
    width: 100%;
    top: 0%;
    left: 0%;
}

@media (max-width: 768px) {

    #timer{
        position: fixed;
        font-size: 300%;
        top: 44%; /* Vertikale Mitte */
        left: 50%; /* Horizontale Mitte */
        transform: translate(-50%, -50%); /* Zentrierung */
        opacity: 1; /* Die Opazität auf einen Wert kleiner als 1 (z. B. 0.5) setzen, um es halbtransparent zu machen */
        pointer-events: none;
    }

    #start{
        height: 100%;
        width: 100%;
        font-size: 100px;
        z-index: 999;
    }

    #square1 {
    width: 96%;
    height: 30%;
    background-color: blue;
    font-size: 50px;
    color: white;
    margin: 0%;
    position: fixed;
    top: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

    }

    #square2 {
    width: 96%;
    height: 30%;
    background-color: red;
    font-size: 50px;
    color: white;
    margin: 0%;
    position: fixed;
    bottom: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    }


    #reset{
    position: fixed;
    height: 10%;
    width: 40%; 
    top: 48%;
    right: 5%;
    margin: 0%;
    width: 40%;
    }

    #next_set{
    position: fixed; 
    height: 10%;
    width: 40%; 
    top: 48%;
    left: 5%;
    margin: 0%;
    width: 40%;
    }

    header{
        display: flex;
        font-size: 15px;
        text-align: center;
        justify-content: center;
    }

    main div {
        display: flex; flex-direction:column;
    }

    .setleft{
        border-color: white;
        color: white;
        position: fixed;
        pointer-events: none;

    }

    .setright{
        border-color: white;
        color: white;
        position: fixed;
        pointer-events: none;

    }

    #set1left{
        display: flex;
        justify-content: center;
        text-align: center;
        border-style: solid;
        position: fixed;
        z-index: 998;
        width: 20%;
        top: 10%;
        height: 5%;
        left: 10%;
    }
    
    #set2left{
        display: flex;
        justify-content: center;
        text-align: center;
        border-style: solid;
        z-index: 998;
        position: fixed;
        width: 20%;
        top: 10%;
        height: 5%;
        right: 38%;
    }
    #set3left{
        display: flex;
        justify-content: center;
        text-align: center;
        border-style: solid;
        z-index: 998;
        position: fixed;
        width: 20%;
        top: 10%;
        height: 5%;
        right: 10%;
    }
    #set1right{
        display: flex;
        justify-content: center;
        text-align: center;
        border-style: solid;
        position: fixed;
        z-index: 998;
        width: 20%;
        bottom: 10%;
        height: 5%;
        left: 10%;
    }
    #set2right{
        display: flex;
        justify-content: center;
        text-align: center;
        border-style: solid;
        z-index: 998;
        position: fixed;
        width: 20%;
        bottom: 10%;
        height: 5%;
        right: 38%;
    }
    #set3right{
        display: flex;
        justify-content: center;
        text-align: center;
        border-style: solid;
        z-index: 998;
        position: fixed;
        width: 20%;
        bottom: 10%;
        height: 5%;
        right: 10%;
    }
    
}



