* {
	margin: 0;
	padding: 0;
}
html{
    background-color: black;
}
body {
	font-family: Arial, Helvetica, sans-serif;
    font-size: 100%;
    margin: auto;
    width:90%;
    max-width: 1024px;
    background-color: silver;
}

a:focus, a:hover {font-style: italic; color: darkmagenta}

/* the styles for the header */
header {
    padding: 1.5em 0 2em 0;
	background-color: blueviolet;
}
header img {
	float: left;
    padding-left: 1em;
}
header h2 {
    font-size: 180%;
	color: gold;
	text-indent: 3%;
    font-variant: small-caps;
}
header h3 {
	font-size: 110%;
	font-style: italic;
	text-indent: 3%;
}

/*styling for the nav menu*/
#mobile_menu {display:none;}        /*hide mobile menu at larger resolutions*/
nav{font-variant: small-caps;}
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}
nav ul li {
    float: left;
    width: 25%;
}
nav ul li a {
    display: block;
    text-align: center;
    padding: 1em 0em;
    text-decoration: none;
    background-color: goldenrod;
}
nav ul li a.current {color: blueviolet; font-weight: bold;}

/*styling for the submenu*/
nav ul ul {
    display: none;
    position: absolute;
    top: 100%;
    width: 100%;
}
nav ul ul li {
	float: none;
}
nav ul li:hover > ul {
	display: block;
}
nav > ul::after {
    content: "";
    clear: both;
    display: block;
}

/*generic styling for the main body*/
main{
    clear: left;
    background-color: silver;
    padding: 1.5em;
    float: left;
    width: 75%;
}
main h1 {
    color: blueviolet;
    padding-bottom: .5em;
    font-variant: small-caps;
}
main p {
    padding:1em;
}

/*styling for the aside*/
aside {
    width: 15%;
    float: right;
    border: 3px solid gold;
    text-align: center;
    margin-top: 4%;
    margin-right: 2%;
    margin-bottom: 4%;
    padding: 1% 0;
    background-color: gray;
}
aside img {
    padding: 5% 0;
}
aside ul {
    list-style: none;
}
aside h2 {
    font-size: 100%;
}

/*styling for the footer*/
footer{
    clear:both;
    text-align: center;
    background-color: goldenrod;
    padding: 1em 0;
}

@media only screen and (max-width: 966px) { /*get rid of aside and center header*/
    header {
        text-align: center;
        text-indent: 0;
        padding: 1.5em 0;
    }
    header img {
        padding: 0;
        float: none;
    }
    
    main {
        float: none;
        width: auto;
    }
    aside {
        float: none;
        text-align: left;
        border: none;
        background-color: silver;
        padding: 1em;
        width: auto;
        margin: 0;
    }
    aside img {display:none;}
    aside h2 {font-size: 120%;}
    aside ul li {
        padding: .2em 0;
        text-indent: 3%;
    }
}

@media only screen and (max-width: 800px) { /*switch menu*/
    body {width: 100%;}
    nav {display: none;}
    #mobile_menu {display:block;}
    .slicknav_menu {
        background-color: goldenrod !important;
        padding: 0 !important;        
    }
    .slicknav_menu ul li {
        float: none !important;
        padding: .1em 0;
        width:100%;
    }
    
}
