html{
    background-color: rgba(22,16,42,0.9);
}

#parent{
    width: 100%;
  
  display: flex;
  flex-direction:column;
   
}
img{
    margin: auto;
}
#text{
    padding: 3rem;
}

#text p{
    font-size: 1.5rem;;
}
#div{
    width: 100%;
    z-index:100;
}
/* Canvas Default */
#canvas{
    width: 100%;
    height: 100%;
    margin: auto;
    position: absolute;
}

/* Startbildschirm Granny Defender */

/* infotext p Anleitung */
.spielinfo{
    
    color:#d0bee5;
    font-family: sans-serif;
    font-size: 1.7rem;
    margin:0rem 0rem 0rem 0rem;
    padding: 6rem;
    padding-top: 1rem;
   text-align: center;
  
}




/* Canvas bei Spiel */
.canvas-spiel{
    background-color: rgba(20,13,40,0.9);
}
/* Ausgabe, wenn gewonnen */
.win{
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 100;
    top: 2.6rem;
    background-image:url(../img/won.png);
    background-color:rgba(20,13,40,0.9);
    background-repeat: no-repeat;
    background-position: center top;
}
/* Ausgabe, wenn verloren */
.lost{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 2.6rem;
    background-color:rgba(20,13,40,0.9);
    background-image: url(../img/lost.png);
    background-repeat:no-repeat;
    background-position: center top;
}

.neutral{
    width: 0;
    height: 0;
}

/* Button */
#button{
    width:100vw;
    margin: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    z-index: 100;
}

.button-gameover{
    position:fixed;
    bottom: 10rem;
}
#startbutton{
    margin: auto; 
    margin-bottom: 1.4rem;
    padding: 1.5rem 2.5rem;
    cursor: pointer;
    font-size: 2rem;
    border-radius: 2rem;
    background-color: #a18abe; 
    border:solid 3px black; 
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    color:#171741
    
}


#infobutton{
    margin: auto; 
    width: 320px;
    padding: 1.5rem 2.5rem;
    cursor: pointer;
    font-size: 2rem;
    border-radius: 2rem;
    background-color: #a18abe; 
    border:solid 3px black; 
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    color:#171741
    
}

a{
    text-decoration: none;
    display: flex;
}
/* Button wenn kein Spiel läuft */
.start-aktiv{
    display:block;
}
/* Button während Spiel */
.start-passiv{
    display:none;
}

/* Hover */


#startbutton:hover{
    background-color:#3CAE5B;
    transition: 0.5s;
}
#infobutton:hover{
    background-color:#3CAE5B;
    transition: 0.5s;
}

/* Anleitung */

.infotext{
    display:none;
    width: 90vw;
    height: 70vh;
    margin: auto;
    z-index: 1;
    background-color: #a18abe; 
    border:solid 3px black; 
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

@media only screen and (max-width: 600px) {
    #text{
        padding: 0rem;
    }
    #text p{
        font-size: 1rem;;
    }
    
/* infotext p Anleitung */
.spielinfo{
    
    color:#d0bee5;
    font-family: sans-serif;
    font-size: 1rem;
    margin:auto;
    padding: 1rem;
    padding-top: 1rem;
   text-align: center;
  
}
#button{
    width:10vw;
    margin: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    z-index: 100;
}
#startbutton{
    display: none;
    margin: auto; 
    width: 12rem;
    /* margin-bottom: 1.4rem; */
    padding: 1.5rem 2.5rem;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 2rem;
    background-color: #a18abe; 
    border:solid 3px black; 
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    color:#171741
    
}


#infobutton{
    margin: auto; 
    width: 12rem;
    padding: 1.5rem 2.5rem;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 2rem;
    background-color: #a18abe; 
    border:solid 3px black; 
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    color:#171741
    
}
  }
