/* 
 * HTML5 ✰ Boilerplate
 *
 * What follows is the result of much research on cross-browser styling. 
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 *
 * Detailed information about this CSS: h5bp.com/css
 * 
 * ==|== normalize ==========================================================
 */


/* =============================================================================
   HTML5 display definitions
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

/* =============================================================================
   Base
   ========================================================================== */

/*
 * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
 * 2. Force vertical scrollbar in non-IE
 * 3. Prevent iOS text size adjust on device orientation change, without disabling user zoom: h5bp.com/g
 */

html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }

body { margin: 0; font-size: 13px; line-height: 1.231; }

body, button, input, select, textarea { font-family: sans-serif; color: #ebdfd3; }

/* 
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate
 * Also: hot pink! (or customize the background color to match your design)
 */
/*
::-moz-selection { background: #000; color: #fff; text-shadow: none; }
::selection { background: #000; color: #fff; text-shadow: none; }
*/

/* =============================================================================
   Links
   ========================================================================== */

a { color: #ebdfd3; }
a:visited { color: #888; }
a:hover { color: #d05447; } 
a:focus { outline: thin dotted; }

/* Improve readability when focused and hovered in all browsers: h5bp.com/h */
a:hover, a:active { outline: 0; }


/* =============================================================================
   Typography
   ========================================================================== */

abbr[title] { border-bottom: 1px dotted; }

b, strong { font-weight: bold; }

blockquote { margin: 1em 40px; }

dfn { font-style: italic; }

hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }

ins { background: #ff9; color: #000; text-decoration: none; }

mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }

/* Redeclare monospace font family: h5bp.com/j */
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }

/* Improve readability of pre-formatted text in all browsers */
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

q { quotes: none; }
q:before, q:after { content: ""; content: none; }

small { font-size: 85%; }

/* Position subscript and superscript content without affecting line-height: h5bp.com/k */
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }


/* =============================================================================
   Lists
   ========================================================================== */

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }


/* =============================================================================
   Embedded content
   ========================================================================== */

/*
 * 1. Improve image quality when scaled in IE7: h5bp.com/d
 * 2. Remove the gap between images and borders on image containers: h5bp.com/e 
 */

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }

/*
 * Correct overflow not hidden in IE9 
 */

svg:not(:root) { overflow: hidden; }


/* =============================================================================
   Figures
   ========================================================================== */

figure { margin: 0; }


/* =============================================================================
   Forms
   ========================================================================== */

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }

/* Indicate that 'label' will shift focus to the associated form element */
label { cursor: pointer; }

/* 
 * 1. Correct color not inheriting in IE6/7/8/9 
 * 2. Correct alignment displayed oddly in IE6/7 
 */

legend { border: 0; *margin-left: -7px; padding: 0; }

/*
 * 1. Correct font-size not inheriting in all browsers
 * 2. Remove margins in FF3/4 S5 Chrome
 * 3. Define consistent vertical alignment display in all browsers
 */

button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }

/*
 * 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
 * 2. Correct inner spacing displayed oddly in IE6/7
 */

button, input { line-height: normal; *overflow: visible; }

/*
 * Reintroduce inner spacing in 'table' to avoid overlap and whitespace issues in IE6/7
 */

table button, table input { *overflow: auto; }

/*
 * 1. Display hand cursor for clickable form elements
 * 2. Allow styling of clickable form elements in iOS
 */

button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }

/*
 * Consistent box sizing and appearance
 */

input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }

/* 
 * Remove inner padding and border in FF3/4: h5bp.com/l 
 */

button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }

/* 
 * 1. Remove default vertical scrollbar in IE6/7/8/9 
 * 2. Allow only vertical resizing
 */

textarea { overflow: auto; vertical-align: top; resize: vertical; }

/* Colors for form validity
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; } */


/* =============================================================================
   Tables
   ========================================================================== */

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }


/* ==|== primary styles =====================================================
   Author: ABV
   ========================================================================== */

@font-face {
    font-family: "BebasNeueRegular";
    src: url("BebasNeue-webfont.eot");
    src: url("BebasNeue-webfont.eot?#iefix") format("embedded-opentype"),
         url("BebasNeue-webfont.woff") format("woff"),
         url("BebasNeue-webfont.ttf") format("truetype"),
         url("BebasNeue-webfont.svg#BebasNeueRegular'") format("svg");
    font-weight: normal;
    font-style: normal;

}

   
html {
    background-color: #0f0e19;
    
}

