.lihtne-tabel {
    width: 50%;
    height: 200px;
    border-collapse: collapse;
}
.lihtne-tabel td {
    border: 1px solid black;
    text-align: center;
}
.lihtne-tabel tr:nth-child(1) td:nth-child(1) {
    background-color: lightskyblue;
}
.lihtne-tabel tr:nth-child(1) td:nth-child(2) {
    background-color: lightpink;
}
.lihtne-tabel tr:nth-child(2) td:nth-child(1) {
    background-color: lightgreen;
}
.lihtne-tabel tr:nth-child(2) td:nth-child(2) {
    background-color: lightyellow;
}
/***************************Keeruline 1****************************/
.keeruline1-tabel {
    width: 30%;
    height: 200px;
    border-collapse: collapse;
}
.keeruline1-tabel td {
    border: 1px solid black;
    text-align: center;
}
/***************************Keeruline 2****************************/
.keeruline2-tabel {
    width: 30%;
    height: 200px;
    border-collapse: collapse;
}
.keeruline2-tabel td {
    border: 1px solid black;
    text-align: center;
}
/***************************Ülesanne 1****************************/
.ulesanne1-tabel {
    width: 30%;
    height: 500px;
    border-collapse: collapse;
}
.ulesanne1-tabel td {
    border: 1px solid black;
    text-align: center;
}
.ulesanne1-tabel tr:nth-child(1) td:nth-child(1) {
    background-color: lightskyblue;
}
.ulesanne1-tabel tr:nth-child(1) td:nth-child(2) {
    background-color: lightyellow;
}
.ulesanne1-tabel tr:nth-child(1) td:nth-child(3) {
    background-color: lightseagreen;
}
.ulesanne1-tabel tr:nth-child(2) td:nth-child(1) {
    background-color: lightcoral;
}
.ulesanne1-tabel tr:nth-child(2) td:nth-child(2) {
    background-color: lightslategray;
}
.ulesanne1-tabel tr:nth-child(3) td:nth-child(1) {
    background-color: antiquewhite;
}
.ulesanne1-tabel tr:nth-child(3) td:nth-child(2) {
    background-color: aliceblue;
}
.ulesanne1-tabel tr:nth-child(4) td:nth-child(1) {
    background-color: cadetblue;
}
.ulesanne1-tabel tr:nth-child(4) td:nth-child(2) {
    background-color: chartreuse;
}
.ulesanne1-tabel tr:nth-child(5) td:nth-child(1) {
    background-color: darkorange;
}
.ulesanne1-tabel tr:nth-child(5) td:nth-child(2) {
    background-color: dodgerblue;
}
/***************************Ülesanne 2****************************/
.ulesanne2-tabel {
    width: 30%;
    height: 550px;
    border-collapse: collapse;
}
.ulesanne2-tabel td {
    border: 1px solid black;
    text-align: center;
}
.ulesanne2-tabel tr:nth-child(4) td:nth-child(2) {
    background: linear-gradient(to left, black, #292f56);
}
.ulesanne2-tabel tr:nth-child(4) td:nth-child(1) {
    background: linear-gradient(to top, #292f56, #204370);
}
.ulesanne2-tabel tr:nth-child(3) td:nth-child(2) {
    background: linear-gradient(to right, #204370, #005886);
}
.ulesanne2-tabel tr:nth-child(3) td:nth-child(3) {
    background: linear-gradient(to bottom, #005886, #006d95);
}
.ulesanne2-tabel tr:nth-child(5) td:nth-child(1) {
    background: linear-gradient(to left, #006d95, #00829d);
}
.ulesanne2-tabel tr:nth-child(3) td:nth-child(1) {
    background: linear-gradient(to top, #00829d, #0097a3);
}
.ulesanne2-tabel tr:nth-child(2) td:nth-child(2) {
    background: linear-gradient(to right, #0097a3, #00ada4);
}
.ulesanne2-tabel tr:nth-child(2) td:nth-child(3) {
    background: linear-gradient(to bottom, #00ada4, #00c49e);
}
.ulesanne2-tabel tr:nth-child(6) td:nth-child(1) {
    background: linear-gradient(to left, #00c49e, #23d890);
}
.ulesanne2-tabel tr:nth-child(2) td:nth-child(1) {
    background: linear-gradient(to top, #23d890, #70ea80);
}
.ulesanne2-tabel tr:nth-child(1) td:nth-child(1) {
    background: linear-gradient(to right, #70ea80, #acfa70);
}
/***************************Ülesanne 3****************************/
.ulesanne3-tabel {
    border-collapse: collapse;
}
.ulesanne3-tabel td {
    border: 1px solid black;
    text-align: center;
    width: 55px;
    height: 69px;
    vertical-align: middle;
}
/***************************Ülesanne 4****************************/
.ulesanne4-tabel {
    border-collapse: collapse;
}
.ulesanne4-tabel th {
    border: 1px solid black;
    text-align: center;
    width: 90px;
    height: 55px;
    vertical-align: middle;
    background-color: red;
}