body {
  background: #1e1e1e;
  font-family: "Lato", Helvetica Neue, Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 300;
  margin: 0;
  color: #f2f2f2;
}
a {
	text-decoration: none;
}

h1 {
	font-family: "Lato", sans-serif;
	font-weight: 300;
	font-style: normal;
	font-size: 1.2rem;
	line-height: 2rem;
	margin-top: 3rem;
}
h1,  h2 {
	font-size: 2rem;
	line-height: 3rem;
	letter-spacing: -0.05rem;
	margin: 3rem 0 3rem 0;
	text-transform: uppercase;
	font-weight: 300;
}
h1 b, h2 b {
	font-weight: 600;
}
h2 {
	font-size: 1.4rem;
	line-height: 3rem;
	letter-spacing: 0;
	margin-top: 0;
}
p {
    font-family: Lato, sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 1.2rem;
    line-height: 2rem;
    margin: 2rem 0;
}


/******** GENERAL STYLING *******/
.filter-invert {
    filter: invert(100%) !important;
}


/******* NAVBAR *******/
.navbar.main-nav {
	position: fixed;
    top: 0;
    left: 0;
    right: 0;
    min-height: 60px;
    z-index: 1200;
	transition: all 400ms ease-in-out;
  	transition-behavior: allow-discrete;
}
.navbar.main-nav .container {
	position: relative;
}
/*
.playing-audio.play .navbar.main-nav {
	opacity: 0;
	display: none;
}
*/
.logo {
	color: white;
	perspective: 1000px;
	position: absolute;
}
.logo h1 {
	margin: 0;
    font-size: 1.4rem;
    font-weight: 300;
    right: 31%;
    position: absolute;
    bottom: -4px;
	display: block;
	white-space: nowrap;
  	transform-style: preserve-3d;
}
.logo img {
	max-width: 70%;
	margin: 10px 0;
	height: auto;
	transition: all 400ms ease-in-out;
	margin-top: 40px;
}
.scrolled .navbar.main-nav, .menu-open .navbar.main-nav {
	background-color: rgba(30,30,30,0.85);
	backdrop-filter: blur(10px); /* Apply blur to the area behind this element */
  	-webkit-backdrop-filter: blur(10px); /* For WebKit browsers */
  	box-shadow: -1px 6px 10px 0px rgba(0,0,0,0.44);
	-webkit-box-shadow: -1px 6px 10px 0px rgba(0,0,0,0.44);
	-moz-box-shadow: -1px 6px 10px 0px rgba(0,0,0,0.44);
}
.scrolled .navbar .logo span, .menu-open .navbar .logo span {
	opacity: 0;
}
.scrolled .navbar .logo img, .menu-open .navbar .logo img {
	min-height: none;
	max-width: none;
	height: 40px;
	margin-top: 10px;
}

.navbar ul {
    text-align: center;
    margin: 0;
    padding: 0;
	/* transition: all 400ms ease-in-out; */
	transition: none;
}
.navbar.main-nav ul {
	display: none;
}
.menu-open .navbar.main-nav ul {
	display: block;
	margin-left: calc(var(--bs-gutter-x) * -.5);
	margin-right: calc(var(--bs-gutter-x) * -.5);
    margin-bottom: 2%;
    padding-top: 60px;
    list-style-type: none;
}
.menu-open .navbar.main-nav ul a {
	border-bottom: 1px solid rgba(255,255,255,0.1);
}
.menu-open .navbar.main-nav ul li:last-child a {
	border-bottom: none;	
}
.menu-open .navbar.main-nav ul a:hover {
	background-color: rgba(0, 0, 0, 0.5);
}
.navbar li {
	display: inline-block;
	padding: 0 10px;
	line-height: 60px;
}
.navbar.main-nav li {
	display: block;
	padding: 0 2%;
}
.navbar li a {
	display: block;
	text-align: right;
	padding-right: 20px;
	color: white;
	font-weight: 400;
	opacity: 0.6;
	transition: all 200ms ease-in-out;
	text-shadow: 0px 1px 1px rgba(0,0,0,0.4);
}
.navbar li a:hover, .navbar li a.active {
	opacity: 1;
}
.scrolled .navbar.main-nav ul {
	line-height: 60px;
}
#menu-toggle-btn {
	position: absolute;
	right: 10px;
    display: block;
    width: 50px;
    height: 50px;
    top: 5px;
}
#menu-toggle-btn span {
    position: absolute;
    display: block;
    top: 50%;
    left: 50%;
    height: 2px;
    width: 24px;
    background-color: transparent;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease-in-out;
}
#menu-toggle-btn span::before, #menu-toggle-btn span::after {
    position: absolute;
    display: block;
    content: '';
    height: 2px;
    width: 24px;
    background-color: #FFF;
    transition: all 0.3s ease-in-out;
}
#menu-toggle-btn span::before {
    top: -4px;
}
#menu-toggle-btn span::after {
    top: auto;
    bottom: -4px;
}
body.menu-open #menu-toggle-btn span {
    width: 20px;
    background-color: transparent;
}
body.menu-open #menu-toggle-btn span::before {
    top: 0;
    width: 20px;
    transform: rotate(45deg);
}
body.menu-open #menu-toggle-btn span::after {
    bottom: 0;
    width: 20px;
    transform: rotate(-45deg);
}


