
/* Layout */
#page1 {
	height: 1000px;
}

body {
	position: absolute;
  height: 100%;
  width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  background-color: #fffafa;
	border: #fffafa	solid 15px;
  font-size: 16px;
}

#heading-work  {
	font-family: 'Gruppo', cursive;
	color: #444442;
	font-size: 75px;
	letter-spacing: 2px;
	position: absolute;
	right: 60%;
}

.clr:after {
  content: "";
  display: block;
  clear: both;
}

#item0, #item1, #item2, #item3, #item4, #item5, #item6, #item7, #item8, #item9, #item10, #item11, #item12, #item13, #item14, #item15 {
  overflow: hidden;
  z-index: 999;
  display: block;
  position: fixed;
  top: 0;
  right: -100%;
  height: 0;
  width: 100%;
  background: #FFFFFF;
  -o-transition: transform 0.6s linear 0s, height 0s linear 0.6s;
  -moz-transition: transform 0.6s linear 0s, height 0s linear 0.6s;
  -ms-transition: transform 0.6s linear 0s, height 0s linear 0.6s;
  -webkit-transition: transform 0.6s linear 0s, height 0s linear 0.6s;
  transition: transform 0.6s linear 0s, height 0s linear 0.6s;
}

#item0:target, #item1:target, #item2:target, #item3:target, #item4:target, #item5:target, #item6:target, #item7:target, #item8:target,
#item9:target, #item10:target, #item11:target, #item12:target, #item13:target, #item14:target, #item15:target {
  height: 100%;
  overflow: auto;
  -o-transition: transform 0.6s linear 0s, height 0s linear 0s;
  -moz-transition: transform 0.6s linear 0s, height 0s linear 0s;
  -ms-transition: transform 0.6s linear 0s, height 0s linear 0s;
  -webkit-transition: transform 0.6s linear 0s, height 0s linear 0s;
  transition: transform 0.6s linear 0s, height 0s linear 0s;
  -o-transform: translateZ(0) translateX(-100%);
  -moz-transform: translateZ(0) translateX(-100%);
  -webkit-transform: translateZ(0) translateX(-100%);
  -ms-transform: translateZ(0) translateX(-100%);
  transform: translateZ(0) translateX(-100%);
}

a.git-links {
	margin-left: 0;
  display: inline-block;
  font-family: 'Open Sans', sans-serif;
	font-weight: 400;
  font-size: 22px;
  color: #444442;
  text-decoration: none;
}

a.git-links :active {
  text-decoration: none;

}
a.git-links :hover {
  opacity: 0.3;
  text-decoration: none;
}

.left, .right {
  position: absolute;
  left: 0;
  height: 100%;
  width: 50%;
  overflow: auto;
  background: none;
}

.right {
  left: 50%;
  overflow: hidden;
}

.right img {
  height: auto;
  width: 90%;
  margin: 15% auto;
}

.button {
  display: inline-block;
  height: auto;
  width: auto;
  padding: 5px 10px;
  border-radius: 10px;
  margin: 5px;
  -o-transition: all 0.3s linear 0s;
  -moz-transition: all 0.3s linear 0s;
  -ms-transition: all 0.3s linear 0s;
  -webkit-transition: all 0.3s linear 0s;
  transition: all 0.3s linear 0s;
  background: #444442;
}

.button:hover {
  background: #444442;
  opacity: .4;
}

.button h3, input[type="submit"].button {
  margin: 0;
  font-family: 'Gruppo', cursive;
	font-size: 18px;
	letter-spacing: 2px;
	color: #fffafa;
}

/* Hexagonal Grid */


#grid {
  width: 70%;
	margin: 70px 0 0 30%;
  padding: 20px 2%;
  -o-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
  overflow: hidden;
}

#grid li {
  position: relative;
  float: left;
  width: 27.85714285714286%;
  padding: 0 0 32.16760145166612% 0;
  list-style-type: none;
  -o-transform: rotate(-60deg) skewY(30deg);
  -moz-transform: rotate(-60deg) skewY(30deg);
  -webkit-transform: rotate(-60deg) skewY(30deg);
  -ms-transform: rotate(-60deg) skewY(30deg);
  transform: rotate(-60deg) skewY(30deg);
  overflow: hidden;
  visibility: hidden;
  cursor: pointer;
}

#grid li * {
  visibility: visible;
}

#grid li .hexagon {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  -o-transform: skewY(-30deg) rotate(60deg);
  -moz-transform: skewY(-30deg) rotate(60deg);
  -webkit-transform: skewY(-30deg) rotate(60deg);
  -ms-transform: skewY(-30deg) rotate(60deg);
  transform: skewY(-30deg) rotate(60deg);
  overflow: hidden;
  background: #8b8989;
}

#grid li .hexagon-purple {
	position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  -o-transform: skewY(-30deg) rotate(60deg);
  -moz-transform: skewY(-30deg) rotate(60deg);
  -webkit-transform: skewY(-30deg) rotate(60deg);
  -ms-transform: skewY(-30deg) rotate(60deg);
  transform: skewY(-30deg) rotate(60deg);
  overflow: hidden;
	background: #cdc9c9;
}

