/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * 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.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

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

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
   
html,body{
margin:0;
padding:0;
width:100%;
}
body{
min-height:600px;
background:#ffffff;
font-family: 'Gotham A', 'Gotham B', sans-serif;
font-weight: 500;
font-style: normal;
color:#666666;
font-weight:500;
font-size:15px;
line-height:1.5;
}
.no-js html,
.no-js body{
height:100%;
}
#logo{
position:absolute;
top:120px;
margin:0;
padding:0;
width:600px;
height:220px;
background:url('../img/logo.svg') no-repeat 0 0;
-webkit-background-size: contain;
-moz-background-size: contain;
-o-background-size: contain;
background-size: contain;
font-size:0;
color:transparent;
}
main{
margin:0;
padding:0;
width:100%;
height:100%;
}
.no-js main{
position:fixed;
}
main::after{
content:'';
background:url('../img/bg.svg') no-repeat center center;
background-attachment:fixed;
-webkit-background-size: contain;
-moz-background-size: contain;
-o-background-size: contain;
background-size: contain;
opacity:0.4;
top:0;
left:0;
position:fixed;
width:100%;
max-width:100%;
height:100%;
z-index:-1;
}
section{
clear:both;
background-color:transparent;
margin:0 auto;
padding:90px 0 0 0;
box-sizing:border-box;
width:95%;
height:100%;
min-width:680px;
max-width:1000px;
position:relative;
vertical-align:middle;
}
.no-js section{
display:none;
}
.no-js section#home{
display:block;
}
.summary{
position:static;
float:right;
width:100%;
max-width:430px;
margin-right:0;
margin-bottom:90px;
text-align:justify;
}
#home .summary{
position:absolute;
float:none;
z-index:1;
right:0;
bottom:0;
}
nav{
height:70px;
width:100%;
overflow:hidden;
position:fixed;
z-index:999;
top:0;
left:0;
border-bottom:1px solid #7aacaf;
background-color:#cccccc;
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjM2JSIgc3RvcC1jb2xvcj0iI2NjY2NjYyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjM4JSIgc3RvcC1jb2xvcj0iI2NjY2NjYyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjM4JSIgc3RvcC1jb2xvcj0iI2NjY2NjYyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjM4JSIgc3RvcC1jb2xvcj0iI2NjY2NjYyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNjY2NjY2MiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(left, #ffffff 0%, #cccccc 36%, #cccccc 38%, #cccccc 38%, #cccccc 38%, #cccccc 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, right top, color-stop(0%,#ffffff), color-stop(36%,#cccccc), color-stop(38%,#cccccc), color-stop(38%,#cccccc), color-stop(38%,#cccccc), color-stop(100%,#cccccc)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(left, #ffffff 0%,#cccccc 36%,#cccccc 38%,#cccccc 38%,#cccccc 38%,#cccccc 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(left, #ffffff 0%,#cccccc 36%,#cccccc 38%,#cccccc 38%,#cccccc 38%,#cccccc 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(left, #ffffff 0%,#cccccc 36%,#cccccc 38%,#cccccc 38%,#cccccc 38%,#cccccc 100%); /* IE10+ */
background: linear-gradient(to right, #ffffff 0%,#cccccc 36%,#cccccc 38%,#cccccc 38%,#cccccc 38%,#cccccc 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#cccccc',GradientType=1 ); /* IE6-8 */
-webkit-box-shadow: 4px 6px 38px 3px #478c94;
-moz-box-shadow: 4px 6px 38px 3px #478c94;
box-shadow: 4px 6px 38px 3px #478c94;
}
nav ul{
list-style-type:none;
margin:0;
padding:0 20px;
margin:0 auto;
width:100%;
max-width:1040px;
text-align:right;
box-sizing:border-box;
}
nav li{
margin-top:20px;
background-color:#E6E6E6;
display:inline-block;
width:32px;
height:32px;
position:relative;
border-radius:50%;
margin-right:40px;
margin-left:100px;
}
nav li.home{
display:none;
}
nav li a{
padding:8px 0 8px 14px;
position:absolute;
top:0;
left:0;
text-decoration:none;
color:#000000;
line-height:1;
font-size:14px;
font-weight:400;
cursor:pointer;
}
nav li a:focus{
outline:0;
}
nav li a:hover{
font-weight:600;
}
section h1{
letter-spacing:-5px;
margin:30px 0 80px 0;
padding:0;
font-weight:400;
font-size:120px;
line-height:1;
color:#b4b5b5;
}
#about{
padding-bottom:50px;
}
#about div{
width:100%;
overflow:hidden;
padding-bottom:60px;
}
#about .summary{
position:static;
float:right;
width:100%;
margin-bottom:120px;
bottom:auto;
}
#about div h3{
margin-top:0;
padding-top:0;
color:#333333;
}
#about div.margaret h3,
#about div.margaret p{
margin-left:350px;
}
#about img{
border-radius:50%;
-webkit-box-shadow: 4px 8px 12px #478c94;
-moz-box-shadow: 4px 8px 12px #478c94;
box-shadow: 4px 8px 12px #478c94;
}
#about div.margaret img{
float:left;
height:300px;
width:auto;
margin-top:50px;
margin-left:12px;
}
#about div.jed h3,
#about div.jed p{
margin-right:350px;
}
#about div.jed img{
float:right;
height:300px;
width:auto;
margin-top:50px;
margin-right:12px;
}
#contact .content{
width:100%;
position:absolute;
z-index:2;
bottom:90px;
}
#contact .content p{
text-align:inherit;
}
#contact h3{
color:#333333;
}
#contact div{
display:inline-block;
width:40%;
text-align:center;
}
#contact .left{
text-align:right;
margin-right:20px;
}
#contact .right{
text-align:left;
margin-left:20px;
}
@media only screen and (max-height:530px) {
	body{
	min-height:530px;
	}
	#home .summary{
	margin-bottom:0;
	}
	#contact .content{
	position:static;
	padding-bottom:50px;
	}
}
@media only screen and (max-width:767px) {
	body{
	min-height:430px;
	}
	#logo{
	width:90%;
	}
	nav{
	background:#ccc;
	}
	section{
	width:90%;
	min-width:90%;
	overflow:hidden;
	}
	section h1{
	font-size:80px;
	}
	.summary{
	width:100%;
	margin:0;
	max-width:100%;
	}
	#home .summary{
	margin-bottom:40px;
	}
	p{
	width:100%;
	}
	nav li{
	margin-right:60px;
	margin-left:10px;
	}
	#about div{
	text-align:center;
	}
	#about img{
	float:none !important;
	display:inline-block;
	text-align:center;
	margin:0 0 30px 0;
	}
	#about div.margaret h3,
	#about div.margaret p{
	float:none;
	margin-left:0;
	}
	#about div.jed h3,
	#about div.jed p{
	float:none;
	margin-right:0;
	}
	#contact .content{
	position:static;
	padding-bottom:50px;
	}
	#contact div{
	width:100%;
	}
	#contact .left{
	text-align:center;
	margin:0 0 40px 0;
	}
	#contact .right{
	text-align:center;
	margin:0;
	}	
}
@media only screen and (max-width:480px) {
	#logo{
	top:100px;
	}
	#about img{
	width:auto;
	max-width:80%;
	height:auto !important;
	}
	nav{
	height:56px;
	}
	nav li{
	margin-top:13px;
	margin-right:60px;
	margin-left:0;
	}
	.summary{
	text-align:left;
	}
	p{
	text-align:left;
	}
}
p{
margin-bottom:30px;
text-align:justify;
}
a{
color:#333333;
text-decoration:none;
}
a:hover{
color:#000000;
}
strong{
color:#333333;
}




/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * 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;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    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;
    }
}
