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

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

header>p{
    font-size: 10px;
}
header{
    background-image: url("../img/ahmed-abbas-fcdEr-UlZqU-unsplash.jpg");
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
}
header>img{
    position: absolute;
    /*bottom:20px;*/
    /*right: 420px;*/
    top: 10px;
    left:10px;
}
nav {
    /*margin-left: 20px;*/
    position: sticky;
    top: 2px;
    background-color: rgba(128, 0, 128, 0.7);
    margin: 1.5em;
}
nav>ul{
    list-style-type: none;
    padding: 0;
    /*margin: 0;*/
    overflow: hidden;
    /*border: red dotted 6px;*/
    /*text-align: center;*/
    margin: 0 auto;
    width: fit-content;
}
nav>ul>li>a{
    text-decoration: none;
    color: tan;
    padding: 14px 16px;
    display: block;
    text-align: center;
}
nav li{
    float:left;
}
main{
    clear: both;
}
nav li>a:hover{
    background-color: rebeccapurple;
}
li>ul>li:nth-child(even){
    background-color: lightgoldenrodyellow;
    width: fit-content;
}
li>ul>li:nth-child(2n-1){
    background-color: lightblue;
    width: 50%;
}
/*h3+a, h3+a+img{*/
/*    float: right;*/
/*}*/
/*a>img, a+img{*/
/*    float: right;*/
/*    margin: 1em;*/
/*}*/
figure{
    clear: both;
}
h3+figure{
    /*float:right;*/
    margin: 0 auto;
    border: green solid 2px;
    width: fit-content;
}
aside{
    /*border: solid purple 4px;*/
    float:left;
    position: sticky;
    top: 70px;
}
section{
    /*border: solid purple 4px;*/
    float: right;
    width: 70%;
}
article{
    clear: both;
    column-count: 3;
    column-gap: 3em;
    text-align: justify;
    column-rule: groove ivory 2px;
}
/*footer{*/
/*    height: 100vh;*/
/*}*/

article>h3, article>hr{
    column-span: all;
    text-align: center;
}
@font-face {
    font-family: article;
    url("../fonts/Newsreader-Regular.ttf")
}
.loremp{
    font-family: article, serif;
}
header>h1{
    font-family: 'Climate Crisis', sans-serif;
}