/********* ABOUT **********/
#hero {
	padding-top: 190px;
}


/******** CONTAINER ********/
.container-block {
  max-width: 1663px;
  margin: 0 auto;
}


/******* PORTFOLIO GRID ********/
#portfolio h1, #hero h1 {
}
#portfolio.grid .container-fluid {
	margin-top: 10px;
}
.portfolio-item.hidden {
	display: none;
}
* {
	box-sizing: border-box;
}
.project-wrapper {
	display: block;
	position: relative;
	height: 300px;
	border-radius: 5px;
	overflow: hidden;
	color: white;
	transition: all 400ms ease;
	margin-bottom: 20px;
}
.project-wrapper.hidden {
	display: none;
}
.project-wrapper video {
	min-height: 300px;
	object-fit: cover;
}
.project-wrapper img.portfolio-poster {
	position: absolute;
	top: 0; bottom: 0;
	left: 0; right: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	transition: all 200ms ease;
}
.project-wrapper.video-playing img.portfolio-poster {
	opacity: 0;
}
.project-wrapper .show-header {
	padding-bottom: 20px;
}
.network-logo {
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: 0.8;
}
a.project-wrapper.tuned-down {
	filter: saturate(10%);
	opacity: 0.5;
}
a.project-wrapper:hover, a.project-wrapper.active {
	transform: scale(1.05);
	z-index: 1000;
}
.project-wrapper.loading-video:after {
	content: "";
	width: 40px;
	height: 40px;
	animation: spin 1s linear infinite; /* Apply the animation */
	border-radius: 50%;
	border: 4px solid white;
	border-top-color: transparent;
	position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -20px;
    margin-top: -20px;
}
.project-wrapper video {
	max-width: 100%;
}

/******* TEXT ********/
.text-container {
	padding-left: 10%;
	padding-right: 10%;
	max-width: 1344px;
}
.text-body p, .text-body h1, .text-body h2 {
	padding: 0 20px;
}
.text-body a:not(.btn) {
	color: #f48038;
	transition: color 200ms ease;
}
.text-body a:hover {
	color: #f1ba97;
}
.text-body blockquote {
	position: relative;
    margin-right: 0;
    margin-bottom: 0;
}
.text-body blockquote p {
	font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6rem;
    padding-left: 0;
}
.text-body blockquote:before {
	content: "“";
	font-size: 6rem;
    vertical-align: bottom;
    margin-left: -2rem;
    line-height: 1rem;
    display: block;
    position: absolute;
}
.text-body img {
	max-width: 100%;
	filter: grayscale(100);
	opacity: 20%;
	transition: all 400ms ease;
}
#contact .text-body img {
	opacity: 1;
}
.scrolled .text-body img {
	filter: grayscale(0);
	opacity: 100%;
}



/********** SECTIONS ********/
#contact {
	margin-bottom: 6rem;
}


