@import url('https://fonts.googleapis.com/css?family=Lato:300,300i,400,400i,700,700i,900,900i');


@font-face {
    font-family: Avenir;
    src: url('css/Avenir.ttc');
}


* {
   font-family: 'Helvetica'; 
   
}

html, body {
    width: 100%;
    height: 100%;
    margin: 0 auto;
	max-width: 1200px;
    font-size: 16px;
	/* font-family: 'Lato', sans-serif; */
	font-weight: 500;
    color: #000;
}

section {
    box-sizing: border-box;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
	padding: 0 5%;
}

main {
    flex-grow: 1;
}

header, main, footer {
    flex-shrink: 0;
}

h1 {
	margin: 0;
	font-size: 2rem;
}

a {
	color: #000;
    text-decoration: none;
    text-decoration: none;
	margin-inline: 0;
	margin: 0;
	padding: 0;
    -webkit-transition: color .15s ease-out;
    -moz-transition: color .15s ease-out;
    -o-transition: color .15s ease-out;
    transition: color .15s ease-out;
}

a:hover {
    cursor: pointer;
    color: #3C8A93; 
	
}

a.selected {
	color: #008c95;
    
}    

a.accent {
	color: #3C8A93;
    text-decoration: none;
	
    text-decoration: none;
    -webkit-transition: color .15s ease-out;
    -moz-transition: color .15s ease-out;
    -o-transition: color .15s ease-out;
    transition: color .15s ease-out;
}

a.accent:hover {
    color: #3C8A93;
}


* {
	box-sizing: border-box;
  }
  
  
/* index */
.row {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	width: 100%;
	min-width: 100%;
	margin-top: -.5em;
  }
  
  .column {
	display: flex;
	flex-direction: column;
	flex-basis: 100%;
	margin-top: -.5em;
  }
  
  
  
  @media screen and (min-width: 600px) {
	.column {
	  flex: 1
	}
  
  }


div.thumb {
	position: relative;
	width: 100%;
	max-width: 100%;
	overflow: hidden;
	display: inline-block;
	margin-bottom: 0;
	margin: 0;
	padding: 0;
	border: none;
}

div.thumb:after {
  content: "";
  display: block;
  padding-bottom: 100%;
}

img.thumb-img {
	position: absolute;
	transition: all 0.3s ease-out;
	text-align: right;
	width: 100%;
}

img.thumb-img:hover {
	cursor: pointer;
	transform: scale(1.03);
}



/* about */
img.headshot {
	float: right;
    padding: 0 0 2em 2em;
    width: 35%;
}

div.cover {
    display: inline-block;
    box-sizing: border-box;
    padding: 0 1em 0 0;
    width: 16.4%;
    text-align:center;
}

div.cover img {
    width: 100%;
}

div.cover p {
    margin: .25em 0 0 0;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.carousel {
    margin-bottom: 5em;
}

.music-carousel {
    margin-top: 8em;
}


/* work page */
aside.project-info {
    box-sizing: border-box;
    position: -webkit-sticky; 
    position: sticky;
    top: 50px; 
    display: inline-block;
    width: 35%;
    vertical-align: top;
    padding-right: 2em;
}

article.screenshots {
    box-sizing: border-box;
    display: inline-block;
    width: 64%;
    vertical-align: top;
} 

article.screenshots img {
    width: 100%;
    margin-bottom: 2px;
}

p.project-subtitle {
	margin-bottom: 3em;
	font-style: italic;
}

            
p.category {
	font-style: italic;
	opacity: 0.8;
	margin-top: 2em;
	font-size: 90%;
}

i.back-arrow {
	margin: 0em 0 0 0;
	font-size: 200%;
}


/* services */
.clients-container {
	text-align: center;
}

img.client {
	height: 80px;
	margin: 0 1.5em 3em 1.5em;
}

.service-container {
	display: flex;
	justify-content: space-between;
	margin: 5em 0 12em 0;
}

.service-container div {
	box-sizing: border-box;
	vertical-align: top;
	padding: 6em 2em 0 0;
	text-align: center;
}

.service-container div:last-child {
	padding: 6em 0 0 0;
}

img.service-img {
	-webkit-margin-after: 0;
	margin-bottom: .5em;
	width: 60px;
	margin: 0 auto;
}

.service-container h3 {
	margin: .5em 0 0 0;
}


/* footer */
footer {
	box-sizing: border-box;
	width: 100%;
    margin-top: 60px;
    padding: 8px 0 5px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid whitesmoke;
}

footer p {
	text-align: center;
    margin: 0;
	font-size: 90%;
    line-height: 120%;
}

footer i {
	font-size: 24px;
    margin-bottom: .2em;
    vertical-align: middle;
}





@media only screen and (max-width: 1200px) {

	/* services */
	.clients-container {
		margin-top: 7em;
	}
	
	/* about */
	div.cover {
		width: 19.6%;
	}

	.carousel {
		margin-bottom: 4em;
	}
}


@media only screen and (max-width: 900px) {
	/* index */
	div.thumb {
		/* width: 49%;
		max-width: 49%; */

		/* width: 49%;
		max-width: 49%; */
	}

	/* services */
	img.client {
		height: 70px;
		margin: 0 1.5em 2em 1.5em;
	}
	
	/* about */
	div.cover {
		width: 24.5%;
	}

	div.cover p {
		margin: .25em 0 0 0;
	}

	.carousel {
		margin-bottom: 4em;
	}

	.music-carousel {
		margin-top: 7em;
	}
	
	.hide2 {
		display: none !important;
	}
	
	/* services */
	.service-container {
		margin: 0em 0 8em 0;
		flex-wrap: wrap;
	}

	.service-container div {
		padding: 6em 4em 0 4em;
		max-width: 49%;
	}

	.service-container div:last-child {
		padding: 6em 4em 0 4em;
	}
}


@media only screen and (max-width: 768px) {
	/* services */
	img.client {
		height: 60px;
		margin: 0 1em 2em 1em;
	}

	div.cover {
		padding: 0 .5em 0 0;
	}
	
	/* about*/
	img.headshot {
		width: 40%;
	}

	.music-carousel {
		margin-top: 5em;
	}

	/* work page */
	 aside.project-info {
        position: -webkit-inherit; 
        position: inherit;
        display: inline-block;
        width: 100%;
        padding-right: 0em;
    }

	article.screenshots {
		width: 100%;
	}

	i.back-arrow {
		margin: 0em 0 1em 0;
	}	
	
	/* services */
	.service-container div {
		padding: 6em 2em 0 2em;
	}

	.service-container div:last-child {
		padding: 6em 2em 0 2em;
	}
}


@media only screen and (max-width: 600px) {
	/* about */
	div.cover {
		width: 32%;
	}

	.carousel {
		margin-bottom: 3em;
	}
}


@media only screen and (max-width: 550px) {
	/* index */
	div.thumb {
		width: 100%;
		max-width: 100%;
	}
	
	/* services */
	.clients-container {
		margin-top: 5em;
	}
	
	div.service-bubble {
		width: 100%;
		padding: 2em 0 0 0;
	}

	/* about*/
	img.headshot {
		padding: 0 0 1em 1em;
		width: 50%;
	}
	
	/* services */
	.service-container div {
		padding: 6em 1em 0 1em;
	}

	.service-container div:last-child {
		padding: 6em 1em 0 1em;
	}	
}


@media only screen and (max-device-width:767px) and (orientation:landscape) {}

@media only screen and (max-device-width: 414px) and (orientation:portrait) { }