body{
    margin: 0;
    padding: 0;
}
h1{
    font-size: xx-large;
    font-family: Georgia, "Times New Roman", Times, serif;
    color: #d1ffff; /*tekstivärv*/
    text-align: center;
}

header h1 {
    padding: 5%;

    font-variant: small-caps;
    border-top: 20px solid #9ba8ae;
}
header {
    background-color: #7197aa;  /*tausta värv*/
    background-image: url('Lipp.png');
    background-repeat: no-repeat;
    background-position: left;


}
 footer{
     width: 100%;
    padding: 2%;
    background-color: #8d9aa1;  /*tausta värv*/
    font-variant: small-caps;
     text-align: center;
     border-top: 2px double  #7197aa;
     position: fixed;
     left: 0;
     bottom: 0;
}

 section{
     border: 10px groove red; /* solid, double, dashed, dotted*/
     width: 25%;
     margin: 5px;
     padding: 1%;
     border-radius: 220px 120px 20px 220px;
     text-align: center;

 }
/*nav menüü*/
nav ul{
    list-style-type: none; /*täpp võtab ära*/
    margin: 0;
    padding: 0;
    text-align: center;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;

}
nav ul li{
    float: left;
}
nav ul li a{
    background-color: #648493;
    color: #d1ffff;
    text-decoration: none; /* alljoone eemaldamine*/
    padding: 14px 16px;
    text-align: center;
    border-left: 1px solid #9ba8ae;
    border-right: 1px solid #9ba8ae;
    border-radius: 10%;

}
nav{
    margin: 10px;
    padding: 10px;
}
main{
    margin-top: 25px;
}

nav ul li a:hover{
    background-color: #83a8ba;
}
section#kast1 {
    border: 1px groove lightgray; /* solid, double, dashed, dotted*/
    width: 25%;
    margin: 5px;
    padding: 1%;
    border-radius: 20px 120px 20px 20px;
    text-align: center;
    position: absolute;
    top: 405px;
    left: 300px;
}
section#kast2 {
    border: 1px groove lightgray; /* solid, double, dashed, dotted*/
    width: 250px;
    margin: 5px;
    padding: 1%;
    border-radius: 20px 120px 20px 20px;
    text-align: center;
    background-color: #1394d6;

}

section#kast3 {
    border: 1px groove #611c1c; /* solid, double, dashed, dotted*/
    width: 5%;

    margin-left: 700px;
    padding: 10%;
    border-radius: 120px 120px 120px 120px;

    text-align: center;
}
section#kast4 {
    border: 1px groove #a11212; /* solid, double, dashed, dotted*/
    width: 25%;
    margin-left: 500px;
    padding: 10%;
    border-radius: 20px 20px 20px 20px;
    text-align: center;
}

section#kast5 {
    border: 1px groove ; /* solid, double, dashed, dotted*/
    width: 25%;
    margin: 50px;
    padding: 1%;
    border-radius: 200px 200px 200px 200px;
    text-align: center;

}
section#kast6 {
    border: 1px groove blue; /* solid, double, dashed, dotted*/
    width: 250px;
    margin: 5px;
    padding: 1%;
    border-radius: 50px 50px 20px 20px;
    text-align: center;
}

section#pildigalerii {
    border: 1px groove lightgray; /* solid, double, dashed, dotted*/
    width: 1000px;
    margin: 5px;
    padding: 1%;
    border-radius: 20px 20px 20px 20px;
    text-align: center;
    background-color: #1394d6;
    position: absolute;
    top: 350px;
    left: 700px;
}
section#video {

    border: 1px groove lightgray; /* solid, double, dashed, dotted*/
    width: 600px;

    margin: 5px;
    padding: 1%;
    border-radius: 20px 20px 20px 20px;
    text-align: center;
    background-color: #a11212;
    position: absolute;
    top: 350px;
    left: 5px;
}

section#muusika{
    border: 1px groove lightgray; /* solid, double, dashed, dotted*/
    width: 600px;
    margin: 5px;
    padding: 1%;
    border-radius: 20px 20px 20px 20px;
    text-align: center;
    background-color: #ff9f87;
    position: absolute;
    top: 800px;
    left: 5px;
}
section#kaart{
    border: 1px groove lightgray; /* solid, double, dashed, dotted*/
    width: 600px;

    margin: 5px;
    padding: 1%;
    border-radius: 20px 20px 20px 20px;
    text-align: center;
    background-color: #e1ff87;
    position: absolute;
    top: 1100px;
    left: 700px;
}