body {
    -webkit-transform:scale(1);
    font-family: "Open Sans", Verdana, sans-serif;
    overflow: hidden;
}


#container {
    margin: 0 auto;
}


#bg-img {
    opacity:0;
    width: 150%;
    height: auto;
    position: absolute;
    z-index: -1000;
    top: 0;
    left: -25%;
    -webkit-transition: 1.25s ease;
    -moz-transition: 1.25s ease;
    -ms-transition: 1.25s ease;
    -o-transition: 1.25s ease;
    transition: 1.25s ease;
}

#bg-img.on {
    opacity: 1;
    
}


/* main site header and nav*/
header h1{
    font-size: 1.6em; /* use this to adjust logo size */
    
    width: 16.667%; /* 200px/1200px = 16.6667% */
    min-width: 8.5em;
    margin: 0 auto;
    padding: 2em 0 0 0; /*  100px/1200px = 8.333% */
    text-align: center;
    position: relative;
    z-index: 5;
   
}

header h1 a,
header h1 a:hover,
header h1 a:active,
header h1 a:visited {
    color: #ebdfd3;
    text-decoration: none;
    
}

  
header h1 span {
    display: block;
    clear:both;

}

header h1 img {
    height: 3.8em;
    margin-left: .55em;
}

header h1 span.line1 {
    font: 2.5em BebasNeueRegular, Arial, sans-serif; 
    margin-top: .66em;
    line-height: 1.0em;
    letter-spacing: .16em;
    text-indent: .05em;
    opacity: .9;
}



header h1 span.line2 {
    font: 300 .7em/1.6em "Open Sans", Verdana, sans-serif;
    text-transform: lowercase;
    letter-spacing: .48em;
    opacity: .9;
}

header nav {
    background-color: transparent;
    background-image: -webkit-linear-gradient(left, rgba(15,14,25,.2), transparent 40%, transparent 60%, rgba(15,14,25,.2));
    background-image:    -moz-linear-gradient(left, rgba(15,14,25,.2), transparent 40%, transparent 60%, rgba(15,14,25,.2));
    background-image:     -ms-linear-gradient(left, rgba(15,14,25,.2), transparent 40%, transparent 60%, rgba(15,14,25,.2));
    background-image:      -o-linear-gradient(left, rgba(15,14,25,.2),  transparent 40%, transparent 60%, rgba(15,14,25,.2));
    background-image:         linear-gradient(90deg, rgba(15,14,25,.2), transparent 40%, transparent 60%, rgba(15,14,25,.2));
    text-align: center;
}



header nav a {
    color: #ebdfd3;
    font: 600 1.0769em/3.5em "Open Sans", Verdana, sans-serif; /* 14/13px = 1.0769% */
    text-transform: uppercase;
    text-shadow: 1px 1px 2px rgba(0,0,0,.1);
    text-decoration: none;
    letter-spacing: .3em;
    padding: 1em;
    
    -webkit-transition: .5s ease;
    -moz-transition: .5s ease;
    -ms-transition: .5s ease;
    -o-transition: .5s ease;
    transition: .5s ease;
    
}

header nav a:visited {
    color: #ebdfd3;
}

header nav a:hover, header nav a:active {
    color: #d05447;
    text-shadow: 1px 1px 2px rgba(0,0,0,.75);
    font-weight: 600;
    background-color: rgba(0,0,0,.5);
}

header nav ul { 
    overflow: hidden;
    max-width: 1200px;
    margin: 2em auto;
}

header nav ul li {
    width: 50%;
    float: left;
}

header nav ul li.right-side {
    float:right;
}



/* intro section */
#intro {
    text-align: center;
    font-size: 2.538em; /* 33px/13px = ~2.538em */
    /*overflow: visible;*/
    margin: 1em 5%;
    max-width: 16em;
}
 

