
@font-face {
    font-family:'Nexa Light';
    src: url('nexa/NexaLight.eot');
	src: url('nexa/NexaLight.eot?#iefix') format('embedded-opentype'),
		url('nexa/NexaLight.woff2') format('woff2'),
		url('nexa/NexaLight.woff') format('woff'),
		url('nexa/NexaLight.svg#NexaLight') format('svg');
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
    unicode-range: U+0020-00FE;
}
@font-face {
    font-family:'Nexa Bold';
    src: url('nexa/NexaBold.eot');
	src: url('nexa/NexaBold.eot?#iefix') format('embedded-opentype'),
		url('nexa/NexaBold.woff2') format('woff2'),
		url('nexa/NexaBold.woff') format('woff'),
		url('nexa/NexaBold.svg#NexaBold') format('svg');
    font-weight: 700;
    font-style: normal;
    font-stretch: normal;
    unicode-range: U+0020-00FE;
}

@font-face {
    font-family:'Fabada';
    src: url('fabada/Fabada.eot');
	src: url('fabada/Fabada.eot?#iefix') format('embedded-opentype'),
		url('fabada/Fabada.woff2') format('woff2'),
		url('fabada/Fabada.woff') format('woff'),
		url('fabada/Fabada.svg#Fabada') format('svg');
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
    unicode-range: U+0020-203A;
}

img {
	max-width: 100%;
}

* {box-sizing:border-box; padding: 0; margin: 0;}
::before,::after {box-sizing:inherit;}
*[class$="button"],input[type="submit"], button {
	cursor: pointer;
}
body {
	font-family:'Nexa Light', sans-serif; 
}
.clearfix::after {
	content: '';
	clear: both;
	width: 100%;
	display: block;
}
a {
	color: inherit;
	text-decoration: none;
}
input, select, textarea {
	font-family: inherit;
}
::-webkit-input-placeholder {
   color: inherit;
}

:-moz-placeholder { /* Firefox 18- */
   color:  inherit;
}

::-moz-placeholder {  /* Firefox 19+ */
   color:  inherit;
}

:-ms-input-placeholder {  
   color: inherit;
}

body {
	background: url('../images/ricepaper.png') fixed;
	color: #393939;
}

h1,h2,h3,h4,h5,h6 {
	font-weight: normal;
	font-family:'Nexa Bold', sans-serif;
}
 
.wrapper {
	width: 960px;
	max-width: 90%;
	margin: auto;
}
 
.site-menu {
	margin-right: 0;
	margin-left: auto;
	font-family: 'Nexa Light', sans-serif;
	color: #555;
	text-transform: lowercase;
}
.site-menu a{
	display: block; 
	padding: .5em 0;
	position: relative;
}
.site-menu a::before {
	content: '';
	width: 2em;
	height: 1px;
	background: #999;
	display: block;
	position: absolute;
	 bottom: 0;
	margin: auto;
	left: 0;
	right: 0;
	transform: scaleX(0);
	transition:  all .3s ease-out;
	transform-origin: left;
}
@media (min-width:1024px){
   .site-menu a::before {
		left: -2.3em;
		right: auto;
		top: 0;
   }
}

.site-menu a.is-active::before{ 
	transform: scaleX(1);
	transition:  all .3s ease-out;
}

.social svg {
	height: 24px; 
	fill: #555; 
}

.copyright {
	font-size: 12px;
	margin-top: 2em;
}



@media (min-width:1024px) {
  .site-menu a {
  	font-size: 16px;
  }
  .site-lateral {
		width: 24%;
		max-width: 100%;
		top: 0;
		height: 100%; 
		display: flex;
		flex-flow: column wrap;
		justify-content: center;
		align-items: flex-end;
		top: 0; bottom: 0;
		margin: auto 0;
		left: 10%;
		position: fixed;
		z-index: 2;
	}  

	.home-container {  
		display: flex;
		flex-flow: row wrap;
		justify-content: space-between;
		align-items: center;
		min-height: 100vh;
		height: auto
	} 
    .site-content {
	  width: 60%; 
	  margin-right: 0;
	  margin-left: auto;
     }
    .site-menu {
  	   margin: 2em 0 2em auto;
    }
 
}

@media (max-width:1023px){
  .site-menu  {
  	 margin: 2em auto;
  }
  .site-menu a{
	 display: inline-block;
	 width: 31%;
  }
  .site-content {
  	margin-top: 3em;
  }
  .site-lateral {
  	margin: 2em auto;
  	text-align: center;
  }
}

.site-lateral h1 img{
	display: block;
	height: 18vh;
	margin: auto;
}
@media (min-width:1024px){
  .site-lateral h1 img {
  	height: auto;
  	width: 100%;
  } 
}


