/* css by publisitio 026.11.03 */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap');

:root{
	--main-color: #fff;
	--second-color: #ffeb48; /* ff6748*/
	--bkgrd-color: #201E1E; /* #31312f */
	
	--fw-normal: 300;
	--fw-bold: 500;
	--txt-indent: 10vw;
	}

*{
	margin: 0;
	padding: 0;
}

html {
  scroll-behavior: auto;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
body{
	background: url(../05/img/rever05.jpg) no-repeat fixed top center;
	background-size: cover;
	color: var(--main-color);
	padding: 50px;
	font: normal var(--fw-normal) 23px/1.3 Space Grotesk, sans-serif;
	font-optical-sizing: auto;
	letter-spacing: -0.5px;
}

	@media screen and (max-width: 768px){
		body{
    	padding: 25px 0;
    	background: linear-gradient( var(--bkgrd-color), #1a1a1a );
		}
	}

.animation {
  margin-top: 5vh;
	opacity: 1;
  transform: scale(1);
	
	/* animation-name + ainmation-timing-function */
  animation: grow ease-in both; 
  animation-timeline: view();
}
	@supports (animation-timeline: view()) {
    .animation {
        opacity: 0;
        transform: scale(.9);
        animation: grow ease-in;
        animation-timeline: view();
    }
	}

	@keyframes grow {
	  50% {
	    opacity: 1;
	    transform: scale(1);
	  }
	}

h1,h2,h3,h4,h5{
	font-weight: var(--fw-normal);
	line-height: 1;
	margin: 0;
}
a{
	color: var(--second-color);
	text-decoration: underline;
	text-underline-offset: .5rem;
	outline: none;
	transition: all .3s ease-in-out;
	text-wrap: nowrap;

	&:hover{
		color: #fff;
	}
}
a.disabled {
  color: rgba(255, 255, 255, .2) !important;
  pointer-events: none;
  cursor: default;
}
.cta{
	text-decoration: none;
  background: var(--second-color);
  color: var(--bkgrd-color);
  padding: .5rem 1.6rem 1rem;
  display: inline-block;
  margin-top: 2rem;
  line-height: 1;

  &:hover{
  	background: var(--bkgrd-color);
  	color: var(--second-color);
  }
}
ul{
	list-style: none;
  padding: 0;
}
.second-color{
	color: var(--second-color);
}
.container{
	margin: 0;
}
/* =======================
		SCROLL PRGORESS
	====================== */
  @keyframes expand {
    from {
      transform: scaleY(0);
    }
  }
  
  .scroll-prgoress {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 10px;
    background: var(--second-color);
    transform-origin: left center;
    animation: expand linear;
    animation-timeline: scroll();
    z-index: 90;
    transform-origin: top left;
  }

/* =======================
		HOMEPAGE MAIN DATE 
	======================== */

	.date{
		font-size: clamp(3.5rem, 10vw, 15rem);
		line-height: .9;
  	letter-spacing: -.05em;
  	text-transform: uppercase;
  	mix-blend-mode: difference;
  	width: 100%;

  	.item{
  		overflow: hidden;
	  	
		  	div{
		  		opacity: 0;
		  		animation: run-in .8s ease-out forwards;
		  	}

		  	&:nth-child(2) div{
		  		animation-delay: .2s;
		  	}

		  	&:nth-child(3) div{
		  		animation-delay: .4s;
		  	}
  	}

  	.scroll{
  		overflow: hidden;
	  	
		  	div{
		  		color: var(--second-color);
  				font-size: clamp(3.5rem, 10vw, 25rem);
		  		writing-mode: vertical-rl;
		  		opacity: 0;
		  		animation: scroll 1.1s linear infinite;
		  		animation-delay: 1.1s;
		  	}
  	}
	}

	@keyframes run-in{
		from{
			opacity: 1;
			transform: translateY(120%);
		}

		to{
			opacity: 1;
			transform: translateY(0%);
			transform-origin: top left;
		}
	}

	@keyframes scroll{
		0%{
			transform: translateY(-100%);
		}

		100%{
			opacity: 1;
			transform: translateY(100%);
		}
	}

/* MAIN HEADER */
.header{
	margin-bottom: 55px;

	h2{
		text-transform: uppercase;
	}

	span{
		color: var(--second-color);
	}
	.page-title{
		font-size: 10vw;
	  line-height: 1;
	  margin: 5% 0;
	  text-align: left;
	  text-transform: uppercase;
	  mix-blend-mode: difference;
	}
}
@media screen and (max-width: 768px){
	.header{
		margin-bottom: 50px;
	}
}
/* =======================
		HOMEPAGE APRESENTACAO
	====================== */
.introducao-xl{
	font-size: clamp(2.3rem, 9vw, 3.85rem);
  text-wrap: balance;
  margin: 5rem 0;
  padding: 5rem 0;
  /*text-indent: var(--txt-indent);*/
  letter-spacing: -.035em;
  word-spacing: -5px;
  text-transform: uppercase;
  line-height: 1;

	span{
		/*font-weight: 100;*/
		color: var(--second-color);
		font-weight: var(--fw-bold);
	}
}

	@media screen and (max-width: 768px){
		.introducao-xl{
			margin: 2.5rem 0;
			padding: 2.5rem 0;
		}
	}
/* =======================
		HOMEPAGE INTRODUCAO
	====================== */
.introducao{
	font-size: clamp(1.9rem, 7vw, 3rem);
	line-height: 1.1;
	text-transform: uppercase;

	text-align: left;
  text-wrap-style: balance;
  margin: 25vh 0;

  span{
		color: var(--second-color);
		font-weight: var(--fw-bold);
	}
}

/* =======================
		HOMEPAGE CALENDARIO
	====================== */
.daily-calendar{
  background: color-mix(in srgb, #000 30%, transparent);
  padding: 8rem;
  margin: 0 15px 4rem;
  overflow: hidden;

  opacity: 1;
  transform: scale(1);
  /* animation-name + ainmation-timing-function */
  animation: cenas ease-in-out; 
  animation-timeline: view();

  .daily-calendar-eyebrow{
  	text-transform: uppercase;
  	font-size: 2rem;
  }

	.daily-calendar-day{
		font-size: clamp(3.1rem, 10vw, 7rem);

		span{
			color: var(--second-color);
		}
	}

	.daily-calendar-programm{

		p{
			text-indent: 30%;
			font-size: min(max(6vw, 1.5rem), 3rem);
		}
	}

	a{
		position: relative;

    .daily-calendar-programm-pic {
      position: absolute;
      top: 50%;
      left: 100%;
      transform: translate(-50%, -50%);
      width: 300px;
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      z-index: 10;
      transition: opacity .4s ease, visibility .4s ease;

      img {
        display: block;
        width: 100%;
      }
    }

    &:hover .daily-calendar-programm-pic {
      opacity: 1;
      visibility: visible;
    }
  }
}
	@supports (animation-timeline: view()) {
    .daily-calendar {
        opacity: 0;
        transform: scale(.9);
        animation: cenas ease-in-out;
        animation-timeline: view();
    }
}
@keyframes cenas {
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

	@media screen and (max-width: 768px){
		.daily-calendar{
		  padding: 2rem;
		  margin: 0 0px 4rem;

		  .daily-calendar-programm p{
		  	text-indent: 0;
		  }
		}
	}
/* =======================
		HOMEPAGE INSCRICOES 
	======================== */
.inscricoes{
	line-height: 1;
	text-transform: uppercase;
	color: var(--bkgrd-color);
	background: color-mix(in srgb, var(--second-color) 80%, transparent);
	padding: 4rem;
	margin: 0 auto 4rem auto;

  transform: scale(.9);
  animation: inscricoes ease-in-out;
  animation-timeline: view();

  h1{
  	font-size: clamp(3.1rem, 10vw, 5rem);
  	margin-bottom: 1rem;
  }

	span{
		display: block;
		font-weight: 600;
	}
	:nth-child(2) span{
		display: inline;
	}

	.cta{
		padding: 1rem 2rem 1rem;
		font-weight: 600;
		background: var(--bkgrd-color);
		color: var(--second-color);

		&:hover{
			background: var(--second-color);
			color: var(--bkgrd-color);
		}
	}
}
@keyframes inscricoes {
  50%, 100% {
    transform: scale(1);
  }
}

.promovido{
	color: var(--second-color);
	padding: 5rem 0;
	text-transform: uppercase;

  p{
  	text-align: justify;
		font-size: 1.1rem;
		line-height: 1.5;
  }

  a{
  	text-underline-offset: .3rem;
  	text-wrap: wrap;
  }
}

.dia{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 50px;

	h1{
		font-size: 4vw;
		line-height: 1;
		color: #fff;

		@media screen and (max-width: 768px){
			font-size: 3rem;
			margin-bottom: 1rem;
		}

		span{
		color: var(--second-color);
		}
	}
}
.programa{

	li{
		border-top: 1px solid color-mix(in srgb, var(--second-color) 50%, transparent);
		margin-bottom: 50px;
		padding: 50px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

    @media screen and (max-width: 768px){
    	display: block;
    	padding: 25px 0;
    }
	}
}
.local {

  span{
  	color: var(--second-color);
  }
}
.calendar{
	width: 100%;
	margin-bottom: 50px;
	color: var(--second-color);

  @media screen and (max-width: 768px){
  	display: flex;
  	flex-direction: column;
  	width: 100%;
  }

	.hora{
		font-size: 2rem;
		color: #fff;

		&::before{
			content: '\2198';
			margin-right: 0.5rem;
      color: var(--second-color);
		}

		@media screen and (max-width: 768px){
			font-size: 1.5rem;
	  }
	}
	.convidado{
		font-size: 3rem;
		line-height: 1.1;
		text-wrap: balance;
		text-transform: uppercase;

		@media screen and (max-width: 768px){
	  	font-size: 2.5rem;
	  	margin-bottom: 25px;
	  }
	}

	a{
		text-decoration: underline;
  	text-underline-offset: .5rem;
  	text-decoration-thickness: 0.02em;
	}
}
.resumo{
	width: 70%;
	margin: auto;

	@media screen and (max-width: 768px){
  	width: 100%;
  }
	
	h1{
		font-size: 3rem;
		line-height: 1.1;
		text-transform: uppercase;
		text-wrap: balance;
		margin-bottom: 25px;

		@media screen and (max-width: 768px){
	  	font-size: 2rem;
	  }
	}

	 p{
	 	text-indent: var(--txt-indent);
	 }
}
/* =======================
		PROGRAMA FILME 
	======================== */
.film-container{
	width: 70%;
	margin: auto;

	@media screen and (max-width: 768px){
		width: 100%;
	}
}
.film-container p{
	text-align: justify !important;
	hyphens: auto;
	padding-bottom: 2vh;
}
.film-title{
	font-size: 3em;
	line-height: 1;
	padding: 10px 0;
	text-transform: uppercase;
	text-wrap: balance;
}
.filme-still{
	margin: 2rem 0;
	position: relative;
}
.ficha-tec-short{
	font-size: .9em;

		span{
			color: var(--second-color);
			font-weight: 500;
		}
}
.ficha-tec{
	font-size: .7em;
	padding: 10px 0;
	margin-bottom: 4px;

		b{
			color: var(--second-color);
		}
}
/* =======================
		PROGRAMA EXPOSICAO 
	======================== */
.expo-container{
	width: 60%;
	margin: 0 auto;

	@media screen and (max-width: 768px){
		width: 100%;
	}
}
.expo-image{
	width: 30%;

	img{
		width: 100%;
	}

	@media screen and (max-width: 768px){
		width: 100%;
	}
}
.expo-title{
	font-size: 3em;
	line-height: 1;
	padding: 0;
	text-transform: uppercase;
	text-wrap: balance;
}
.expo-autor{
	margin-bottom: 1rem;

	span{
		font-size: 2rem;
		font-weight: 500;
		text-transform: uppercase;
		color: var(--second-color);
	}

}
.expo-local{
	font-size: 1em;
	line-height: 1;
	padding: 0;
	margin-top: 1rem;

	span{
		font-size: 1.5em;
		display: block;
		color: var(--second-color);
		font-weight: 500;
	}
}

	@media screen and (max-width: 768px){
		.film-container p{
			font-size: 18px;
		}
	}
.foto-credits,
.frame-credits{
	font-size: .6rem;
	padding: 5px 10px;
	color: #fff;
	position: absolute;
	bottom: 0;
	right: 0;
	background: #1c1919;
}
	.foto-credits:before{
		content: 'fotografia: ';
		display: inline;
	}
/* =======================
		PARTICIPANTES
	====================== */
.participante{
	margin-bottom: 10vw;
	scroll-snap-align: start;
  scroll-margin-top: 150px;	

  transform: scale(.9);
  transform-origin: top right;
  animation: reveal ease-out;
  animation-timeline: view(); 
}
	@keyframes reveal {
	  35%, 100%{
	    transform: scale(1);
	  }
	}

.bio{
	position: relative;
}
.notaBio{
	background: color-mix(in srgb, #000 30%, transparent);
	padding: 3rem;
  
	h1{
		margin: 0;
		line-height: 1;
		margin-bottom: 10vh;
		text-wrap: balance;
		text-transform: uppercase;

		span{
			color: var(--second-color);
		}
	}
	p{
		line-height: 1.4;
		text-align: justify;
	  word-wrap: break-word;
	  overflow-wrap: break-word;
	  hyphens: auto;
	  margin: 0;
	  text-indent: var(--txt-indent);
	}
	.link {
		display: block;
		text-decoration: none;
	 	text-indent: 0;
	  color: var(--second-color);
	  margin-top: 1rem;

	  &:hover{
	  	color: color-mix(in srgb, var(--second-color), #fff 50%);
	  }
	}
}

	
	@media screen and (max-width: 768px){
		.notaBio{
			padding: 2rem;

			p{
				
				text-align: left;
			}
		}
		.notaBio h1{
			font-size: 3rem;
			margin-bottom: 2vh;

			span{
				display: block;
			}
		}
	}
figure{
	position: relative;

	figcaption{
		position: absolute;
		color: #000;
	  font-size: 50%;
	  z-index: 1;
	  padding: 20px;
	  bottom: 0;
	  right: 0;
	}
}
	
.intrevencao{
	border-top: 1px solid var(--second-color);
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	width: fit-content;
	text-transform: uppercase;

	span{
		background: var(--second-color);
    color: var(--bkgrd-color);
    padding: .5rem 1rem;
    display: inline-block;
	}
}
/* =======================
		INSCRICAO
	====================== */
.inscricao{
	span{
		color: var(--second-color);
	}
	h1{
		text-transform: uppercase;
		margin-bottom: 2rem;
	}
	ul{
		margin: 2rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

		li{
			border: 1px solid var(--second-color);
      padding: 0.75rem 1.25rem;

      &:last-child{
      	
      }
		}
	}
	img {
	  max-width: 100%;
	  mix-blend-mode: lighten;
	}
}
/* =======================
		FOOTER
	====================== */
.footer{
	margin-top: 10rem;

	span{
		color: var(--second-color);
	}
}
/* =======================
		FOOTER MENU
	====================== */
ul.footer-menu{
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;

	 li{
		position: relative;
		border: solid currentColor;
		border-width: 0 0 1px 0;
		padding: 1rem 0;
		overflow: hidden;

		&:nth-child(-n+4) a {
	    color: var(--second-color);
	    font-size: 2rem;
	}

		&:last-child{
			border-width: 0;
			padding-bottom: 0;
		}

		a{
			font-size: 1.5rem;
			text-decoration: none;
			text-transform: uppercase;
			color: var(--main-color);
			display: block;
			position: relative;
			z-index: 1;

			@media screen and (max-width: 768px){
				font-size: 1.8rem;
			}

			&::before {
			  content: attr(data-nav);
			  position: absolute;
			  left: 0;
			  color: currentColor;
			  transition: all .6s ease-in-out;
			  z-index: -1;
			}

			&::after {
			  content: '\2192';
			  position: absolute;
			  right: 0;
			}

			&:hover{
				color: #fff;

				&::before{
					left: 50%;
					opacity: 0;
				}
			}
		}
	}
}

.footer ul.main-nav a {
  /*font-size: 2rem;*/
}
	@media screen and (max-width: 768px){
		.footer ul.footer-menu {
			margin-bottom: 10rem;
		}
	}
/* =======================
		FOOTER CONTACTS
	====================== */
.contacts{
	padding: 0;
}

	.contacts li{
		margin-top: 1rem;

		&:first-child{
			font-size: 2rem;
			text-transform: uppercase;
		}

		@media screen and (max-width: 768px){
			margin-top: 1rem;
		}
	
		span{
			font-size: 12px;
	    display: block;

			@media screen and (max-width: 768px){
				display: block;
			}
		}
	}

/* =======================
		FOOTER ORGANIZACAO
	====================== */
	.organizacao{
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 2rem;
		margin-top: 5rem;

		li{

			a{
				display: block;

				&:hover{
					filter: drop-shadow(0px 0px 10px var(--second-color));
				}
			}
		}
	}
/* =======================
		FOOTER CREDITS
	====================== */
.credits{
	font-size: 12px;
	margin-top: 5rem;
}

[href^="https://www.publisitio.eu"] {
  color: var(--second-color);

	&:hover {
		color: #fff;
	}
}
.invert{
	filter: invert(1);
}
/* custom scrollbar */
* {
  scrollbar-color: var(--second-color) transparent;
  scrollbar-width: thin;
}
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: transparent; 
}
/* Handle */
::-webkit-scrollbar-thumb {
  background: var(--second-color); 
  border-radius: 5px;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555555; 
}

/* ==================
		MENU
	=================== */
/*styling open close button*/
.button {
	position: fixed;
	right: 50px;
	top: 50px;
	z-index: 9999;

	a {
		text-decoration:none;
		display: block;
	}
}

	@media screen and (max-width: 768px){
		.button {
			right: 25px;
			top: 25px;
		}
	}

.menu-open{
	span{
		display: block;
		width: 50px;
	  height: 5px;
	  background-color: var(--second-color);
	  margin: 10px 0;
	  transition: 0.4s;
	  border-radius: 3px;
	}
	&:hover span{
		background-color: var(--main-color);	
	}
}

.menu-close {
	border-radius: 30px;
	padding: 0px 0px;

	span{
		display: block;
		width: 50px;
	  height: 5px;
	  background-color: var(--second-color);
	  margin: 6px 0;
	  transition: 0.4s;
	  border-radius: 3px;

	  &:first-child{
			transform: translate(0, 11px) rotate(-45deg);
		}
		&:nth-child(2){
			opacity: 0;
		}
		&:last-child{
			transform: translate(0, -11px) rotate(45deg);
		}
	}

	&:hover span{
		background-color: var(--main-color); 
	}
}

.overlay {
	display: none;
	position: fixed;
	inset: 0;
	overflow: auto;
	z-index: 99;
}
.wrap{
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 100vh;
	padding: 50px;
	background: color-mix(in srgb, #000 90%, transparent);

	@media screen and (max-width: 768px){
		padding: 25px;
	}

	div{
		width: 100%;

		@media screen and (max-width: 768px){
			width: 100%;
		}
	}
}
ul.main-nav{
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;

	 li{
		position: relative;
		text-align: center;
		overflow: hidden;

		a{
			font-size: 7vw;
			text-decoration: none;
			text-transform: uppercase;
			color: #fff;
			display: block;

			@media screen and (max-width: 768px){
				font-size: 2.9rem;
			}

			&:hover{
				color: var(--second-color);
				transform: scale(1.1);
			}
		}
	}
}