:root{
    --main-bg-color: darkseagreen;
    --main-text-color: #111111; 
}

*{
    margin: 0;
    padding: 0;
}

html{
    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{
    float: right;
    text-align: center;
    width: 20%;
}

footer{
    clear: both;
}

h1{
    text-transform: uppercase;
}

cite{
    text-transform:lowercase;
}

img{
    max-width: 100%;
    border-radius: 50%;
}

figure{
    border-radius: 50%;
    border: black;
    float: right;
    text-align: center;
    width: 20em;
}

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;
}

form{
    float:none;
    text-indent: 0%;
}

table{
    border: wheat;
    border-collapse: collapse;
    width: 80%;
    float:none;
}

caption{
    text-align: left;
    color: tomato;
}

tr{
    border: white;
}

th{
    color: turquoise;
}

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{
    border: thin solid yellow;
    background-color: white;
    text-align: center;
    padding: 1% 0;
}


