header{
    background-color: lightpink;
    letter-spacing: 0.1cm;
    padding: 1%;
    font-variant: small-caps;
    font-family: "Comic Sans MS", cursive;
    font-size: x-large;
    background-image: url('spiderman.png');
    background-repeat: no-repeat;
    background-size: 100px 100px;
    background-position: 5px -9px;
}
header h1{
    margin-left:100px ;
    position: relative;
    left: 0;
}
img{
    width: 100px;
}
footer{
    background-color: lightpink;
    border-top: 2px solid lightpink; /* dotted, dashed, double*/
    padding:1%;
    text-align: center;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
}
section#osa1 {
    background-color: lightpink;
    color: grey;
    letter-spacing: 0.06cm;
    font-family: "Comic Sans MS", cursive;
    display:inline-block;
    border-left: 3px groove lightpink;
    border-right: 3px groove lightpink;
    border-top: 3px groove lightpink;
    border-bottom: 3px groove lightpink;
    width: 40%;
    border-radius: 20px;
    padding: 2%;
    position: relative;
    left: 0;

}
section#osa2 {
    color : grey;
    letter-spacing: 0.08cm;
    font-family: "Comic Sans MS", cursive;
    display:inline-block;
    border-left: 3px groove lightpink;
    border-right: 3px groove lightpink;
    border-top: 3px groove lightpink;
    border-bottom: 3px groove lightpink;
    width: 10%;
    border-radius: 20px;
    padding: 2%;
    text-align: center;
    position: relative;
    left: 0;
}
section#juhend {
    background-color: lightpink;
    color: black;
    font-family: "Comic Sans MS";
    display:inline-block;
    border-left: 3px groove lightpink;
    border-right: 3px groove lightpink;
    border-top: 3px groove lightpink;
    border-bottom: 3px groove lightpink;
    width: 30%;
    border-radius: 20px;
    padding: 2%;
    position: relative;
    left: 0;

}
#juhend h2{
    background-color: lightpink;
    color: white;
    text-align: center;
    font-weight: bold;
    font-variant: small-caps;
    border-radius: 60px;
}
#osa1 h2{
    background-color: lightpink;
    color: white;
    text-align: center;
    font-weight: bold;
    font-variant: small-caps;
    border-radius: 60px;
}
#osa1 div{
    padding: 1%;
}
nav ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
    background-color: lightpink;
    overflow: hidden;
}
nav ul li{
    float: left;
    font-family: "Comic Sans MS", cursive;
    border-left: 1px groove black;
    border-right: 1px groove black;
    border-top: 1px groove black;
    border-bottom: 1px groove black;
    width: 5%;
    border-radius: 30px;
    padding: 2%

}
nav ul li a{
    display: block;
    color: black;
    text-align: center;
    padding: 1%;
    font-variant: small-caps;
    text-decoration: none;
}
nav ul li a:hover{/*fookuses--hiir on peal*/
    background-color: lightgrey;
    border-radius: 30px;
}

section#osa3 {
    background-color: whitesmoke;
    color: black;
    text-align: left;
    font-family: "Comic Sans MS", cursive;
    display:inline-block;
    border-left: 3px groove lightpink;
    border-right: 3px groove lightpink;
    border-top: 3px groove lightpink;
    border-bottom: 3px groove lightpink;
    width: 10%;
    border-radius: 20px;
    padding: 2%
}

section#osa4 {
    background-color: whitesmoke;
    color: black;
    text-align: left;
    font-family: "Comic Sans MS", cursive;
    display:inline-block;
    border-left: 3px groove lightpink;
    border-right: 3px groove lightpink;
    border-top: 3px groove lightpink;
    border-bottom: 3px groove lightpink;
    width: 10%;
    border-radius: 20px;
    padding: 2%

}

section#osa6 {
    background-color: whitesmoke;
    color: black;
    text-align: left;
    font-family: "Comic Sans MS", cursive;
    display:inline-block;
    border-left: 3px groove lightpink;
    border-right: 3px groove lightpink;
    border-top: 3px groove lightpink;
    border-bottom: 3px groove lightpink;
    width: 10%;
    border-radius: 20px;
    padding: 2%
}

section#osa7 {
    background-color: whitesmoke;
    color: black;
    text-align: left;
    font-family: "Comic Sans MS", cursive;
    display:inline-block;
    border-left: 3px groove lightpink;
    border-right: 3px groove lightpink;
    border-top: 3px groove lightpink;
    border-bottom: 3px groove lightpink;
    width: 10%;
    border-radius: 20px;
    padding: 2%

}

section#pilt {
    background-color: black;
    color: white;
    text-align: center;
    font-family: "Comic Sans MS", cursive;
    border-left: 3px groove lightpink;
    border-right: 3px groove lightpink;
    border-top: 3px groove lightpink;
    border-bottom: 3px groove lightpink;
    width: 100 px;
    border-radius: 10px;
    padding: 2%
}

section#pildid {
    background-color: whitesmoke;
    color: black;
    text-align: left;
    font-family: "Comic Sans MS", cursive;
    display:inline-block;
    border-left: 3px groove lightpink;
    border-right: 3px groove lightpink;
    border-top: 3px groove lightpink;
    border-bottom: 3px groove lightpink;
    width: 35%;
    border-radius: 20px;
    padding: 2%

}


section#muusika {
    background-color: red;
    color: black;
    text-align: left;

    font-family: "Comic Sans MS", cursive;
    border-left: 3px groove lightpink;
    border-right: 3px groove lightpink;
    border-top: 3px groove lightpink;
    border-bottom: 3px groove lightpink;
    width: 30%;
    border-radius: 20px;
    padding: 2%

}

section#video {
    background-color: whitesmoke;
    color: black;
    text-align: left;
    font-family: "Comic Sans MS", cursive;
    display:inline-block;
    border-left: 3px groove lightpink;
    border-right: 3px groove lightpink;
    border-top: 3px groove lightpink;
    border-bottom: 3px groove lightpink;
    width: 300px;
    border-radius: 15px;
    padding: 2%

}
section#kaardid {
    background-color: palegreen;
    color: black;
    text-align: left;
    font-family: "Comic Sans MS", cursive;
    display:inline-block;
    border-left: 3px groove lightpink;
    border-right: 3px groove lightpink;
    border-top: 3px groove lightpink;
    border-bottom: 3px groove lightpink;
    width: 30%;
    border-radius: 20px;
    padding: 2%

}
