*{
    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: 85vh;
}
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;
}
/**************************************************/
.bbh-sans-hegarty-regular {
    font-family: "BBH Sans Hegarty", sans-serif;
    font-weight: 400;
    font-style: normal;
}
nav>ul{
    /*border: 4px red solid;*/
    padding: 0;
    list-style-type: none;
    /*background-color: purple;*/
    overflow: hidden;
    /*text-align: center;*/
    margin: 0 auto;
    width: fit-content;
}
nav>ul>li>a{
    color: tan;
    text-decoration: none;
    /*float: left;*/
    /*padding: 14px 16px;*/
}
nav li{
    float: left;
    /*border: 4px blue solid;*/
    padding: 14px 16px;

}

nav{
    /*border: 4px blue solid;*/
    background-color: rgba(128, 0, 128, 0.75);
}
/*nav>ul>li>a:hover,nav>ul>li>a:focus{*/
/*    background-color: rebeccapurple;*/
/*}*/
nav>ul>li:hover,nav>ul>li:focus{
    background-color: rebeccapurple;
}
/*#listSection>ul>li:nth-child(3){*/
/*    background-color: black;*/
/*}*/
/*#listSection>ul>li:nth-child(odd){*/
/*    background-color: black;*/
/*}*/
/*#listSection>ul>li:nth-child(2n-1){*/
/*    background-color: black;*/
/*}*/
/*#listSection>ul>li:nth-child(2n){*/
/*    background-color: black;*/
/*}*/
#listSection>ul>li:nth-child(even){
    background-color: black;
    width: 20%;
}
/*#imageSection>h3+a+a,#imageSection>h3+a+a+img{*/
/*    float: right;*/
/*}*/
#imageSection>h3+figure{
    float: right;
}
/*.clear{*/
/*    clear:both;*/
/*}*/
