/******************************************************************
Theme Name: CoreyCodes
Theme URI:
Description: This is the theme used for my portfolio website.
Author: Corey Walter
Author URI: http://www.coreycodes.com


/*light blue = rgb(39,170,225)
darker blue = rgb(15,117,188)*/

* {
	margin: 0;
	padding: 0;
}

html, body {
	font-family:  'Muli', sans-serif;
	font-size: 20px;
	text-rendering: optimizeLegibility;
	background: url(../../uploads/2016/06/code.jpg) no-repeat center fixed;
   	background-size: 100% 100%;
}

h1, h2, h3 {
	color: rgb(15,117,188);	
}

p {
	color: #fff;
}

a {
    color: #28aae2;
    text-decoration: none;
    transition: all 1s;
}

a:hover {
    color: #0f74bd;
}

#about, #center, #contact_section, footer {
    top: 7.25vw;
}

header {
	width: 100%;
	height: 7.25vw;
	position: fixed;
	background-color: #fff;
	box-shadow: 0 1px 5px 0 rgb(40, 44, 45);
	z-index: 999;
}

.nav_up {
	top: -150px;
}

.logo {
	width: 8vw;
	position: relative;
	left: 19%;
	top: 54%;
	transform: translate(-50%, -50%);
  	-ms-transform: translate(-50%, -50%);
  	-webkit-transform: translate(-50%, -50%); 
}

.logo img {
	width: 100%;
}

#resume {
	width: 10%;
	position: absolute;
	top: 50%;
	left: 100%;
	margin: 0;
  	transform: translate(-249%, -50%);
  	z-index: 1000;
}

#menu-icon {
	display: none;
}

nav {
	width: 75%;
	position: relative;
    left: -50%;
    top: 0;
    transform: translate(106%, -74%);
}

nav ul {
	display: inline-block;
	text-align: center;
}

nav li {
	display: inline-block;
	margin: 0 35px;
}

nav li a {
	text-decoration: none;
	color: rgb(39,170,225);
	font-size: 1.5vw;
	text-transform: uppercase;
}

nav li a:hover {
	color: rgb(15,117,188);
}

nav li a:active {
	color: rgb(15,117,188);
}

/*HOME*/

#home {
	height: 100vh;
	position: relative;
	top: 7.25vw;
	background-color: rgb(15,117,188);
	overflow: hidden;
	/*box-shadow: 0 1px 5px 1px rgb(40, 44, 45);*/
	z-index: 100;
}

#home div {
	width: 70%;
	position: relative;
	max-width: 1500px;
	left: 50%;
	transform: translate(-50%, 6%);
}

#home div h1 {
	position: relative;
	font-size: 20vh;
	color: rgb(39,170,225);
}

#home div h1:nth-child(1) {
	font-weight: 300;
}

#home div h1:nth-child(2) {
	top: -8.5vh;
	color: #fff;
}

#home div h1:nth-child(3) {
	top: -17vh;
	color: #fff;
}

#home div h1:nth-child(4) {
	top: -25.5vh;
	font-weight: 300;
}

/*ABOUT MESSAGE*/

#about {
	height: auto;
	position: relative;
	top: 7.25vw;
    padding: 75px 0;
    text-align: left;
  	background-color: rgba(39,170,225,.8);
}

#about_me {
	width: 70%;
	position: relative;
	max-width: 1500px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -2%);
}

#about a {
	text-decoration: none;
	color: rgb(236, 138, 47);;
	cursor: pointer;
}

#pic_holder {
	width: 22%;
	margin: 25px 0;
}

#pic_holder img {
	width: 100%;
	border-radius: 50%;
	border-width: 4px;
    border-style: solid;
    border-color: white;
}

/*PORTFOLIO*/

#project_wrapper {
	width: 70%;
	position: relative;
	max-width: 1500px;
}

#portfolio h3 {
	width: 95%;
	margin: 0 2.5%;
    text-align: left;
    font-size: 2vw;
}

