@charset "utf-8";

/*
   Author:   Justin Eckhardt
   Date:     6/20/20
   Filename: epic_styles1.css
   
   This file contains the layout styles used in the EPIC home page

*/

/* HTML and Body Styles */

html {
   background: url("epic_back1.png") center center / cover no-repeat fixed;
   height: 100%;
   font-family: 'Times New Roman', Times, sans-serif;
   font-size: 14px;
}

body {
   background: rgb(45, 59, 47);   
   box-shadow: rgb(51, 51, 51) 5px 0px 15px,
               rgba(5, 133, 33, 0.226) -5px 0px 15px;
   margin: 0px auto;
   min-height: 100%;
   min-width: 320px;
   max-width: 1024px;
   width: 100%;
}

/* Body Header Styles */

body header {
   background: rgb(134,176,232);   
}

body header img {
   display: block;
   width: 100%;
   }

/* Horizonal Navigation Styles */

nav.horizontal {
   background-color: rgb(43, 44, 39);
   min-height: 2em;
}

nav.horizontal li {
   color: rgb(32, 202, 9);
   display: block;
   line-height: 2em;
   text-transform: uppercase;
}

nav.horizontal a {
   display: block;
   font-size: 1em;
}

nav.horizontal a:visited, nav.horizontal a:link {
   color: gray;
}

nav.horizontal a:hover, nav.horizontal a:active {
   background-color: gray;
   color: white;
}

/* Main Menu Styles */

ul.mainmenu {
   display: block;
}

ul.mainmenu > li {
   text-indent: 15px;
}

/* Submenu Styles */

ul.submenu {
   width: 100%;
   background-color: rgb(2, 104, 41);
}


/* Section Styles */

section {
   background-color: whitesmoke;
   clear: both;
}

section::after {
   content: "";
   display: table;
   clear: both;
}

section img {
   display: block;
   width: 100%;
}

section p {
   line-height: 1.4em;
   padding: 10px;
   font-size: 1.2em;
}

section em {
   font-weight: bold;
}
/* Aside Styles */

aside {
   display: block;
   background-color: rgb(10, 196, 81);
   font-size: 14px;
}

/* Footer Styles */

body > footer {
   background-color: rgb(10, 196, 81);
   font-size: 0.9em;
   text-align: center;
   padding: 10px 0px;
}

/* Pulldown Menu Styles */

ul.submenu {
    display: none;
}

a.submenuTitle:hover+ul.submenu, ul.submenu:hover {
    display: block;
}

/*  ============================
    Mobile Styles: 0px to 480px
    ============================
*/
@media only screen and (max-width: 480px) {

        nav.horizontal a {
            font-size: 1.5em;
            line-height: 2.5em;
        }
        aside   {
            display: none;
        }
}

/*  ============================
    Tablet Styles: 480px and greater
    ============================
*/
@media only screen and (min-width: 481px) {

        ul.mainmenu > li {
            position: relative;
            float: left;
            width: 20%;
        }
        ul.submenu {
            box-shadow: rgb(51, 51, 51) 5px 5px 15px;
            position: absolute;
            width: 200%;
        }
}

/*  ============================
    Desktop Styles: 769px and greater
    ============================
*/
@media only screen and (min-width: 769px) {

    ul.submenu {
        background: transparent;
        box-shadow: none;
        display: block;
        position: relative;
        width: 100%;
    }

    nav.horizontal::after {
        clear: both;
        content: "";
        display: table;
        
    }

    nav.horizontal a.submenuTitle {
        display: none;
    }

    article {
        float: left;
        margin-right: 5%;
        width: 55%;
    }
    aside {
        float: left;
        width: 40%;
    }
}