*{
    margin: 0;
    /*margin: 10px;*/
    /*margin: 1.5em;*/
    /*margin: 1.5rem;*/
    /*font-size: 10px;*/
}

/*p{
    color:red;
}*/
#idatt{
    background-color: yellow;
}
#bcolour{
    background-color: lightblue;
}
.ccolour{
    color:green;
}
.secondclass{
    background-color: lightpink;
}
ul{
    list-style-type: square;
}
ol{
    list-style-type: upper-alpha;
}
#backColour{
    background-color: tan;
}
body{
    background-color: lightgreen;
    font-family: Arial, Helvetica, sans-serif ;
}
.loremp{
    font-family: "Times New Roman", times, serif;
}
/*
h3{
    color: blue;
}*/
/*
#lorem{
    color: blue;
}*/
/*
section h3{
    color: blue;
}*/
/*section>h3+h3{
    color: blue;
}*/
/*h3.loremp{*/
/*    color: blue;*/
/*}*/
#loremSection>h3:first-child{
    color: blue;
}
section>h3.loremp:first-letter{
    font-size: 250%;
    color: purple;
}
/*section>p:hover{
    background-color: whitesmoke;
}*/
#loremSection p:hover{
    background-color: whitesmoke;
}

/*[href]{
    background-color: lightblue;
}*/

[href="https://www.w3schools.com/"]{
    background-color: lightblue;
}
[href^=".."]{
    border: 4px solid black;
}
[href$="exercise02.html"]{
    background-color: white;
}
ol>li>ul>li:first-child{
    color: red;
}

ol>li>ul>li:last-child{
    color: green;
}

ol>li>ul>li:nth-child(2){
    color: orange;
}

ol>li>ul>li:nth-child(3){
    color: yellow;
}
h4+ul>li:not(#noColour){
    color:red;
}
/******************************************/
header,footer,main{
    /*border: white dotted 4px;*/
    margin: 0 1.5em;
    padding: 2em;
}
body{
    background-image: url("../img/ahmed-abbas-dPrVq_7xbm8-unsplash.jpg");
}
#wrapper{
    background-color: rgba(73, 42, 19, 0.8);
    color: tan;
}
h2,h3,h4,h5,h6{
    color: purple;
    text-shadow: 1px 1px 8px tan;
}
h1{
    font-size: 450%;
    text-shadow: 4px 4px 8px black;
}
.buttons{
    display: inline-block;
    border: 4px purple solid;
    color: tan;
    padding: 10px;
    margin: 0 0.5em;
    background-image: linear-gradient(to bottom, rebeccapurple, violet);
    text-decoration: none;
    border-radius: 30px;
    text-shadow: 2px 2px 4px black;
    box-shadow: 4px 4px 8px black;
}
nav{
    text-align: center;
    position: sticky;
    top: 0;
}
header{
    height: 83vh;
}
header p{
    font-size: 10px;
}
header>section{
    border: saddlebrown 6px solid;
    text-align: center;
    width: fit-content;
    margin: 0 auto;
    position: relative;
    top: 30%;
    padding: 2em;
    background-image: linear-gradient(to top, saddlebrown, tan);
    border-radius: 40px 0;
    box-shadow: 8px 8px 12px black;
}
footer,#infoSection,#loremSection,#linkSection,#listSection,#imageSection{
    height: 100vh;
    padding: 4em;
}
#infoSection *,#listSection *, #loremSection *{
    margin: 1em 0;
}







