/* @group Reset */

/* v1.0 | 20080212 - Mad props to Eric Meyer (http://www.meyerweb.com) */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

/* remember to define focus styles! */
:focus {
	outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* @end */

/* @group top-level */

html {
	border: solid 10px rgb(255,255,255);
	border: solid 10px rgba(255,255,255, 0.8);
	margin: 0px;
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
}

body {
	background-color: #f7f7f7;
	-webkit-animation-name: fader;
 	-webkit-animation-duration: 10s;
 	-webkit-animation-iteration-count: 10;
 	-webkit-animation-timing-function: cubic-bezier(0.5, 0.2, 0.3, 1.0);
}


@-webkit-keyframes fader {
	 0% {
	   background-color: #f7f7f7;
	 }
	 15% {
	   background-color: #ecf6f7;
	}
	 300% {
	   background-color: #f7f7f7;
	 }
	  100% {
	   background-color: #f7f7f7;
	 }
}

/* @end */

/* @group containers */

#wrapper {
	margin-top: 5%;
	margin-left: auto;
	margin-right: auto;
	width: 844px;
}

#card {
	width: 844px;
	height: 469px;
	background-image: url(../img/card-bg.jpg);
	position: relative;
	display: block;
	box-shadow: 10px 10px 5px #cfcfcf; 
	-moz-box-shadow:10px 10px 5px #cfcfcf;
	-webkit-box-shadow:7px 7px 13px #cfcfcf;
}

/* @end */

/* @group type */

p {
	font-family: Helvetica Neue, Helvetica, Arial;
	font-size: 12px;
}

h1 {
	font-family: Helvetica Neue, Arial, Sans-Serif;
	display: block;
	height: 115px;
	width: 703px;
	background-image: url(../img/matt-smith.jpg);
	text-indent: -9999px;
	top: 110px;
	position: relative;
	margin: 0px auto;
}

h2 {
	font: 41px Helvetica Neue, Arial, Sans-Serif;
	font-weight: lighter;
	display: block;
	height: 67px;
	width: 701px;
	background: url(../img/h2-bg.jpg) no-repeat;
	padding-top: 8px;
	margin: 130px auto 30px auto;
	text-align: center;
	color: #d6d6d6;
}

#amp {
	display:inline-block;
	width: 80px;
	text-indent: -9999px;
}

#ampersand {
	position: absolute;
	top: 230px;
	left: 360px;
}

/* @end */

/* @group links */

a {
	font-family: "Hoefler Text", Baskerville, Garamond, "Palatino Linotype", Georgia, "Times New Roman", serif;
	color: #707070;
	font-style: italic;
	text-decoration: none;
}

#mail {
	float: right;
	margin-right: 80px;
	font-size: 24pt;
	padding-top: 30px;
	display: block;
	height: 56px;
	width: 230px;
	background: url(../img/envelope.jpg) no-repeat right;
	-webkit-transition-property: color, background-position;
    -webkit-transition-duration: 500ms;
    -webkit-transition-timing-function: ease-in-out;
}

#mail:hover {
	background-position: 95%;
	color: #00e4f2;
}

#journal {
	font-size: 10.5pt;
	float: right;
	margin-top: 35px;
	padding-bottom: 30px;
	display: block; 
	-webkit-transition-property: color;
    -webkit-transition-duration: 0.5s;
    -webkit-transition-timing-function: ease-in-out;
}

#journal:hover {
	color: #000;
}

/* @end */