#main{
    width: 850px;
    height: 500px;
    background: #ab0f07 url(images/intro2.png);
    margin: 10px auto;
    border: #ab0f07 2px solid;
    font-family: sans-serif;
    border-radius: 10px;
}
#top{
    width: 850px;
    height: 60px;
/*    background: #ab0f07 ;
    box-shadow: black 3px 3px 5px;*/
    border-radius: 10px;
}

#game{
    display: none;
}
#ovladani{
   height: 320px; 
   display: flex;
}
#vstup{
    flex:1;
}
#sibenice{
    flex:1;
    
}
#sibenice_obr{
    background: #ab0f07;
    width: 200px;
    height: 251px;
    margin: 20px auto;
}
.label{
/*    width: 50px;*/
    height: 30px;
    font-size: 20px;
    margin-left: 20px;
    margin-right: 10px;
    float: left;
}
.text{
    width: 50px;
    height: 30px;
    background: #ececbd;
    float: left;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    box-shadow: 3px 3px 3px inset;
}
#historie{
    width: 400px;
    height: 30px;
    margin-bottom: 20px;
}
#historie_text{
    width: 300px;
    font-size: 20px;
    font-weight: bold;
}
#hodnoceni{
    width: 400px;
    height: 30px;
/*    margin-bottom: 10px;*/
}
#chyby_label{
    margin-left: 65px;
}
pismeno_in{
    width: 350px;
    height: 30px;
}
#pismeno_text{
    width: 50px;
    height: 50px;
    margin: 20px 40px;
    margin-left: 90px;
    font-size: 38px;
    font-weight: bold;
    text-align: center;
}
#but7{
    margin-top: 22px;
    margin-left: 35px;
    width: 80px;
    height: 40px;
    background-image: none;
    border: 2px solid #ab0f07;
}
.but{
    margin-right: 10px;
    width: 50px;
    height: 50px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    color: #2f1a00;
    border-radius: 5px;
    background: #ececbd url(images/zeme.png);;
    background-size: contain;
/*    border: 2px solid #ab0f07;*/
    box-shadow: 3px 3px 3px;
    list-style: none;
    float: left;
    }

.but :hover {
    box-shadow: 0px 0px 0px;    
    }
#but0{
    background-image: url(images/pes.png);
}
#but1{
    background-image: url(images/zeme.png);
}
#but2{
    background-image: url(images/jidlo.png);
}
#but3{
    background-image: url(images/jahoda.png);
}
#but4{
    background-image: url(images/dum.png);
}
#but5{
    background-image: url(images/mix.png);
}
#but6{
    float: right;
    background-image: url(images/help.png);
    margin-right: 35px;
}
#pismena{
    width: 850px;
    height: 100px;
    margin: 20px auto;
    border: 1px solid #ab0f07;
}

.pis2{
   width: 35px;
    height: 50px;
    margin-left: 10px;
    border-bottom: 1px solid white;
    list-style: none;
    position: relative;
    top: -10px;
    left: -20px;
    float: left;
    font-size: 45px;
    font-weight: bold;
    text-align: center;
}

#pismena_slovo{
    display: none;
}

#klavesnice{
        width: 360px;
    height: 120px;
    border: 1px solid #080808;
    position: relative;
    top: -140px;
    left: 270px;
    display: none;
    background: #ececbd;
    box-shadow: 3px 3px 3px inset;
}
.key{
       width: 30px;
    height: 30px;
    /* margin-left: 15px; */
    border: 1px solid black;
    list-style: none;
    float: left;
    position: relative;
    top: -2px;
    left: -20px;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    font-weight: bold;
    font-size: 22px;
    background: #ab0f07;
    box-shadow: black 3px 3px 3px;
    color: #ececbd;
}
.key :hover{
    box-shadow: black 1px 1px 1px;
    border: 1px solid red;
}
#key10{
    margin-left: 16px;
}
#key19{
    margin-left: 32px;
}
#key29 {
        font-size: 17px;
        font-weight: bold;
}
#vysl{
    width: 200px;
    height: 30px;
/*    border: 1px solid white;*/
    position: relative;
    top: -450px;
    left: 600px;
    display: none;
    font-size: 35px;
    font-weight: bold;
    text-align: center;
    color: red;
}
#vlastni_text{
    width: 500px;
    height: 200px;
    border: 1px solid white;
    position: relative;
    top: -500px;
    left: 520px;
    display: none;
    background: #ab0f07;
    box-shadow: black 3px 3px 3px;
}
#lab{
    width: 400px;
    height: 30px;
    margin: 20px auto;
    font-size: 20px;
    font-weight: bold;
}
#textik{
    width: 400px;
    margin-left: 50px;
}
#but8{
    margin: 20px 80px;
}
#navod{
    width: 750px;
    height: 380px;
    margin: 20px auto;
    font-size: 20px;
    font-weight: bold;
    position: relative;
    top: -450px;
    left: 0px;
    border-radius: 5px;
    background: #ececbd;
    box-shadow: black 3px 3px 3px;
    padding: 20px;
    display: none;
}
#navod_nadpis{
    width: 400px;
    height: 30px;
    margin: auto;
    text-align: center;
    float: left;
    
}
#navod_text{
    width: 700px;
    height: 330px;
    margin: 30px auto;
/*    border: 1px solid black;*/
}
#kriz{
   float: right; 
   cursor: pointer;
}
.posun{
    position: relative !important;
    top: -650px !important;
    left: 0px;
}