/* groupe:  */
/* nom: HOLDRY */
/* prénom: Jean-Marc*/


h1 , h2 , h3{
    font-family: 'Times New Roman', Times, serif;
}



div p{
    font-style: oblique;
    color: red;
}

div div p{
    color: blue;
}

div > div > p {
    background-color: orange;
}

div.div-img p, figcaption p {
    background-color: lightgreen;
}


div ~ img {
    border: 2px solid black;
    margin: 10px;
}

div + img {
    outline: 10px groove yellow;
}

img + img {
    outline: 10px ridge red;
}

img:hover {
    margin: 15px;
    box-shadow: 0 0 50px blue;
}


img:active {
    box-shadow: 0 0 50px red;
}

a:visited {
    color: black;
}


#exe3 p:not(#pp)::first-letter {
    font-size: 3em;
}

#exe4 > ul {
    font-size: 40px;
    text-transform: uppercase;
}

li > ul > li {
    text-transform: initial;
}

#avec-attribut [id] {
    background-color: blue;
}

#avec-attribut [class] {
    background-color: green;
}

#avec-attribut [class="class1"] {
    background-color: orange;
}

#avec-attribut [style*="2em"] {
    background-color: red;
}