@charset "utf-8";
/* CSS Document */
/* Brand Color #014E82 */

@import url('https://fonts.googleapis.com/css?family=PT+Sans|Roboto&display=swap');

h1 {
	font-size: 50px;
}

h2 {
	font-size: 25px;
}

p, li {
	font-size: 20px;
	font-weight: regular;
}

p, main ol, main ul {
	margin-top: 5px;
}

body {
	background-color:#F0F4F4;
	padding-left: 13vw;
	padding-right: 13vw;
	font-family: 'Roboto', sans-serif;
	color: #383838;
}

body a{
	color: #014E82;
}

header {
	display: block;
	height: 100px;
	width: 100%;
	margin-top: 50px;
	margin-bottom: 20px;
}

#logo {
	height: 100px;
	width: auto;
	float: left;
}

nav {
	text-align: right;
	line-height: 100px;
	margin: 0px;
	padding: 0px;
	display:block;
	float: right;
}

nav ul{
	list-style: none;
	padding-left: 0px;
	margin: 0px;
}

nav ul li{
	display: inline-block;
	padding-left: 0px;
}

nav ul li a{
	text-decoration: none;
	color: #383838;
	border-bottom: 2px solid #F0F4F4;
	padding: 10px;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 18px;
	letter-spacing: 2px;
}

nav ul li a:hover {
	color: #014E82;
	border-bottom: 3px solid #014E82;
}

nav ul li a:active, nav ul li a.active{
	color: #014E82;
	border-bottom: 3px solid #014E82;
}

main {
	margin-bottom: 50px;
}

main li {
	padding-bottom: 15px;
}

#hero-image-one {
	background-image:url("media/Qaurtermaster-Yacht-Club.jpg");
	width: 100%;
	height: 50vh;
	background-size: cover;
	background-position: bottom;
}

#hero-image-two {
	background-image:url("media/Close-up-Quartermaster-Yacht-club.JPG");
	width: 100%;
	height: 50vh;
	background-size: cover;
	background-position: bottom;
}

.portrait {
	width: 323px;
	height: auto;
}

.mapouter {
	margin-top: 30px;
}

.section-break {
	height: 3px;
	width: 100%;
	background-color: white;
	margin: 30px 0px;
}

@media only screen and (max-width:1810px) {
	nav ul li {
		width: 100%;
		margin-bottom: 0px;
	}
	nav ul li a {
		font-size: 18px;
	}
	
	#logo {
		float: none;
		margin: 0px auto;
		display: flex;
	}
	nav {
		float: none;
		text-align: center;
		display: block;
		position: relative;
		line-height: 60px;
	}
	header {
		height: auto;
	}
}

@media only screen and (max-width:800px) {
	nav ul li {
		width: 100%;
		margin-bottom: 0px;
	}
	nav ul li a {
		font-size: 14px;
	}
	
	#logo {
		float: none;
		margin: 0px auto;
		display: flex;
	}
	nav {
		float: none;
		text-align: center;
		display: block;
		position: relative;
		line-height: 60px;
	}
	header {
		height: auto;
	}
}


@media print {
	.section-break, nav, .mapouter, #hero-image-one, #hero-image-two {
		display: none;
	}
	h1 {
		font-size: 20px;
	}
	h2 {
		font-size: 16px;
	}
	p, li{
		font-size: 12px;
	}
	header {
		height: 60px;
	}
	#logo {
		height: 60px;
		width: auto;
	}
	main {
		margin: 0px;
	}
	.portrait {
		width: 140px;
		height: auto;
	}
}