/* 

Title: Master CSS for TaylorCarrigan.com
Author: Taylor Carrigan
Copyright 2026 Taylor Carrigan, all rights reserved. Please don't steal, be inspired to learn more.

*/


/* Global Formatting */

html, body {
	border:0; 
	margin:0; 
	padding:0;
	height: 100%;
	width: 100%;
}

html { 
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: none; /* Disable text scaling on mobile devices */
 }

body {
	background-color: rgba(255,255,255,1.0);
	text-align: center;
	display: table;	 
}

div#contentContainer {
	width: 960px;
	height: 100%;
	margin: 0 auto;
	padding: 100px 0 100px 0;
}

section {
	width: 100%;
	height: auto;
	margin: 0 auto;
	padding: 60px 0 60px 0;
	border-bottom: 1px solid rgba(0,0,0,0.2);
}

div#contentContainer section:first-child { padding: 0 0 60px 0; } /* remove top padding from first section of contentContainer */

section div.content {
	width: 640px;
	height: auto;
	margin: 0 auto;
	padding: 0;
}

/* Links */

a:visited {
	color: rgba(49,159,75,1.0);
}

a, a:visited {
	color: rgba(49,159,75,1.0);
	text-decoration: none !important;
	outline: none;
	-webkit-transition: color .2s linear;
	-moz-transition: color .2s linear;
	-ms-transitiion: color .2s linear;
	-o-transition: color .2s linear;
}

a:hover, a:visited:hover {
	color: rgba(0,98,23,1.0);
	text-decoration: none;
	outline: none;
}

/* Global Section Formatting */

section h1 {
	font-family: "ff-din-web", "Helvetica", Sans-Serif;
	font-size: 42px;
	font-weight: 400;
	font-style: normal;
	text-align: center;
	color: rgba(49,98,159,1.0);
	margin: 0;
	padding:0;
}

section p {
	font-family:"source-sans-pro","Helvetica", Sans-Serif;
	font-size: 24px;
	line-height: 32px;
	font-weight: 400;
	font-style: normal;
	text-align: center;
	color: rgba(127,127,127,1.0);
	margin: 20px 0 20px 0;
	padding: 0;
}

section p:last-child { margin: 20px 0 0 0;}

section p em {
	font-weight: 400;
	font-style: normal;
	text-decoration: none;
}


/* Intro Section */

section#intro div#portrait {
	width: 200px;
	height: 200px;
	background: url("/images/interface/TaylorCarriganPortrait.png") no-repeat;
	margin: 0 auto;
	padding: 0;
	display: inline-block;
	position: relative;
	-webkit-transition: .15s ease-in-out;
	-moz-transition: .15s ease-in-out;
	-o-transition: .15s ease-in-out;
	transition: .15s ease-in-out;
}

@media screen and (-webkit-min-device-pixel-ratio: 2), screen and (max--moz-device-pixel-ratio: 2) {
	section#intro div#portrait {
		background: url("/images/interface/TaylorCarriganPortrait@2x.png") no-repeat;
		background-size: 200px 200px;
	}
}

section#intro div#portrait:active {
	-webkit-transform: scale(0.9,0.9);
}

a#portrait, a#portrait:visited {
	width: 100%;
	height: 100%;
	display: block;
	color: rgba(0,0,0,0);
}

section#intro h1 {
	margin: 40px 0 0 0;
}

/* Portfolio Section */

section#portfolio { padding: 60px 0 0 0; }

ul#portfolioGrid {
	width: 100%;
	list-style: none;
	margin: 0;
	padding: 0;
	display: table-cell;
	text-align: left;
}

ul#portfolioGrid li {
	width: 280px;
	text-align: left;
	list-style: none;
	display: inline-block;
	position: relative;
	margin: 0 56px 60px 0;
	padding: 0;
	-webkit-transition: .2s ease-in-out;
	-moz-transition: .2s ease-in-out;
	-o-transition: .2s ease-in-out;
	transition: .2s ease-in-out;
}

ul#portfolioGrid li:nth-child(3n+3) { margin: 0 0 60px 0; }

ul#portfolioGrid li img {
	margin: 0;
	padding: 0;
	display: block;
}

ul#portfolioGrid li div.caption {
	opacity: 0;
	position: absolute;
	bottom: 0px;
	left: 0px;
	right: 0px;
	padding: 30px 10px 5px 10px;
	background: -webkit-linear-gradient(bottom, rgba(0,0,0,0.40) 0%,rgba(0,0,0,0) 85%);
	background: -webkit-gradient(linear, left bottom, left top, color-stop(0%,rgba(0,0,0,0.40)), color-stop(85%,rgba(0,0,0,0)));
	background: -moz-linear-gradient(bottom, rgba(0,0,0,0.40) 0%, rgba(0,0,0,0) 85%);
	background: -ms-linear-gradient(bottom, rgba(0,0,0,0.40) 0%,rgba(0,0,0,0) 85%);
	background: linear-gradient(to top, rgba(0,0,0,0.40) 0%,rgba(0,0,0,0) 85%);
	color: rgba(255,255,255,1.0);
	font-family:"ff-din-web","Helvetica", Sans-Serif;
	font-size: 18px;
	line-height: 22px;
	font-weight: 400;
	text-decoration: none;
	text-shadow: 0px 0px 10px rgba(0,0,0,0.75);
	-webkit-transition: opacity 500ms;
	-moz-transition: opacity 500ms;
	-o-transition: opacity 500ms;
	transition: opacity 500ms;
	
}

ul#portfolioGrid li:hover .caption {
	opacity: 1.0;
}

ul#portfolioGrid li:active {
	-webkit-transform: scale(0.9,0.9);
}

/* Footer */

footer ul#footerLinks {
	text-align: right;
	margin: 0;
	padding: 30px 0 30px 0;
}

footer ul#footerLinks li {
	display: inline;
	font-family: "ff-din-web", "Helvetica", Sans-Serif;
	font-size: 16px;
	font-weight: 400;
	font-style: normal;
	color: rgba(127,127,127,1.0);
	margin: 0 5px 0 5px;
	padding: 0;

}

footer ul#footerLinks li:last-child { margin: 0 0 0 5px; }

footer ul#footerLinks li.copyright {
	color: rgba(185,185,185,1.0);
	text-align: left;
	float: left;
	margin: 0;
	padding: 0;
	
}

footer ul#footerLinks li a:visited { color: rgba(127,127,127,1.0); }
footer ul#footerLinks li a, footer ul#footerLinks li a:visited { color: rgba(127,127,127,1.0); }
footer ul#footerLinks li a:hover, ul#footerLinks li a:visited:hover { color: rgba(49,159,75,1.0); }