body {
	background-image: url("images/title_sm.jpg");
	background-repeat: no-repeat;
	background-position: center 100px;
	background-attachment: scroll;
	padding-top: 500px;
}

#container {
	position: relative;
}

#mobilenav {
	width: 550px;
	background: #3a4f72;
	top: 0;
	left: 0;
	position: fixed;
}

#mobilenav h2 {
	text-align: left;
	padding-left: 25px;
	line-height: 60px;
	color: #B7E1E5;
	font-size: 26px;
	font-family: "Montserrat", Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
	font-weight: 700;
}

#webnav {
	display: none;
}

#topnav {
	width: 150px;
	position: absolute;
	position: fixed;
	top: 50px;
	left: 80px;
	display: none;
	font-family: "Montserrat", Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
	font-weight: 400;
}

#topnav ul {
	background: #606366;
	list-style-type: none;
}

#topnav ul li a {
	display: block;
	background: #b7e1e5;
	color: #606366;
	font-weight:700;
	font-size: 18px;
	line-height: 50px;
	text-decoration: none;
	text-transform: uppercase;
	text-align: right;
	padding-right: 20px;
	width: 150px;
	border: 1px solid #000;
}

#topnav ul li a:hover {
	background:#606366;
	color: #67E1E5;
}

header h1 {
	font-family: "Montserrat", Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
	font-weight: 400;
	color: #fff;
	
	/* Matches the width of the content on the page */
	width: 75%;
	margin: 0 auto;
	padding: 0;
	
	/* Centers the line of text vertically in the header */
	line-height: 100px;
}

#top {
	padding-top: 100px;
	padding-bottom: 150px;
}

#who {
	width: 500px;
	margin: auto;
	text-align: center;
	font-family: "Montserrat", Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
	font-size: 36px;
	font-weight: 600;
	color: #606366;
	border-bottom: 3px double #000;
	padding-bottom: 50px;
}

#skills {
	width: 500px;
	margin: auto;
	padding-top: 100px;
}

#skills img {
	padding: 15px;
}

#gridChart {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	justify-content: center;
}

#gridChart p {
	text-align: center;
	font-family: "Merriweather", Baskerville, "Palatino Linotype", Palatino, "Century Schoolbook L", "Times New Roman", "serif";
	font-weight: 400;
	color: #606366;
}

#middle {
	background: #b7e1e5;
	padding-bottom: 100px;
}

section {
	background: #fff;
	padding-top: 100px;
}

section h1 {
	text-align: center;
	padding-bottom: 50px;
	font-family: "Montserrat", Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
	font-weight: 600;
	font-size: 45px;
	color: #606366;
	text-decoration: underline;
}

.grid {
	padding: 15px 0;
	display: grid;
	grid-template-columns: 1fr;
	grid-gap: 30px;
}

#bottom {
	background: #fff;
	padding-bottom: 100px;
}

.services {
	width: 500px;
	margin: auto;
	padding: 20px 20px;
	font-size: 72px;
	text-align: center;
	color: #e4b7c0;
}

.services p {
	text-align: center;
	font-family: "Merriweather", "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
	font-weight: 400;
	font-size: 14px;
	color: #3A4F72;
}

#follow {
	background: #b7e1e5;
	padding-top: 25px;
	padding-bottom: 50px;
	text-align: center;
	font-family: "Montserrat", Baskerville, "Palatino Linotype", Palatino, "Century Schoolbook L", "Times New Roman", "serif";
	font-weight: 600;
	color:#3A4F72;
	font-size: 24px;
	line-height: 40px;
}

#follow ul {
	display: flex;
	list-style-type: none;
	justify-content: center;
}

#follow ul li {
	flex-direction: row;
	font-size: 24px;
	padding-right: 25px;
}

#follow a {
	text-decoration: none;
	display: block;
}

/*********************** Card Flip Styles ******************************/

/* entire container, keeps perspective */
.flip-container {
	perspective: 1000px;
	margin-left: auto;
	margin-right: auto;
}
	/* flip the pane when hovered */
.flip-container:hover .flipper, .flip-container.hover .flipper {
		transform: rotateY(180deg);
	}

.flip-container, .front, .back {
	width: 350px;
	height: 200px;
}

/* flip speed goes here */
.flipper {
	transition: 0.6s;
	transform-style: preserve-3d;

	position: relative;
}