#grid li:nth-child(3n+2) {
  margin: 0 1%;
}

#grid li:nth-child(6n+4), #grid li:nth-child(6n+5), #grid li:nth-child(6n+6) {
  margin-top: -6.9285714285%;
  margin-bottom: -6.9285714285%;
}

#grid li:nth-child(6n+1), #grid li:nth-child(6n+2), #grid li:nth-child(6n+3) {
  -o-transform: translateX(50%) rotate(-60deg) skewY(30deg);
  -moz-transform: translateX(50%) rotate(-60deg) skewY(30deg);
  -webkit-transform: translateX(50%) rotate(-60deg) skewY(30deg);
  -ms-transform: translateX(50%) rotate(-60deg) skewY(30deg);
  transform: translateX(50%) rotate(-60deg) skewY(30deg);
}

#grid li:nth-child(6n+1) {
  margin-left: 0.5%;
}

#grid li .hexagon-purple img {
  left:-100%;
  right:-100%;
  height:100%;
  width: auto;
  margin: 0 auto;
  -o-transition: all 0.6s linear 0s;
  -moz-transition: all 0.6s linear 0s;
  -ms-transition: all 0.6s linear 0s;
  -webkit-transition: all 0.6s linear 0s;
  transition: all 0.6s linear 0s;
}

#grid li:hover .hexagon-purple img {
  height: 150%;
  -o-transform: translateZ(0) translateX(-25%);
  -moz-transform: translateZ(0) translateX(-25%);
  -webkit-transform: translateZ(0) translateX(-25%);
  -ms-transform: translateZ(0) translateX(-25%);
  transform: translateZ(0) translateX(-25%);
}

#grid li .hexagon-purple .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: #cdc9c9;
}

#grid li:hover .overlay {
  -o-transition: all 0.6s linear 0s;
  -moz-transition: all 0.6s linear 0s;
  -ms-transition: all 0.6s linear 0s;
  -webkit-transition: all 0.6s linear 0s;
  transition: all 0.6s linear 0s;
	background: rgba(48, 15, 36, 0);
}
#grid li .hexagon-purple .overlay p {
  font-family: 'Open Sans', sans-serif;
	font-weight: 400;
  color: #fffafa;
  font-size: 16px;
  z-index: 5;
  text-align: center;
  margin: 35px auto;
}
#grid li .hexagon-purple .overlay p:hover {
  opacity: .1;
}

/**********************************/
/* Text */
/**********************************/
/*Styling for

/*the H1 at top of page 1*/

 .name {
	margin: -15px auto;
	font-family: 'Gruppo', cursive;
	color: #444442;
	font-size: 90px;
	text-align: center;
}

.role {
	font-family: 'Gruppo', cursive;
	font-weight:400;
	font-size:24px;
	display:block;
	text-align:center;
	margin-top:-15px;
	letter-spacing:3px;
	margin-left:10px
}

/*heading for project title name on description of sliding page*/
.left h2 {
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;
  text-align: center;
  font-size: 28px;
	color: #444442;
  margin-top: auto;
}

/*paragraph explaining project*/
.left p {
  font-family: 'Gruppo', cursive;
  padding: 0 10px;
  font-size: 20px;
	margin: auto 8px;
	color: #444442;
}
.left a {
	font-family: 'Gruppo', cursive;
	font-size: 26px;
	color: #444442;
}

a#top  {
  font-family: 'Open Sans', sans-serif;
	font-weight: 400;
	font-size: 20px;
  text-align: center;
  text-decoration: none;
  color: #8b8989;
  position: relative;
  left: 45%;
  bottom: 0;
}

a#top :hover {
	opacity: 0.3;
}

/*********************************/
/*about section*/

#page2 {
	height: 1000px;
  background-color: #444442;
}

.heading-about {
	font-family: 'Gruppo', cursive;
	color: #cdc9c9;
	font-size: 65px;
	letter-spacing: 3px;
	z-index: 3;
  position: relative;
  top: 4%;
  left: 55%;
}

.container {
    position: relative;
		height: auto;
		width: 100%;
    left: -8%;
    top: -10%;
    z-index: 4;
}

img#portrait {
	float: left;
	width: 55%;
	height: 60%;
  z-index: 4;
	opacity: 0.5;
	margin-left: 0;
	margin-top: -2%;
}

.about-blurb {
  height: 600px;
  width: 730px;
  overflow: visible;
  float: right;
  padding: 5px;
  position: relative;
  top: -65%;
  right; 9%;
  z-index: 5;
}

.about-blurb p {
  font-family: 'Gruppo', cursive;
	font-size: 18px;
  color: #cdc9c9;
  line-height: 25px;
  text-indent: 50px;
  text-align: justify;
  margin-right: 25px;
  clear: left;
}

