header {
    background-color: Tan;
    letter-spacing: 0.1cm;
    padding: 1mm;
    font-variant: small-caps;
    font-family:"Kode Mono", monospace;
    font-size: x-large;
    background-image: url("Pilt/nahkhiir_h.png");
    background-repeat: no-repeat;
    background-size: 135px 140px;
}
header h1 {
    margin-left: 135px;
    color: WhiteSmoke;
}
img{
    width: 250px;
}
footer{
    background-color: Tan;
    color: WhiteSmoke;
    border-top:3px solid  #cbc5ee;
    padding: 3px;
    text-align: center;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
}
section#osa1{
    position: relative;
    left: 0;
    display: inline-block;
    border-left: 3px double  #cbc5ee;
    border-right: 3px double  #cbc5ee;
    width: 40%;
    border-radius: 80px;
    padding: 2%;
}
section#osa2{
    position: relative;
    left: 0;
    display: inline-block;
    border-left: 3px double  #cbc5ee;
    border-right: 3px double  #cbc5ee;
    width: 40%;
    border-radius: 60px;
    padding: 2%;
}
#osa1 h2{
    background-color: Lavender;
    padding: 1.5%;
    border-radius: 120px;
    width: 60%;
    color: LightSteelBlue;
}
#osa2 h2{
    background-color: Lavender;
    padding: 1.5%;
    border-radius: 120px;
    width: 35%;
    color: LightSteelBlue;
}
#osa1 div{
    padding: 1%;
    color: SteelBlue;
}
#osa2 div{
    padding: 1%;
    color: SteelBlue;

}
section#osa3{
    display: inline-block;
    border-left: 3px double  #cbc5ee;
    border-right: 3px double  #cbc5ee;
    width: 40%;
    border-radius: 80px;
    padding: 2%;
}
section#osa4{
    display: inline-block;
    border-left: 3px double  #cbc5ee;
    border-right: 3px double  #cbc5ee;
    width: 40%;
    border-radius: 60px;
    padding: 2%;
}
#osa3 h2{
    background-color: Lavender;
    padding: 1.5%;
    border-radius: 120px;
    width: 60%;
    color: LightSteelBlue;
}
#osa4 h2{
    background-color: Lavender;
    padding: 1.5%;
    border-radius: 120px;
    width: 35%;
    color: LightSteelBlue;
}
#osa3 div{
    padding: 1%;
    color: SteelBlue;
}
#osa4 div{
    padding: 1%;
    color: SteelBlue;
}
#osa1 div a{
    display: block;
    color: SteelBlue;
    text-decoration: none;
}
#osa1 div a:hover{ /*fookuses--hiir on peal*/
    background-color: Lavender;
    border-radius: 60px;
}
#osa1 div ul li a{
    display: block;
    color: SteelBlue;
    text-decoration: none;
}
#osa1 div ul li a:hover{ /*fookuses--hiir on peal*/
    background-color: Lavender;
    border-radius: 60px;
}
#osa2 div ul li a{
    display: block;
    color: SteelBlue;
    text-decoration: none;
}
#osa2 div ul li a:hover{ /*fookuses--hiir on peal*/
    background-color: Lavender;
    border-radius: 60px;
}
nav ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
    background-color: Beige;
    overflow: hidden; /*peidetud*/
    display: flex;
    justify-content: center;
}
nav ul li{
    float: left;
    border-bottom: 1px double Tan;
    border-right: 1px double Tan;
    border-radius: 60px;
}
nav ul li a{
    display: block;
    color: RosyBrown;
    text-align: center;
    padding: 10px;
    font-variant: small-caps;
    font-family: "Kode Mono", monospace;
    text-decoration: none;
}
nav ul li a:hover{ /*fookuses--hiir on peal*/
    background-color: Tan;
    border-radius: 60px;
}
#osa2 div iframe{
    width: 400px;
    height: 215px;
    border: 0;
}
#osa3 div iframe{
    width: 300px;
    height: 125px;
    overflow: hidden;
    border: 0;
}
#osa4 div iframe{
    width: 200px;
    height: 175px;
    border:0;
}
input[type="button"]{
    background-color: Lavender;
    border-radius: 5px;
    border: 1px solid  #cbc5ee;
    color: SteelBlue;
    position: relative;
}