.mobile {
	display: none !important;
}

main {
	width: 100vw;
	max-width: 100%;
}

body {
	padding-bottom: 100px;
}

a {
	color: black;
	transition: color 0.15s ease-out, border-color 0.15s ease-out;
}

a:hover {
	color: #194CFF !important;
	border-bottom-color: #194CFF !important;
	transition: color 0.05s ease-out, border-color 0.05s ease-out;
}

a:visited {
	color: black;
}

section {
	margin: 0 auto;
	margin-top: 70px;
}

section:first-child {
	margin-top: 25px;
}

.section-title {
	width: 100%;
}

.projects {
	font-size: 0;
	width: 95vw;
	max-width: 1500px;
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
}

.publications {
	width: 95vw;
	max-width: 1500px;
}

.tabs-wrapper {
    text-align: center;
    margin: 0 auto;
    margin-top: 0px;
}

.tabs {
    display: inline-flex;
    position: relative;
    font-size: 0 !important;
    background-color: #F0F0F0;
    border-radius: 6px;
    border: 1px solid #E0E0E0;
    margin-top: 20px;
    font-family: 'Open Sans';
}

.tab {
    display: inline-flex;
    position: relative;
    text-align: center;
    font-size: 18px;
    padding: 6px 30px 6px 30px;
    border-radius: 5px;
    box-sizing: border-box;
    transition: background-color 0.25s ease-out;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    text-decoration: none;
}

a.tab:hover {
    transition: background-color 0.25s ease-out;
    background-color: #E0E0E0;
    color: black !important;
}

.tabs-wrapper + h1 {
    margin-top: 20px;
}

span.tab {
    background-color: #FFF;
}

section > h1 {
	font-size: 96px;
	width: 100%;
	margin: 0;
	margin-bottom: 10px;
}

.section-title > h1 {
	font-size: 96px;
	width: 100%;
	margin: 0;
	margin-bottom: 0;
}

.section-title > p {
	margin-top: 0;
}

.project {
	
}

.project img {
	width: 100%;
	border-radius: var(--roundedCorner);
	cursor: pointer;
}

.project-big {
	position: relative;
	overflow: hidden;
	width: 100%;
	max-width: 1500px;
	margin-bottom: 20px;
}

.project-big:last-child {
	margin-bottom: 0;
}

.project-big h1 {
	font-size: 120px;
	margin: 0;
}

.project-big h3 {
	margin: 0;
	margin-top: 10px;
	font-size: 24px;
	font-weight: 600;
	color: black;
	text-decoration: none;
}

.project-big h3 a {
	display: inline-block;
	color: black;
	text-decoration: none;
	border-bottom: 1px solid rgba(0,0,0,0.25);
}

.project-big h3:hover a {
	color: #194CFF !important;
}

.project-small {
	position: relative;
	overflow: hidden;
	width: calc(100% / 4 - 3 * var(--fourColumnsGap) / 4);
	max-width: calc( (1500px - 3 * var(--fourColumnsGap)) /4 );
	margin-right: var(--fourColumnsGap);
	margin-bottom: 15px;
	cursor: pointer;
}

.project-small:nth-child(4n + 1) {
	margin-right: 0 !important;
}

.project.project-small[data-project="jaipur"] {
	transform: translateY(-10px);
	margin-bottom: -10px;
}

.project.project-small[data-project="jaipur"]::before {
	display: block;
	content: '';
	width: 100%;
	height: 10px;
	background: url(/projects/fonts/jaipur/img/jaipur-hair-wide-transparent@2x.png);
	background-size: contain;
	margin-left: 0;
	background-repeat: no-repeat;
	background-position: bottom;
}

.project[data-project="lovemedia"] {
	background-color: #F4F4F4;
	padding: 50px 0;
	border-radius: var(--roundedCorner);
}

.project[data-project="lovemedia"] img {
	display: block;
	max-width: 1200px;
	margin: 0 auto;
	cursor: default;
}

.project[data-project="lovemedia"] h3 {
	max-width: 850px;
	margin: 0 auto;
	margin-top: 42px;
	font-size: 60px;
}

.project[data-project="lovemedia"] h3::after {
	content: '';
	display: inline-block;
	-webkit-mask-image: url('/img/external.svg');
	height: 39px;
	width: 39px;
	background-size: contain;
	margin-left: 5px;
	background-color: black;
	vertical-align: middle;
	transition: background-color 0.25s ease-out;
	cursor: pointer;
}

.project[data-project="lovemedia"] h3:hover::after {
	background-color: #194CFF;
}

.project[data-project="lovemedia"] p {
	max-width: 850px;
	margin: 0 auto;
	margin-top: 28px;
}

.publications {
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
	font-size: 0;
}

