/*
Color Hex Codes:
Grey bg bar: #e9e9e9
Dark Grey Text: #515151
Link grey: #f0f0f0
*/

body {
    color: #515151;
    font-family:sans-serif;
    margin:0;
    padding:0;
}

header {
    margin-left: auto;
    margin-right:auto;
    width: auto;
    text-align: center;
    font-size: 72pt;
    padding: 25px;
    line-height: .7em;
}

#subheader {
    font-stretch:ultra-condensed;
    font-size: .78em;
}

section {
    height: 500px;
    background-color: #e9e9e9;
    margin-top:0;
    background-image: url(../skullsbg.png)
}

nav {
    font-size: 2em;
    font-weight: bold;
    background-color: #FFFFFF;  
}

a {
    text-decoration: none;
}

footer
{
    font-size:.7em;
    color: #666666;
    text-align:center;
    padding-top: 75px;
}

article {
    margin-left:auto;
    margin-right:auto;
    width: 810px;
   
}

article img {
    background-color: #FFFFFF;
    padding: 8px;
    margin-top: 10%;
    margin-right: 35px;
    float:left;
    display:inline-block;
    vertical-align: middle;
}

article div {
    padding: 30px;
    clear: right;
    padding-top: 65px;
    
}

article p {
    background: rgba(235, 235, 235, 0.7);
    padding: 30px;
    margin-left: 400px;
    height: 226px;
    
}

.linkbuttons {
    background-color: #f0f0f0;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    margin: 12px;
    margin-top: 30px;
    text-decoration: none;
    color: #515151;
}

.linkbuttons a, .linkbuttons a:visited {
    color: #515151;
}

.linkbuttons:hover, .linkbuttons a:hover {
    background-color: #999999;
    color: #f2f2f2;
}



/*List Rules */

ul {
    margin: 0px;
    padding: 5px;
    padding-top: 5px;
    overflow: hidden;
    list-style-type: none;
    margin-bottom: 0px;
}

li {
    display: inline;
}

li a:link {
   color: #515151;
    text-align: center;
    padding: 8px 17px;
}

li a:visited {
    color: #515151;    
}

li a:hover{
    background-color:  #e9e9e9;
}


footer ul {
    padding: 0;
}

footer a:link, footer a:visited {
    color: #515151;
    text-decoration: none;  
}

.linkbuttons {
    background-color: white;
}

/*MEDIA TYPE RULES*/
@media only screen and (max-width: 768px){
    
}

@media only screen and (max-width: 480px){
    body {
        background-color: white;
    }
    
    header {
        font-size: 24pt;
        padding: 5px;
    }
    
    section{
        background-image: none;
        height: auto;
    }
    
    nav {
        font-size: .8em;
    }
    
    nav ul {
        padding: 3px;
    }
    
    nav li {
        display: inline-block;
    }
    
    li a:link {
        padding: 5px;
    }
    
    li a:hover {
        background: none;
    }
    
    
    article img{
        display: none;
    }
    
    article div {
        padding: 5px;
        width: 50%;
    }
    
    article p {
        margin-left: 5px;
    }
    
    footer {
        padding-top: 20px;
    }
}