/* hide back of pane during swap */
.front, .back {
	-webkit-backface-visibility: hidden; /*still needed for safari & android*/
	backface-visibility: hidden;

	position: absolute;
	top: 0;
	left: 0;
}

/* front pane, placed above back */
.front {
	z-index: 2;
	/* for firefox 31 */
	transform: rotateY(0deg);
}

/* back, initially hidden pane */
.back {
	transform: rotateY(180deg);
	background: #e4b7c0;
	padding: 10px;
	box-sizing: border-box;
}

.title {
	font-family: "Montserrat", Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
	font-weight: 600;
	text-transform: uppercase;
	font-size: 16px;
	color: #3A4F72;
}

.name {
	margin-bottom: 10px;
	font-family: "Merriweather", Baskerville, "Palatino Linotype", Palatino, "Century Schoolbook L", "Times New Roman", "serif";
	font-weight: 400;
	color: #606366;
	font-size: 14px;
}

/***************PORTFOLIO PAGE************/

.port {
	padding-top: 100px;
	padding-bottom: 100px;
	background-color: #e4b7c0;
}

h2 {
	font-family: "Montserrat", Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
	font-weight: 600;
	font-size: 45px;
	color: #606366;
	text-align: center;
}

ul.tabs {
	margin: 0px;
	padding-bottom: 50px;
	list-style: none;
	display: flex;
	justify-content: center;
}

ul.tabs li {
	background: none;
	color: #606366;
	font-family: "Merriweather", Baskerville, "Palatino Linotype", Palatino, "Century Schoolbook L", "Times New Roman", "serif";
	font-weight: 500;
	display: inline-block;
	padding: 10px 15px;
	cursor: pointer;
}

ul.tabs li.current {
	color: #3A4F72;
	border-bottom: 5px solid #3a4f72;
}

.tab-content {
	width: 500px;
	margin-left: auto;
	margin-right: auto;
	display: none;
	background: #dddddd;
	padding: 10px;
}

.tab-content img {
	max-width: 100%;
	height: auto;
}

.tab-content.current {
	display: inherit;
}

.portgrid {
	width: 100%;
	padding: 10px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 30px;
}

/*************MEDIA QUERIES**************/

@media only screen and (min-width: 600px) {

	body {
		background-image: url("images/bkg1.jpg");
		background-attachment: fixed;
		background-position: center left;
		padding-top: 771px;
	}
	
	#mobilenav {
		display: none;
	}
	
	#topnav {
		display: none;
	}

	#webnav {
		/* Changes the postioning of this element */
		position: fixed;
		top: 0;
		left: 0;

		/* Need to set the width, otherwise the element
		shrink wraps around the content */
		width: 100%;
		height: 100px;
		background: #3a4f72;
		display: block;
	}

	#webnav ul {
		background-color: #3a4f72;
		display: flex;
		flex-direction: row;
		justify-content: center;
		list-style-type: none;
	}

	#webnav ul li {
		padding-left: 25px;
		align-content: center;
		line-height: 80px;
	}

	#webnav ul li a {
		background: #3a4f72;
		font-size: 24px;
		font-family: "Montserrat", Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
		text-decoration: none;
		display: inline;
		color: #fff;
		font-weight: 600;
		text-transform: uppercase;
		text-align: center;
		padding-right: 20px;
		border: none;
	}

	#webnav ul li a:hover {
		background: #3a4f72;
		color: #b7e1e5;
	}
	
	#top {
		display: flex;
		flex-wrap: nowrap;
	}
	
	#who {
		font-size: 45px;
		flex-basis: 50%;
		border-right: double thick;
		border-width: 8px;
		border-bottom: none;
	}
	
	#skills {
		flex-basis: 40%;
		width: 600px;
	}
	
	.grid {
		grid-template-columns: 1fr 1fr;
	}
	
	#middle {
		margin-left: auto;
		margin-right: auto;
	}
	
	#bottom article {
		display: flex;
		flex-direction: row;
	}
	
	.services {
		flex: 33.3%;
	}
	
	.tab-content {
		width: 900px;
		margin-left: auto;
		margin-right: auto;
		overflow: hidden;
		padding-right: 30px;
	}
	
	.portgrid {
		grid-template-columns: 1fr 1fr 1fr;
	}
	
}