#intro h2 {
   
    font-family: "Open Sans Condensed", Arial, sans-serif;
    font-weight: 300;
    font-size: 1em;
    line-height: 1.2em;
    font-style: italic;
    letter-spacing: .7px;
    margin: .4em 0;
}
#intro p {
    margin: 0 auto;
    font: 300 .545em/2em "Open Sans", Verdana, sans-serif;/* 18px/33 px = .545em */
} 

#intro p a {
    font-weight: 600;
}

#intro a, #intro a:visited {
    color: #ebdfd3;
    text-decoration: none;
    text-shadow: 1px 1px 2px rgba(0,0,0,.1);
} 

#intro a:hover, #intro a:active {
    color: #d05447;
    text-shadow: 1px 1px 2px rgba(0,0,0,.75);

}

#why {
    border-bottom: 1px solid #383f4e;
    overflow: hidden;
    /*font-size: 1em; !* adjust overall scale of text *!*/
    /*margin-top: 15px;*/
    /*font-size: 2.538em; !* 33px/13px = ~2.538em *!*/
    /*overflow: visible;*/
    margin: 1em 5%;
    max-width: 16em;
}

/*#why h1 {*/
    /*margin-top: 5em !important;*/
/*}*/

#why p {
    margin: 0 auto 1.2em;
    font: 300 1.25em/2em "Open Sans", Verdana, sans-serif;/* 18px/33 px = .545em */
}

#about form {
    display: inline-block;
}

.next-link {
    display: block;
    width: 120px;
    margin: 25px auto;
    padding: 45px 0 35px 0;
    
    background-color: rgba(0,0,0,.1);
    border: 0px solid transparent;
    border-radius: 60px;
      
    color: #ebdfd3;
    text-align: center;
    font: 600 .424em/20px "Open Sans", Verdana, sans-serif; /* 18px/33 px = .424em */
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: .3em;
    
    -webkit-transition: .5s ease;
    -moz-transition: .5s ease;
    -ms-transition: .5s ease;
    -o-transition: .5s ease;
    transition: .5s ease;
}

.down-arrow {   
    display: block;
    opacity: .75;
    
}


#intro a.next-link:hover, #intro .next-link:active {
    background-color: rgba(0,0,0,.5);
}




/* sections */

#work, #about, #contact, #why, footer {
    width: 96.667%; /* 1160px/1200px = 96.667% */
    max-width: 1200px;
    margin: 0 auto;
    clear: both;
}

#work h1,
#about h1,
#contact h1,
#why h1 {
    color: #ebdfd3;
    font: 600 1.846em/1.6em "Open Sans", Verdana, sans-serif; /* 24px/13px = 1.846 */
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: .22em;
    border-bottom: 1px solid #7d7776;
    margin-top: 1em;
}

#work h2,
#about h2,
#contact h2,
#why h2 {
    font: 300 1.385em/1.5em "Open Sans", Verdana, sans-serif;/* 18px/13px = 1.385em */
    padding: .5em 0;
    clear:both;
}


/* work */
#work ul {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.work-item {
    display: block;
    width: 100%; 
    margin: 0 0 25px 0;
} 


.work-item-link {
    display: block;
    color: #b4afa9; /*#dacfc5;*/
    font: 400 1.0769em/1.4em "Open Sans", Verdana, sans-serif; /* 14/13px = 1.0769% */

    text-decoration: none;
    text-shadow: 1px 1px 2px rgba(0,0,0,.1);

    text-decoration: none;
    
    -webkit-transition: .5s ease;
    -moz-transition: .5s ease;
    -ms-transition: .5s ease;
    -o-transition: .5s ease;
    transition: .5s ease;
} 

.work-item-link:visited {
    color: #b4afa9;

}

.work-item-link:hover,
.work-item-link:active  {
    color: #d05447;

    text-shadow: 1px 1px 2px rgba(0,0,0,.75);
}

.work-item-link strong {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .22em;
}


.work-item-link img {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: .5em;
    opacity: .8;
 
    -webkit-transition: .5s ease;
    -moz-transition: .5s ease;
    -ms-transition: .5s ease;
    -o-transition: .5s ease;
    transition: .5s ease;
}

.work-item-link:hover img,
.work-item-link:active img {
    opacity: 1;
      
}

.item-details {
    width: 100%; 
}

.past{
    opacity: 0;
    -webkit-transform: translate3d(-100%,0,0) rotateY(-90deg) translate3d(-100%,0,0);
}

