/*@import '/fonts/stylesheet.css';*/

* {
	margin:0;
	padding:0;
}

html {
	font-size: 62.5%;
	padding:0;
	margin:0;
	overflow-y: scroll;
	overflow-x: hidden;
}

body {
	font: normal normal normal 1.8rem/2.8rem 'DM Sans', Helvetica, Arial, sans-serif;
	color: #000;
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	background-color: #FFF;
	letter-spacing: 0.1em;
	-webkit-text-size-adjust: 100%;
}

:focus { 
	outline: 0px;
}

a {
	position: relative;
	color: #000;
	text-decoration: none;
	cursor: pointer;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

img {
	border: 0 none;
}

figure img,
figure video {
	display: block;
	max-width: 100%;
}

img[data-src],
div[data-src] {
	opacity: 0;
	transition: opacity 0.45s;
	-webkit-transition: opacity 0.45s;
}

img[data-src].loaded,
div[data-src].loaded {
	opacity: 1;
}

input, textarea {
	-webkit-appearance: none;
	border-radius: 0;
}

h1, h2, h3, h4, h5, h6 {
	padding-bottom: 2.8rem;
	font-size: 1.8rem;
	font-weight: bold;
}

h1 a, h2 a, h3 a {
	font-weight: normal;
	/*border-bottom: 2px solid;*/
}

article,
article figure {
	margin-bottom: 2.8rem;
}

p {
	padding-bottom: 2.8rem;
}

p a {
	/*border-bottom: 2px solid;*/
}

p a:after,
h1 a:after, 
h2 a:after, 
h3 a:after {
	content: '';
	display: block;
	position: absolute;
	bottom: -2px;
	left: 1px;
	right: 2px;
	height: 2px;
	background-color: #000;
}

div,
header,
section,
article,
hgroup,
footer,
aside {
	position: relative;
}

#wrapper {
	position:relative;
	z-index: 103;
}

#content {
	padding-top: 9.2rem;
}

#home #content {
	padding-top: 0;
}

.center {
	max-width: 1280px;
	padding: 0 50px;
	margin: 0 auto;
}

.centered {
	margin: 0 auto;
}

.box-h {
	padding: 0 10px;
	box-sizing: border-box;
}

.box-v {
	padding: 10px 0;
	box-sizing: border-box;
}

.box {
	padding: 10px;
	box-sizing: border-box;
}

.clear:after,
.clear:before,
.masonry:after,
.masonry:before {
	content: "";
	display: table;
	clear: both;
}

.clear-fix {
	clear: both;
}

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

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

.float-left {
	float: left;
}

.float-right {
	float: right;
}

.preload, 
.hide {
	display:none;
}

@media screen and (max-width: 1024px) {
	
	.center {
		padding: 0 35px;
	}
	
}

@media screen and (max-width: 767px) {
	
	.center {
		padding: 0 15px;
	}
	
}.col-1-1 {
	width: 100%;
}

.col-1-2 {
	width: 50%;
}

.col-1-3 {
	width: 33.33%;
}

.col-1-4 {
	width: 25%;
}

.col-1-5 {
	width: 20%;
}

.col-1-6 {
	width: 16.66%;
}

.col-1-12 {
	width: 8.33%;
}

.col-2-3 {
	width: 66.66%;
}

.col-2-5 {
	width: 40%;
}

.col-3-4 {
	width: 75%;
}

.col-3-5 {
	width: 60%;
}

.col-4-5 {
	width: 80%;
}

@media screen and (max-width: 414px) {
	
	[class*='col-'] {
		width: 100%;
	}
	
}#about-content {
	margin-bottom: 18.4rem;
}

#about-content article.about-text p {
	padding-right: 2.4rem;
	padding-bottom: 4.8rem;
}

#about-content article.about-text p:last-child {
	padding-bottom: 0;
}

#about-content article {
	padding-top: 9.2rem;
}

#about-content .large-title {
	padding-bottom: 9.2rem;
}#contact-content {
	box-sizing: border-box;
	height: calc(100vh - 18.4rem);
}

