/* the styles for the elements */
body {
    display: :flex;
    flex-direction: column;
    background-image: linear-gradient(to bottom, grey 0%, steelblue 100%);
	font-family: arial, sans-serif;
    width: 95%;                      
    max-width: 1024px;                
    margin: 0 auto;
    padding: 0;
    border: 3px solid black;          
    box-shadow: 0 .625em 1.25em .625em;     
}



h1, h2, h3, p {
	margin: 0;
	padding: 0;
}
a {
    text-decoration: none;
    font-weight: bold;
    
}
a:hover, a:focus { 
    color: maroon;
}

/* the styles for the header */
header {
    display: :flex;
    flex-direction: column;
    background-image: linear-gradient(to bottom, grey 0%, steelblue 100%);    
    padding: 15px 3.3333%;        
    border-bottom: 2px solid steelblue;                                                     
} 
header img { 
    display: :flex;
    flex-direction: column;
	float: left; 
    width: 10.80%;                       
    max-width: 220px;                      
    min-width: 70px;
    padding-bottom: 
} 
header h2 {
	font-size: 250%;
	font-style: normal;
	color: black;
	text-indent: 5%;                       
	text-shadow: 3px 3px 3px white;
    margin-bottom: .3em;
}
header h3 {
	font-size: 150%;
    text-indent: 5%;
    text-shadow: 3px 3px 3px white;
    padding-bottom: .75em;       
}

/* the styles for the nav menu */
#nav_menu {
     display: :flex;
    flex-direction: column;
    font-family: arial, serif;
	clear: left;
    border: 2px solid black;
}
#nav_menu ul {
	list-style: none;
	position: relative;
}
#nav_menu ul li {
	float: left;
    width: 20%;                             
}
#nav_menu ul ul {
	display: none;
	position: absolute;
	top: 100%;
}
#nav_menu ul ul li {
	float: none;
}
#nav_menu ul li:hover > ul {
	display: block;
}
#nav_menu > ul::after {
	content: "";
	clear: both;
	display: block;
}
#nav_menu ul {
	margin: 0;
	padding: 0;
}
#nav_menu ul li a {
	text-align: center;
	display: block;
	padding: .7em 0;
	background-color: lightsteelblue;
    background-image: linear-gradient(to bottom, white 0%, lightblue 100%);
	color: maroon;
}
#nav_menu ul li a.current {
	color: black;
}
#nav_menu ul li a:hover, #nav_menu ul li a:focus {
	background-color: lightsteelblue;
}
#nav_menu ul li:hover ul {
	width: 100%;
}

/* the styles for the section */
section {
    display:flex;
    flex-wrap: wrap;
    font-family:georgia, serif;
    max-width: 100%;
    width: 62.7777%;                      
    float: right;
    padding: .5625em 3.3333%;              
}
section h1 {
    font-size: 160%;
    margin-bottom: .3em;
    text-align: center;
}
section h2 {
    padding-top: 10%;
      display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    font-size: 100%;
    margin-bottom: .5em;
    text-align: center;
    
}
section h3 {
    display: flex;
    flex-direction: column;
    padding-left: 19%;
    font-size: 110%;
    margin-bottom: .4em;
    text-align: center;
}
section p {
    font-size: 100%;
    margin-bottom: .7em;
}

div.gallery, .gallery2{
    display:flex;
    flex-direction: column;
}
div.desc{
    display:flex;
    justify-content: flex-end;
}

div.gallery img {
   width: 100%;
   height: auto;
   margin-bottom:2px; 
}

/* the styles for the sidebar */
aside {
    display:flex;
    flex-direction: column;
    font-family: arial, sans-serif;
    float: left;
    width: 27.2222%;                       
    padding: 1.5625em 0 0 3.3333%;          
}
aside h2 {
	font-size: 130%;
    color: maroon;
    margin-bottom: .4em;                    
}
aside ul {
    line-height: 1.5;    
    margin: 0;
    padding-left: 1em;                                           
}
aside a:link, aside a:visited { 
    color: white;
}
aside a:hover, aside a:focus {
    color: maroon;
}

figure{
    display: flex;
    flex-direction: column;
    flex:30%;
    width: 100%;
}


/* the styles for the footer */
footer { 
    display: flex;
    flex-direction: column;
	clear: both;
	padding: .9375em 3.3333%;               
    background-color: steelblue;

    
} 
footer p {
	text-align: center;
    font-size: 85%;
    color: white;
}
#mobile_menu {
	display: none;
}

/* media queries */
@media only screen and (max-width: 900px) {
	body {
		font-size: 90%;
		box-shadow: none;
	}
}

div.gallery{
    display:flex;
}
div.desc{
    display:flex;
    font-size: 80%;
}

div.gallery img {
   width: 100%;
   height: auto;
   margin-bottom:2px; 
}



@media only screen and (max-width: 767px) {
	#nav_menu {
		display: none;
	}
    
    /* change background and decrease padding */
    .slicknav_menu {
        background: steelblue !important;
	    padding: 3px !important;
    }

    #mobile_menu {
		display: block;
	}
    #mobile_menu ul {
        background-color: steelblue;
    }
    #mobile_menu a {
        background-color: steelblue;
    }
    #mobile_menu a:hover, #mobile_menu a:focus {
        color: lightsteelblue;
    }
	header h2 {
		font-size: 200%;
	}
	section {
		float: none;
        width: 93.3334%;
	}
	aside {
		float: none;        
		width: 93.3334%;
        padding-top: 0;
        padding-bottom: 1.5625em;
	}
}



@media only screen and (max-width: 492px) {
	#nav_menu {
		display: none;
	}
    
    /* change background and decrease padding */
    .slicknav_menu {
        background: steelblue !important;
	    padding: 3px !important;
    }

    #mobile_menu {
		display: block;
	}
    #mobile_menu ul {
        background-color: steelblue;
    }
    #mobile_menu a {
        background-color: steelblue;
    }
    #mobile_menu a:hover, #mobile_menu a:focus {
        color: lightsteelblue;
    }
	header h2 {
		font-size: 200%;
	}
	section {
		float: none;
        width: 93.3334%;
	}
    
    }




}