/******** LOGOS MARQUEE *******/
.marquee-container {
	overflow: hidden;
      /* Add any desired width or height for the marquee container */
    box-sizing: border-box;
}
.marquee-container .marquee-content {
	white-space: nowrap;
	min-width: 100%; /* Ensures content spans container initially */
}
@keyframes scroll-left {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}
.marquee-content ul {
	display: inline-block;
	padding: 0;
	animation: scroll-left 20s linear infinite; /* Defines the animation */
}
.marquee-content ul:after {
	overflow: hidden;
	clear: both;
}
.marquee-container li {
	display: inline-block;
	list-style-type: none;
}
.marquee-container li img,  .scrolled .text-body .marquee-container img {
	max-width: 120px;
    max-height: 60px;
    vertical-align: middle;
	opacity: 60%;
	padding: 0 20px;
	filter: brightness(0) invert(1);
}



/******** FOOTER *******/
footer {
	text-align: center;
	line-height: 4rem;
	margin-top: 8rem;
}
footer p {
	font-size: 1rem;
}
footer a {
	color: white;
}
footer img, footer svg {
    vertical-align: middle;
}
footer .container {
	max-width: 500px;
    border-top: 1px solid #2f2f2f;
    padding-left: 0;
    padding-right: 0;
}



/*********** SWIPER **********/
.swiper-pagination-bullet {
	background-color: #848380;
	opacity: .75;
	transition: all 200ms ease;
	border-radius: 5px;
}
.swiper-pagination-bullet:hover {
  background-color: rgba(255, 255, 255, 0.75);
}
.swiper-pagination-bullet-active:hover {
	background-color: #848380;
}
.swiper-pagination-bullet-active {
	background-color: #848380;
    position: relative;
    width: 30px;
}
.swiper-pagination-bullet-active span {
	display: block;
    height: 100%;
    min-width: 8px;
    background-color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 4px;
    box-shadow: 0px 0px 6px 2px rgba(0,0,0,0.4);
	-webkit-box-shadow: 0px 0px 6px 2px rgba(0,0,0,0.4);
	-moz-box-shadow: 0px 0px 6px 2px rgba(0,0,0,0.4);
	transition: all 200ms ease;
}
.swiper-pagination-bullet-active span.loading {
	background-color: #1b69d0;
    box-shadow: none;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
}
.swiper-pagination-bullet-active.loading {
	width: 12px;
	height: 12px;
	background-color: rgba(0,0,0,0);
	border: 3px solid rgba(255, 255, 255, 0.75);
	border-top-color: rgba(0,0,0,0);
	animation: spin 1s linear infinite; /* Apply the animation */
	border-radius: 50%;
	bottom: -2px;
}
.swiper-pagination-bullet-active.loading span {
	opacity: 0;
	transform: scale(0);
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}




/********* SLIDES ********/
.swiper-slide video, .swiper-slide img.poster {
	width: 100%;
	height: auto;
	min-height: 400px;
	object-fit: cover;
}
.swiper-slide img.poster {
	display: block;
	position: absolute;
	top: 0; left: 0;
	transition: opacity 500ms ease-in-out;
	opacity: 1;
}
.play .swiper-slide-active img.poster {
	opacity: 0;
}
.swiper-slide.lazy-loaded video {
	display: block;
}
.landscape .swiper-slide video, .landscape .swiper-slide img.poster {
	min-height: auto;
	max-height: 100vh;
}
.play.playing-audio .swiper-slide video {
	object-fit: contain;
}


/** NEXT PROJECT SLIDE **/
.next-project-slide .container {
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    width: auto;
    max-width: 736px;
    transform: translateY(-50%);
}
.next-project-slide h2 {
	margin-bottom: 1rem;
}

/** BUTTONS **/
.swiper-button-next, .swiper-button-prev {
	color: rgba(255, 255, 255, 0.25);
	height: 100%;
    top: 0;
    width: 12%;
    transition: all 200ms ease;
    z-index: 11;
}
.playing-audio.play .swiper-button-next, .playing-audio.play .swiper-button-prev {
	opacity: 0;
}
.swiper-button-next:hover, .swiper-button-prev:hover {
	color: rgba(255, 255, 255, 0.75);
}
.swiper-button-next {
	right: 0;
}
.swiper-button-prev {
	left: 0;
}