.future{
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0) rotateY(90deg) translate3d(100%, 0, 0);
}


/* about */

  
.bio {
    border-bottom: 1px solid #383f4e;
    overflow: hidden;
    font-size: 1em; /* adjust overall scale of text */
    margin-top: 15px;
}

.pic-left {
    /* ugly radial banding on 6 bit monitors... :/
    
    background: -webkit-radial-gradient(40% 90%, circle, rgba(38, 44, 59, .4), rgba(38, 44, 59, 0) 40%);
    background:    -moz-radial-gradient(40% 90%, circle, rgba(38, 44, 59, .4), rgba(38, 44, 59, 0) 40%);
    background:     -ms-radial-gradient(40% 90%, circle, rgba(38, 44, 59, .4), rgba(38, 44, 59, 0) 40%); 
    background:      -o-radial-gradient(40% 90%, circle, rgba(38, 44, 59, .4), rgba(38, 44, 59, 0) 40%);
    background:         radial-gradient(40% 90%, circle, rgba(38, 44, 59, .4), rgba(38, 44, 59, 0) 40%);
    
    */

}

.pic-right {

   /* ugly radial banding on 6 bit monitors... :/
    background: -webkit-radial-gradient(60% 90%, circle, rgba(38, 44, 59, .4) 0%, rgba(38, 44, 59, 0) 40%);
    background:    -moz-radial-gradient(60% 90%, circle, rgba(38, 44, 59, .4) 0%, rgba(38, 44, 59, 0) 40%);
    background:     -ms-radial-gradient(60% 90%, circle, rgba(38, 44, 59, .4) 0%, rgba(38, 44, 59, 0) 40%); 
    background:      -o-radial-gradient(60% 90%, circle, rgba(38, 44, 59, .4) 0%, rgba(38, 44, 59, 0) 40%);
    background:         radial-gradient(60% 90%, circle, rgba(38, 44, 59, .4) 0%, rgba(38, 44, 59, 0) 40%);
    
    */
}

.bio img {
    display: block;
    width: 60%;
    padding: 0 20%;
    height: auto;
    border-bottom: 1px solid #383f4e;
}
    
.bio h3 {   
    font: 600 1.846em/1.4em "Open Sans", Verdana, sans-serif; /* 24/13px = 1.846em */
    text-transform: uppercase;
    letter-spacing: .22em;
    margin:.5em 0 0 0;
}

.bio h4 {   
    font: 300 2em/1.4em "Open Sans Condensed", Arial, sans-serif; /* 26/13px = 1.846em */
    font-style: italic;
    margin: .25em 0 0 0;
}

.bio p, .bio ul {    
    font-size: 1.231em; /* 16/13px =  1.231 */
    line-height: 1.6em;
    color: #b4afa9;
}

.bio ul {
    list-style: none;
    padding: 0;
}

.bio li {
    display: inline;
    margin-right: 2em;
}

.bio ul a {
    font-weight: 600;
}

.bio ul a, .bio ul a:visited {
    color: #ebdfd3;
    text-decoration: none;
    text-shadow: 1px 1px 2px rgba(0,0,0,.1);
} 

.bio ul a:hover, .bio ul a:active {
    color: #d05447;
    text-shadow: 1px 1px 2px rgba(0,0,0,.75);
}

/* contact */
#contact {
    overflow: hidden;
}


#contact h3,
#contact label {
    font: 600 1.0769em/1.4em "Open Sans", Verdana, sans-serif; /* 14/13px = 1.0769em */
    text-transform: uppercase;
    letter-spacing: .22em;
}

#contact-error,
#contact-sent {
	font-weight: bold;
	color: #d05447;
}

.info-container p {
    font: 300 1.846em/1.4em "Open Sans", Verdana, sans-serif; /* 26/13px = 2em */
    margin-top: .5em;
    margin-bottom: 1em;
}

.info-container p.address {
    font: 300 1.538em/1.4em "Open Sans", Verdana, sans-serif; /* 20/13px = 1.538em */
}


.info-container a, .info-container a:visited {
    color: #ebdfd3;
    text-decoration: none;
} 

.info-container a:hover, .info-container a:active {
    color: #d05447;
}