#services {
	width: 100%;
	margin: 0 auto;
	margin-top: 35px;
	position: relative;
	display: flex;
	flex-wrap: wrap;
}

#services h1 {
	color: rgb(39,170,225);
	font-size: 1em;
	font-weight: 100;
}

.skill {
	width: 16%;
    margin: 20px 5.5%;
    display: inline-block;
    text-align: center;
}

.skill:first-child {;
	margin-left: 0;
}

.skill:last-child {
	margin-right: 0;
}

.skill:first-child h1 {
    margin-top: 6px;
}

.skill:nth-child(2) h1 {
    margin-top: 6px;
}

.skill:nth-child(3) h1 {
    margin-top: 5px;
}

.skill a {
	text-decoration: none;
}

.skill img {
	width: 50%;
    margin: 10px 0;
}

/*PROJECTS*/

#center {
	text-align: center;
    background-color: #fff;
    position: relative;
    top: 7vw;
    /*box-shadow: 0 0px 5px 1px rgb(40, 44, 45);*/
}

#content {
	display: flex;
    vertical-align: middle;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: flex-start;
}

#portfolio {
	width: 70%;
    margin: 0 15%;
    padding: 50px 0;
	position: relative;
	background-color: #fff;
}

.post-title a {
	text-decoration: none;
}

.thumbnail-wrap {
	width: 259px;
    margin: 50px auto;
    display: inline-block;
    perspective: 1200px;
	flex-basis: 25.5%;
}

.post-title {
	position: relative;
	transform-style: preserve-3d;
	transition: 1s transform;
	font-size: .8rem;
	-webkit-perspective: 1200;
    -moz-perspective: 1200;
	perspective: 1200;
}

.thumbnail-wrap:hover .creation {
	-webkit-transform:rotateY(180deg);
	-moz-transform:rotateY(180deg);
}

.creation {
	width:259px;
	height:259px;
	float:left;
	-webkit-transition:all 0.6s;
	-moz-transition:all 0.6s;
	transition:all 0.6s;
	-webkit-transform-style:preserve-3d;
	-moz-transform-style:preserve-3d;
	transform-style:preserve-3d;
}

.front, .back {
	position:absolute;
	top:0;
	left::0;
	-webkit-backface-visibility:hidden;
	-moz-backface-visibility:hidden;
	backface-visibility:hidden;
}
.back {
	z-index:800;
	-webkit-transform:rotateY(-180deg);
	-moz-transform:rotateY(-180deg);
	transform:rotateY(-180deg);
}

.cont {
    width: 259px;
    height: 259px;
    background: rgb(39,170,225);
}

.post-title img {
	width: 100%;
	height: auto;
}

.post-title h2 {
	display: block;
	width: auto;
	background: rgb(39,170,225);
	text-align: center;
	padding: 0 10px;
	padding-top: 44%;
	color: #fff;
	font-size: 1.8vw;
}

/*SINGLE POST*/

#main {
	padding: 50px 0;
}

.single-post {
	position: relative;
	top: 7vw;
	z-index: 0;
	background: #fff;
}

.post-content {
	position: relative;
	width: 70%;
	margin: 0 auto;
}

.article-header {
	height: auto;
	box-shadow: none;
	position: relative;
    margin-bottom: 25px;
}

.article-header p {
	color: rgb(39,170,225);
}

.entry-content {
	display: flex;
	flex-wrap: wrap;
}

.entry-content p {
    position: relative;
    color: rgb(85, 93, 95);
}

.entry-content img {
	width: 40%;
	height: auto;
	margin: 100px 4%;
}

img.iphone-mockup {
	width: 60%;
	margin: 100px 20%;
}

img.desktop-mockup {
	width: 100%;
}

img.wireframe {
	width: 100%;
}

img.single-photo {
	width: 60%;
	margin: 25px 20%;
}

.wp-video {
	margin: 0 auto;
	margin-top: 25px;
}

.wp-video-shortcode {
    width: 100%;
}

/*TESTIMONIALS*/

#testimonials {
	position: relative;
	padding: 50px 15%;
	top: 7vw;
	background-color: rgba(39,170,225,.8);
}