.publication {
	position: relative;
	overflow: hidden;
	width: calc(33.33% - var(--threeColumnsGap));
	max-width: 480px;
	margin-right: var( --threeColumnsGap);
}

.publication h3 {
	font-size: 24px;
	font-weight: 500;
	margin-left: 0;
}

.publication h3 a {
	text-decoration: none;
	border-bottom: 1px solid rgba(0,0,0,0.25);
}

.publication p {
	margin-top: 15px;
}

.download-buttons {
	text-align: center;
	margin-bottom: 80px;
}

.download-button {
	display: inline-block;
	width: 179px;
	height: 53px;
	background-repeat: no-repeat;
	background-size: cover;
}

.download-button[data-button="website"] {
	background-image: url('/projects/img/web@2x.png');
	margin-right: 5px;
}

.download-button[data-button="appstore"] {
	background-image: url('/projects/img/appstore@2x.png');
	margin-right: 5px;
}

.download-button[data-button="googleplay"] {
	background-image: url('/projects/img/googleplay@2x.png?1');
	margin-right: 5px;
}

.black-button {	
	margin: 0 auto;
	margin-bottom: 80px;
	display: block;
	width: auto;
	text-align: center;
}

.black-button a {
    color: white;
    text-decoration: none !important;
}

.black-button span {
	background-color: #141414;
	color: white;
	font-size: 24px;
	text-align: center;
	font-family: 'Open Sans';
	border-radius: 12px;
	white-space: nowrap;
	width: auto;
	height: auto;
	padding: 12px 18px;
	cursor: pointer;
    transition: background-color 0.15s;
}

.black-button span:hover {
	background-color: #333;
}

.black-button span:active {
	background-color: #000;
}

.black-button:not([data-icon=""]) span::before {
	display: inline-block;
	content: '';
	background-image: url('/projects/img/cloud@2x.png');
	background-repeat: no-repeat;
	background-size: contain;
	width: 36px;
	height: 36px;
	transform: translateY(9px);
	margin-right: 10px;
}

.black-button[data-icon="cloud"] span::before {
	background-image: url('/projects/img/cloud@2x.png');
	transform: translateY(12px);
}

.black-button[data-icon="planet"] span::before {
	background-image: url('/projects/img/planet@2x.png');
}

.story img {
	/* image-rendering: -webkit-optimize-contrast; */
}

.story img.small + .black-button {
	margin-top: -60px;
}

.story img.title {
	width: 95vw;
	max-width: 1500px;
	margin-top: 0;
	margin-bottom: 0;
}

.story img.title + h1 {
	margin-top: 40px;
}

.story img.title + h1 + img {
	margin-top: 40px;
}

.story h2 + img {
	margin-top: 40px;
	margin-bottom: 40px;
}

.story img.rounded,
.story video.rounded {
	border-radius: 12px;
}

.caption {
	max-width: 400px;
	width: 94%;
	margin: 20px auto 60px auto;
	line-height: 1.58;
	font-size: 16px;
	font-family: 'Open Sans', 'Helvetica', 'Arial', sans-serif;
	-webkit-font-smoothing: antialiased;
	color: rgba(0, 0, 0, 0.8);
	text-align: center;
}

.black-button + .caption {
	margin-top: -60px;
}

.awards > * {
    max-width: 25%;
}

.press {
    display: flex;
    flex-direction: column;
    width: -webkit-fill-available;
    margin-bottom: 80px;
    max-width: 400px;
}

.press img {
    display: inline-block;
    margin: 0;
    border-radius: 15px;
    width: 100%;
}

.press span {
    margin-top: 5px;
    display: inline-block;
    color: rgba(0, 0, 0, 0.8);
    font-family: Open Sans;
    font-size: 20px;
    text-decoration: none;
}

.press a {
    text-decoration: none;
}

.press a span {
    transition: border-bottom-color 0.15s;
    border-bottom: 1px solid rgba(0,0,0,0.15);
}

.press:hover a span {
    border-bottom: 1px solid rgba(0,0,0,0.5);
}

.quote {
	max-width: 534px;
	width: 94%;
	margin: 60px auto;
	line-height: 1.58;
	font-size: 16px;
	font-family: 'Open Sans', 'Helvetica', 'Arial', sans-serif;
	-webkit-font-smoothing: antialiased;
	color: rgba(0, 0, 0, 0.8);
}

footer {
	width: 100vw;
	max-width: 100%;
	-webkit-font-smoothing: antialiased;
}

footer hr {
	width: 94%;
	max-width: 700px;
	height: 3px;
	margin-bottom: 13px;
	background-color: #333;
	box-shadow: none;
	border: none;
}

