/*
Theme Name: Doug DeMarco 2020
Theme URI: http://demarcointeractive.net/themes/dougdemarco
Author: Doug DeMarco
Author URI: http://demarcointeractive.com
Description: Theme built for my personal portfolio website
Version: 1.0
Tags: html 5, responsive, custom, velocity
*/

/*
============================================================================
FONTS
============================================================================
*/
@font-face {
	font-family: 'AGar-Pro';
	src: url('../fonts/AGaramondPro-Regular.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Futura-Light';
	src: url('../fonts/FuturaStd-Light.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Futura-Heavy';
	src: url('../fonts/FuturaStd-Heavy.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'AGar-Pro-Italic';
	src: url('../fonts/AGaramondPro-Italic.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'AGar-Pro-Bold';
	src: url('../fonts/AGaramondPro-Bold.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}



/*
============================================================================
WORDPRESS OVERRIDES
============================================================================
*/
#wpadminbar{
	/*background-color: rgba(43, 138, 193, 0.75) !important;*/
	/*background-color: rgba(91, 18, 27, 0.75) !important;*/
}


/*
============================================================================
GLOBAL/STRUCTURAL ELEMENTS 
============================================================================
*/
html{
	overflow:hidden;
	width:100%;
	height:100%;
}

body{
	font-family: 'Futura-Light', sans-serif;
	-webkit-font-smoothing: antialiased;
	color: #0a1d4d;
	background-color: #d6d6d6;
	overflow:hidden;
	width:100%;
	height:100%;
}
a{
	color: #0032af;
}

p a{
	font-weight: bold;
	text-decoration: none;
	border-bottom: 2px solid #0032af;
}


/*
---------------- GRID RULES -------------------
*/
.page-grid{
	display: grid;
	grid-template-rows: min-content auto max-content;
	grid-template-areas: 
		"row-header"
		"row-page-content"
		"row-footer";
	height: 100%;
}

.row-header{
	grid-area: row-header;
}

.row-page-content{
	grid-area: row-page-content;
	-webkit-mask-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(7%,rgba(0,0,0,0.9)), color-stop(8%,rgba(0,0,0,1)), color-stop(92%,rgba(0,0,0,1)), color-stop(93%,rgba(0,0,0,0.9)), color-stop(100%,rgba(0,0,0,0)));
	-webkit-overflow-scrolling: touch;
	filter: inherit;/*fixes IE8 fadein bug on child elements*/
	overflow: auto;
}

.row-footer{
	grid-area: row-footer;
}

/*
-----------------------------------------------
*/

h1, h2, h3, h4, h5, h6{
	font-weight: normal;
}

h1{
	color: #c80000;
	font-family: 'AGar-Pro';
}

#background-texture{
	width: 100%;
	height: 100%;
	position: fixed;
	z-index: -1;
	top: 0px;
	left: 0px;
	background-color: #ffffff;
	-moz-box-shadow:    inset 0 0 200px rgba(0,0,0,0.25);
	-webkit-box-shadow: inset 0 0 200px rgba(0,0,0,0.25);
	box-shadow:         inset 0 0 200px rgba(0,0,0,0.25);
}



/*
============================================================================
HEADER
============================================================================
*/
nav{
	width: 25%;
	top: 32px;
	left: 64px;
	max-width: 400px;
	min-width: 175px;
	padding-top: 32px;
	padding-left: 64px;
	padding-bottom: 8px;
	
	z-index: 10000;
}

.nav-links{
	display: flex;
    justify-content: space-between;
	margin-top: 8px;
}

.nav-links a{
	font-family: 'Futura-Light', sans-serif;
	font-size: 18px;
	text-decoration: none;
	color: #0a1d4d;
	text-transform: uppercase;
	letter-spacing: 2px;
	transition: .25s;
	padding-bottom: 8px;
}

/* prevent from touching in cramped layouts*/
.nav-links a:not(:last-child) {
	margin-right: 24px;
}

.nav-links a:visited{
	color: #0a1d4d;
}

.nav-links a:hover{
	color: #c80000;
}


.nav-links a.selected{
	color: #c80000;
	border-bottom: 1px solid #c80000;
}



/*
============================================================================
CONTENT/BODY
============================================================================
*/
#page-content{
	width: 84%;
	/*
	height: 64%;
	top: 18%;
	*/
	
	padding-left: 8%;
	padding-right: 8%;
	padding-bottom: 2%;
	padding-top: 2%;


	font-size: 24px;
	
	text-align: center;
	
	/* For vertically centering?
	display: table-cell; 
	vertical-align: middle;
	*/
}

.home-feature{
	text-align: center;
	padding-top: 5%;
	padding-bottom: 10%;
	padding-left: 8%;
	padding-right: 8%;
	font-size: 4.5vw;
	color: #c80000;
}

.home-feature h1{
	font-size: 4.5vw;
	margin-top: 0px;
	margion-bottom: 0px;
	padding-top: 0px;
	padding-bottom: 0px;
	font-family: 'AGar-Pro';
}


.portfolio-list{
	text-align: center;
}

/*
For mobile - make the width, like, 90% or something
*/
.portfolio-item{
	width: 480px;
	display: inline-block;
	vertical-align:top;
	margin: 24px;
	text-align: left;
}

.portfolio-item h2{
	font-size: 32px;
	font-weight: normal;
	color: #c80000;
	margin: 0px;
	margin-bottom: 4px;
	font-family: 'AGar-Pro-Bold';
	display: inline-block;
	text-decoration: none;
}

.portfolio-item h3{
	font-size: 18px;
	color: #0a1d4d;
	margin-bottom: 0px;
	margin-top: 4px;
	font-family: 'Futura-Heavy';
	text-transform: uppercase;
	letter-spacing: 2px;
	display: inline-block;
	text-decoration: none;
}

.portfolio-item p, h2, h3{
	padding-left: 8px;
}

.portfolio-thumb{
	border: 5px solid #ffffff;
	-webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.25);
	-moz-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.25);
	box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.25);
	margin-top: 8px;
	margin-bottom: 16px;
}

.portfolio-thumb img{
	width: 100%;
	height: auto;
	display: block;
}

.portfolio-item p{
	font-size: 18px;
	margin-top: 4px;
	line-height: 24px;
}

.contact-page h1{
	font-size: 64px;
	margin-bottom: 0px;
}

.contact-page p{
	margin-top: 0px;
	font-size: 24px;
}


/*
============================================================================
FOOTER
============================================================================
*/

footer{
	width: 25%;
	max-width: 400px;
	padding-bottom: 32px;
	padding-left: 64px;
	padding-top: 16px;
}

.footer-icons{
	display: flex;
    justify-content: space-between;
	bottom: 0px;
}

.footer-icon{
	width: 28px;
	height: 28px;
	position: relative;
	min-width: 28px;
	min-height: 28px;
}

/* prevent from touching in cramped layouts*/
.footer-icon:not(:last-child) {
	margin-right: 24px;
}

.footer-icon img{
	max-height: 28px;
	position: absolute;
}

.footer-email{
	font-family: 'Futura-Light';
	margin-top: 16px;
	font-size: 1.6vw;
}

.footer-email a{
	text-decoration: none;
	color: #0a1d4d;
}
