@viewport {
  width: device-width;
  zoom: 1;
}
html, body{
  height:100%;
	margin:0;
}
body {
	overflow-x: hidden;
	margin:0;
	padding:0;
	font-family:'Open Sans', sans-serif;
	/*color:#2f2f2f;*/
	background: #fbfaf3;
	/*background: url(../images/honeymoon.jpg) no-repeat center center;*/
	background-attachment: fixed;
	background-size: cover;
}
.flex{
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
}
.flex > section {
  /*padding: 5px;*/
  flex: 1 100%;
	/*min-height: 100%;*/
}
/*#mainContent{
	background:rgba(256,256,256,0.7);
	margin:0;
	padding:0;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;

  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -moz-box-orient: vertical;
  -moz-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
	min-height: 100%;
  height:100%;
}*/
#mainContent{
	background:rgba(256,256,256,0.7);
	/*background: url(../images/cubs.jpg) no-repeat center center;*/
	background-size: cover;
	background-attachment: fixed;

  -webkit-flex-flow: row wrap;
  flex-flow: row wrap;
	min-height: 100%;
  height:100%;

  transition: cubic-bezier(0.645, 0.045, 0.355, 1.000) 1000ms;
  /*transform: translate(0, 0);
	left: 0;*/
}
#mainContent > section {
	min-height: 100%;
}
#mainHeader{

	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
  /*justify-content: space-around;*/
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	z-index: 4;
}
.mainLogo{
	/*font-family: 'Syncopate', sans-serif;*/
	margin:0;
	/*font-family: 'Raleway', sans-serif;*/
	font-family: 'Roboto Condensed', sans-serif;
	/*font-family: 'PT Sans', sans-serif;*/
	font-weight: 300;
	padding:5px 10px;
	/*width:600px;*/
}
.semiBold {
	font-weight: 400;
}
#primaryNav{
	margin:0;
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 300;
	padding:5px 10px;
	font-size: 1.5em;
	text-transform: lowercase;
	flex: 1;
	text-align: right;
}
#primaryNav a{
	padding-left: 15px;
	cursor: pointer;
	text-decoration: none;
	color: #000;
}
#primaryNav a:hover{
	color: #EDE7D1;
}
.typed-cursor{
    opacity: 1;
    -webkit-animation: blink 0.7s infinite;
    -moz-animation: blink 0.7s infinite;
    animation: blink 0.7s infinite;
}
@keyframes blink{
    0% { opacity:1; }
    50% { opacity:0; }
    100% { opacity:1; }
}
@-webkit-keyframes blink{
    0% { opacity:1; }
    50% { opacity:0; }
    100% { opacity:1; }
}
@-moz-keyframes blink{
    0% { opacity:1; }
    50% { opacity:0; }
    100% { opacity:1; }
}
.headerArea{
	z-index: 2;
	margin: 0 10px;
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 300;
	font-size: 1.5em;
}
.sectionName{
	text-transform: lowercase;
  flex: 1 1;
}
.navBlock{
	flex: 2 1;
	position: relative;
	overflow: hidden;
}
#portfolioNav{
	position: absolute;
	right: -190.6px;
	text-align: right;
}
#landingPage{
	flex-direction: column;
  background-image: url("../images/lifeguardSmaller.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.landingCenter{
	justify-content: space-around;
	align-items: center;
	flex-grow: 20 !important;
}
#typeContainer{
	width:50%;
	font-size: 2em;
	color: #333;
	text-align: center;
	background: rgba(255,255,255,0.4);
	border-radius: 10px;
	padding: 10px;
}
.downArrow{
  background-image: url(../images/downArrow.png);
  background-position: 50% 50%;
  background-repeat: no-repeat;
	background-size: 70px auto;
  width: 100%;
  height: 70px;
  position: relative;
  bottom: 20px;
  transition: all 400ms cubic-bezier(0.19, 1, 0.22, 1);
}
.downArrow:hover{
  bottom: 10px;
}
#portfolio{
	flex-direction: column;
	min-height: 60%;
	/*height:100%;*/
}
#portfolioHeader{
	min-height: 28px;
	background: #B31C13;
}
.portfolioItem{
	flex: auto;
	/*min-height: 80% !important;*/
	background: #cccccc;
	z-index: 1;
}
.portfolioItemInside{
	position: relative;
	flex: 1;
	flex-direction: column;
	padding: 48px 10px;
}
.portfolioItemInsideFixed{
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
}
.hide{
	display: none !important;
}
#portfolioItemOne{
	background: #B31C13;
	color: #c85555;
}
#portfolioItemTwo, #portfolioItemTwo .portfolioItemInside{
	background: #EDE7D1;
	color: #1D3853;
}
#portfolioItemThree, #portfolioItemThree .portfolioItemInside{
	background: #333333;
	color: #ebe7e0;
}
#portfolioItemFour, #portfolioItemFour .portfolioItemInside{
	background: #93c450;
	color: #ffffff;
}
#portfolioItemFive, #portfolioItemFive .portfolioItemInside{
	background: #204595;
	color: #ffffff;
}
.fanstreamColor{
	color: #c85555;
}
.lighthouseColor{
	color: #1D3853;
}
.georgetownColor{
	color: #ebe7e0;
}
.lakeridgeColor{
	color: #ffffff;
}
.porterColor{
	color: #ffffff;
}
.portfolioNumero{
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 300;
	width: 32.73px;
	display: inline-block;
}
.numberBar{
	flex: 1 28px;
	font-size: 1.5em;
		font-family: 'Roboto Condensed', sans-serif;
		font-weight: 300;
}
.numberBar > span{
	display: flex;
}
.portfolioItemNumero{
	flex: 2 2;
	justify-content: flex-end;

}
.bigNumber{
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 300;
	font-size: 10em;
	position: absolute;
	left:-35px;
	bottom: 0;
}
.mainPortfolioItemContent{
	align-items: center;
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 300;
}
.portfolioItemName{
	flex: 1;
	text-transform: uppercase;
	font-weight: 400;
	font-size: 2em;
	min-width: 275px;
}
.portfolioTextArea{
	flex: 2 1;
	flex-direction: column;
	min-width: 400px;
	align-items: center;
}
.screenshotArea{
	flex: 2.5 1;
	position: relative;
	height: 450px;
	max-width: 520px;
}
.lineItems{
	list-style: none;
	font-size: 1.2em;
	text-transform: uppercase;
	padding: 0;
	min-width: 275px;
}
.websiteScreenshot{
	height: 450px;
	padding: 3px;
	background: #c85555;
	position: absolute;
	left: 0;

}
.websiteScreenshot2{
	height: 450px;
	padding: 3px;
	background: #c85555;
	position: absolute;
	right: 0;
	top: 20px;

}
.georgetown{
	background: #ebe7e0;
}
.lakeridge{
	height: auto;
	width: 520px;
	background: #ebe7e0;
}
.porter{
	background: #ebe7e0;
}
.iPhoneFrame{
	position: absolute;
	right: 0;
	height:434px;
	width:250px;
  background-image: url("../images/iphone.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.appGif{
	position: absolute;
	top: 59px;
	left: 37px;
	height: 315px;
	/*margin: 59px 0 0 37px;*/
}
#contactArea{
	position: fixed;
	z-index: 3;
	top: 0;
	right: 0;
	left: 0;
	padding:38px 5px;
	box-shadow: 1px 2px 4px rgba(0, 0, 0, .5);
}
#contactArea > * {
	flex: 1;
	display:flex;
}
.contactBox{
	justify-content: center;
	align-items: flex-end;
	flex-direction: column;
	text-align: left;
}
.contactBox > div{
	width: 50%;
	font-size: 1.1em;
}
.slide {
  background-color: #efefef;
  padding: 5px;
  transition: .5s cubic-bezier(0, 1, 0.5, 1);
  transform: translateY(0);
}
.slide-up {
  transform: translateY(-100%);
}
.phone{
	font-size: 1.2em;
}
.phone::before{
	content: "";
	background-image: url("../images/phone.png");
	background-position: left center;
	background-repeat: no-repeat;
	background-size: contain;
	width: 20px;
	height: 15px;
	display: inline-block;
}
.email{
	font-size: 1.2em;
}
.email::before{
	content: "";
	background-image: url("../images/email.png");
	background-position: left center;
	background-repeat: no-repeat;
	background-size: contain;;
	width: 20px;
	height: 15px;
	display: inline-block;
}

