/**
 * Parallax Scrolling Tutorial
 * For Smashing Magazine
 * July 2011
 *  
 * Author: Richard Shepherd
 *		   www.richardshepherd.com
 * 		   @richardshepherd   
 */


article h2 { font-family: 'Lobster Two'; font-size: 60px; margin: 25px 0; line-height: 1em; }
article h3 { font-family: 'Lobster Two'; font-size: 50px; margin: 25px 0; line-height: 1em; }
article h4 { font-family: 'Lobster Two'; font-size: 30px; margin: 15px 0; line-height: 1em; color:white; }

.story { height: 1000px; padding: 0; margin: 0; width: 100%; max-width: 1920px; position: relative; margin: 0 auto; border-top: 1px solid rgba(255,255,255,0.3); border-bottom: 1px solid rgba(0,0,0,0.4); box-shadow: 0 0 50px rgba(0,0,0,0.8);}

#first { background: url(../images/puckered.png) 50% 0 no-repeat fixed; }
#second { background: url(../images/slide2.jpg) 50% 0 no-repeat fixed; }
#fourth { background: url(../images/slide3.jpg) 50% 0 no-repeat fixed; }
#third { background: url(../images/slide4.jpg) 50% 0 no-repeat fixed; }
#theend { background: url(../images/puckered.png) 50% bottom no-repeat fixed; }

/* Introduction */
#first .smashinglogo { background: url(../images/smashing-logo.png) 50% 100px no-repeat fixed; min-height: 1000px; padding: 0; margin: 0; width: 100%; max-width: 1920px; position: relative; margin: 0 auto; }
#first article { width: 100%; top: 305px; position: absolute; text-align: center; }
#first article p,
#first article a { color: #ccc; }
#first article a { text-decoration: underline; }
#first article a:hover { color: #fff; }

/* Background Only */
#second { padding: 50px 0;}
#second article { background: url(../images/grain.png) repeat #333; color: #fff; padding: 10px 20px; margin: 100px 0 0 50%; text-shadow: 0 -1px 0 rgba(0,0,0,0.5); line-height: 1.5em; color: #fff; position: absolute; top: 0; box-shadow: 0 0 25px rgba(0,0,0,0.3); border: 1px solid rgba(150,150,150,0.1); }
#second .photograph { background: url(../images/photo.png) transparent 90% 100px no-repeat fixed; min-height: 1500px; padding: 0; margin: 0; width: 100%; max-width: 1920px; position: relative; margin: 0 auto; }
#second article p { width: 400px; margin-bottom: 25px; }
#second article a { color: #ff0;}
#second article a { color: #ccc; }
#second article a { text-decoration: underline; }
#second article a:hover { color: #fff; }

/* Photograph */
#third article { background: url(../images/grain.png) repeat #333; color: #fff; padding: 10px 20px; margin: 100px 0 0 50%; text-shadow: 0 -1px 0 rgba(0,0,0,0.5); line-height: 1.5em; color: #fff; position: absolute; top: 0; box-shadow: 0 0 25px rgba(0,0,0,0.3); border: 1px solid rgba(150,150,150,0.1); }
#third .photograph { background: url(../images/photo2.png) transparent 90% 100px no-repeat fixed; min-height: 1000px; padding: 0; margin: 0; width: 100%; max-width: 1920px; position: relative; margin: 0 auto; }
#third article p { width: 400px; margin-bottom: 25px; }
#third article a { color: #ccc; }
#third article a { text-decoration: underline; }
#third article a:hover { color: #fff; }


/* HTML5 Video */

#fourth article {  background: url(../images/grain.png) repeat #333; color: #fff; padding: 10px 20px; margin: 100px 0 0 50%; text-shadow: 0 -1px 0 rgba(0,0,0,0.5); line-height: 1.5em; color: #fff; position: absolute; top: 0; box-shadow: 0 0 25px rgba(0,0,0,0.3); border: 1px solid rgba(150,150,150,0.1); }
#fourth  .photograph { background: url(../images/photo3.png) transparent 90% 100px no-repeat fixed; min-height: 1000px; padding: 0; margin: 0; width: 100%; max-width: 1920px; position: relative; margin: 0 auto; }

#fourth  article p { width: 400px; margin-bottom: 25px; }
#fourth article a { color: #ccc; }
#fourth article a { text-decoration: underline; }
#fourth  article a:hover { color: #fff; }

/* The End */

#theend article {  margin-left: 10%; text-shadow: 0 -1px 0 rgba(0,0,0,0.5); line-height: 1.5em; color: #fff; position: absolute; top: 0; }
#theend article p { width: 400px; margin: 50px 0; }
#theend  article a { color: #ccc; }
#theend  article a { text-decoration: underline; }
#theend  article a:hover { color: #fff; }
#theend  article a { color: #ff0;}
#theend  article a { color: #ccc; }
#theend  article a { text-decoration: underline; }
#theend  article a:hover { color: #fff; }



#theend .byebye { background: url(../images/theend.png) 50% 100px no-repeat fixed; min-height: 1000px; padding: 0; margin: 0; width: 100%; max-width: 1920px; position: relative; margin: 0 auto; }




