body{
    background-color: lightgrey;
}
h1{
    font-family: 'Courier New', Courier, monospace;
    font-style: inherit;
    font-weight: 300;
    color: blueviolet;
    text-align: center;
}
h2{
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-style: oblique;
    font-weight: 300;
    color: blueviolet;
    text-align: center;
}
h3{
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-style: italic;
    font-weight: 300;
    color: blueviolet;
    text-align: center;
}
div p {
    color: red;
}
 
div > p {
    color: blue;
    font-weight: bold;
}
 
h2 + p {
    background-color: yellow;
}
 
h3 ~ p {
    border: 2px solid green;
    padding: 5px;
}