/** CONTROL BUTTONS **/
.control-buttons {
	position: absolute;
	bottom: 0;
	right: 0;
	z-index: 11;
}
.control-buttons.top {
	bottom: auto; right: auto;
	left: 0;
	top: 0;
	display: none;
}
.play.playing-audio .control-buttons.top {
	display: block;
}
.control-buttons a, footer a {
	color: white;
	opacity: 0.7;
	transition: opacity 200ms ease;
}
.control-buttons a {
	padding: 4px 10px;
    display: block;
}
.control-buttons a:hover, footer a:hover {
	opacity: 1;
}
#mute {
	display: none;
}


/** BIG PAUSE BUTTON **/
.big-pause-button {
	position: absolute;
	top: 0; bottom: 0;
	left: 0; right: 0;
	z-index: 10;
	opacity: 0;
}
.big-pause-button.active {
	opacity: 0.8;
}
.big-pause-button.active:hover {
	opacity: 0.9;
}
@keyframes flash {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(2);
  }
}
.big-pause-button.animate {
	opacity: 0;
	animation-name: flash;
	animation-duration: 400ms;
	animation-timing-function: ease-out;
}

.big-pause-button.play::before { /* Adjust as needed */
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 15px 0 15px 25px; /* Creates right-pointing triangle */
  border-color: transparent transparent transparent #fff; /* White triangle */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 4px;
}
.big-pause-button.pause::before,
.big-pause-button.pause::after { /* Adjust as needed */
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 25px;
  background-color: #fff; /* White bars */
  transform: translate(-50%, -50%);
  border-radius: 2px;
}

.big-pause-button.pause::before { /* Position first bar */
  margin-left: -8px;
}

.big-pause-button.pause::after { /* Position second bar */
  margin-left: 8px;
}
/*.big-pause-button { /* Adjust as needed 
  width: 50px;
  height: 50px;
  background-color: #333;
  border-radius: 50%; /* Creates a circle 
  position: relative;
  overflow: hidden; /* Ensures symbols are within the rounded shape 
}



/********* SHOW HEADERS ***********/
.show-header {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 9;
	pointer-events: none;
	background: #0F0F0F;
	background: linear-gradient(0deg,rgba(15, 15, 15, 1) 0%, rgba(15, 15, 15, 0) 100%);
	padding: 0 10%;
	padding-bottom: 40px;
	transition: all 0.25s;
  	transition-behavior: allow-discrete;
  	display: block;
  	opacity: 1;
  	text-align: center;
}
.playing-audio.play .swiper .show-header, .show-header.hiding {
	opacity: 0;
	display: none;
}
.show-header-container {
	max-width: 400px;
	display: none;
}
.show-header-container.visible {
	display: block;
}
.show-header h1 {
	font-family: Futura, Open Sans, Helvetica, sans-serif;
	font-size: 2.25rem;
	margin-bottom: 0;
}
.show-header h1 img {
	max-width: 60%;
	max-height: 110px;
	width: auto;
	height: auto;
	opacity: 0;
	height: 0;
	position: absolute;
}
.show-header h1 img.loaded {
	opacity: 1;
	height: auto;
	position: static;
}
.show-header h1 img.loaded + span {
	display: none;
}
.show-header h1 img.short {
	max-width: 50%;
}
.show-header h1 img.long {
	max-width: 100%;
}
.show-header p {
	color: #e1e1e1;
}

