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

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

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

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

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

.flex-container {
  display: flex;
  width:100%;
}
.column-small {
  width: 20%; /* Set specific different width */

}
.column-large {
  width: 80%; /* Set specific different width */

}

.column-50 {
  width: 50%; /* Set specific different width */

}

.column-50-margin {
    width: 47%; /* Set specific different width */
    margin-right:3%;
}

.column-50-margin a.button {
    margin-top: 5px;
}

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

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

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

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

textarea {
    resize: vertical;
}

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


/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
    font: 14px/1.3 "Inter", Helvetica, Helvetica Neue, Arial, sans-serif;
}

.wrapper {
	width: 90%;
    margin: 0 5%;
}

/* ===================
    ALL: Theme
   =================== */

.header-container {
    z-index: 10;
    background-color: #E71D57;
    color: #fff;
    position: fixed;
    top:0;
    width: 100%;
}

.footer-container {
    background-color: #E71D57;
    color: #fff;
    text-align: center;
    line-height: 32px;
/*    font-size: 0.8em;*/
}

.footer-container a {
	color:#fff;
}

.footer-container a:hover {
	color: #fff;
    text-decoration: underline;
}

.title {
	font-size: 1em;
	text-align: left;
	float:left;
    width: 37%;
}

.title a {
    padding: 25px 0;
}

.title span {
	display:block;
}

.title a, .title a:hover {
	color:#fff;
	display:block;
}

/* ==============
    MOBILE: Menu
   ============== */

nav {
    width: 60%;
    float:right;
}

nav ul {
    margin: 0;
    padding: 0;
}

nav a, .title a {
    line-height: 1.5;
    display: block;
    text-align: center;
    text-decoration: none;
    border: 2px solid #E71D57;
    color: #fff;   
    font-family: "Inter", Helvetica, Helvetica Neue, Arial, sans-serif;
    position: relative;
    float: left;
}

nav a {
    width: 110px;
    margin: 20px 1.7%;
    padding: 8px 10%;
}

.title a {
    width: 60px;
    margin: 20px 0px;
    padding: 8px 0px;
}

.magenta a.contact, .grey a.button {
    border: 2px solid #fff;
    border-radius: 40px;
    margin: 20px 0px;
    padding: 8px 10%;
    line-height: 1.5;
    color: #fff;
}

.magenta a.contact:hover, .grey a.button:hover {
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.3);
}
nav li:first-child a {
    margin-left: 0;
}

nav li:last-child a {
    margin-right: 0;
}

nav a:visited {
	color:#fff;
}

nav a:hover, .title a:hover {
    color: #fff;
    text-decoration: underline;
}

nav a.active:after {
	content: "";
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 9px 10px 9px;
	border-color: transparent transparent #fe3b5b transparent;
	position: absolute;
	left: 50%;
    margin-left: -9px;
    bottom: -9px;
}

nav a span {
	display: none;
}

/* ==============
    MOBILE: Main
   ============== */

h1, h2, h3 {
	font-weight: 700;
}

.main article h1 {
    font-size: 1.9em;
    line-height: 1.2;
    color: #000;
}

.main article .grey h1 {
    color: #fff;
}

.main article h1 .welcome, .title span, h2, h3, .melina {
	font-family: "Inter", Helvetica, Helvetica Neue, Arial, sans-serif;
}

.main article h1 span {
	display: block;
    font-weight: 400;
}

.main article h1 .welcome {
	font-weight: bold;
	font-size: 1.8em;
}

.footer-container footer {
    color: white;
    padding: 160px 0;
}
.footer-container h2, .footer-container p {
    margin-top: 0px;
    margin-bottom: 32px;
}
section {
	padding: 0;
}

#work2 {
	background-color: #f0e9db;
}

#social {
	padding-top: 2em;
	text-align: center;
}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

h2 {
	font-size: 50px;
    line-height: 1.2;
    margin-top:0;

}

#profile h2 {
	margin-top: 0;
}

