#main{
    width: 900px;
    height: 700px;
    margin: 10px auto;
    border: 2px solid;
    background: #5f5f5f;
}
#game{
   width: 800px;
    height: 700px;
    float: left;
}
#ovl{
   width: 100px;
    height: 700px;
    float: left;
    box-shadow: 3px 3px 3px inset;
    background: #b3aeae;
    
}
.casti_obr {
    cursor:pointer;
   
}

#obr{
    width: 550px;
    height: 630px; 
    float:left;
}
#vzor{
    width: 250px;
    height: 630px; 
    float:left;
}
#vzor_text{
    margin-top:25px;
    float:right;
    width:20px;
    opacity:0;
}
.vzory{
    
    height: 40px;
    display:flex;
    
    font-weight: bold;
    margin-top:10px;
    box-shadow:3px 3px 3px;
   
}
.vzory_cislo{
    flex:1;
    min-width:20px;
    height: 40px;
    font-size: 23px;
    text-align: center;
    line-height:40px;
    background-color:blue;
    border-top-left-radius:5px;
    border-bottom-left-radius:5px;
    background-color: #b3aeae;
    color: #394239;
    float: left;
}
.vzory_text{
    flex:4;
    height: 40px;
    font-size: 23px;
    text-align: left;
    line-height:40px;
    padding-left: 20px;
    background-color: #394239;
    color: #b3aeae;
    float: left;
    
}


#kanka{
    width: 150px;
    height:110px;
    z-index:100;
    position:relative;
    top: -188px;
    left: 410px;
    float: left;
    //display:none;
}

#barvy{
    width: 800px;
    height: 70px;
    //color: #b3aeae;
    font-size: 30px;
    font-weight: bold;
    line-height: 100px;
    text-align: center;
    float: left;
}
#paleta{
    width: 800px;
    height: 70px;
    float: left;
    
    //opacity:0;
}
.barva{
    width: 46px;
    height: 46px;
    margin-left: 15px;
    margin-top: 15px;
    float: left;
    border: 1px solid;
    list-style: none;
    cursor: pointer;
    border-radius: 10px;
    box-shadow: 1px 1px 3px inset;
    opacity:0;
    
}
.barva:hover{
    box-shadow: 1px 1px 3px ;
}
#textik{
    width: 800px;
    height: 70px;
    color: #b3aeae;
    font-size: 30px;
    font-weight: bold;
    line-height: 70px;
    text-align: center;
    position: relative;
    top: -180px;
    left: 0px;
    float: left;
}
#tren{
    width: 800px;
    height: 300px;
    position: relative;
    top: -600px;
    left: 0px;
    float: left;
    background-color: #5f5f5f;
    display:none;
}
#tren_cj{
    flex:4;
}

#tren_zvuk{
    flex:1;
}
#tren_aj{
    flex:4;
}
.tren_text{
    width: 80%;
    height: 150px;
    margin: auto;
    margin-top: 50px;
    box-shadow: 2px 2px 2px black inset;
    background-color: #b3aeae;
    font-size: 40px;
    font-weight: bold;
    line-height: 150px;
    text-align: center;
    color:white;
    border-radius:5px;
}
#svg3{
    width: 150px;
    height: 110px;
   
}
#but0{
    width: 50px;
    height: 50px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 10px;
    background: #b3aeae url(images/but_clean.png);
    background-size:cover;
    position: relative;
    top: -170px;
    left: 220px;
    box-shadow: 2px 2px 3px;
    border: black;
    cursor: pointer;
    display:none;
}
#but_repeat{
    width: 50px;
    height: 50px;
    font-weight: bold;
    border-radius: 10px;
    background: #b3aeae url(images/repeat.png);
    background-size:cover;
    margin:auto;
    margin-top:170px;
    box-shadow: 2px 2px 3px;
    border: black;
    cursor: pointer;
    
}
#but0:hover,#but_repeat:hover{
    box-shadow: 1px 1px 3px;
}

.typ,.typ_help{
   width: 46px;
    height: 46px;
    box-shadow: 2px 2px 3px;
    border-radius: 10px;
    list-style: none;
    cursor: pointer;
    margin-top: 14px;
    margin-left: -14px;
    background-color:#5f5f5f;
}

.typ:hover,.typ_help:hover{
   box-shadow: 1px 1px 2px;
}

#t0{
   
   background-image:url(images/mic.png);
   background-size:cover;
   }
#t1{
   background-image:url(images/cube.png);
   background-size:cover;
   }
#t2{
   background-image:url(images/motyl.png);
   background-size:cover;
   }
#t3{
   background-image:url(images/plastev.png);
   background-size:cover;
   }
#t4{
   background-image:url(images/kytka.png);
   background-size:cover;
   }
#but_volume{
   background-image:url(images/volume_ano.png);
   background-size:cover;
   background-color:#f1eaea;
   margin-top:54px;
   }
#t6{
   background-image:url(images/cviceni.png);
   background-size:cover;
   margin-top:170px;
   }
#but_help{
   background-image:url(images/help.png);
   background-size:cover;
   background-color:#f1eaea;
   }       
#nadpis{
        margin-left: 40px;
    width: 600px;
    height: 200px;
    position: relative;
    top: 60px;
    background-image: url(images/nadpis3.png);
    background-size: contain;
    background-repeat: no-repeat;
    //display:none;
}
#obr_svg{
    visibility:hidden;
    width: 450px;
    height: 450px;
    margin:30px;
}

#popup_demo {
    background-color: rgb(179, 174, 174);
    width: 660px;
    position: relative;
    top: -500px;
    left: 50px;
    z-index: 100;
    font-size: 20px;
    padding: 20px;
    border-radius: 10px;
    font-weight: bold;
    box-shadow: 3px 3px 3px;
    float: left;
    display: none;
}
#popup_text{
    //height: 150px;
    margin: 10px auto;
}
#kriz{
    float: right;
    cursor:pointer;
}   