.testimonial-wrap {
    padding: 70px 10px 10px 10px;
}

.testimonialContent p {
	position: relative;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -10%);
}

#testimonials h2 {
    margin-bottom: 50px;
    color: #fff;
}

.slick-dotted.slick-slider {
	margin-bottom: 50px;
}

.testimonialSlide img {
	position: relative;
	margin-top: 5px;
	margin-bottom: 20px;
	top: 50%;
	left: 6%;
	transform: translate(-50%, -46%);
	width: 20%;
}

.testimonialSlide img.first {
    width: 12%;
}

.testimonialSlide img.second {
    transform: translate(-20%, -79%);
    width: 29%;
}

.testimonialSlide img.third {
    width: 27%;
    transform: translate(-24%, -33%);
}

.testimonialSlide img.fourth {
    width: 27%;
    transform: translate(-24%, -33%);
}

.quote .byline {
	position: relative;
    top: 9px;
    font-style: italic;
    color: rgb(40, 44, 45);
}

.slick-prev:before, .slick-next:before {
	font-size: 30px;
}

.slick-next {
    right: -55px;
}

.slick-prev {
    left: -65px;
}

/*CONTACT*/

#contact_section {
	position: relative;
	padding: 50px 0;
	top: 7vw;
	background-color: rgb(28,117,188);
	/*box-shadow: 0 0px 5px 2px rgb(40, 44, 45);*/
}

#social {
	width: 50%;
	position: relative;
	top: 50%;
	left: 50%;
	transform: translate(-100%, 50%);
}

.icons {
	width: 15%;
	margin: 0 5%;
	position: relative;
	display: inline-block;
	text-align: center;
}

.icons:first-child {
	margin-left: 0;
}

.icons img {
	width: 100%;
	transition: all 1s ease-in-out;
}

.icons img:hover {
	transform: scale(1.1);
	-ms-transform: rotate(360deg); /* IE 9 */
    -webkit-transform: rotate(360deg); /* Chrome, Safari, Opera */
    transform: rotate(360deg);
}

#email_wrap {
	width: 70%;
	margin: 5% 0 5% 0;
	position: relative;
	max-width: 900px;
	left: 50%;
	transform: translate(-50%, 4%);
  	-ms-transform: translate(-50%, 4%);
  	-webkit-transform: translate(-50%, 4%); 
	display: inline-block;
	text-align: left;
	color: rgba(39,170,225, 1);
	font-weight: bold;
}

.contact-message {
	margin-bottom: 25px;
}

#email_wrap h1, form p {
	color: rgb(39,170,225);
}

input , textarea {
	width: 100%;
	background-color: #fff;
	border: none;
	font-size: 1.1em;
    color: rgb(40, 45, 47);
    resize: vertical;
}

.input_wrapper textarea {
	height: 150px;
}

.input_wrapper label {
    position: absolute;
	top: 0px;
    left: 7px;
    font-weight: 100;
    cursor: text;
}

.formlabel {
	transition: all .75s ease-in-out;
    -ms-transition: all .75s ease-in-out;
    -webkit-transition: all .75s ease-in-out;
}

.vanish {
	opacity: 0;
}

input[type="submit" i] {
	width: 20%;
	position: relative;
	left: 90%;
	transform: translate(-50%, 50%);
  	-ms-transform: translate(-50%, 50%);
  	-webkit-transform: translate(-50%, 50%); 
    height: 40px;
    background-color: transparent;
    border: solid;
    border-color: rgb(39,170,225);
    cursor: pointer;
    color: #fff;
    font-size: 1.5vw;
    transition: all 1s ease-in-out;
    -ms-transition: all 1s ease-in-out;
    -webkit-transition: all 1s ease-in-out; 
}

input[type="submit" i]:hover {
	background-color: rgb(39,170,225);
	color: rgb(28,117,188);	
}

.wpcf7-response-output.wpcf7-mail-sent-ok {
    margin-top: 60px;
    color: #fff;
}

