/* Universal styles */

body {
	background:#F8F8F8;
	color:#161616;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

p {
	font-family: 'Chivo';
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	line-height: 22px;
}

h1 {
	font-family:'Chivo', sans-serif;
	font-weight:800;
	font-size:56px;
	line-height:50px;
	text-align:center;
	max-width:800px;
	width:100%;
	margin-left:auto;
	margin-right:auto;
}

a {
	color: #222D3D;
	text-decoration: none;
  background-image: linear-gradient(#ffc300, #ffc300), linear-gradient(#ffedb1, #ffedb1);
  background-size: 100% 5px, 0 5px;
  background-position: 100% 100%, 0 100%;
  background-repeat: no-repeat;
  transition: background-size .15s linear;
  cursor:pointer;
}

a:hover {
	color: #222D3D;
  background-size: 0 5px, 100% 5px;
  text-decoration: none;
}

img {
	width:100%;
	height:auto;
	border-radius:6px;
	margin-bottom:20px;
}

::selection {
  background: #ffedb1; /* WebKit/Blink Browsers */
}
::-moz-selection {
  background: #ffedb1; /* Gecko Browsers */
}

.photo-credit {
	font-size: 8px;
  line-height: 8px;
  text-align: left;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #000;
  transform: rotate(90deg) translate(100%, 0);
  transform-origin: 100% 0;
  position: absolute;
  right: 3px;
  top: 6px;
  opacity: .4;
  display: block;
}

.photo-credit-horizontal {
	font-size: 8px;
  line-height: 8px;
  text-align: left;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #000;
  opacity: .4;
  display: block;
}

.video-credit {
	font-size: 8px;
  line-height: 8px;
  text-align: left;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #000;
  transform: rotate(90deg) translate(100%, 0);
  transform-origin: 100% 0;
  position: absolute;
  right: -12px;
  top: 6px;
  opacity: .4;
  display: block;
}

.body-emphasis {
	font-weight:600;
	display:block;
}

.container {
	max-width:960px;
	margin-left:auto;
	margin-right:auto;
	padding-left:15px;
	padding-right:15px;
}

.bounce {
  animation: bounce 2s infinite;
}

/* Homepage styles */

.homepage-hero {
	padding-top:100px;
	padding-bottom:100px;
	height:100vh;
	background-image:url('images/hero2.jpg');
	background-size:cover;
	background-position:center center;
	user-select: none;
	position:relative;
}

.homepage-hero-headline {
	margin: 0;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.homepage-hero-scroll, .folio-hero-scroll {
	font-family:'Chivo', sans-serif;
	font-weight: 900;
	font-size: 18px;
	line-height: 18px;
	text-align: center;
	letter-spacing: 0.11em;
	color:#ffffff;
	text-transform:uppercase;
	position: absolute;
	bottom:5%;
	margin-left:auto;
	margin-right:auto;
	width:100%;
}

.homepage-hero h1 {
	color:#fff;
	text-shadow:0px 0px 20px rgba(0,0,0,0.7);
}

.badge {
	font-family:'Chivo', sans-serif;
	font-weight:600;
	font-size:10px;
	width:100px;
	height:100px;
	position:absolute;
	top:20px;
	right:40px;
	transition: all .2s ease-in-out;
}

.badge-starburst path {
	fill:#ffc300;
}

.badge-starburst {
	animation: starburst 35s linear infinite;
}

.badge:hover {
	transform: scale(1.2);
}

.badge-text {
	width:100px;
	height:100px;
	position:absolute;
	text-align:center;
	display:block;
	z-index:1000;
	margin-top:-63px;
	margin-left:-4px;
}

.homepage-section {
	padding-top:100px;
	padding-bottom:100px;
}

.homepage-section-header h2, .folio-section-header h2 {
	font-family:'Chivo', sans-serif;
	font-weight: 900;
	font-size: 14px;
	line-height: 16px;
	text-align: center;
	letter-spacing: 0.11em;
	color: #7B8691;
	text-transform:uppercase;
}

.homepage-section-header h4, .folio-section-header h4 {
	font-family:'Chivo', sans-serif;
	font-weight:600;
	font-size:36px;
	line-height:44px;
	text-align:center;
	margin-left:auto;
	margin-right:auto;
	letter-spacing:-1px;
	padding-bottom:35px;
}

.vertical-divider {
	position: relative;
	display: block;
	border-top: 60px solid #7B8691;
	width: 2px;
	margin-top:15px;
	margin-left:auto;
	margin-right:auto;
}

.homepage-section-body, .folio-section-body {
	max-width:700px;
	margin-left:auto;
	margin-right:auto;
}

.case-card-interior {
	padding:20px;
	width:95%;
	height:auto;
	background:#fff;
	border-radius:6px;
	margin-left:auto;
	margin-right:auto;
	margin-bottom:20px;
	background-size:100% auto;
	background-repeat:no-repeat;
	background-position:bottom center;
  transition: all .25s;
}

.case-card-interior:hover {
  -webkit-transform: translateY(-5px);
  transform: translateY(-5px);
}

.case-study-card {
	margin-bottom:30px;
}

.case-study-card span.client-name {
	background-color:#ffc300;
	display:inline;
	padding:5px 5px;
	font-size:12px;
	}

.case-study-card h3 {
	font-family:'Chivo', sans-serif;
	font-weight:600;
	font-size:28px;
	line-height:32px;
	text-align:left;
	margin-left:auto;
	margin-right:auto;
	letter-spacing:-1px;
	min-height:100px;
}

.image-frame img {
	width:100%;
	height:auto;
	border-radius:6px;
	margin-bottom:50px;
}

.bio-links p {
	font-weight:600;
}

.awards .col-md-6 {
	padding-bottom:25px;
}

.clients p {
	font-weight:600;
}

.homepage-footer {
	background-color:#ffc300;
	padding-top:60px;
	padding-bottom:60px;
	text-align:center;
}

.homepage-footer p {
	font-style: italic;
}

.homepage-footer a {
	color: #222D3D;
	text-decoration: none;
  background-image: linear-gradient(#D3D3D3, #D3D3D3), linear-gradient(#ffffff, #ffffff);
  background-size: 100% 5px, 0 5px;
  background-position: 100% 100%, 0 100%;
  background-repeat: no-repeat;
  transition: background-size .15s linear;
  cursor:pointer;
}

.homepage-footer a:hover {
	color: #222D3D;
  background-size: 0 5px, 100% 5px;
  text-decoration: none;
}


 iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  transform: translate(-50%, -50%);
}

@media (min-aspect-ratio: 16/9) {
  .video-container iframe {
    height: 56.25vw;
  }
}
@media (max-aspect-ratio: 16/9) {
  .video-container iframe {
    width: 177.78vh;
  }
}

/* Subpage styles */

.subpage-header {
	font-weight:800;
	text-transform:uppercase;
	letter-spacing:0.11em;
	position:absolute;
	top:20px;
	left:20px;
	font-size:14px;
	color:#fff;
	text-align:center;
	display:block;
	margin-left:auto;
	margin-right:auto;
}

/* Portfolio styles */

.folio-hero {
	height:80vh;
	background-size:cover;
	background-position:center center;
	user-select: none;
	position:relative;
	margin-bottom:70px;
}

.folio-section-header {
	padding-bottom:60px;
}

.folio-hero-interior {
	color:#fff;
	font-size:14px;
	text-transform:uppercase;
	padding-top:20px;
	letter-spacing:.6px;
	max-width:960px;
	margin-left:auto;
	margin-right:auto;
	font-family:'Chivo', sans-serif;
}

.folio-nav {
	text-align:right;
	font-weight:500;
}

.folio-hero a {
	color:#ffffff;
}

.folio-hero a {
	color: #fff;
	text-decoration: none;
  background-image: linear-gradient(#161616, #161616), linear-gradient(#ffc300, #ffc300);
  background-size: 100% 35px, 0 35px;
  background-position: 100% 100%, 0 100%;
  background-repeat: no-repeat;
  transition: background-size .15s linear;
  padding:1px 4px;
}

.folio-hero a:hover {
	color: #fff;
  background-size: 0 35px, 100% 35px;
  text-decoration: none;
}

.folio-nav ul {
	list-style:none;
	padding-inline-start: 0px;
}

.folio-nav ul li {
	display:inline-block;
	padding-left:20px;
}

.folio-nav ul li:first-child {
	padding-left:0;
}

.folio-name {
	font-weight:800;
	letter-spacing:1px;
}

.folio-section-body {
	padding-bottom:60px;
}

.folio-intro p {
	font-size:24px;
	line-height:32px;
	font-weight:300;
}

.folio-intro-titles {
	background-color:#ffc300;
	display:inline-block;
	padding:0px 4px;
	font-size:11px;
	line-height:16px;
	font-weight:600;
	text-transform:uppercase;
	letter-spacing:1px;
	margin-bottom:6px;
}

.folio-section-header h4 {
	margin-bottom:0;
	padding-bottom:0;
}

.quote-attribution {
	text-align:center;
	padding-top:15px;
}

.iframe-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; 
  height: 0;
}
.iframe-container iframe {
  width: 100%;
  height: 100%;
  border-radius:7px;
}

.website-scroll{
	width:100%;
	height:500px;
	overflow:scroll;
	position:relative;
	float:left;
	border-radius:7px;
}

.folio-footer {
	background-color:#ffc300;
	padding-top:60px;
	padding-bottom:60px;
	margin-top:20px;
}

.folio-footer .row {
	max-width:960px;
	margin-left:auto;
	margin-right:auto;
}

.folio-footer p {
}

.footer-headline p {
	font-size:20px;
	line-height:26px;
}

.footer-links p {
	font-weight:700;
}

.folio-footer a {
	color: #222D3D;
	text-decoration: none;
  background-image: linear-gradient(#D3D3D3, #D3D3D3), linear-gradient(#ffffff, #ffffff);
  background-size: 100% 5px, 0 5px;
  background-position: 100% 100%, 0 100%;
  background-repeat: no-repeat;
  transition: background-size .15s linear;
  cursor:pointer;
}

.folio-footer a:hover {
	color: #222D3D;
  background-size: 0 5px, 100% 5px;
  text-decoration: none;
}

.footer-headline p.footer-fine {
	font-size:13px;
	line-height:18px;
	font-style:italic;
}

.footer-headline p.footer-fine a {
	background-image:none;
	background-size:none;
	border-bottom: 1px dashed #fff;
}

/* Now page */

.now-page .folio-hero {
	height:60px;
	background-size:cover;
	background-position:center center;
}

.now-page .folio-section-body {
	max-width:500px;
	padding-bottom:15px;
}

.now-page .folio-section-header {
	text-align:center;
}

.now-page .folio-section-header {
	max-width:650px;
	margin-left:auto;
	margin-right:auto;
}

.now-page .blog-intro {
	font-size:1.2em;
	line-height:1.4em;
}

/* Media calls */

@media (min-width:760px) {

	.case-card-interior {
		min-height:500px;
	}

}

@media (max-width: 760px) {

	.case-card-interior {
		min-height:200px;
		background-position:center bottom;
	}

	.case-card-interior h3 {
		color:#fff;
		background-color:rgba(0, 0, 0, 0.4);
		display:inline;
		padding:5px 0px;
	}

	.case-card-interior span.client-name {
		display:inline-block;
		margin-top:20px;
		clear:both;
	}

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

	.folio-intro p {
		margin-bottom:30px;
	}

	.folio-hero-interior, .folio-nav {
		text-align:center;
	}

	.website-scroll {
		margin-bottom:25px;
	}

	.now-page .folio-hero {
		height:80px;
	}

	.footer-headline {
		margin-bottom:40px;
	}

	.homepage-section-header {
		padding-left:10px;
		padding-right:10px;
	}
}

/* Animations */

@-webkit-keyframes slowpan {
 0% {
    transform:translateX(-100px) scale(1.25);
  }
  
  100% {
    transform:translateX(100px) scale(1.25);
  }
  
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
}

@keyframes starburst {
 0%{
    transform: rotate(0deg);
   }
100%{
    transform: rotate(360deg);
   }
}