/*table id=lihtne*/
#lihtne{
    width: 60%;
    border: 1px solid black;
    height: 200px;
    border-collapse: collapse; /*üks joon border'is*/
}
#lihtne td{
    border: 1px solid black;
    text-align: center;
}
/*pseudostiilide kasutamine*/
#lihtne tr:nth-child(1) td:nth-child(1){
    background-color: orangered;
}
#lihtne tr:nth-child(1) td:nth-child(2){
    background-color: lightslategray;
}
#lihtne tr:nth-child(2) td:nth-child(1){
    background-color: steelblue;
}
#lihtne tr:nth-child(2) td:nth-child(2){
    background-color: yellowgreen;
}
/*table id=keeruline1*/
#keeruline1{
    width: 40%;
    border: 1px solid black;
    height: 150px;
    border-collapse: collapse; /*üks joon border'is*/
}
#keeruline1 td{
    border: 1px solid black;
    text-align: center;
}
/*table id=keeruline2*/
#keeruline2{
    width: 40%;
    border: 1px solid black;
    height: 150px;
    border-collapse: collapse; /*üks joon border'is*/
}
#keeruline2 td{
    border: 1px solid black;
    text-align: center;
}
/*table id=keeruline3*/
#keeruline3{
    width: 40%;
    border: 1px solid black;
    height: 150px;
    border-collapse: collapse; /*üks joon border'is*/
}
#keeruline3 td{
    border: 1px solid black;
    text-align: center;
}
/*table id=keeruline4*/
#keeruline4{
    width: 60%;
    border: 1px solid black;
    height: 200px;
    border-collapse: collapse; /*üks joon border'is*/
}
#keeruline4 td{
    border: 1px solid black;
    text-align: center;
}
/*table id=keeruline5*/
#keeruline5{
    width: 60%;
    border: 1px solid black;
    height: 200px;
    border-collapse: collapse; /*üks joon border'is*/
}
#keeruline5 td{
    border: 1px solid black;
    text-align: center;
}
/*pseudostiilide kasutamine*/
#keeruline5 tr:nth-child(1) td:nth-child(1){
    background-color: aqua;
}
#keeruline5 tr:nth-child(1) td:nth-child(2){
    background-color: darkgrey;
}
#keeruline5 tr:nth-child(2) td:nth-child(1){
    background-color: red;
}
#keeruline5 tr:nth-child(2) td:nth-child(2){
    background-color: peru;
}#keeruline5 tr:nth-child(2) td:nth-child(3){
     background-color: darkgreen;
 }
#keeruline5 tr:nth-child(2) td:nth-child(4){
    background-color: gold;
}
#keeruline5 tr:nth-child(3) td:nth-child(1){
    background-color: steelblue;
}
#keeruline5 tr:nth-child(3) td:nth-child(2){
    background-color: darkblue;
}
#keeruline5 tr:nth-child(4) td:nth-child(1){
    background-color: forestgreen;
}
#keeruline5 tr:nth-child(5) td:nth-child(1){
    background-color: indianred;
}
#keeruline5 tr:nth-child(5) td:nth-child(2){
    background-color: lightseagreen;
}
#keeruline5 tr:nth-child(6) td:nth-child(1){
    background-color: chartreuse;
}
#keeruline5 tr:nth-child(6) td:nth-child(2){
    background-color: orchid;
}
/*table id=keeruline6*/
#keeruline6{
    width: 60%;
    border: 1px solid black;
    height: 200px;
    border-collapse: collapse; /*üks joon border'is*/
}
#keeruline6 td{
    border: 1px solid black;
    text-align: center;
}
/*pseudostiilide kasutamine*/
#keeruline6 tr:nth-child(1) td:nth-child(1){
    background-color: red;
}
#keeruline6 tr:nth-child(1) td:nth-child(2){
    border-width: 0px;
}
#keeruline6 tr:nth-child(1) td:nth-child(3) {
    background-color: red;
}
#keeruline6 tr:nth-child(2) td:nth-child(1) {
    border-width: 0px;
}
#keeruline6 tr:nth-child(2) td:nth-child(2) {
    background-color: red;
}
#keeruline6 tr:nth-child(2) td:nth-child(3) {
    border-width: 0px;
}
#keeruline6 tr:nth-child(2) td:nth-child(4) {
    background-color: red;
}
#keeruline6 tr:nth-child(2) td:nth-child(5) {
    border-width: 0px;
}
#keeruline6 tr:nth-child(3) td:nth-child(2) {
    background-color: red;
}
#keeruline6 tr:nth-child(3) td:nth-child(1) {
    border-width: 0px;
}
#keeruline6 tr:nth-child(3) td:nth-child(3) {
    border-width: 0px;
}
#keeruline6 tr:nth-child(4) td:nth-child(1) {
    border-width: 0px;
}
#keeruline6 tr:nth-child(4) td:nth-child(2) {
    background-color: red;
}
#keeruline6 tr:nth-child(4) td:nth-child(4) {
    background-color: red;
}
#keeruline6 tr:nth-child(5) td:nth-child(1) {
    background-color: red;
}
#keeruline6 tr:nth-child(5) td:nth-child(3) {
    background-color: red;
}
#keeruline6 tr:nth-child(5) td:nth-child(2) {
    border-width: 0px;
}
#keeruline6 tr:nth-child(4) td:nth-child(3) {
    border-width: 0px;
}