#pyt {
    text-align: center;
    -webkit-user-select: none;
    color: #fff;
    padding-top: 10px;   
}
   button {
    text-transform: none;
    box-shadow: none;
    width: 150px;
    font-size: 20px;  
}
    #zadanie{
        margin-bottom:50px;}
    
    
.sl1,
.sl2,
.sl3,
.zn {
    font-size: var(--task-size, 60px);
    font-family: "Times New Roman", Times, serif;
    -webkit-user-select: none;
    font-family: sans-serif;
    
    display: inline-block;
    margin-left: -5px;
    padding: 3px;
    word-spacing: 10px;
    
}

@media screen and (max-width: 600px) {
    .sl1,
    .sl2,
    .sl3,
    .zn {
        font-size: var(--task-mobile-size, 30px);
        
    }
    #otvet {font-size: var(--task-mobile-size, 30px);}
}
    table{width: 100px;
        margin: auto;}
    #lev1 {
    font-size: 30px;
    padding-bottom: 0;
    vertical-align: middle;
    margin: 0;
    background: none;
    border: none;
    color: #333;
    font-family: "Myriad Pro", "Myriad Pro";
}
   
#zag {
    margin-top: 40px;
    color: #efd6b3;
    font-size: 22px;
}
#h2{margin-top: 0;
    background-color: green;
    padding: 20px 60px;
    color: #fff;
    font-size: 22px;}
    
  #dalshe1 {
    background: none;
    color: #fff;
    font-size: 25px;
    position: absolute;
    bottom: 100px;
    width: 100%;
}  
    .igra {
    position: relative;
    min-height: 500px;
    max-width: 830px;
    border-color: #61af5c;
    border-style: solid;
    border-width: 5px;
    text-align: center;
    width: auto;
    margin: 30px 0;
    background: #fff;
    
    min-width: 350px;
} 
#mal3 {
    position: absolute;
    bottom: 0;
    font-size: 14pt;
    color: #286c05;
    margin: auto;
    left: 0;
    right: 0;
}
    #a1,#a2,#a7,#salut,#w2{
    display: none;}
#d1, #d2, #d3, #d4 {
    font-size: 22px;
    color: #2196f3;
}
.gr {
    display: inline-block;
    background: #e9e6ed;
    margin: 5px;
    padding: 5px 10px;
    border-radius: 10px;
    
}

    
#num {
    position: absolute;
    background-image: url(http://kid-mama.ru/wp-content/uploads/2022/04/zvezda6-1-1.png);
    background-repeat: no-repeat;
    top: 0;
    font-size: 18px;
    right: 0;
    width: 60px;
    height: 60px;
    text-align: center;
    padding-top: 15px;
}

    #a1 {
    color: #178519;
    font-size: 25px;
    font-weight: bold;
    padding: 40px;
    font-family: "Georgia", serif;
    font-style: italic;
    background: #d0f3c9;
    padding: 20px;
    max-width: 300px;
    margin: auto;
    margin-top: 30px;
    margin-bottom: 40px;	
}
    #a2 {
        color: Red;
    font-size: 20px;
   
    }
    
    #a4 {
        color: Red;
    font-size: 16px;
    font-style: italic;
    }
    
    .finish-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 25px;
}

.finish-result {
    font-size: 20px;
}
    
    
    #protv{font-size:30px;
    line-height: 2;
    font-family: "Myriad Pro", "Myriad Pro";}  
    
    #tt{position:absolute;
         top:20px; /* добавили */
        right: 45px;
        display: none;
        margin-top: 0; 
    }
    
    .wrapper{
     
  perspective: 2000px;
  width: 50px;
  height: 50px;
  position: relative;
}


#prav,#dalshe1{
  display: none;
}
    
.back{
  transform: rotateY(180deg);
}
.front, .back{
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: block;
  position: absolute;
  left: 0;
  top: 0;
}
.front{
    animation: front-rotation 2s ;
  }
.back{
    animation: back-rotation 2s ;
  }

@keyframes front-rotation{
  from {
    transform: rotateY(0deg);
  }
  to {
    transform: rotateY(360deg);
  }
}
@keyframes back-rotation{
  from {
    transform: rotateY(180deg);
  }
  to {
    transform: rotateY(540deg);
  }
}
    #wrap {
  display: inline-block;
  }


input[type="text"]{
    font-size: 25px;
    font-weight: normal;
    background-color: #fff;
    border: 1px solid #bcbaba;
    color: #333;
    height: 30px;
    width: 70px;
    }
.entry-content input[type="text"]{width: 70px;padding: 3px 5px;
    }
    .kn {
    color: #333333;
    -webkit-user-select: none;
    height: 60px;
    cursor: pointer;
    font-size: 35px;
    padding: 10px 20px;
    background-color: #ebedf0;
    box-shadow: 2px 2px 2px #8a8585;
    border-radius: 5px;
    background-color: #eee;
    border: solid 3px #d7d8db;
    margin: 0;
    
}
    

#knopki {
    max-width: 300px;
    margin: auto;
    margin-bottom: 80px;
    
    
}
    #k1,#k2,#k3,#k4{padding: 5px;
border:solid  8px #000;border: none;
    background: none;
    }
    #ubr{font-size: 20px;
    font-weight: bold;
        color: #2196f3;
        
    cursor:pointer;
    }

   
.finish-title {
    font-size: 38px;
    font-weight: bold;
    margin-bottom: 25px;
}

.finish-result {
    font-size: 20px;
}

#parent1 {
    color: #141515;
    background: #ecfde7;
    border-left: solid 6px #30b50e;
    margin: 10px;
    padding: 20px;
}


   
    #otvet {
    width: 80px;
    height: 40px;
    font-size: 35px;
    background: #373535;
    color: #fff;
    font-family: "Myriad Pro", "Myriad Pro";
}
        #a7 { color: #df1212;
    font-size: 24px;
    font-weight: bold;
    padding: 40px;
    font-family: "Georgia", serif;
    font-style: italic;
    background: #f9e1e1;
    padding: 10px;
    max-width: 300px;
    margin: auto;
    margin-top: 30px;
    margin-bottom: 40px;}
        
    

    #kolpr {
    font-size: 25px;
    font-weight: normal;
    background-color: #fff;
    border: 1px solid #bcbaba;
    color: #333;
    height: 30px;
    width: 60px;
    padding: 3px 5px;
    margin-bottom: 3px;
}
    #ubr{
        margin-bottom:20px;}
   #rezult blockquote {
    
    padding-left: 15px;
}
    
#play-more{
    display: none;
    position: absolute;
    bottom: 60px;
    left: 0;
    right: 0;
    margin: auto;
    width: 280px;
    font-size: 20px;
}
#dalshe1 {
    background: none;
    color: #286c05;
    position: absolute;
    top: 160px;
    width: 100%;
    left: 0;
    text-align: center;
}


#rezult, #game-fields {display: none;}
.mt-start-content{

    background: #fff;
    max-width: 650px;
    margin: 60px auto;
    padding: 20px;
    border-radius: 0;
    text-align: center;
    box-shadow: 0 8px 30px rgb(0 0 0 / 15%);

}
@media screen and (max-width: 480px) {
.finish-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 25px;
}

.finish-result {
    font-size: 18px;
}
    
}
#knopki {
    width: 95%;
    max-width: 550px;
    margin: 0 auto 20px;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

#knopki > div[id^="k"] {
    flex: 0 1 auto;
    padding: 0;
}

.kn {
    

    
    
    line-height: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;
}