* {
    padding: 0px;
    margin: 0px;
    font-family: 'PT Sans', Verdana, Arial, sans-serif;
}

body {
background-image: url(pics/bg.jpg);
width: 100%;
height: 100%;    
}

header {
    padding-top: 0.2%;
    padding-bottom: 0.5%;
    margin-top: 0.7%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: 70%;
    height: 150px;
    background-color: white;
    background-position: center; 
    background-repeat: no-repeat;
    background-image: url(pics/banner1200.jpg);
    background-size: 100%; 

}

header img {
    width: 100%;
}

nav {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.2%;
    width: 70%;
    background-color: #606060;
    height: 31px;
    text-align: center;
    box-shadow: black 1px 0px 5px;  
}

nav ul {
    list-style-type: none;
}

nav li {
    display: inline;
    margin-right: 0.1%;
}

nav button {
    margin-top: 0px;
    padding-top: 0px;
    background-image: url(pics/buttons/button.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-color: #333333;
    background-size: 115%;
    border: 0px;
    width: auto;

}
nav button:hover {
    background-image: url(pics/buttons/buttonover.jpg);

}

nav img {
    width: 100%;
}

section {
    background-color: #323232;
    width: 52%;
    float: left;
    margin-left: 15%;
    border-radius: 8px;
    margin-bottom: 1.2%;
    box-shadow: black 1px 1px 5px;
}

article {
    background-color: #FFFFFF;
    border: #696969 3px thin;
    border-radius: 5px;
    box-shadow: #2D49BC 2px 2px 2px;
    padding: 1.4%;
    text-align: left;
    overflow: auto;
    margin-bottom: 1.2%;
    margin-right: 2%;
    margin-left: 2%;
    margin-top: 1.2%;
    color: #1E1E1E;
}

article h1 {
    font-size: 130%;
    font-weight: bold;
    font-variant: small-caps;
    text-shadow: 1px 0px 5px #808080;
    margin-bottom: 0.5%;
    letter-spacing: 0.2em;  
}

article hr {
    color: #0F2062;
    margin-bottom: 5px;
    margin-top: 0.5%;
    border-style: groove;
}

article p {
    font-size: 100%;
    font-weight: lighter;
    font-style: italic;
    margin-left: 0.5%;
    margin-right: 0.5%;
    margin-bottom: 0.5%;
}

article h4 {
    font-family: Courier;
    font-size: 80%;
    font-weight: 900;
    text-align: right;
    color: #969696;
    margin-right: 0.5%;
    letter-spacing: 0.05em
}

aside {
    text-align: center;
    width: 15%;
    float: right;
    color: white;
    padding: 1%;
    background-color: #323232;
    border-radius: 10px;
    margin-right: 15%;
    margin-bottom: 1.2%;
    box-shadow: black 1px 0px 5px;
}
aside a:link {
    color: white;
    font-size: 110%;
    text-decoration: none;
    text-underline: none;        
}
aside a:active {
    color: white;
    font-size: 110%;
    text-decoration: none;
    text-underline: none;
}
aside a:visited {
    color: white;
    font-size: 110%;
    text-decoration: none;
    text-underline: none;
}
aside a:hover {
    color: white;
    font-size: 110%;
    text-decoration: none;
    text-underline: none;
}


aside hr {
    color: #3D3D3D;
    margin-bottom: 9px;
    margin-top: 5px;
    border-style: groove;
}

footer {
    clear: both;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1.2%;
    text-align: center;
    width: 70%;
    background-color: #323232;
    color: #D2D2D2;
    font-size: 90%;
    height: 20px;
    border-radius: 4px;
    box-shadow: black 1px -3px 5px;
    letter-spacing: 0.2em; 
}

footer a {
    color: #D2D2D2;
    text-decoration: none;
    font-size: 90%;
    letter-spacing: 0.2em; 
}
footer h5 {
    font-size: 90%;
    font-weight: 500;
    text-align: left;
    float: left;
    margin-left: 1%;
}

footer p {
    text-align: right;
    float: right;
    margin-right: 1%;
}

 
 
@media screen and (max-width: 90em) {
    header {
        width: 80%;
        background-image: url(pics/banner1000.jpg);
        }
    nav {
        width: 80%;
    }
    footer {
        width: 80%;
    }    
    section {
        width: 57%;
        margin-left: 10%;
    }
    aside {
        width: 18%;
        margin-right: 10%;
    }
} 


@media screen and (max-width: 70em) {
    header {
        width: 90%;
        background-image: url(pics/banner800.jpg);
        }
    nav {
        width: 90%;
    }
    footer {
        width: 90%;
    }
    section {
        width: 62%;
        margin-left: 5%;
    }
    aside {
        width: 23%;
        margin-right: 5%;
    }
}

@media screen and (orientation: portrait) {
    header {
        width: 96%;
        background-image: url(pics/banner600.jpg);
    }
    nav {
        width: 96%;
    }
    footer {
        width: 96%;
    }
    section {
        width: 96%;
        margin: 0px;
        margin-left: 2%;
        margin-bottom: 1%;
    }
    aside {
    text-align: center;
    width: 94%;
    float: none;
    padding: 1%;
    margin-bottom: 1.2%;
    margin-left: 2%;
    margin-top: 70%;
    }
}
