:root{
    --main-color: darkorange;
    --alt-color: blue;
    --main-bg-color: cornsilk;
    --link-color: chartreuse;
    --nav-color: red;
    --caption-color: gold;
    --border-color: aqua;
    --alt-border-color: lightgreen;
    --html-bg: white;
    --hover-color: pink;
    --odd-color: orangered;
    --even-color: dodgerblue;
    --odd-color-table: lightblue;
    --even-color-table: darkblue;
    --em-color: mediumblue;
    --article-border: darkred;
    --submit-color: darkmagenta;
}

p, table, ul, form, figure, nav, h1, h2, h3 {
    background-color: var(--main-bg-color);
}

.flexbox-layout{
    display: flex;
    flex-direction: row;
}

.flexbox-layout article {
    flex: 0 1 auto;
}

em {
    color: var(--em-color);
}

figure{
    float: left;
    text-align: center;
    width: 20em;
    border: thin solid var(--border-color);
    padding: 1%;
    margin: 1%;
}

figcaption{
    color: var(--caption-color);
    text-align: center;
}

img{
    max-width: 100%;
    text-align: center;
}

body{
    background-color: var(--main-bg-color);
    background-image: url("../images/recycling-background.png");
    background-repeat: no-repeat;
    background-size: 50% 50%;
    font-family: sans-serif, fantasy;
    border: thin solid var(--border-color);
    color: var(--main-color);
    max-width: 50em;
    line-height: 1.3em;
    padding: 1%;
    margin: auto;
}

p{
    text-align: left;
    font-size: 1.5em;
}

article{
    border: thin dashed var(--article-border);
}

html{
    background-color: var(--html-bg);
}

nav{
    text-align: center;
}

nav a {
    display: inline-block;
    width: 12em;
}

nav a:hover {
    background-color: var(--hover-color);
}

footer {
    float: left;
}

footer a:hover {
    background-color: var(--section-hover-color);
}

article, section, aside, nav{
    padding: 1%;
}

a {
    color: var(--link-color);
}

h1 {
    text-transform: capitalize;
}

p:first-line {
    text-indent: 5%
}

li:nth-child(even) {
    color: var(--even-color);
}

li:nth-child(odd){
    color: var(--odd-color);
}

table{
    border: var(--border-color);
    border-style: solid;
    margin: 0%;
    width: 80%;
}

tr{
    border: var(--alt-border-color);
    border-style: dashed;
}

tr th{
    text-decoration: underline;
}

tr:nth-child(even){
    background-color: var(--even-color-table);
}

tr:nth-child(odd){
    background-color: var(--odd-color-table);
}

cite {
    font-size: xx-small;
}

fieldset{
    float: none;
    text-indent: 0%;
}

fieldset label{
    color: var(--alt-color);
}

label {
    color: var(--label-color);
    font-family: "Comic Sans", "Comic Sans MS";
}

.name label{
    text-shadow: 2px 2px 1px;
}

.name input{
    color: blue;
}

.whatDo label{
    text-shadow: 5px 0px 5px;
}

.whatDo input{
    color: red;
}

.howOft label{
    text-shadow: 1px 1px 10px;
}

.howOft input{
    color: var(--alt-color);
}
.cant a{
    color: var(--alt-color);
}

.cant select{
    background-color: var(--hover-color);
    color: var(--alt-color);
}

.thoughts textarea {
    background-color: antiquewhite;
}

.submit input{
    background-color: var(--hover-color);
}

.submit input:hover{
    transform: scale(1.1, 1.1);
}

.submit input:active{
    transform: scale(0.9, 0.9);
}

.shadows{
    text-shadow: 1px 1px 1px;
}

.shadows p{
    box-shadow: 2px 2px;
}

.animation figure{
    position: relative;
    left: 0px;
    top: 0px;
    animation-name: figEnter;
    animation-duration: 1s;
}

@keyframes figEnter{
    from {left: -200%}
    to {left: 0px}
}

.animation nav{
    position: relative;
    left: 0px;
    top: 0px;
    animation-name: navEnter;
    animation-duration: 1s;
}

@keyframes navEnter{
    from {top: -50%}
    to {top: 0px}
}