@keyframes JANELA {
	0% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(90px) translateX(40px);
	}
	100% {
		transform: translateY(0);
	}
}

.site-content {
	position: relative;
	height: auto;display: block;;
	margin-top: 20vh;
}
@media (min-width:1024px){
   .site-content {
   	height: 80vh;
   }
}
.janela-container {
	text-align: center;
	
}
.janela{
	width: 240px; 
	display: block;
	position: absolute;
	background: transparent !important;
	opacity: 0;
}

.is-ready .janela {
	opacity: 1;
}


.janela svg, .janela-interna svg{
	fill: none;
	display: block;
	stroke: #333;
	width: 100%;
	height: auto;
	stroke-width: 1px;
	height: auto;
	pointer-events: none;
}
.janela svg#janela-iphone {
	stroke-width: 3px; 
}
.janela svg#janela-rolo {
	stroke-width: 3px; 
}
.janela svg#janela-plus {
	stroke-width: 3px; 
}
#janela1 {
	width: 21.6%;
	right: 0;
	top: -2px;
	background: blue;
}
#janela2 {
	width: 26%;
	left: 48%;
	top: -20px;
	background: lightblue;
}
#janela3 {
	width: 36.5%;
	left: 42.2%;
	top: 142px;
	background: purple;
}
#janela4 {
	width: 20%;
	left: 25.8%;
	top: 313px;
	background: teal;
}
#janela5 {
	width: 10%;
	top: 233px;
	background: lightcoral;
	left: 29%;
}
#janela6 {
	width: 34%;
	top: 242px;
	background: lightgoldenrodyellow;
}
 
#janela7 {
	width: 39%;
	top: 0;
	left: 6.5%;
	background: lightgoldenrodyellow;
}

.footer {display: none;}
@media (max-width:767px){
 .site-content {
 	margin-top: 10vh;
 	min-height: 230px;
 } 
 .copyright {margin-top: 1em;}
 #janela3 {
 	top: 55px;
 }
 #janela4 {
 	left: 33.8%;
    top: 169px;
 }
 #janela5 {
 	top: 125px;
 }
 #janela6 {
 	top: 122px;
 }
 .site-lateral .social, .site-lateral .copyright {
 	display: none;
 }
 
 .footer {
 	display: block;
 	text-align: center;
 	padding-top: 2em;
 	padding-bottom: 1em;
 }
}
@media (min-width:768px) and (max-width:1023px){
 .site-content {
 	margin-top: 10vh;
 	min-height: 460px;
 } 
 #janela3 {
 	top: 145px;
 }
 #janela4 {
 	left: 22.3%;
 	top: 309px;
 }
 #janela5 {
 	top: 235px;
 }
 #janela6 {
 	top: 242px;
 }
 .site-lateral .social, .site-lateral .copyright {
 	display: none;
 }
 
 .footer {
 	display: block;
 	text-align: center;
 	padding-bottom: 3em;
 }
}

 
.content-interna {
	visibility: hidden;
	padding-bottom: 4em;
}
@media (min-width:1024px){
  .content-interna {
  	padding-bottom: 15em;
  } 
}
.content-interna-main p, 
.content-interna-main blockquote, 
.content-interna-main p, 
.content-interna-main ul {
	margin-top: 1em;
	line-height: 1.7;
	font-size: 13px;
	letter-spacing: 0.04em;
}

 strong {
	 font-family:'Nexa Bold';
}
.content-interna-main p a {
	text-decoration: underline;
}

.interna-title {
	font-family: Fabada, sans-serif;
	margin-bottom: 1em;
	font-size: 2.3em;
	font-size: 1em;
	letter-spacing: 0.06em;
}
.interna-content {
  margin-bottom: 2.5em;
}
@media (min-width:1024px){
  .interna-title {
  	margin-left: -45px;
  }
  .content-interna {
  	margin-top: 140px;
  	padding-left: 45px;
  } 
  .content-interna-main {
  	padding-left: 45px;
  }
}


.lista-portfolio {
	margin: 38px auto !important;
	font-size: 0 !important;}
.lista-portfolio li {
	font-size: 14px;
	width: 100%;
	padding: 0 10px 25px 0;
	display: inline-block;
	vertical-align: top;
	cursor: pointer;
}
@media (min-width:768px){
  .lista-portfolio li {width: 50%;} 
}
.lista-portfolio li h3{
	font-size: 13px;
	padding: 0 16px 0 0;
}
.content-interna {opacity: 0;}
.content-interna, 
.janela-container {
	transition: all .3s ease-in;
}
.is-internaOpen .content-interna {
	visibility: visible;
	height: auto;
	opacity: 1;
}

