@charset "utf-8";

/* HTML element - browser window background with image */
html {
    background-color: rgb(70, 90, 110);
    background-image: url('background.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
}

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

/* Header section */
header {
    text-align: center;
    padding: 20px;
}

/* Header image - full width */
header img {
    width: 100%;
}

/* Headings with text shadow */
h1, h2 {
    text-shadow: 4px 6px 5px gray;
}

/* H2 elements */
h2 {
    font-size: 1.3em;
}

/* Navigation section - OLD STYLES COMMENTED OUT
nav {
    background-color: rgb(70, 90, 110);
    padding: 15px;
    text-align: center;
}
*/

/* Navigation ul - remove default list styling */
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Navigation li - float layout */
nav li {
    display: block;
    width: 20%;
    float: left;
}

/* Links within nav */
nav a {
    display: block;
    background-color: rgb(70, 90, 110);
    line-height: 2.8em;
    text-decoration: none;
    text-align: center;
    color: rgb(255, 255, 255);
}

/* Hover state for nav links */
nav a:hover {
    background-color: rgb(100, 130, 160);
    color: rgb(255, 255, 200);
}

/* Main element */
main {
    padding: 20px;
    margin-top: 35px;
}

/* Images in main section */
main > img {
    width: 25%;
    padding: 25px;
    float: right;
}

/* Footer - direct child of body */
body > footer {
    background-color: rgb(70, 90, 110);
    color: rgba(255, 255, 255, 0.6);
    font-weight: bold;
    font-size: 0.9em;
    line-height: 3em;
    text-align: center;
    margin-top: 10px;
    padding: 10px;
    clear: both;
}

/* Footer link styling */
body > footer a {
    color: rgba(255, 255, 255, 0.6);
}

/* List marker for education page */
.education-list {
    list-style-type: square;
}
