table#lihtne{
    border: 1pt solid black;
    width: 50%;
    height: 200px;
    border-collapse: collapse;
}

table#lihtne td{
    border: 1pt solid black;
    text-align: center;
}


table#lihtne tr:nth-child(1) td:nth-child(1){
    background-color: red;
}

table#lihtne tr:nth-child(1) td:nth-child(2){
    background-color: deeppink;
}

table#lihtne tr:nth-child(2) td:nth-child(1){
    background-color: blueviolet;
}

table#lihtne tr:nth-child(2) td:nth-child(2){
    background-color: greenyellow;
}
/****************KERULINE***************************/


table#keruline{
    border: 1pt solid black;
    width: 30%;
    height: 200px;
    border-collapse: collapse;
}

table#keruline td{
    border: 1pt solid black;
    text-align: center;
}

/*******************Keruline 2/*/

table#Keeruline2{
    border: 1pt solid black;
    width: 30%;
    height: 200px;
    border-collapse: collapse;
}

table#Keeruline2 td{
    border: 1pt solid black;
    text-align: center;
}
/******************raske*/
table#raske{
    border: 1pt solid black;
    width: 30%;
    height: 200px;
    border-collapse: collapse;
}

table#raske td{
    border: 1pt solid black;
    text-align: center;
}

table#Ülesanne2{
    border: 1pt solid black;
    width: 30%;
    height: 200px;
    border-collapse: collapse;
}

table#Ülesanne2 td{
    border: 1pt solid black;
    text-align: center;
}

table.x {
    border-collapse: collapse;
    margin-top: 20px;
}

table.x td {
    width: 80px;   /* ширина ячейки */
    height: 80px;  /* высота ячейки */
    border: 1px solid black;
    text-align: center;
}

table.x td.must {
    background-color: black;
}

table {
    border-collapse: collapse;
    margin: 20px auto;
    width: 80%;
    table-layout: fixed;
}

td {
    border: 2px solid #000;
    padding: 15px;
    text-align: center;
    vertical-align: middle;
    font-size: 18px;
    background: #f0f0f0;
}