header {
    background-color: lightgreen;
    letter-spacing: 0.1cm;
    padding: 2.5%;
    font-variant: small-caps;
    font-size: x-large;
    background-image: url("images.png");
    background-repeat: no-repeat;
    background-size: 215px 215px;
}
header h1 {
    margin-left: 220px;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    background-color: aquamarine;
    display: flex;
    justify-content: center;
}
nav ul li {
    margin: 0 10px;
}
nav ul li a {
    display: block;
    color: blue;
    text-align: center;
    padding: 10px 15px;
    font-variant: small-caps;
    text-decoration: none;
    font-weight: bold;
}
nav ul li a:hover {
    background: #00ccff;
    color: black;
    border-radius: 6px;
}
img{
    width: 100px;
}
footer{
    background-color: blue;
    border-top: 2px solid red;
    padding: 1%;
    text-align: right;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
}
section#osa1 {
    display : inline-block;
    border-left: 1px double orangered;
    border-right: 1px double orangered;
    width: 50%;
    border-radius: 60px;
    padding: 2%;

}
section#osa2 {
    display : inline-block;
    border-left: 2px double orangered;
    border-right: 3px double orangered;
    width: 30%;
    border-radius: 60px;
    padding: 2%;
    text-align: center;
}
#osa2{
    background-color: blue;
    color: aquamarine;
    text-align: center;
    font-weight: bold;
    font-variant: small-caps;
    border-radius: 60px;
}
#osa1 div{
    padding: 1%;
    background-color: blue;
    color: aquamarine;
    text-align: center;
    border-radius: 15px;
}

#osa2 a {
    color: aquamarine;
    text-decoration: none;
    font-weight: bold;
}

table#lihtne {
    border: 1px solid black;
    border-collapse: collapse; /* чтобы границы не удваивались */
    width: 50%;
    height: 100px;
    border-collapse: collapse;
}

table#lihtne td {
    border: 1px solid black;
    text-align: center;
    padding: 5px;
}
table#lihtne tr:nth-child(1) td:nth-child(1) {
    background-color: lightgray;
}
table#lihtne tr:nth-child(1) td:nth-child(2) {
    background-color: aqua;
}
table#lihtne tr:nth-child(2) td:nth-child(1) {
    background-color: aquamarine;
}
table#lihtne tr:nth-child(2) td:nth-child(2) {
    background-color: mediumaquamarine;
}

table#keeruline {
    border: 1px solid black;
    border-collapse: collapse; /* чтобы границы не удваивались */
    width: 50%;
    height: 100px;
    border-collapse: collapse;
}

table#keeruline td {
    border: 1px solid black;
    text-align: center;
    padding: 5px;
}

table#keeruline2 {
    border: 1px solid black;
    border-collapse: collapse; /* чтобы границы не удваивались */
    width: 50%;
    height: 100px;
    border-collapse: collapse;
}

table#keeruline2 td {
    border: 1px solid black;
    text-align: center;
    padding: 5px;
}

table#keeruline3 {
    border: 1px solid black;
    border-collapse: collapse; /* чтобы границы не удваивались */
    table-layout: fixed;
    width: 15%;
    height: 100px;
    border-collapse: collapse;
}

table#keeruline3 td {
    border: 1px solid black;
    text-align: center;
    padding: 5px;
}

table#keeruline4 {
    border: 1px solid black;
    border-collapse: collapse; /* чтобы границы не удваивались */
    width: 20%;
    height: 300px;
    border-collapse: collapse;
}

table#keeruline4 td {
    border: 1px solid black;
    text-align: center;
    padding: 5px;
}

table#Ül {
    border: 1px solid black;
    border-collapse: collapse; /* чтобы границы не удваивались */
    table-layout: fixed;
    width: 15%;
    height: 100px;
    border-collapse: collapse;
}

table#Ül td {
    border: 1px solid black;
    text-align: center;
    width: 100px;
    height: 50px;
}

table#Ül td.small {
    width: 50px;    /* уменьшение в 2 раза */
    height: 25px;
}

table#Ül1 {
    border-collapse: collapse;
}
table#Ül1 td {
    width: 50px;
    height: 50px;
    text-align: center;
    border: none;          /* убрать границы у всех */
}
table#Ül1 td.cross {
    background: black;     /* закрашиваем крест */
    color: white;          /* цифры белые для контраста */
}

table#Ül tr:nth-child(1) td:nth-child(1) {
    background-color: lightblue;
}
table#Ül tr:nth-child(1) td:nth-child(2) {
    background-color: lightgreen;
}
table#Ül tr:nth-child(1) td:nth-child(3) {
    background-color: lightcoral;
}

table#Ül tr:nth-child(2) td:nth-child(1) {
    background-color: khaki;
}
table#Ül tr:nth-child(2) td:nth-child(2) {
    background-color: plum;
}
table#Ül tr:nth-child(2) td:nth-child(3) {
    background-color: peachpuff;
}

table#Ül tr:nth-child(3) td {
    background-color: lightpink;
}

table#Ül tr:nth-child(4) td {
    background-color: lightyellow;
}

table#Ül tr:nth-child(5) td {
    background-color: lightcyan;
}

table#Ül tr:nth-child(6) td {
    background-color: lavender;
}