#about-heading {
  font-family: 'Gruppo', cursive;
  font-size: 24px;
  color: #cdc9c9;
  text-align: center;
  margin-top: 10px;
  margin-right: 30px;
}

#navlinks a {
  display: block;
	font-family: 'Gruppo', cursive;
	font-size: 24px;
	font-weight: 600;
  color: #444442;
  text-align: center;
  padding-left: 0;
  text-decoration: none;
	margin-left: -5px;
	margin-top: 30px;
	line-height: 30px;
}

#navlinks a:hover {
	opacity: 0.3;
}

#navlinks ul {
    list-style-type: none;
    margin-top: 75px;
		margin-left: -15px;
    padding: 0;
    width: 15%;
		background-color: #cdc9c9;
    position: fixed;
    height: 55%;
    overflow: hidden;
		z-index: 5;
		opacity: 0.5;
}

a.resume {
  font-family: 'Gruppo', cursive;
	font-size: 22px;
	color: #cdc9c9;
	text-decoration: none;
}
/**************************
page3
**************************/
/*contact page*/

#page3 {
	background: #fffafa;
	height: 1000px;
}

h1.heading-contact {
	font-family: 'Gruppo', cursive;
	color: #444442;
	font-size: 65px;
	letter-spacing: 3px;
	margin: auto 0;
  line-height: 50px;
	text-align: center;
  position: relative;
  left: 30%;
}
h2.contact-info {
	font-family: 'Open Sans', sans-serif;
	font-weight: 600;
	font-size: 25px;
	color: #8b8989;
	text-align: center;
  position: relative;
  left: 30%;
}
.contact-links a {
	text-align: center;
	display: block;
	line-height: 29px;
	font-family: 'Gruppo', cursive;
	font-size: 22px;
	color: #444442;
	text-decoration: none;
  position: relative;
  left: 30%;
}

.contact-links a:hover {
	opacity: 0.3;
}

/* Media Queries */



@media only screen and (max-width: 1100px) {

  }



@media only screen and (max-width: 940px) {
	h1#heading-work, h1.heading-about, h1.heading-contact {
		display: none !important;
		visibility: hidden;
	}
}

@media only screen and (max-width: 822px) {
	h1.name {
		font-size: 70px;
	}
}

@media only screen and (max-width: 768px) {

  /* Grid */
  ul#gridclr {
    margin: -25px auto;
    width: 95%;
  }

	h1.name {
		font-size: 60px;
	}

	#navlinks a {
		font-size: 18px;
		line-height: 14px;
		text-align: center;
		margin:10px 2px;
	}

	.about-blurb p#one {
		font-size: 12px;
	}

	.about-blurb p#two {
		font-size: 12px;

	}
	img.right {
		max-width:100%;
		height: auto;
	}
	a.git-links {
		font: 12px;
	}
	.left p {
		font-size: 10px;
	}
}

media only screen and (max-width: 550px) {
  /* Layout */
  body {
    font-size: 14px;

  }

	#grid li .hexagon-purple .overlay p {
		font-size: 10px;
	}

	h1.name {
		font-size: 50px;
	}

	h2.role {
		font-size: 20px;
	}

	.about-blurb p {
		font-size: 10px;
	}
}

@media only screen and (max-width: 320px) {

	body {
		width: 70%;
	}

	#page1, #page2, #page3 {
		height: 300px;
	}

	#grid {
    margin: 10px 0 0 60px;
    width: 95%;
  }

	.name {
		font-size: 30px;
		padding: 0px 50px 15px;
		text-align: center;
		margin-left: 0 auto;
		position: relative;
		right: 30%s;
		}

	.role {
		font-size: 10px;
		padding-top: 5px;
		margin-right: 30px;
	}

	#navlinks a {
		font-size: 8px;
		line-height: 14px;
		text-align: center;
		margin:10px 2px;
	}

	.about-blurb {
		  height: 150px;
		  width: 100%;
	}

	h1#about-blurb, b  {
		display: none;
	}

	.about-blurb p#one {
		font-size: 10px;
	  line-height: 9px;
		margin: 50% 0;
		text-indent: 10px;
		position: relative;
	}

	.about-blurb p#two {
		font-size: 10px;
	  line-height: 9px;
		position: relative;
		bottom: 55px;
		text-indent: 10px;
	}

	#page1, #page2, #page3 {
		height: 250px;
	}

	#navlinks ul {
    width: 15%;
    height: 25%;
	}

	#grid li .hexagon-purple .overlay p {
		font-size: 8px;
	}

	img#portrait {
		display: none;
	}

	a.resume {
		font-size: 14px;
	}

	#page2 {
		background-color: #fffafa;

	}
	h2.contact-info {
		font-size: 10px;
		margin: 0 auto;
		/* text-align: center; */
	}

	.contact-links a {
		font-size: 10px;
		line-height: 14px;
	}
	a#top {
		font-size: 10px;
		margin: 0 auto;
	}
}
