@charset utf-8;
/*
Theme Name: Pau Pía
Author: Code by Ricardo Juárez	
Author URI: http://rjvv.com/
Version: 1.0
License: GNU/GPL Version 2 or later. http://www.gnu.org/licenses/gpl.html
Copyright: (c) 2024 Ricardo Juárez
*/

:root {
    --body: 15px;
    --linebody: 24px;
    --sans: 'System85MonoPro', sans-serif;
	--primary: white;
	--contrast: #000;
	--accent: #FFCC00;
	--pad:30px;
}


*{
	overscroll-behavior: none;

	-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
            -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;

}
html, body
{
overflow-x: hidden;
margin:0;
font-size:100%;
width:100%;
background-color: var(--contrast);
     }
     
     	html { margin-top: 0px !important;}
	* html body { margin-top: 0px !important; }
	@media screen and ( max-width: 782px ) {
		html { margin-top: 0px !important; }
		* html body { margin-top: 0px !important; }
	}
/*
body.maskin{
	opacity: 0;
}
*/
header{
	pointer-events: none;
	position: fixed;
	width: 100vw;
	top: 0px;
	left: 0;
	text-align: center;
	z-index: 99999;
	color: var(--primary);	
}
header a{
	pointer-events: all;
	display: inline-block;
}
header img{
	max-width: 400px;
	margin: 0px auto;
	height: auto;
}
.tags{
	position: fixed;
	width: 100vw;
	bottom: 20px;
	left: 0;
	display: flex;
	justify-content: space-between;
	z-index: 9;
	color: var(--primary);
}
.tags div{
	flex: 1;
	text-align: center;
}
h1, h2{
	margin: 0;
	font-size: var(--body);
	line-height:var(--body); 
}

body.maskout{
	opacity: 1;
}
.text, .text-box{
	  line-height: 1.4;
}
body {
	letter-spacing: -0.03em;
/* 	opacity: 0; */
	transition: all 0.2s ease;
display: flex;
min-height: var(--app-height);
flex-direction: column;     
margin:0;
-moz-osx-font-smoothing: grayscale; 
text-rendering:geometricprecision;
-webkit-font-smoothing: subpixel-antialiased;
font-size: var(--body);
line-height: var(--linebody);
font-family: var(--sans);
color: var(--primary);
}

.sticker{
position: fixed;
  max-width: 120px;
  max-height: 120px;
  top: 12px;
  z-index: 999;
  right: 12px;
}

h1, h2, h3{
	margin-bottom: 0;
}
.flex{
	display: flex;
	flex-direction: row !important;
	justify-content: space-between;
}

.sub-menu{
	padding-left: 20px;
}

.swiper-button-next::after{
	  font-family: 'socialicons' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-size: 30px !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  content: "\e90a" !important;

	}
	.swiper-button-prev::after {
		  font-family: 'socialicons' !important;
  font-size: 30px !important;  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  content: "\e90b" !important;

	}
.cat{
	margin-top: 20px;
}
.project-title{
	padding: var(--pad);
	text-align: center;
}
.col{
	flex-basis: 50%;
}

.cover-image{
	height: calc(100vh - 120px);
}
.cover-image img, .cover-image video{
	object-fit:cover;
	height: 100%;
}
.columned{
	max-width: 60vw;
	margin: 0px auto;
	height: auto;
}

.work-grid{
	padding: 20px;
  gap: 20px;
	display: grid;
	grid-template-columns: repeat(2,1fr);
}
.featured-image{
	border-radius: 12px;
	overflow: hidden;
}

.switch .small-gal{
		transform: translateX(25vw);
}
.portrait{
	padding: 10%;
}
.work-grid{
	margin-bottom: 220px;
}

.work{
	padding: 220px 0 0;
}
.swiper-button-prev.swiper-button-disabled, .swiper-button-next.swiper-button-disabled{
	opacity: 0 !important;
}
.display{
	font-size: 30px;
	font-family: 'Pilat Extended', sans-serif;
}

.project-title{
	margin-bottom: 30px;
	font-size: 24px;
	font-family: 'Pilat Extended', sans-serif;
	text-transform: uppercase;
	text-align: center;	
}

.block-text h2,  .work h2{
	margin-bottom: 30px;
	font-size: 30px;
	font-family: 'Pilat Extended', sans-serif;
	text-transform: uppercase;
	text-align: center;	
}
.block-text h3{
	line-height: 35px;
	margin-bottom: 30px;
	font-size: 30px;
	font-family: 'Pilat Extended', sans-serif;
	text-align: center;	
}
.block-text{
	padding: 0 20px;
	margin: 90px 0;
}
.block-text p, .block-text h3{
	max-width: 660px;
	margin: 0px auto 20px;
}

.block-text a{
	text-decoration: underline;
}

.block-text h4{
margin-top: var(--pad);
}

.block-text h2{
	max-width: 925px;
	margin: 0px auto 20px;
	
}
.block *:last-child, .extra-info *:last-child{
	margin-bottom: 0;
}
.block-text ul, .block-text ol{
	padding-left: 18px;
}
.block-text ul li{
	list-style: disc;
}

