@import url('https://fonts.googleapis.com/css2?family=Climate+Crisis&display=swap');

*{
    margin: 1.5em; /* default parent font size
                    16px root font size */
    margin: 1.5rem; /* use the default root document font size */

    margin: 10px;
}
body{
    background-color: lightgreen;
}
body{
    background-color: tan;
    font-family: Arial, Helvetica, sans-serif;
}

#lorem{
    font-size: 150%;
    color: rgb(0,0,255);
}
/*[href]{*/
/*    border: dotted red 2px;*/
/*}*/
[href="https://www.w3schools.com/"]{
    border: dotted red 2px;
}
[href^=".."]{
    border: dotted red 2px;
}
[href$="template.html"]:hover{
    background-color: yellow;
}
#lorem::first-letter{
    font-size: 200%;
    color: green;
}
#secBot{
    background-color: yellow;
}
section>h3+p{
    background-color: lightblue;
}
ul>li:first-child{
    color: red;
}
ul>li:last-child{
    color: blue;
}
ul>li:nth-child(3){
    color: yellow;
}
ul>li:nth-child(2){
    color: orange;
}
h1{
    font-size: 350%;
    color: purple;
    text-shadow: 4px 4px 4px black;
}
#wrapper{
    background-color: tan;
    width: 1024px;
    border: solid purple 6px;
    margin: 10px auto;
}
h2, h3, h4, h5, h6{
    color: purple;
}
header,footer,main{
    border: 4px green dotted;
    margin: 1.5em;
    padding: 2em;
}
.buttons{
    display: block;
    text-decoration: none;
    border: 4px solid purple;
    padding: 10px;
    background-image: linear-gradient(to bottom,rebeccapurple,violet);
    color: tan;
    border-radius: 30px;
    box-shadow: 4px 4px 4px black;
}

header>p{
    font-size: 10px;
}
header{
    position: relative;
    text-align: center;
    background-image: url("../img/ahmed-abbas-Y5UxyiIFUoY-unsplash.jpg");
    background-size: cover;
    background-position: center;
}
header>img{
    position: absolute;
    bottom: 50px;
    right:0;
}
nav{
    margin: 1.5em;
    position: sticky;
    top: 18px;
    background-color: purple;
}
nav>ul{
    list-style-type: none;
    text-align: center;
    padding: 0;
}
nav li{
    display: inline-block;
    padding: .5em;
    border: solid 2px purple;
}
nav a{
    color: tan;
    text-decoration: none;
}
nav li:hover{
    border: solid tan 2px;
}
h4+ol>li:nth-child(odd){
    background-color: lightgreen;
}
h3+figure{
    border: dotted black 2px;
    width: fit-content;
    margin: 0 auto;
}
aside{
    float: left;
    /*border: 4px purple solid;*/
    position: sticky;
    top: 70px;
}
aside+section{
    /*border: 4px purple solid;*/
    float: right;
    width: 70%;
}
article{
    clear: both;
    column-count: 3;
    column-gap: 3em;
    text-align: justify;
    column-rule: groove ivory 2px;
}
article>h3, article>hr{
    column-span: all;
    text-align: center;
}
@font-face {
    font-family: article;
    url("../fonts/Newsreader-Regular.TTF")
}
.loremp{
    /*font-family: "Times New Roman", Times, serif;*/
    font-family: article, serif;
}
header>h1{
    font-family: 'Climate Crisis', cursive;
}
/***************************************************************/
table{
    width: 70%;
    margin: 1em auto;
}
#table{
    margin: 1.5em;
}
table, th, td{
    border: 2px black solid;
    border-collapse: collapse;
}
#rtable>tbody>tr>td:last-child:not(.noalign){
    text-align: right;
}
#rtable>tfoot>tr>th:last-child{
    text-align: right;
}
#tables>h2{
    text-align: center;
}
thead, tfoot{
    background-color: violet;
}
#rtable>tbody>tr:nth-child(2n){
    background-color: lightgray;
}
#rtable>tbody>tr:nth-child(2n-1){
    background-color: lightblue;
}
#ntable>tbody>tr{
    height: 300px;
}
#nest1table>caption{
    caption-side: bottom;
}
#ntable td{
    vertical-align: top;
}
#ntable td:last-child{
    vertical-align: bottom;
}
.col1, .col6{
    width: 10%;
    border: solid 4px darkred;
}
#stable col:nth-child(odd){
    background-color: lightgoldenrodyellow;
}
#stable col:nth-child(even){
    background-color: lightblue;
}