article p span, article li span {
    font-weight: 700;
}
.case-study p, .case-study li {
    font-size: 16px;
    line-height: 20px;
}

.case-studies header {
    height: 80px;
}

.main article.case-study h1 {
    font-size: 50px;
    margin:48px 0;
}

article header.grey {
	text-align: left;
	height: 40vh;
	padding-top: 20vh;
	padding-bottom: 0vh;
    position: relative;
	color: #fff;	
}

article header.grey h1 {
    margin-top: 76px;
    margin-bottom: 60px;
    float:left;
}

.melina {
	font-size: 1.15em;
}

a {
	color:#E71D57;
}

a:hover {
	color: #E71D57;
    text-decoration: underline;
}

a.button {
	color: #000;
    border: 2px solid #000;
    border-radius: 40px;
    margin: 20px 1.7%;
    padding: 8px 40px;
    line-height: 1.5;

    margin-left:0;
    font-size:14px;
	display: inline-block;
	text-decoration: none;
}

a.button:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.white a.button:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

section a.link {
    border-color:#fff;
	color: #000;
    display: inline-block;
	padding: 0.7em 1.5em;
	border-radius: 2px;
	text-decoration: none;
	margin: 1em 0;
	margin-left: 0.5em;
}

section a.link:hover {
	text-decoration: underline;
}
#profile {
    background-color: #93C03C;
}

.summary {
    padding-top: 84px;
    padding-bottom: 84px;
    padding-left:84px;
    max-width:440px;
    font-size: 18px;
    line-height: 1.4;
}

.experience {
    padding-top: 84px;
    padding-bottom: 84px;
    padding-left:84px;
/*    font-size: 21px;
    line-height: 1.4;*/
}

.experience ul {
    padding-left: 0px;
    font-size: 16px;
}

.cyan {
    background-color: #31C1D7;
}