#contact-content .center {
	height: 100%;
}

#contact-content .center article {
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	top: 50%;
}

#contact-content a[href^="tel:"] {
	border-bottom: 0 none;
}

#contact-content article.large {
	font-size: 2.4rem;
	line-height: 3.6rem;
}

@media screen and (max-width: 640px) {
	
	#contact-content .center {
		display: flex;
		display: -webkit-flex;
		flex-direction: column;
		-webkit-flex-direction: column;
		height: auto;
		top: 50%;
		transform: translateY(-50%);
		-webkit-transform: translateY(-50%);
		-ms-transform: translateY(-50%);
	}
	
	#contact-content .center article {
		transform: none;
		-webkit-transform: none;
		-ms-transform: none;
		top: 0;
		width: 100%;
		text-align: center;
	}
	
	#contact-content .center article:last-child {
		margin-bottom: 0;
	}

	#contact-content .center article:last-child p {
		padding-bottom: 0;
	}
	
	#contact-content article.large {
		font-size: 1.8rem;
		line-height: 2.4rem;
		order: -1;
	}
	
}#footer {
	font-size: 1.4rem;
	line-height: 7.2rem;
}

#footer .roman {
	height: 1.4rem;
}

@media screen and (max-width: 640px) {
	
	#footer .col-1-3 {
		width: 33.33%;
	}
	
	#footer a.facebook span,
	#footer a.instagram span {
		display: none;
	}
	
	#footer a.facebook:after {
		content: "Fb";
	}
	
	#footer a.instagram:after {
		content: "In";
	}
	
}#header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 103;
	line-height: 7.2rem;
}

#header nav a {
	margin-left: 2.0rem;
}

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

	#header .center,
	#content,
	#footer {
		transition: transform 0.3s;
		-webkit-transition: transform 0.3s;
		-ms-transition: transform 0.3s;
	}

	.show-menu #header .center,
	.show-menu #content,
	.show-menu #footer {
		transform: translateY(92px);
		-webkit-transform: translateY(92px);
		-ms-transform: translateY(92px);
	}

	#header .header-box,
	#header .menu-box {
		width: 100%;
	}

	#header .menu-box {
		transform: translateY(-200%);
		-webkit-transform: translateY(-200%);
		-ms-transform: translateY(-200%);
	}

	#header .menu-box:after {
		content: "";
		position: absolute;
		top: 0;
		left: -25%;
		right: -25%;
		bottom: 0;
		background-color: #FFF;
		z-index: 1;
	}

	#header .menu-box nav {
		width: 100%;
		display: flex;
		display: -webkit-flex;
		justify-content: space-between;
		position: relative;
		z-index: 5;
	}

	#header .menu-box nav a {
		margin-left: 0;
	}
	
	#toggle-menu {
		position: relative;
		display: block;
		padding: 27px;
		height: 18px;
		width: 18px;
		right: -24px;
	}

	#toggle-menu div {
		width: 100%;
		height: 100%;
	}

	#toggle-menu span {
		height: 2px;
		background-color: #000000;
		width: 100%;
		position: absolute;
		left: 0;
		top: 50%;
		transform: translateY(-50%);
		-webkit-transform: translateY(-50%);
		-ms-transform: translateY(-50%);
	}

	#toggle-menu span:first-child {
		top: 0;
		transform: none;
		-webkit-transform: none;
		-ms-transform: none;
	}

	#toggle-menu span:last-child {
		top: auto;
		bottom: 0;
		transform: none;
		-webkit-transform: none;
		-ms-transform: none;
	}

}section.hero {
	height: 100vh;
}

section.hero .background {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-position: center center;
	background-size: cover;
	background-attachment: fixed;
}
/*
section.hero .background {
	animation: colorisation 10s infinite;
}

@keyframes colorisation {
    0% {background-color: red;}
    25% {background-color: yellow;}
    50% {background-color: green;}
    75% {background-color: blue;}
    100% {background-color: red;}
}
*/
#firma103 {
	z-index: 10;
	position: relative;
	top: 50%;
	left: 50%;
	width: 240px;
	height: 240px;
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transition: opacity 1s ease 0.5s;
	-webkit-transition: opacity 1s ease 0.5s;
	-ms-transition: opacity 1s ease 0.5s;
	opacity: 0;
}

