/* Adapted from: 
   HTML5 and CSS3 for Dummies, 3rd ed.
   by Andy Harris
   Wiley, 2014
   ISBN 978-1-118-28938-9
*/

body {
    background-color: white;
}

#all {
    width: 600px;
    margin-top:2em;
    margin-left: auto;
    margin-right: auto;
    min-height: 600px;
}

#header {
    background-color: blue;
    color: white;
    height: 100px;
    font-size: 2em;
    padding-left: 1em;
    border-bottom: 3px solid black;
    border-radius: 5px;
} 

#header h1 {
    font-size: 1.25em;
    font-family: sans-serif;
}

#menu {
    color: blue;
    float: left;
    width: 120px;
    border-radius: 5px;
    font-family: sans-serif;
}

#menu h2 {
    text-align: center;
}

#menu li {
    background-color: lightgray;
    list-style-type: none;
    margin-left: -2em;
    margin-right: 0.5em;
    margin-top: 0.5em;
    text-align: center;
}

#menu a {
    color: blue;
    display: block;
    border: silver 3px outset;
    text-decoration: none;
}

#menu a:hover {
    border: silver 3px inset;
}

.course {
    font-family: sans-serif;
    background-color: white;
    border: 3px double blue;
    margin: 1em;
    margin-left: 120px;
    padding-left: 1em;
    padding-bottom: 1em;
    padding-right: 1em;
    border-radius: 5px;
}

.course h2 {
    font-family: sans-serif;
    background-color: blue;
    color: white;
    text-align: right;
    border-radius: 3px;
    padding: 5px;
    box-shadow: 5px 5px 5px gray;
}

#footer {
    background-color: white;
    border: 1px solid blue;
    float: left;
    clear: both;
    width: 100%;
    text-align: center;
}

#footer a {
    font-family: sans-serif;
}