.screen-reader-response {
    display: none;
}

footer {
	width: 100%;
	height: 10vw;
	position: relative;
	top: 7vw;
	background-color: #fff;
	box-shadow: 0 0px 5px 1px rgb(40, 44, 45);
}

#footerWrapper {
	width: 70%;
	max-width: 1500px;
	margin: 0 15%;
}

footer .logo {
	width: 10%;
	position: absolute;
	top: 50%;
	left: 20%;
	margin: 0;
  	background-color: #fff;
  	transform: translate(-50%, -50%);
  	-ms-transform: translate(-50%, -50%);
  	-webkit-transform: translate(-50%, -50%);
}

button {
	width: 100%;
	height: 4vw;
	position: relative;
	display: inline-block;
  	background-color: transparent;
    border: solid;
    border-color: rgb(39,170,225);
    cursor: pointer;
    color: rgb(28,117,188);
    font-size: 1.5vw;
    transition: all 1s ease-in-out;
    -ms-transition: all 1s ease-in-out;
    -webkit-transition: all 1s ease-in-out;
    
}

button:hover {
	background-color: rgb(39,170,225);
	color: rgb(28,117,188);
}

#copy {
	width: 20%;
	position: absolute;
	top: 50%;
	left: 77%;
	margin: 0;
  	background-color: #fff;
  	text-align: center;
  	transform: translate(-50%, -50%);
  	-ms-transform: translate(-50%, -50%);
  	-webkit-transform: translate(-50%, -50%);
}

#copy h2 {
	font-size: 1.5vw;
}

#copy h3 {
	font-size: 1.25vw;
}

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

	nav li a {
		font-size:;
	}

	#social {
		width: 100%;
		transform: translate(-50%, 50%);
	}

	.icons {
		width: 10%;
	}

	#portfolio {
		font-size: 2vw;
	}

	#portfolio h3 {
		font-size: 2.4vw;
	}

	#services h1 {
		font-size: 1.3vw;
	}

	#contactSubmit {
		font-size: 1.5vw;
	}
}

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

}


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

	/*CONTACT*/
	
	#profile_pic img {
		margin: 149px 0;
	}

	#contactSubmit {
		position: relative;
		width: 100%;
		left: 50%;
  	}
}

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