/*contact form*/
form {
  width: 58.33333%;
  /*margin: 0 auto;*/
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 300;
}
form .field {
  width: 100%;
  position: relative;
  margin-bottom: 10px;
}
form .field label {
	text-align: center;
  text-transform: lowercase;
  position: absolute;
  top: 0;
  left: 0;
  background: #e7e7e7;
	color:#313A3D;
  width: 100%;
  padding: 7px 0;
  font-size: 1em;
  letter-spacing: 0.075em;
  -webkit-transition: all 333ms ease-in-out;
  -moz-transition: all 333ms ease-in-out;
  -o-transition: all 333ms ease-in-out;
  -ms-transition: all 333ms ease-in-out;
  transition: all 333ms ease-in-out;
}
form .field label + span {
  opacity: 0;
  color: white;
  display: block;
  position: absolute;
  top: 12px;
  left: 7%;
  font-size: 2.5em;
  text-shadow: 1px 2px 0 #cd6302;
  -webkit-transition: all 333ms ease-in-out;
  -moz-transition: all 333ms ease-in-out;
  -o-transition: all 333ms ease-in-out;
  -ms-transition: all 333ms ease-in-out;
  transition: all 333ms ease-in-out;
}
form .field input[type="text"],
form .field textarea {
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 300;
  border: none;
  background: #E8E9EA;
  width: 80.5%;
  margin: 0;
  padding: 7px 0;
  padding-left: 19.5%;
  color: #313A3D;
  font-size: 1em;
  letter-spacing: 0.05em;
  text-transform: lowercase;
}
form .field input[type="text"]#msgContact,
form .field textarea#msgContact {
  height: 18px;
  resize: none;
  -webkit-transition: all 333ms ease-in-out;
  -moz-transition: all 333ms ease-in-out;
  -o-transition: all 333ms ease-in-out;
  -ms-transition: all 333ms ease-in-out;
  transition: all 333ms ease-in-out;
}
form .field input[type="text"]:focus, form .field input[type="text"].focused,
form .field textarea:focus,
form .field textarea.focused {
  outline: none;
}
form .field input[type="text"]:focus#msgContact, form .field input[type="text"].focused#msgContact,
form .field textarea:focus#msgContact,
form .field textarea.focused#msgContact {
  padding-bottom: 100px;
}
form .field input[type="text"]:focus + label, form .field input[type="text"].focused + label,
form .field textarea:focus + label,
form .field textarea.focused + label {
  width: 18%;
  background: #1D3853;
  color: #efefef;
}
form .field input[type="text"].focused + label,
form .field textarea.focused + label {
  color: #efefef;
}
form .field:hover label {
  width: 18%;
  background: #313A3D;
  color: #efefef;
}
form input[type="submit"] {
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 300;
	text-transform: lowercase;
  background: #1D3853;
  color: #efefef;
  -webkit-appearance: none;
  border: none;
  /*text-transform: uppercase;*/
  position: relative;
  padding: 8px 40px;
  font-size: 1em;
  letter-spacing: 0.1em;
  /*font-family: 'Lato', sans-serif;*/
  /*font-weight: 300;*/
  -webkit-transition: all 333ms ease-in-out;
  -moz-transition: all 333ms ease-in-out;
  -o-transition: all 333ms ease-in-out;
  -ms-transition: all 333ms ease-in-out;
  transition: all 333ms ease-in-out;
}
form input[type="submit"]:hover {
  background: #1D3853;
  color: #efefef;
}
form input[type="submit"]:focus {
  outline: none;
  background: red;
}
/*end form*/