body.loaded #firma103 {
	opacity: 1;
}
		
.path {
	transition: all 1s ease 1.5s;
	-webkit-transition: all 1s ease 1.5s;
	-ms-transition: all 1s ease 1.5s;
}

.one {
	stroke-dashoffset: 97;
	stroke-dasharray: 97;
} 

body.loaded .one {
	stroke-dashoffset: 194;
}

.zero {
	stroke-dashoffset: 155;
	stroke-dasharray: 155;
}

body.loaded .zero {
	stroke-dashoffset: 310;
}

.underscore {
	stroke-dashoffset: 34;
	stroke-dasharray: 34;
}

body.loaded .underscore {
	stroke-dashoffset: 68;
}

.three {
	stroke-dashoffset: 141;
	stroke-dasharray: 141;
}

body.loaded .three {
	stroke-dashoffset: 282;
}

section.home {
	padding: 9.2rem 0;
	box-sizing: border-box;
	min-height: calc(100vh - 18.4rem);
	background-image: linear-gradient(#F4F4F4,#FFFFFF);
}

section.home .about article {
	max-width: 520px;
}#work::before {
	content: '';
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: -1;
	background-image: linear-gradient(#F7F7F7,#FFF);
}

#work-overview .center {
	max-width: 1350px;
	padding: 0 14px;
}

#work-detail {
	margin-top: 9.2rem;
	margin-bottom: 9.2rem;
}

#work-overview {
	margin-bottom: 9.2rem;
}

.flex-container {
	display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-flex-direction: row;
    flex-direction: row;
	justify-content: center;
	-webkit-justify-content: center;
}

.flex-container article {
	padding: 0 46px 92px 46px;
	box-sizing: border-box;
	margin-bottom: 0;
}

.flex-container article:first-child {
	padding-top: 0;
}

.flex-container article:nth-child(even) {
	padding-top: 92px;
}

.flex-container article.order-1 {
	order: 1;
	-webkit-flex-order: 1;
}

.flex-container article.order-2 {
	order: 1;
	-webkit-flex-order: 2;
}

.flex-container article.order-3 {
	order: 1;
	-webkit-flex-order: 3;
}

.flex-container article.order-4 {
	order: 1;
	-webkit-flex-order: 4;
}

.flex-container article figure {
	margin-bottom: 0;
	position: relative;
}

.flex-container article figure figcaption {
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	height: 100%;
	text-align: center;
	opacity: 0;
	background-color: rgba(255,255,255,.95);
	background-color: #F7F7F7;
	transition: opacity 0.2s;
	-webkit-transition: opacity 0.2s;
}

.flex-container article figure a {
	display: block;
}

.flex-container article figure a:hover figcaption {
	opacity: 1;
}

.flex-container article figure figcaption span {
	display: inline-block;
	position: relative;
	top: 50%;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	line-height: 2.8rem;
}

.flex-container article figure figcaption span:after {
	content: '';
	display: block;
	height: 2px;
	left: 1px;
	right: 2px;
	bottom: -2px;
	background-color: #000;
	position: absolute;
	transition: transform 0.3s, opacity 0.3s;
	-webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
	transform: scale(0);
	-webkit-transform: scale(0);
	-ms-transform: scale(0);
	opacity: 0;
}

.flex-container article figure a:hover figcaption span:after {
	transform: scale(1);
	-webkit-transform: scale(1);
	-ms-transform: scale(1);
	opacity: 1;
}

.flex-container article iframe {
	max-width: 100%;
}

@media screen and (max-width: 1024px) {
	
	#work-overview .center {
		padding: 0 22px;
	}
	
	.flex-container article {
		padding: 46px 23px 0 23px;
	}
	
}

@media screen and (max-width: 767px) {
	
	#work-overview .center {
		padding: 0 13px;
	}
	
	.flex-container article {
		padding: 23px 12px 0 12px;
	}
	
}