.form-container input,
.form-container textarea {
    display: block;
    width: 100%; 
    padding: .25em;
    background: transparent;

    margin-top: .25em;
    margin-bottom: .75em;
    border: 1px solid #383f4e;
    
    box-shadow:inset 0px 0px 5px #000;

    
    -webkit-appearance: none;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    
    -webkit-transition: .2s;
    -moz-transition: .2s;
    -ms-transition: .2s;
    -o-transition: .2s;
    transition: .2s; 
    
    border-radius: 0px;
}


.form-container input:focus,
.form-container textarea:focus {
    background-color: rgba(255,255,255,.1);
    border: 1px solid #7d7776;
    outline: none;
}

.form-container input.error,
.form-container textarea.error {
    background-color: rgba(255,0,0,.1);
    border: 1px solid #d05447;
}


.form-container input {
    font: 300 1.846em/1.4em "Open Sans", Verdana, sans-serif; /* 26/13px = 2em */
}

.form-container textarea {
    font: 400 1.231em/1.4em "Open Sans", Verdana, sans-serif; /* 16/13px =  1.231 */
    color: #b4afa9;
}

.form-container .error-msg {
    color: #d05447;
}

.form-container button {
    display: block;
    width: 47.368%;/* 360/760px = 47.368421052631578947368421052632% */
    
    background-color: #ebdfd3;
    
    outline: 0;
    border: 0;
    padding: .25em 0;
    
    color: #0f0e19;
    font: 700 1.846em/1.6em "Open Sans", Verdana, sans-serif; /* 24px/13px = 1.846 */
    text-transform: uppercase;
    
    -webkit-transition: .2s;
    -moz-transition: .2s;
    -ms-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
}

.form-container button:hover,
.form-container button:focus,
.form-container button:active {
    background-color: #d05447;
    box-shadow: 1px 1px 2px rgba(0,0,0,.75);
}

/* footer */
footer {
    margin-top: 6em;
    border-top: 1px solid #7d7776;
}

footer nav {
    overflow: hidden;
}

footer nav ul a {
    color: #ebdfd3;
    font: 600 1.0769em/3.5em "Open Sans", Verdana, sans-serif; /* 14/13px = 1.0769% */
    text-transform: uppercase;
    text-decoration: none;
    text-shadow: 1px 1px 2px rgba(0,0,0,.1);
    letter-spacing: .3em;
    padding: 1em 0;
  
}

footer nav a:visited {
    color: #ebdfd3;
}

footer nav a:hover, footer nav a:active {
    color: #d05447;
    text-shadow: 1px 1px 2px rgba(0,0,0,.75);
}

footer nav ul li {
    display: block;
    margin-right: 3%;
    float: left;
}

.copyright {
    color: #999;
    font: 400 1.0769em/1.4em "Open Sans", Verdana, sans-serif; /* 14/13px = 1.0769% */
}

/* ==|== non-semantic helper classes ========================================
   Please define your styles before this section.
   ========================================================================== */

/* For image replacement */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; }
.ir br { display: none; }

/* Hide from both screenreaders and browsers: h5bp.com/u */
.hidden { display: none !important; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* Contain floats: h5bp.com/q */ 
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }



/* ==|== media queries ======================================================
   PLACEHOLDER Media Queries for Responsive Design.
   These override the primary ('mobile first') styles
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 480px) {
    /* Style adjustments for viewports 480px and over go here */
    header nav ul li {
        width: 25%; 
    }
    
    
    #intro {
        text-align: left;
        font-size: 2.538em; /* 33px/13px = ~2.538em */
        margin: 1em auto;
        padding: 0 5%;
        max-width: 16em;
    }
    
    .next-link {
        margin: 50px auto;
    }
    
    .work-item { 
        margin: 0 0 50px 0;
    }
    .bio {
        margin-top: 50px;
    }
    
    .bio h3 {   
        margin: .5em 0 0 0;
    }
    
    .bio h4 {   

    }
    
    .contact-group {
        float: left;
        width: 50%;
    }
    
    .contact-group {
        float: left;
        width: 50%;
    }
    
    .info-container p {
        font-size: 1.666em;/* 21/13px = 1.16666em */
    }
     
}