/*aboutcontent area*/
#aboutContent{
	position: fixed;
	left: 100%;
	width: 100%;
	height: 100%;
	top: 0;
	bottom: 0;
  transform: translateX(100%);
  transition: cubic-bezier(0.645, 0.045, 0.355, 1.000) 1000ms;
	overflow: scroll;
		font-family: 'Roboto Condensed', sans-serif;
		font-weight: 300;
}
.aboutHead{
	color: #EDE7D1;
	font-size: 2em;
}
.bigImage{
	width: 100%;
	height: 650px;
	overflow: hidden;
	position: relative;
}
.fixedBG{
	/*background-attachment: fixed;*/
	background-image: url("../images/yankees.jpg");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	position: absolute;
	height: 650px;
	top: 0;
	left: 0;
	right: 0;
	justify-content: space-around;
	align-items: center;
}
.slideLeft{
  transition: cubic-bezier(0.645, 0.045, 0.355, 1.000) 1000ms;
  transform: translate(0, 0) !important;
	left: 0 !important;
}
.slideOffLeft{
  transition: cubic-bezier(0.645, 0.045, 0.355, 1.000) 1000ms;
  transform: translate(-100%, 0) !important;
	left: -100% !important;
	/*display: none;*/
}
#aboutMe{
	min-height: 700px
}
#aboutMe section{
	justify-content: space-around;
	align-items: center;
}
#aboutWriting{
	padding: 10px;
	max-width: 400px;
}
#myPic{
	flex: 1 100%;
	min-height: 100%;
	background-image: url("../images/me.jpg");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}
#skillBox{
	flex: 1 100%;
	background: #1D3853;
	color: #EDE7D1;
	align-items: center;
	justify-content: space-around;
}
#skillBox h1{
	font-size: 1.5em;
}
#skillList{
	flex-direction: column;
	align-items: center;
	justify-content: space-around;
}
#skillList h2, #skillList .lineItems{
	font-size: 1.1em;
}