video{
	width: 100%;
	height: auto;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
}

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

.portrait img{
	object-fit:contain;
	height: 100%;
	max-height: 90vh;
}
.content.about{
height: 100vh;
padding: 0;
overflow: hidden;
}

.post-content{
	padding: 40px;
	max-width: 800px;
}
.post-content p{
	margin-bottom: 20px;
}
.post-content *:last-child{
	margin-bottom: 0px;
}
.big-gal{
	width:100vw;
	transition: all 0.1s ease;
    	top: 0;
    	left: 0;
}

.skills{
	flex-wrap: wrap;
	display: flex;
	margin: 50px 20px 150px;
	justify-content: center;
	text-align: center;
}
.skill{
	text-transform: uppercase;
	margin: 20px 40px;
}

.bg img{
	object-fit:cover;
	height: 100%;
}

.bg{
	position: fixed;
	height: 100vh;
	width: 100vw;
	top: 0;
	left: 0;
	z-index: 0;
}

.content{
	padding: 150px 100px 100px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	position: relative;
	z-index: 1;
}

.logos{
	margin-top: 40px;
	margin-bottom: 100px;
	display: flex;	
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}
.logo{
	display: inline-block;
	margin: 0 20px;
max-width: 	200px;
}

.social{
	margin-top: 40px;
	display: flex;
}
.social a{
	display: inline-block;
	margin: 0 20px;
}
.social span, .contact-item{
	text-transform: uppercase;
}
 .contact-item span{
	 display: inline-block;
	 margin-right: 10px;
 }

 .contact-item{
	 margin-bottom: 10px;
	 display: flex;
	 align-items: center;
	 text-align: center;
	 justify-content: center;
	 }
h1, h2{
	text-transform: uppercase;
text-align: center;
font-weight: normal;
}


.small-gal{
	top:0;
	right: 0;
	width: 25vw;
	position: fixed;
	transition: all 0.1s ease;
	transform: translateX(0);
    height: 100vh;
    overflow-y: auto;
    	}

.grid-item { width: 50%; }


 .gallery {
      display: flex;
      height: 100vh;
      width: 100vw;
      position: absolute;
      z-index: 0;
      top: 0;
    }

    .gallery img {
      width: 50%;
      height: 100%;
      object-fit: cover;
    }
  .uppercase{
	text-transform: uppercase;
}

.credits{
	display: flex;
	flex-wrap: wrap;
	padding: var(--pad);
	justify-content: center;
}
.credit{
	padding: var(--pad);	flex-basis: 25%;
}

.clickable{
	pointer-events: all;
}

.centered-slider, .centered-slider .swiper-slide, .centered-slider .swiper-slide img{
	height: 80vh !important;
}
.centered-slider .swiper-slide{
	width: fit-content !important;
}


/* hamburger btn */
.navbar-toggler {
   width: 40px;
   height: 25px;
 position: fixed; /* -=TS*=-  */
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  top: 46px;
  z-index: 99999999;
  left: 40px;
  background: transparent;
  cursor: pointer;
  outline: unset;
  border: unset;
  z-index: 5;
}
/* -= btn lines =- */
.navbar-toggler .line {
  display: block;
  width: 40px;
  height: 1.5px;
  background-color: var(--primary);
  transition: all 0.2s linear;
}
.navbar-toggler.is-active .line:nth-child(2) {
  width: 0 !important;
}
#navbar-toggler3 .line {
  width: 40px;
  height: 1.5px;
}
#navbar-toggler3.is-active .line:nth-child(1) {
  transform: translateY(11px) rotate(31deg);
}
#navbar-toggler3.is-active .line:nth-child(3) {
  transform: translateY(-12px) rotate(-31deg);
}

.swiper-slide{
	width: 100% !important;
	}
	
.slider{
	position: relative;
	overflow: hidden;
}

.legal{
	position: fixed;
	font-size: 10px;
	z-index: 9;
	right: 10px;
	line-height: 12px;
	bottom: 10px;
}

.swiper-pagination-bullets{
width: 100% !important;
display: flex;	
padding: 10px;
bottom: 0px !important;
}
.swiper-pagination-bullet.swiper-pagination-bullet-active{
	opacity: 1 !important;
}

.swiper-pagination-bullet{
	height: 3px !important;
	opacity: 0.4 !important;
	border-radius: 2px !important;
	flex: 1;
}
.grid-item{
		transition: all 0.1s ease;
}
.contact{
	font-size: 20px;
  line-height: 35px;
}
.menu-hover{
	position: fixed;
	height: 100vh;
font-size: 20px;
  line-height: 35px;	background-color: var(--contrast);
	text-transform: uppercase;
	padding: 100px 40px 40px;
	z-index: 999;
	transform: translateX(-25vw);
	transition: all 0.3s ease;
}
.menu-hover.appear{
	transform: translateX(0);
}

@media all and (-ms-high-contrast:none){}