#h2{margin-top: 0;
    background-color: green;
    padding: 10px 30px 10px 10px;
    color: #fff;
    font-size: 22px;
    margin-bottom: 5px;
    font-weight: bold;}
#pyt {
   display: inline-block;
    text-align: center;
    -webkit-user-select: none;
    padding: 5px;
    background: #fff;
    box-shadow: rgb(0 0 0 / 25%) 0px 0.0625em 0.0625em, rgb(0 0 0 / 25%) 0px 0.125em 0.5em, rgb(255 255 255 / 10%) 0px 0px 0px 1px inset;
    color: #000;
    font-size: 22px;
    max-width: 600px;
    min-width: 320px;
    margin-bottom: 30px;
    height:80px;
}
    details {
    display: block;
    margin-bottom: 25px;
}
.red{outline: solid 2px red;}
.green{outline: solid 2px #08a30c;}
.sum{font-size: 22px;
    color: #555555;
    border-bottom: 1px solid;
    cursor: pointer;}
button {
    text-transform: none;
    box-shadow: none;
    width: 150px;
    font-size: 20px; 
    box-shadow: 3px 3px 3px #8b8585;
}

#task-answer {width: 350px;
    margin: auto;
    font-size: 25px;
    position: relative;}	
#task-answer.pr::after {content: "";
    position: absolute;
    bottom:8px;
    right: 2px;
    background-image: url(https://kid-mama.ru/wp-content/uploads/2026/01/галочка.png);
    display: block;
    width: 60px;
    height: 52px;
    background-size: cover;
    
  }
#task-answer.nepr::before {
    content: "";
    position: absolute;
    top: -5px;
    right: 10px;
    width: 45px;
    height: 45px;
    background-image: url(https://kid-mama.ru/wp-content/uploads/2026/01/krestik.png);
    background-size: cover;
    opacity: 0; 
  
  /* Привязываем анимацию и ее параметры */
  animation: fadeIn 0.3s ease-in-out forwards;
  
}
    @keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}



#pred,#pred1{color:red;
    display:none;}  
 #d1, #d2, #d3,#d4 {
    font-size: 22px;
    color: #2196f3;
}    
#zag {
    color: #000;
    padding: 0 10px;
    line-height: 1.2;
    margin-bottom:20px;
}
  #dalshe1 {
    background: #0099e5;
    color: #fff;
    font-size: 30px;
    position: absolute;
    bottom: 100px;
    width: 100%;
    padding: 10px;
}  
.igra {
    position: relative;
    min-height: 500px;
    max-width: 700px;
    border-color: #5bb672;
    border-style: solid;
    border-width: 10px;
    text-align: center;
    width: auto;
    min-width: 350px;
    margin: 30px 0;
    background-image: radial-gradient(white, white, #a4e791);
    background-repeat: no-repeat;
    padding-bottom: 35px;
} 
#mal1 {
    position: absolute;
    bottom: 0;
    left: 5px;
    font-size: 10pt;
    line-height: 1.1;
    color: #106f33;
    
    padding-left: 0;
    margin-bottom: 0;
}
    #a1,#a2,#a7,#salut,#w2{
    display: none;}
    
#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: #fff;
    font-size: 25px;
    font-weight: bold;
   
    max-width: 250px;
    margin: auto;
    background-image: radial-gradient(#4caf50, #14bc21, #144a04);
    background-repeat: no-repeat;
    border-color: #fff;
    border-style: solid;
    border-width: 2px;
    padding: 20px;
    margin-bottom: 10px;	
}
#a2 {
        color: Red;
    font-size: 20px;
    }   
    #a4 {
        color: Red;
    font-size: 16px;
    font-style: italic;
    }   
    #a7 {
    color: #333333;
    font-size: 18px;
    background: #fff;
    max-width: 350px;
    margin: auto;
    -webkit-user-select: none;
    margin-top: 10px;
    border: 1px solid #f22929;
    box-shadow: rgb(0 0 0 / 25%) 0px 0.0625em 0.0625em, rgb(0 0 0 / 25%) 0px 0.125em 0.5em, rgb(255 255 255 / 10%) 0px 0px 0px 1px inset;
}
    #protv{font-size:22px;
    line-height: 2;
    font-family: 'Lucida Console', Monaco, monospace;}  

#prav,#dalshe1{
  display: none;
}

input[type="text"]{
    font-size: 45px;
    font-weight: normal;
    
    border: 1px solid #504d4d;
    color: #333;
    height: 60px;
    width: 100px;
    }
#otvet {
    width: 140px;
    height: 40px;
    font-size: 24px;
    
    color: #000;
    
    margin-bottom: 5px;
    padding-left: 2px;
    padding-right: 0;
    margin-left: 5px;
}

    #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;
}
    .entry-content input[type="checkbox"] {
    zoom: 1.7; cursor:pointer;
}

    #ubr{
        margin-bottom:20px;}
    blockquote {
    
    padding-left: 15px;
}
    #mal {
    position: absolute;
    bottom: 0;
    font-size: 14pt;
    color: #106f33;
    margin: auto;
    left: 0;
    right: 0;
}

.MathJax {
    font-size: 100% !important; /* Или 1em, чтобы соответствовать размеру родителя */
}
    #iks{line-height: 1.7em;
    font-style: italic;
    
        font-size: 20px;}
 .kn {
    color: #000;
    -webkit-user-select: none;
    height: 35px;
    cursor: pointer;
    font-size: 22px;
    padding: 0;
    background-image: linear-gradient(#f7f2f2, #f4eeee, #e2e4e7);
    background-repeat: no-repeat;
}

#knopki {
    max-width: 300px;
    margin: auto;
    margin-top:20px;
    table-layout: fixed;
}
#dalshe1 {
    background: none;
    color: #333333;
    position: absolute;
    top: 30%;
    width: 100%;
    
    text-align: center;
}

#finish-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 25px;
    line-height: 1.2;
}

#finish-result, #finish-total-result {
    font-size: 20px;
    margin-bottom: 25px;
}
#rezult, #game-fields {display: none;}

#sol {font-weight: bold;}
#play-more {
    width: 280px;
}
#a8{ width: 250px;
    margin: auto;
    background: #fdf7ac;
    display:none;
}
table td {border-width: 1px;
    padding: 5px;
    border-style: solid;
    border-color: #bdbdbd;
    background-color: #ffffff;}
#task-equation{
    transition:opacity .2s;
}