:root{
    --main-bg-color: lightblue;
    --main-text-color: #111111; 
}

main, article, section, aside, h1, h2, h3, h4, h5, h6, nav{
    padding: 1%;
}
html{
    background-image: url(../images/plasticWaterbottle.jpg);
    background-color: var(--main-bg-color);
    color: var(--main-text-color);
}

a:hover{
    background-color: var(--main-text-color);
    color: var(--main-bg-color);
}

figure{
    margin-top: 1em;
    text-align: center;
    width: 20%;
}

footer{
    clear: both;
}

h1{
    color: whitesmoke;
    text-transform: uppercase;
}

cite{
    text-transform:lowercase;
}

img{
    max-width: 100%;
    border-radius: 50%;
}

figure{
    border-radius: 20%;
    border: black;
    float: left;
    text-align: center;
    width: 100%;
}

figcaption{
    text-align: center;
}

body{
    text-indent: 5%;
    border: thin solid var(--main-text-color);
    max-width: 50em;
    line-height: 1.2em;
    padding: 1%;
    margin: auto;
    
}

cite{
    font-size: xx-small;
}

ol{
    margin: 1em;
}

ol li{
    padding-left: 1em;
}

li{
    color:white;
}

li:nth-child(odd){
 background-color: crimson;
}

li:nth-child(even){
 background-color: darkblue;
}
form{
    max-width: 30em;
    border: medium solid black;
    background-color: var(--main-bg-color);
    color: green;
    padding: 1%;
    margin: auto;
}

.contact label{
    font-size: xx-small; 
}

fieldset{
    border: none;
}

fieldset p{
    margin-bottom: 1em;
}

legend {
    padding-bottom: 0;
    margin-bottom: 0;
    line-height: 1;
}

label{
    display: inline-block;
}

textarea{
    width: 100%;
}

p{
    text-indent: 3em;
    padding-bottom: 1em;
}

input[type=text]{
    border: 0;
    background-color: white;
    border-bottom: medium solid green;
    width: 100%;
    height: 2em;
    color: green;
    font-size: large;
}

select{
    font-size: large;
    width: 100%;
  }
 
.radio label{
    display:inline;
}

.radio input, .checkbox label{
    width: initial;
}
  textarea{
    width: 100%;
    height: 5em;
}

.buttons{
    text-align: center
}

input[type=submit]{
    width: 80%;
    text-align: center;
    font-size: 2em;
    background-color: silver;
    color: cornsilk;
    border-color: cornsilk;
    border-radius: .25em
}


table{
    border: medium solid black;
    border-collapse: collapse;
    width: 80%;
    max-width: 100%;
    margin: auto;   
}

table + p{
    padding-top: 1em;
}
td, th {
    border: thin solid black;
    padding: .5em;
}
caption{
    font-variant: small-caps;
    font-weight: bold;
    text-align: left;
    color: blue;
}

tr{
    border: white;
}

th{
    color: blue;
}

nav a:link{
    background-color: #fff;
    color: #009;
    text-decoration: none;
}

nav a:hover{
    text-decoration: underline;
}

nav a{
    display: inline-block;
    width: 25%;
    padding: 1%;
}

nav, footer{
    background-color: lightcoral;
    background-color: white;
    border-bottom: medium solid var(--main-bg-color);
    text-align: center;
    padding: 1% 0;
}

article, section, aside, nav{
    padding: 1%;
}

.grid-layout article{
    display: grid;
    grid-template-areas: 
        "nike-figure  material-text  material-list"
        "recycled-projects  recycled-projects  recycled-projects"
        "common-materials-table  common-materials-table  common-materials-table";
    grid-template-columns: 15% auto 25%;    

}

.grid-layout .nike-figure{
    grid-area: nike-figure;
}

.grid-layout .recycled-projects{
    grid-area: recycled-projects;
}

.grid-layout .common-materials-table{
    grid-area: common-materials-table;
}

.grid-layout .material-text{
    grid-area: material-text;
}

.grid-layout .material-list{
    grid-area: material-list;
}



input[type="checkbox"]{
    margin: 1em;
}
input[type="radio"]{
    margin: 1em;
}

form p{
    text-indent: 0;
}