.case-studies .cyan {
    background-image: linear-gradient(to right, #31C1D7 0%, #31C1D7 50%, #fafafa 50%, #fafafa 100%);
    width: 100%;
}

.home .cyan {
    width: 100%;
    height: 244px;
}

.case-studies .left img, .case-studies .right img {
    width: 100%;
}

.case-studies div.content {
    padding-top:190px;
    width:80%;
    padding-left: 10%;
    padding-right: 10%;
	font: 18px/22px "Inter", Helvetica, Helvetica Neue, Arial, sans-serif;
}

.case-studies h2 {
    font-size:50px;
}

.white {
    padding-top:80px;
   padding-bottom:80px;
}

.light-grey {
    background-color: #fafafa;

}

.light-grey .text {
    padding-top:80px;
   padding-bottom:80px;
}

.native {
    padding-top: 100px;
}

.yellow {
    background-color: #FFE606;
}

.case-studies .yellow {
    background-image: linear-gradient(to right, #fafafa 0%, #fafafa 50%, #FFE606 50%, #FFE606 100%);
}

.green {
    background-color: #93C03C;
}

.grey {
    background-color:#434343;
    color:#fff
}

.case-studies .green {
    background-image: linear-gradient(to right, #93C03C 0%, #93C03C 50%, #fafafa 50%, #fafafa 100%);
}

.magenta {
    background-color: #E71D57;
    color: #fff;
}

.case-studies .magenta {
    background-image: linear-gradient(to right, #fafafa 0%, #fafafa 50%, #E71D57 50%, #E71D57 100%);
}

.case-studies .grey {
    background-image: linear-gradient(to right, #fafafa 0%, #fafafa 50%, #434343 50%, #434343 100%);
}

.center {
	text-align:center;
}
/*
article header:after {
	background: no-repeat url(../img/header-arrow.png) scroll center center transparent;
	content: "";
	width: 60px;
	height: 76px;
	position: absolute;
	left: 50%;
    margin-left: -30px;
    bottom: -76px;
}
*/
.headshot {
	display:block;
    margin-bottom: -40vh;
    max-width: 500px;
    width: 500px;
    border:6px solid #fff;
    border-radius:300px;
}

.glitter {
	background-image:url('../img/bg-glitter.jpg');
	padding-top: 3em;
	margin-bottom:2em;
	height: 3em;
}

.diamonds {
	background-image:url('../img/bg-diamonds.jpg');
	padding-top: 1em;
	margin-top:2em;
	border-bottom:6px solid #f68e9a;
	position: relative;
	height:3em;
}

.before, .after {
	max-width: 48%;
	margin: 0 1%;
	float:left;
	margin-bottom:2em;
}

.before img, .after img {
	max-width:100%;
}

.img {
	margin: 0 auto;
	display: block;
	max-width:100%;
}

.native {
	float:left;
	margin-right: 1.5em;
	margin-bottom:1em;
	max-width:50%;
}

li {
	list-style-position: inside;
}

.rounded {
	border:4px solid #C6C6C8;
	border-radius:250px;
	margin:0 auto;
	max-width:180px;
	display:block;
}

.col-x2 {
	display:inline-block;
	width:100%;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 480px) {

	.title {
		font-size:1em;
	}
	
	h2 {
/*		font-size: 1.5em;*/
	}
	
	#profile h2 {
		text-align: left;
	}

	.main article h1 {
	    font-size: 1.9em;
   }

/* ====================
    INTERMEDIATE: Menu
   ==================== */

	nav .social a {
	    height:28px;
	}

/* ========================
    INTERMEDIATE: IE Fixes
   ======================== */

    nav ul li {
        display: inline;
    }

    .oldie nav a {
        margin: 0 0.7%;
    }

	.headshot {
		float: right;
	}
}

@media only screen and (min-width: 768px) {
	body {
	    font: 14px/22px "Inter", Helvetica, Helvetica Neue, Arial, sans-serif;
	}

	.col {
		float:left;
		width:48%;
		margin:2% 1%;
		font-size:0.8em;
		line-height: 1.3;
	}
	/*.headshot {
		max-width:none;
	}*/

	.glitter {
		height:5em;
	}

	.diamonds {
		height:18em;
	}
	
	.rounded {
		max-width:none;
	}
	
	h2 {
		font: size 1.5em;
	}

/* ============
    WIDE: Menu
   ============ */

    nav {
        margin: 0 auto;
        width: 420px;
    }

/* ============
    WIDE: Main
   ============ */

    .wrapper {
        margin: 45px auto;
    }
    
    .narrow {
        max-width: 620px;
    }
	
	.main article h1 {
	    font-size: 1.9em;

	}
	
	h3 {
		font-size: 1.7em;
	}

	section {
		padding:0;
	}

}

@media only screen and (min-width: 800px) {

}	

@media only screen and (min-width: 1020px) {
	.main article h1 {
	    font-size: 1.9em;
	}

}	

@media only screen and (min-width: 1140px) {
	.col-x2 {
		float:left;
		width:48%;
		margin:2% 1%;
	}

/* ===============
    Maximal Width
   =============== */

    .header-container header, .wrapper {
        width: 1026px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }
    
}

@media only screen and (min-width: 1340px) {
	.col-x2 {
		float:left;
		width:48%;
		margin:2% 1%;
	}

/* ===============
    Maximal Width
   =============== */

    .header-container header, .wrapper {
        width: 1244px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }
    
}

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

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

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

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        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) ")";
    }

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

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

.viewer li{ 	-webkit-transition: width 500ms cubic-bezier(0.075, 0.820, 0.165, 1.000); 	-moz-transition: width 500ms cubic-bezier(0.075, 0.820, 0.165, 1.000); 	transition: width 500ms cubic-bezier(0.075, 0.820, 0.165, 1.000); } .viewer .caption{ 	visibility: hidden; 	opacity: 0; 	-webkit-transition: opacity 1.5s ease-in-out; 	-moz-transition: opacity 1.5s ease-in-out; 	transition: opacity 1.5s ease-in-out; } .viewer .current .caption{ 	opacity: 100; 	visibility: visible; }