/*HEADER*/

	#menu-icon {
		width: 5vw;
		position: relative;
		left: 82%;
		top: 50%;
		transform: translate(-50%, -150%);
  		-ms-transform: translate(-50%, -150%);
  		-webkit-transform: translate(-50%, -150%);
	}

	#menu-icon img {
		width: 100%;
	}

	#resume {
		left: 50%;
		transform: translate(-50%, -50%);
	}

	nav {
		width: 100%;
		display: none;
		position: fixed;
		top: 14vh;
		left: 50%;
		transform: translate(-50%, -50%);
    	border-bottom-style: solid;
    	background-color: #fff;
    	border-color: rgb(39,170,225);
	}

	ul {
    	left: 50%;
    	transform: translateX(-50%);
    	position: relative;
	}

	nav li {
		height: 55px;
		line-height: 2.75em;
		display: inline;
		list-style: none;
		margin: 0 20px;
	}

	nav li a {
		font-size: 1em;
	}

	/*HOME*/
	#home div {
		transform: translate(-50%, 25%);
	}

	#home div h1 {
		font-size: 15vh;
	}

	#home div h1:nth-child(2) {
		top: -6.5vh;
	}

	#home div h1:nth-child(3) {
		top: -13vh;
	}

	#home div h1:nth-child(4) {
		top: -6.5vh;
	}

	#about_me {
		transform: translate(-50%, -2%);
	}

	#pic_holder {
    	width: 50%;
    	margin: 10% 25%;
	}

	/*PORTFOLIO*/

	#portfolio h3 {
    	font-size: 3vw;
	}

	#services h1 {
		font-size: 2.5vw;
	}

	.skill:first-child h1 {
    	margin-top: 15px;
	}

	.skill:nth-child(3) h1 {
		margin-top: 13px;
	}

	.skill {
		width: 30%;
		margin: 25px 10%;
	}

	.skill:first-child {
		margin-left: 10%;
	}

	.skill:last-child {
		margin-right: 10%;
	}

	.skill:nth-child(2) h1 {
    	margin-top: 22px;
	}

	.skill img {
		width: 100%;
	}

	.thumbnail-wrap {
		flex-basis: inherit;
	}

	.post-title h2 {
		font-size: 2.5vw;
	}
}

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

	nav {
		top: 12vh;
	}

	#about_me {
		width: 80%;
	}

	#pic_holder {
    	width: 70%;
    	margin: 10% 15%;
	}

	.icons {
		width: 22%;
	}

	.entry-content img {
		width: 100%;
		margin: 50px 0;
	}

	.post-title h2 {
		font-size: 3.5vw;
	}

	.thumbnail-wrap:first-child .post-title h2 {
		padding-top: 37%;
	}

	.testimonialSlide img.first {
	    width: 35%;
	    margin: 0 5% 60px 11%;
	}

	.testimonialSlide img.second {
    	width: 70%;
    	margin: 0 5% 30px 9%;
	}

	.testimonialSlide img.third {
    	width: 66%;
    	margin: 0 0 45px 10%;
	}

	.slick-dots li button:before {
    	font-size: 20px;
	}

	.slick-dots li {
    	margin: 0 15px;
	}

	.slick-next {
    	right: -20px;
	}

	.slick-prev {
    	left: -40px;
	}

	input[type="submit" i] {
		width: 100%;
		left: 0;
		transform: inherit;
		font-size: 4vw;
	}
}

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

	nav {
		top: 12vh;
	}

	nav li a {
		font-size: .7em;
	}

	#home div h1 {
		font-size: 13vh;
	}

	#home div h1:nth-child(2) {
		top: -4.5vh;
	}

	#home div h1:nth-child(3) {
		top: -9vh;
	}

	#home div h1:nth-child(4) {
		top: -19.5vh;
	}

	.post-title h2 {
		font-size: 4.5vw;
	}

	.thumbnail-wrap:first-child .post-title h2 {
		padding-top: 44%;
	}
}

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

	body {
		background: url(../assets/photos/small_code.jpg) fixed no-repeat center;
	}
/*NAVIGATION*/

	header{
		height: 15vw;
	}

	nav {
		top: 14vh;
	}

	#homve div {
		transform: translate(-50%, 50%);
	}

	#home div h1 {
		font-size: 22.5vw;
	}

	.logo {
		width: 22vw;
	}

	#menu-icon {
		width: 13vw;
		top: 42%;
	}

	#home div {
		left: 40%;
	}

	#portfolio {
		font-size: 3.7vw;
	}

	#portfolio h3 {
    	font-size: 5vw;
	}

	#services h1 {
		font-size: 3vw;
	}

	/*PORTFOLIO*/

	.skill {
		width: 30%;
		margin: 20px 10%;
	}

	.thumb_container {
		width: 100%;
		margin: 0;
	}

	.thumbnail-wrap {
		width: 200px;
	}

	.creation {
		width: 200px;
		height: 200px;
	}

	.cont {
		width: 200px;
		height: 200px;
	}

	/*SINGLE POST*/
	.post-content {
		width: 85%;
	}
	#email_wrap {
		width: 70%;
	}

	#contactSubmit {
    	font-size: 3vw;
    	height: 30px;
	}
	
	footer {
		height: 20vw;
	}

	footer .logo {
		width: 30%;
		top: 53%;
		left: 27%;
	}
	#resume {
		width: 25%;
	}

	#resume button {
		font-size: 4vw;
		height: 7vw;
	}
	
	#copy {
		width: 25%;
		top: 68%;
		left: 73%;
	}

	#copy h2 {
		font-size: 1.9vw;
	}

	#copy h3 {
		font-size: 1.5vw;
	}
}

@media screen and (max-width: 320px) {
	nav {
		top: 17vh;
	}
}