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: yellow;
}
table#lihtne tr:nth-child(1) td:nth-child(2){
    background-color: red;
}
table#lihtne tr:nth-child(2) td:nth-child(1){
     background-color: lightgreen;
 }
table#lihtne tr:nth-child(2) td:nth-child(2){
    background-color: lightblue;
}
/*keeruline*/
table#keeruline1{
    border: 1pt solid black;
    width: 30%;
    height: 200px;
    border-collapse: collapse;
}
table#keeruline1 td{
    border: 1pt solid black;
    text-align: center;
}
/*keeruline2*/
table#keeruline2{
    border: 1pt solid black;
    width: 30%;
    height: 200px;
    border-collapse: collapse;
}
table#keeruline2 td{
    border: 1pt solid black;
    text-align: center;
}
/*keeruline2*/

table#keeruline3{
    border: 1pt solid black;
    width: 30%;
    height: 200px;
    border-collapse: collapse;
}
table#keeruline3 td{
    border: 1pt solid black;
    text-align: center;
}
table#keeruline3 tr:nth-child(1) td:nth-child(1) {
    height: 40px;
    width: 30px;
    font-size: 24px;

}
table#keeruline3 tr:nth-child(1) td:nth-child(2) {
    height: 40px;
    width: 150px;
    font-size: 24px;

}
table#keeruline3 tr:nth-child(1) td:nth-child(3) {
    height: 40px;
    width: 90px;
    font-size: 24px;

}
table#keeruline3 tr:nth-child(2) td:nth-child(1) {
    height: 100px;
    width: 240px;
    font-size: 24px;

}
table#keeruline3 tr:nth-child(4) td:nth-child(1) {
    height: 100px;
    width: 120px;
    font-size: 24px;

}
table#keeruline3 tr:nth-child(1) td:nth-child(1){
    background-color: yellow;
}
table#keeruline3 tr:nth-child(1) td:nth-child(2){
    background-color: red;
}
table#keeruline3 tr:nth-child(1) td:nth-child(3){
    background-color: darkseagreen;
}
table#keeruline3 tr:nth-child(2) td:nth-child(1){
    background-color: dimgray;
}
table#keeruline3 tr:nth-child(2) td:nth-child(2){
    background-color: seagreen;
}
table#keeruline3 tr:nth-child(3) td:nth-child(1){
    background-color: springgreen;
}
table#keeruline3 tr:nth-child(3) td:nth-child(2){
    background-color: fuchsia;
}
table#keeruline3 tr:nth-child(4) td:nth-child(1){
    background-color: cyan;
}
table#keeruline3 tr:nth-child(4) td:nth-child(2){
    background-color: royalblue;
}
table#keeruline3 tr:nth-child(5) td:nth-child(1){
    background-color: yellowgreen;
}
table#keeruline3 tr:nth-child(5) td:nth-child(2){
    background-color: fuchsia;
}
table#hard{
    border: 1pt solid black;
    width: 30%;
    height: 200px;
    border-collapse: collapse;
}
table#hard td{
    border: 1pt solid black;
    text-align: center;
}
#hard {
    background-color: #fff;
}

#hard tr:nth-child(even) {
    background-color: #f2f2f2;
}
#hard tr:nth-child(odd) {
    background-color: #e6e6fa;
}
#hard td[colspan], #hard td[rowspan] {
    background-color: #ffe4b5;
}

table#harjutus{
    border: 1pt solid black;
    width: 40%;
    height: 400px;
    border-collapse: collapse;
}
table#harjutus td{
    border: 1pt solid black;
    text-align: center;
}
   #harjutus {
       border-collapse: collapse;
       background-color: lightpink;
   }

#harjutus caption {
    font-weight: bold;
    color: #d6336c;
    padding: 8px;
}

#harjutus td {
    border: 1px solid #d6336c;
    padding: 8px;
    text-align: center;
}

#harjutus tr:nth-child(even) td {
    background-color: #ffe4ec;
}

#harjutus tr:nth-child(odd) td {
    background-color: #fff0f5;
}

table#lisa{
    border: none;
    width: 25%;
    height: 200px;

}
table#lisa td{
    border: none;
    text-align: center;
}

table#lisa tr:nth-child(1) td:nth-child(1){
    background-color: lightpink;
}
table#lisa tr:nth-child(1) td:nth-child(5){
    background-color: lightpink;
}
table#lisa tr:nth-child(2) td:nth-child(2){
    background-color: lightpink;
}
table#lisa tr:nth-child(2) td:nth-child(4){
    background-color: lightpink;
}
table#lisa tr:nth-child(3) td:nth-child(3){
    background-color: lightpink;
}
table#lisa tr:nth-child(4) td:nth-child(2){
    background-color: lightpink;
}
table#lisa tr:nth-child(4) td:nth-child(4){
    background-color: lightpink;
}
table#lisa tr:nth-child(5) td:nth-child(1){
    background-color: lightpink;
}
table#lisa tr:nth-child(5) td:nth-child(5){
    background-color: lightpink;
}