body{
    background-color: lightblue;
}
#glavni:hover{
    color: red;
}
p:active{
    color: green;
}
a:visited{
    color: orange;
}
div p:nth-child(odd){
    -color: purple;
}
div p:nth-child(even){
    -color: orangered;
}
div p:nth-child(3){
    -color: green;
}
div p:nth-child(3n-1){
    color: green;
}
div p:first-child{
    color: red;
}
div p:last-child{
    color: pink;
}