/* the styles for the elements */
* {
	margin: 0;
	padding: 0;
}
html {
	background-image: url('/images/beachbackground.jpg');
    background-repeat: repeat;
}
body {
	font-family: Arial, Helvetica, sans-serif;
    font-size: 100%;
    width: 99%;
	max-width: 960px;
    margin: 0 auto;
    border: 3px solid blue;
    background-image: url('beachbackground.jpg');
    background-repeat: repeat;
   
}
a:focus, a:hover {
	font-style: italic;
}
/* the styles for the header */

#banner {
        padding-top: 1em;
        padding-bottom: 1em;
        padding-left: 2.5em;
        padding-right: 1em;
        
 }

header img {
	float: left;
    padding-top: 0;
}

/* the styles for the navigation menu */
#nav_menu ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	position: relative;
}
#nav_menu ul li {
	float: left;
	width 20%;
}
#nav_menu ul li a {
    display: block;
    text-align: center;
    width: 192px;
    padding: 1em 0;
    text-decoration: none;
    background-color: blue;
    color: white;
    font-weight: bold;
}
#nav_menu a.current {
	color: yellow;
}
#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;
}

/* the styles for the section */
section {
	clear: left;
	width: 95%;
	float: leftright;
	padding: 2.5% 2.5% 2.5% 2.5%;
    font-size:1.5em;
    
    
}


/* the styles for the article */


/* the styles for the table */

/* the styles for the footer */
footer {
	background-color: blue;
	clear: both;

}
footer p {
	text-align: center;
	color: white;
	padding: 1em 0;
}
#mobile_menu {
	display: none;
}


/* tablet portrait in standard 960 */

@media only screen and (max-width: 959px) {
	section h1{
		font-size: 150%;
	}
	
	
}
/* mobile phoen woth landscape orientation */
@media only screen and (max-width: 955px) {
	header image {
		float: none;
	}
	
	header {
		text-align: center;
	}
	section {
		float: none;
		width: 95%;
	}
	
		
	#nav_menu {
		display: none;
	}
	#mobile_menu {
		display: block;
	}
}


/* mobile phone with portroit */
		

@media only screen and (max-width: 479px) {
	body {
		font-size: 90%;
	}
	#nav_menu {
		display: none;
	}
	#mobile_menu {
		display: block;
	}
}