
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');


*{
    margin: 0;
    /*margin: 1.5rem;*/ /*relative value based on rem*/
    /*margin: 1.5em;*//*relative value based on em*/
    /*margin: 10px;*//*absolute value based on px*/
    box-sizing: border-box;
}


body{
    background-color: tan;
    font-family: Arial, Helvetica, sans-serif;
}
/*#backColour{*/
/*    background-color: pink;*/
/*}*/
#bcolour{
    background-color: yellow;
}
.ccolour{
    color: blue;
}
ol{
    list-style-type: decimal-leading-zero;
}
.loremp{
    font-family: "Times New Roman", Times, serif;
}
/*h3{*/
/*    font-size: 150%;*/
/*    color: red;*/
/*}*/
/*#lorem{*/
/*    font-size: 150%;*/
/*    color: red;*/
/*}*/
/*section h3{*/
/*    font-size: 150%;*/
/*    color: red;*/
/*}*/
section>h3{
    font-size: 150%;
    color: red;
}
/*[href]{*/
/*    background-color: lightblue;*/
/*}*/
[href="https://www.w3schools.com"]{
    background-color: lightblue;
}
[href^=".."]{
    border: dotted 4px green;
}
[href$="wk02.html"]{
    background-color: white;
}
#lorem::first-letter{
    font-size: 200%;
    color: darkorchid;
}
section>p:hover{
    background-color: yellow;
}
/*section p{*/
/*    background-color: pink;*/
/*}*/
/*section>p{*/
/*    background-color: pink;*/
/*}*/
section>h3+p{
    background-color: pink;
}
li>ol>li:first-child{
    color: red;
}

li>ol>li:last-child{
    color: green;
}
li>ol>li:nth-child(2){
    color: orange;
}
li>ol>li:nth-child(3){
    color: yellow;
}
/********************************************************/
body{
    /*background-image: url("../img/ahmed-abbas-dPrVq_7xbm8-unsplash.jpg");*/
}
/*#wrapper{*/
/*    background-color: rgba(59, 51, 39, 0.85);*/
/*    color: tan;*/
/*}*/
header, footer, main{
    /*border: dotted pink 4px;*/
    margin: 0 1.5em;
    padding: 2em;
}
h1{
    font-size: 450%;
    text-shadow: 4px 4px 8px black;
}
h2,h3, h4, h5, h6{
    color: purple;
}
.buttons{
    text-decoration: none;
    color: tan;
    border: 4px solid purple;
    padding: 10px;
    margin: .5em;
    border-radius: 30px;
    background-image: linear-gradient(to bottom, rebeccapurple, violet);
    box-shadow: 4px 4px 4px black;
}

header p{
    font-size: 10px;
}
header{
    text-align: center;
    height: 100vh;
    position: relative;
}
header>img{
    position: absolute;
    bottom: 100px;
    right: 10px;
}
header>section{
    border: 6px solid saddlebrown;
    position: relative;
    width: fit-content;
    top: 30%;
    left: 10%;
    background-image: linear-gradient(to bottom,tan, saddlebrown);
    padding: 2em;
    border-radius: 40px 0;
    box-shadow: 8px 8px 10px black;
}

footer,#listSection,#linkSection,#loremSection,#imageSection, #formSection{
    min-height: 100vh;
    padding-top: 4em;
}
#infoSection{
    padding-top: 3.5em;
    min-height: 100vh;
}
#linkSection p, #linkSection h3,#linkSection a{
    margin: 1em;
}
/***************************************************/
@font-face {
    font-family: myFont;
    src: url("../fonts/Roboto-Regular.ttf");
}
header{
    font-family: myFont, sans-serif;
}
.roboto-bold-italic {
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-style: italic;
}
nav{
    /*text-align: center;*/
    position: sticky;
    /*top:18px;*/
    top:2px;
    z-index: 1;
    background-color: rgba(128, 0, 128, 0.7);
}
nav>ul{
    list-style-type: none;
    padding: 0;
    /*border:dotted red 4px;*/
    overflow: hidden;
    text-align: center;
    margin: 0 auto;
    width: fit-content;
}
nav>ul>li>a{
    text-decoration: none;
    color: tan;
    text-align: center;
    padding: 14px 16px;
    display: block;
}
nav li{
    float: left;
}
nav>ul>li>a:hover{
    background-color: rebeccapurple;
}
/*#listSection ul>li:nth-child(odd){*/
/*    background-color: bisque;*/
/*}*/
#listSection ul>li:nth-child(2n-1){
    background-color: bisque;
}
/*#listSection ul>li:nth-child(even){*/
/*    background-color: lightpink;*/
/*}*/
#listSection ul>li:nth-child(2n){
    background-color: lightpink;
}
/*#imageSection h2+a,#imageSection h2+a+img,#imageSection h2+a+img+img{*/
/*    float: right;*/
/*}*/
/*#imageSection h2+figure{*/
/*    float: right;*/
/*}*/
/*figure{*/
/*    clear: both;*/
/*}*/
/**************************************************/
#listSection{
    float: left;
    /*border: solid red 4px;*/
    width: 45%;
    /*border-right: groove ivory 2px;*/
    /*padding-right: 1em;*/
}
#imageSection{
    /*border: solid green 4px;*/
    width: 50%;
    float: right;
    border-left: groove ivory 2px;
    padding-left: 2em;
}
footer{
    clear: both;
}
/*#loremSection>h3+img{*/
/*    float: right;*/
/*}*/
.clear{
    clear: both;
}
#loremSection>article{
    column-count: 4;
    column-gap: 3em;
    text-align: justify;
    column-rule: groove ivory 2px;
}
#loremSection>h3{
    text-align: center;
    border-bottom: groove ivory 4px;
    margin-bottom: 1em;
}
/****************************/
form{
    width: 55%;
    margin: 0 auto;
}
#formSection>h3{
    text-align: center;
}
legend{
    font-size: xx-large;
    text-align: right;
}
.box{
    margin: 1.5em;
}
label{
    font-size: x-large;
}
#formSection span{
    color: red;
}
[type="text"], [type="email"]{
    width: 75%;
    float: right;
}
[readonly]{
    width: 60%;
}
[type="button"]{
    vertical-align: top;
    border-radius: 15px;
    padding: 5px;
    margin-left: 1em;
}
#fields{
    /*border: green 4px solid;*/
    overflow: hidden;
}
#payments{
    width: 40%;
    float: left;
    text-align: center;
}
#choose{
    width: 55%;
    float: right;
    text-align: center;

}
#myButtons{
    margin: 2em;
    clear: both;
}