@media only screen and (min-width: 768px) {
    /* Style adjustments for viewports 768px and over go here */

    
    header h1{
        font-size: 2em; /* use this to adjust logo size */
        
        padding: 5em 0 0 0; /*  100px/1200px = 8.333% */
    }
    
    header nav ul {
        margin: 0 auto;
    }
    
    header nav ul li {
        width: 16.667%; /* 200px/1200px = 16.6667% */
    }

    header nav {
        position: relative;
        z-index: 1;
        top: -6.9em; 
    }

    

    
    #work h1,
    #about h1,
    #contact h1,
    #why h1 {
        margin-top: 6em;
    }
    
    #work h2,
    #about h2,
    #contact h2,
    #why h2 {
        line-height:2em;
        padding: 2em 0;
    }   
    

    .next-link {
        margin: 100px auto;
    }
    
    .work-item {
        width: 48.275%; /* 560px / 1160px = 48.275% */
        float: left;
        margin: 0 1.724% 50px 0; /* 20px / 1160px = 1.724% */
    }    
    
    .work-item:nth-child(even) {    
        margin: 0 0 50px 1.724%; /* 20px / 1160px = 1.724% */
    }   


    .bio img {
        width: 50%; 
        max-width: 50%;
        padding: 0 0;
        border: none;
    }

    .pic-left img {
        float: left;
        margin-left: 0; /* 40px / 1160px = 3.448% */
        margin-right: 8.620%; /* 100px / 1160px = 8.620% */
    }


    .pic-right img {
        float: right;
        margin-right: 0; /* 40px / 1160px = 3.448% */
    }
     
    .pic-left .bio-text {
        padding-right: 3.448%; /* 40px / 1160px = 3.448% */
    }

    .pic-right .bio-text {
        padding-top: 1em;
        padding-left: 3.448%; /* 40px / 1160px = 3.448% */
        
    }
        
    .bio h3 {   
        font-size: 1.538em;/* 20/13px = 1.538461 */
        margin-top: .5em;
    }
   
    .bio h4 {   
    
        font-size: 1.666em;/* 21/13px = 1.16666em */
        line-height: 1.1em;
        margin-bottom: .5em;

    }
    
    .contact-group {
        float: none;
        width: 100%;
    }
    
    .contact-group {
        float: none;
        width: 100%;
    }
    
    .info-container {   
        width: 31.034%; /* 360/1160px = 31.034% */
        float: left;
        margin-right: 3.448%; /* 40/1160px = 3.448% */
    }
    
    .info-container p {
        font-size: 1.846em; /* 26/13px = 2em */
    }
    .form-container {   
        width: 65.517%; /* 760/1160px = 65.517% */
        float: left;
    }

    footer nav {
        width: 55%;
        float: left;
    }
    .copyright {
        text-align: right;
    }
    
    .info-container p {
        margin-bottom: 2em;
    }
    
    .form-container input,
    .form-container textarea {
        margin-bottom: 1.75em;
    }
}


@media only screen and (min-width: 1024px) {
    /* Style adjustments for viewports 1024px and over go here */
    #bg-img {
        width: 120%;
        left: -10%;
    }


    .bio img {
        width: 39.655%; /* 460px / 1160px = 39.655% */ 
        max-width: 39.655%;

    }


    .pic-left img {
        float: left;
        margin-left: 3.448%; /* 40px / 1160px = 3.448% */
        margin-right: 8.620%; /* 100px / 1160px = 8.620% */
    }


    .pic-right img {
        float: right;
        margin-right: 3.448%; /* 40px / 1160px = 3.448% */
    }
     
    .pic-left .bio-text {
        padding-right: 3.448%; /* 40px / 1160px = 3.448% */
    }

    .pic-right .bio-text {
        padding-top: 2em;
        padding-left: 8.620%; /* 100px / 1160px = 8.620% */
        
    }
    
    .bio h3 {   
        font-size: 1.846em;/* 24/13px = 1.846em */
        margin:2em 0 0 0;
    }
    
    .bio h4 {
        font-size: 2em; /* 26/13px = 1.846em */
        line-height: 1.4em;
        margin-bottom: 1em;
    }
    
    footer nav ul li {
        margin-right: 7%;
    }
    

}

/* ==|== print styles =======================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */
 
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
  
  #bg-img, .form-container { display: none; }
}