.show-header h2 {
	font-family: Futura, Open Sans, Helvetica, sans-serif;
	font-size: 1rem;
	line-height: 1.5rem;
	font-weight: 500;
	margin-top: 0.1rem;
	margin-bottom: 0.1rem;
}
.show-header h3 {
	font-family: Open Sans, Helvetica, sans-serif;
	font-size: 1rem;
	font-weight: 300;
	margin-bottom: 0;
	margin-top: 0;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.64);
}
.show-header p {
	margin-bottom: 0;
	margin-top: 20px;
}
.pill {
	font-size: 0.7rem;
	color: black;
	font-weight: 500;
	background-color: #cfcfcf;
	padding: 2px 8px;
	border-radius: 8px;
}
.btn {
	display: inline-block;
    border: solid 1px white;
    border-radius: 2em;
    padding: .8rem 1.4rem;
    font-size: 1rem;
    letter-spacing: 0;
    color: white;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    pointer-events: auto;
    margin-bottom: 10px;
}
#contact .btn {	
    height: 60px;
    vertical-align: middle;
}
.btn:hover {
    background-color: white !important;
    color: black !important;
}
.btn svg {
	vertical-align: text-bottom;
	transition: filter .15s ease-in-out;
}
.btn:hover svg {
	filter: invert(100%);
}
.show-header .btn {
	padding: .4rem 1.4rem;
    font-size: .9rem;
    background: rgba(15, 15, 15, 0.2);
}

.project-page-header {
	padding-top: 200px;
}
.project-page-header p {
	font-size: 1rem;
	line-height: 1.5;
}
.project-page-header .show-header {
	position: static;
	background: none;
	text-align: left;
}
.project-page-header h1 {
	margin-top: 0;
}
.project-page-header h1 img {
	max-width: 260px;
}
.project-page-header p.sinopsis {
	font-size: .9rem;
}
/******** VIDEO **********/

/*
.swiper-slide .video-container {
	min-height: 600px;
	position: relative;

  transform: translatez(0);
}

.swiper-slide .video-wrapper {
	position: absolute;
}
.swiper-slide video {
	width: 100%;
	height: auto;
	min-height: 600px;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
	overflow: hidden;

  transform: translatez(0);
  position: absolute;
}


/*
.swiper-slide .video-container {
  
  position: absolute;
  margin: auto;
  width: 100%;
  height: 100%;
  
  background: red;
  
  overflow: hidden;
  clip-path: 0 0;
  transform: translatez(0);

  min-height: 600px;
}

.swiper-slide video {
  transform: translatez(0);
  position: absolute;
  top: -100%;
  bottom: -100%;
  left: -100%;
  right: -100%;    

  margin: auto;

  min-width: 100%;
  min-height: 100%;
}
*/


/*
.swiper-slide .video-container {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
}
.swiper-slide video {
	top: 0; bottom: 0;
	left: 0; right: 0;
	min-height: 600px;
}
*/


@media (min-width: 520px) { /* MEDIUM */
	.show-header {
		text-align: left;
	}

	.logo img {
		max-width: 80%;
	}
	.logo h1 {
		font-size: 2rem;
	    right: auto;
	    left: 30%;
	    bottom: -26px;
	}

	#hero, .project-page-header {
		padding-top: 240px;
	}

}
@media (min-width: 992px) { /* LARGE */
	body {
		font-size: 14px;
	}
	#hero, .project-page-header {
		padding-top: 260px;
	}
	#menu-toggle-btn {
		display: none;
	}
	.navbar.main-nav ul {
		display: block;
	    padding-left: 20px;
	    text-align: right;
	}
	.navbar.main-nav li {
		display: inline-block;
		padding: 0 20px;
	}
	.swiper-button-next, .swiper-button-prev {
		width: 6%;
	}

	.text-body h1, .text-body h2 {
		font-size: 3rem;
		line-height: 4rem;
	}
	.text-body h2 {
		font-size: 2rem;
	}
	.text-body blockquote {
	    font-size: 1.4rem;
	    line-height: 1.8rem;
    	margin-right: 40px;
	}
	.scrolled .navbar .logo img {
		height: 40px;
		margin: 10px 0;
	}
	.navbar li {
		display: inline-block;
		padding: 0 10px;
	}

	.logo img {
		max-width: 90%;
	}
	.logo h1 {
		font-size: 2.8rem;
	    left: 45%;
	}
}

@media (min-width: 1400px) { /* Extra extra large */
	#hero-banner {
		border-radius: 10px;
		overflow: hidden;
	}
}


@media (max-height: 600px) {
	.navbar ul {
		line-height: 60px;
	}
}