.is-internaOpen .janela-container {
	visibility: hidden;
	opacity: 0;
}

.content-interna-main > * {
	opacity: 0;
	transform: translateY(20px);
	transition-property: opacity, transform;
	transition-duration: .7s;
	transition-delay: 0s;
	transition-timing-function: cubic-bezier(0.455, 0.03, 0.515, 0.955);
}
.is-internaOpen .content-interna-main > * {
	opacity: 1;
	transform: translateY(0px);
}



.goHome {cursor: pointer;}

.janela-interna svg{
	position: fixed;
	right: 0;
	opacity: .3;
	transform: rotate(-10deg);
	width: 400px;
	top: 0;
	stroke-width: .5px;
}
.content-interna-main {position: relative; z-index: 3;}


.overlay {
	visibility: hidden;
	opacity: 0;
	transition: all .3s ease-out;
	background: rgba(255,255,255,0.8);
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	align-items: center;
	position: fixed;
	top: 0; left: 0;
	z-index: 6;
	width: 100%;
	height: 100%;
	cursor: pointer;
}
.overlay::before {
	content: 'x';
    display: block;
    color: #333;
    position: absolute;
    top: 10px;
    right: 10px; 
    font-size: 32px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    z-index: 4;
    text-align: center; 
    cursor: pointer;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    font-family: Fabada, sans-serif;
}
 
@media (max-width:767px){
  .overlay::before {
  	right: 6px;
    font-size: 42px;
  }
}
.overlay .inner {
	width: 90%;
	max-width: 960px;
	margin: auto;
	background: #fff;
	border-radius: 5px;
	padding: 50px 40px;
	height: 90vh;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
	z-index: 3;
}
.link-overlay {
	position: fixed;
	top: 0; left: 0;
	width: 100%;
	height: 100%;
}
.modal-slider {
	margin-top: 0;
}
.modal-slider .slide {
	width: 100%;
	padding: 0 10%;
	margin: auto;
	max-height: 300px;
	height: 300px; 
}
@media (min-width:768px){
  .modal-slider .slide {
  	max-height: 400px;
  	height: 400px;
  	/* display: flex; */
  	/* padding-top: 0; */
  	flex-flow: column wrap;
  	justify-content: center;
  	align-items: center;
  }
  .overlay .inner {
	height: 80vh;

  }
}
.flickity-prev-next-button.next {
	right: 0;
}
.content-interna-main.content-modal {
	padding-left: 0;
}
.content-interna-main.content-modal .interna-title{
	margin-left: 0;
}
.overlay .inner img {
max-height: 300px; 
}
.overlay .inner h2 {
	margin-bottom: .5em;
	/* text-align: center; */
	font-size: 1em;
}
.slide-figure img {
	display: block;margin:0 auto;
  max-height: 100%;
}
@media (min-width:1024px){
   .overlay .inner {

   }
}
.is-modalOpen .overlay {
	visibility: visible;
	opacity: 1;
}

.is-modalOpen {
	overflow: hidden;
	height: 100vh;
}

.flickity-page-dots {
	bottom: -60px;
}
.projeto-footer {
	margin-top: 3em;
	font-family:'Nexa Bold';
	text-align: center;
}
a {
	transition: opacity .3s;
}
a:hover {
	opacity: .7;
}

.slide-video {
	width: 100%;
	 max-width: 530px;
	 margin: auto;
}
.flickity-viewport {
	display: flex;
	flex-flow: column wrap;
	justify-content: space-between;
	align-items: center;
}
.iframe-container {
    height: 0;
    padding-bottom: 56.2%;
    position: relative; 
    width: 100%;
}

.iframe-container iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (max-width:767px){
  .overlay .inner {
  	    padding: 30px 20px;
  }
  .content-interna-main p, .content-interna-main blockquote, .content-interna-main p, .content-interna-main ul {
  	font-size: 11px;
  }
  .flickity-prev-next-button.previous {
  	left: 0;
  }
  .flickity-prev-next-button.next {
  	right: 0;
  }
}

.caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  background: #ffffffb0;
  padding: 8px;
  font-size: 13px; 
	text-align: left;
}
.caption p {
	margin-top: 0;
	font-size: .8em;
}

.porfolio-thumb {
	width: 100%;
	height: auto;
	margin-bottom: 8px;
	-webkit-background-size: cover;
	background-size: cover;
	background-position: center;
}
.sizer {
	height: 0;
	padding-bottom: 56.6%;
}
.portfolio-nothumb {
	background:  #f4f4f4 url('../images/logo.svg') center center no-repeat;
	-webkit-background-size: 50% auto;
	background-size: 50% auto;
}



