@charset "utf-8";

html {
    background-color: hsl(210, 50%, 80%);
    background-image: url('beige-texture.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
}

body {
    font-family: Verdana, Geneva, sans-serif;
    color: rgb(91, 91, 91);
    background-color: ivory;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

header {
    text-align: center;
    padding: 20px;
}

h1, h2 {
    text-shadow: 4px 6px 5px gray;
}

h2 {
    font-size: 1.3em;
}
 
/* nav {
    background-color: hsl(212, 45%, 45%); 
    padding: 15px;
    text-align: center;
}

nav a {
    padding-left: 10px;
    padding-right: 10px;
    text-decoration: none;
    color: white;
}

nav a:hover {
    text-decoration: underline;
    color: yellow;
} */

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav li {
    float: left;
    width: 20%;   
    display: block;
}

nav a {
    display: block;
    background-color: hsl(212, 45%, 45%);
    line-height: 2.8em;    
    text-decoration: none; 
    text-align: center;   
    color: white;
}

nav a:hover {
    background-color: hsl(212, 55%, 35%);
    color: yellow;
}

main {
    clear: both;     
    padding: 20px;
    margin-top: 35px;
}

main>img {
    width: 25%;
    float: right;
    padding: 25px;
}

header img {
    width: 100%;
}

body > footer {
    clear:both;
    background-color: hsl(220, 45%, 85%);
    color: rgb(70, 70, 70);
    font-weight: bold;
    font-size: 0.9em;
    line-height: 3em;
    text-align: center;
    margin-top: 10px;
    padding: 10px;
}

ul {
    list-style-type: square;
}