.story-date {
	width: 94%;
	max-width: 700px;
	margin: 0 auto;
	font-family: 'Open Sans', 'Helvetica', 'Arial', sans-serif;
	font-weight: 700;
	font-size: 16px;
	line-height: 1.85;
}

.story-roles {
	width: 94%;
	max-width: 700px;
	margin: 0 auto;
	font-family: 'Open Sans', 'Helvetica', 'Arial', sans-serif;
	font-size: 16px;
	line-height: 1.85;
}

.story-role span:first-child {
	display: inline-block;
	min-width: 150px;
	margin-right: 6px;
}

.go-back {
    position: relative;
	height: 130px;
	width: 94%;
	max-width: 1200px;
	background-color: #F4F4F4;
	margin: 0 auto;
	margin-top: 40px;
	margin-bottom: -60px;
	border-radius: var(--roundedCorner);
	cursor: pointer;
	transition: background-color 0.25s ease-out;
}

.go-back::after {
    position: absolute;
    content: '';
    background-image: url('/projects/img/arrow-back@2x.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    display: inline-block;
    width: 140px;
    height: 45px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.go-back:hover {
	background-color: #ebebeb;
}

.go-back:active {
	background-color: #e2e2e2;
}



@media (max-width: 1366px) {
	section {
		margin-top: 50px;
	}
	
	section h1,
	.section-title h1 {
		font-size: 72px;
	}
}


@media (max-width: 840px) {
    main {
        margin-top: 80px;
    }

    .story ul.crypto {
        margin: 20px auto;
    }

    .story ul.crypto li {
        font-size: 12px;
        word-break: break-word;
    }

    .story ul.crypto li::-webkit-scrollbar {
        display: block;
    }
	
	.desktop {
		display: none !important;
	}
	
	.mobile {
		display: block !important;
	}
	
	section {
		margin-top: 20px;
	}
	
	section:first-child {
		margin-top: 0;
	}
	
	.story img.title {
		border-radius: 0 !important;
		width: 100%;
	}
	
	.story img.title + h1 {
		margin-top: 20px;
	}
	
	.story img.title + h1 + img {
		margin-top: 20px;
	}
	
	.story img.small + .black-button {
		margin-top: -10px;
	}
	
	.project-big h1 {
		font-size: 36px;
	}
	
	.project-big h3 {
		font-size: 18px;
	}

	.project-big:first-child {
		margin-top: -30px;
	}

	.project-big {
		margin-bottom: 10px !important;
	}
	
	section h1,
	.section-title h1 {
		font-size: 36px;
		margin-bottom: 5px;
	}
	
	section p,
	.section-title p {
		font-size: 14px;
	}

    .row {
        flex-direction: column;
        align-items: center;
    }

    .press {
        margin-bottom: 0;
    }

    .press span {
        font-size: 16px;
    }
	
	.project-small {
		width: calc(50% - var(--twoColumnsGap) / 2);
		margin-right: var(--twoColumnsGap);
		margin-bottom: var(--twoColumnsGap);
	}
	
	.project-small:nth-child(2n + 1) {
		margin-right: 0;
	}
	
	.publication {
		width: calc(50% - var(--twoColumnsGap));
		margin-right: var( --twoColumnsGap);
	}
	
	.publication h3 {
		font-size: 16px;
		margin-top: 5px;
	}
	
	.publication p {
		margin-top: 10px;
		font-size: 14px;
	}
	
	.project[data-project="lovemedia"] {
		padding: 10px 0;
		border-radius: var(--roundedCorner);
	}
	
	.project[data-project="lovemedia"] h3 {
		font-size: 40px;
		padding-left: 10px;
		margin-top: 5px;
	}
	
	.project[data-project="lovemedia"] p {
		margin-top: 8px;
		padding-left: 10px;
		font-size: 16px;
	}
	
	.project-big {
		margin-bottom: 20px;
	}
	
	.download-buttons {
		margin-top: 0;
		margin-bottom: 20px;
	}
	
	/*.download-button {
		width: calc(179px / 1.7);
		height: calc(53px / 1.7);
	}*/

	.download-button {
		width: 170px;
		height: 50px;
		margin-top: 4px;
		background-size: contain;
	}
	
	.download-button[data-button="website"] {
		margin-right: 0px;
	}
	
	.download-button[data-button="appstore"] {
		margin-right: 0px;
	}
	
	.download-button[data-button="googleplay"] {
		margin-right: 0px;
	}
	
	.black-button + p {
		margin-top: -40px;
	}
	
	.black-button + h1 {
		margin-top: -40px;
	}
	
	.caption {
		margin-bottom: 20px;
	}
	
	.go-back {
		height: 90px;
		margin-top: 20px;
		margin-bottom: -70px;
	}
}







