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

/*p{
    color: red;
    !*background-color: yellow;*!
}*/
#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-roman;
}
#backColour{
    background-color: lightblue;
}
body{
    background-color: lightpink;
    /*font-size: 10px;*/
    font-family: Arial, Helvetica, sans-serif;
}
.loremp{
    font-family: "Times New Roman",times,serif;
}
/*h3{
    color: blue;
}*/
/*#lorem{
    color: blue;
}*/
/*h3#lorem{
    color: blue;
}*/
/*section>h3{
    color: blue;
}*/
/*section h3{
    color: blue;
}*/
/*section h3:first-child{
    color: blue;
}*/
/*section>h3:first-child{
    color: blue;
}*/
#loremSection>h3+h3{
    color: blue;
}
/*section>p:hover,section>p:focus{
    background-color: white;
}*/
#loremSection p:hover,#loremSection>p:focus{
    background-color: white;
}
/*[href]{
    background-color: lightgray;
}*/
[href="https://www.w3schools.com/"]{
    background-color: lightgray;
}
[href^=".."]{
    border: green solid 4px;
}
[href$="exercise02.html"]{
    background-color: lightgreen;
}
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,main,footer{
    /*border: white dotted 4px;*/
    margin: 0 1.5em;
    padding: 2em;
    /*margin-bottom: 10px;*/
}
/*body{*/
/*    background-image: url("../img/ahmed-abbas-dPrVq_7xbm8-unsplash.jpg");*/
/*}*/
/*#wrapper{*/
/*    background-color: rgba(79, 45, 20, 0.75);*/
/*    color: tan;*/
/*}*/
h2,h3,h4,h5,h6{
    color: purple;
    text-shadow: 1px 1px 8px tan;
}
.buttons{
    display: inline-block;
    border: 4px purple solid;
    padding: 10px;
    margin: 0 0.5em;
    color: tan;
    text-decoration: none;
    background-image: linear-gradient(to bottom, rebeccapurple, violet);
    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;
}
h1{
    font-size: 450%;
    text-shadow: 4px 4px 8px black;
}
header p{
    font-size: 10px;
}
header>section{
    border: 6px solid saddlebrown;
    text-align: center;
    width: fit-content;
    margin: 0 auto;
    position: relative;
    top: 30%;
    background-image: linear-gradient(to top, saddlebrown, tan);
    padding: 2em;
    border-radius: 40px 0;
    box-shadow: 12px 12px 16px black;
}
footer,#infoSection,#loremSection,#listSection,#linkSection,#imageSection{
    height:100vh;
    padding: 4em;
}
#infoSection *,#loremSection *,#linkSection *{
    margin: 1em 0;
}
/*****************************************************/

.bitcount-ink-400 {
    font-family: "Bitcount Ink", system-ui;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
            "slnt" 0,
            "CRSV" 0.5,
            "ELSH" 0,
            "ELXP" 0,
            "SZP1" 0,
            "SZP2" 0,
            "XPN1" 0,
            "XPN2" 0,
            "YPN1" 0,
            "YPN2" 0;
}
header #logo{
    position: fixed;
    bottom: 50px;
    right:25px;
}
nav>ul{
    /*border: 4px red solid;*/
    list-style-type: none;
    padding: 0;
    /*float: left;*/
    overflow: hidden;
    /*text-align: center;*/
    width: fit-content;
    margin: 0 auto;
    /*background-color: purple;*/
}
nav>ul>li>a{
    color: tan;
    /*float: left;*/
    text-decoration: none;
}
nav>ul>li{
    /*border: solid 2px blue;*/
    float: left;
    padding: 14px 16px;
}
nav{
    /*border: solid 2px blue;*/
    background-color: purple;

}
/*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;*/
/*    width: 15%;*/
/*}*/
/*#listSection>ul>li:nth-child(odd){*/
/*    background-color: black;*/
/*    width: 15%;*/
/*}*/
/*#listSection>ul>li:nth-child(2n-1){*/
/*    background-color: black;*/
/*    width: 15%;*/
/*}*/
/*#listSection>ul>li:nth-child(2n){*/
/*    background-color: black;*/
/*    width: 15%;*/
/*}*/
#listSection>ul>li:nth-child(even){
    background-color: black;
    width: 15%;
}
#imageSection>a+figure{
    float: right;
}
.clear {
    clear: both;
}
/************************************************/
form{
    width: 55%;
    margin: 0 auto;
}
#formSection>h3{
    text-align: center;
    font-size: 200%;
}
legend{
    font-size: xx-large;
    text-align: right;
}
.box{
    margin: 1.5em;
}
#formSection span{
    color: red;
}
[type='text'],[type="email"]{
    width: 75%;
    height: 1.5em;
    float: right;
}
[readonly]{
    width: 65%;
}
[type='button']{
    vertical-align: top;
    padding: 5px;
    border-radius: 15px;
    margin-left: 1em;
    background-color: yellow;
}
#fields{
    /*border: green dotted 4px;*/
    overflow: hidden;
}
#payments{
    float: left;
    box-sizing: border-box;
    width: 44%;
    text-align: center;
}
#choose{
    float: right;
    box-sizing: border-box;
    width: 55%;
    text-align: center;
}
#myButtons{
    clear: both;
    margin: 2em;
    text-align: center;
}


