* {
  margin: 0;
  padding: 0;
}
@font-face {
  font-family: 'HaasR';
  src: url('/portfolio/fonts/NeueHaasGrotDispRound-55Roman-Web.woff2') format('woff2'), url('/portfolio/fonts/NeueHaasGrotDispRound-55Roman-Web.woff') format('woff');
  font-style: normal;
  font-stretch: normal;
  font-display: swap
}
@font-face {
  font-family: 'HaasT';
  src: url('/portfolio/fonts/NeueHaasGrotDispRound-35Thin-Web.woff2') format('woff2'), url('/portfolio/fonts/NeueHaasGrotDispRound-35Thin-Web.woff') format('woff');
  font-style: normal;
  font-stretch: normal;
  font-display: swap
}
@font-face {
  font-family: 'PT Mono';
  src: url('/portfolio/fonts/PTMono-Regular.ttf') format('truetype');
  font-display: swap
}
::-webkit-scrollbar {
  width: 0px;
}
:root {
  --p1: .84vw;
  --negro: #000;
}
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: black;
  z-index: 999;
  transition: opacity 1s ease;
}
#preloader.off {
  opacity: 0;
  pointer-events: none;
}
body {
  font-family: HaasR;
  font-size: var(--p1);
  color: var(--negro);
  user-select: none;
}
body.loading {
  cursor: wait !important;
}
body.loading #wrapper {
  pointer-events: none;
}
#bg {
  position: fixed;
  height: 100vh;
  width: 100vw;
  background: #000;
}
#choose {
  font-size: .84vw;
  font-family: 'HaasR';
  width: 9vw;
  position: absolute;
  height: auto;
  right: 0;
  top: 4vw;
  animation: anim 9s infinite ease;
  line-height: 1;
}
@keyframes anim {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(calc(100vh - 8vw));
  }
  100% {
    transform: translateY(0);
  }
}
#choose span {
  width: 0.6vw;
  height: 0.6vw;
  position: absolute;
  border-top: 1px solid;
  border-right: 1px solid;
  transform: rotate(45deg);
  right: 0.5vw;
  top: 0.85vw;
}
li {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  width: 100%;
  height: auto;
}
iframe {
  border: none;
  width: 100%;
  height: 100%;
}
#container {
  width: 83.5vw;
  height: calc(100vh - 5.5vw);
  margin: .5vw;
  border-radius: .5vw;
  overflow: hidden;
  position: fixed;
  background: #000;
}
#loader {
  width: 100%;
  height: 100%;
  opacity: 0;
  transform-origin: left;
  position: absolute;
  z-index: 99;
  background: #000;
  transition: 500ms ease;
  pointer-events: none;
  color: #dbdad9;
  font-family: 'HaasR';
  font-size: 2.7vw;
  text-transform: uppercase;
}
#loader.on {
  opacity: 1;
}
#selected {
  position: fixed;
  z-index: 9;
  height: calc(100vh - 1vw);
  width: 83vw;
  opacity: 1;
  padding: 0.5vw;
  font-size: 9.8vw;
  font-family: 'HAAST';
  text-transform: uppercase;
  line-height: .9;
  transition: 500ms ease;
  background: #000;
  color: #dbdad9;
}
#selected.off {
  opacity: 0;
  pointer-events: none;
}
#selectedtext {
  font-size: .84vw;
  font-family: 'HaasR';
  width: 30vw;
  bottom: 0.5vw;
  position: absolute;
  height: auto;
}
#selectedtext2 {
  font-size: .84vw;
  font-family: 'HaasR';
  width: 19vw;
  bottom: 0.5vw;
  position: absolute;
  height: auto;
  left: 35vw;
}
#selectedtext3 {
  font-size: .84vw;
  font-family: 'HaasR';
  width: 31vw;
  bottom: 22vw;
  left: 65vw;
  position: absolute;
  height: auto;
}
#works {
  margin-top: .5vw;
}
#wrapper {
  height: 100vh !important;
  position: fixed;
  width: 15vw !important;
  right: 0 !important;
  left: auto !important;
  margin: 0 0.5vw;
}
#wrapper li {
  cursor: pointer;
  height: 9.4vw;
  margin-bottom: 0.5vw;
  border-radius: 0.5vw;
  overflow: hidden;
  position: relative;
  filter: brightness(0.6);
  transition: 400ms ease;
}
#wrapper li:hover {
  filter: brightness(1.1);
}
#titlebar {
  width: 83.5vw;
  height: 4vw;
  margin: 0.5vw;
  border-radius: .5vw;
  position: fixed;
  bottom: 0;
  text-transform: uppercase;
  color: #dbdad9;
}
.title {
  position: absolute;
  width: 10vw;
  padding: 0.5vw;
}
.visit {
  position: absolute;
  width: 1.8vw;
  height: 1.8vw;
  border: 1px solid;
  border-radius: 100%;
  left: auto;
  top: 0.5vw;
  right: 0.5vw;
  transition: 500ms ease;
}
.visit img {
  transition: 500ms ease;
}
.visit:hover {
  background: #dbdad9;
}
.visit:hover img {
  filter: invert(1);
}
.year {
  padding: 0.5vw;
  position: absolute;
  left: 17vw;
}
.tags {
  position: absolute;
  left: 58vw;
  padding: .5vw;
  width: 21vw;
}
.tags div {
  font-size: 0.6vw;
  display: inline-block;
  border: 1px solid;
  padding: 0.1vw 0.3vw;
  border-radius: 3vw;
  margin-bottom: 0.2vw;
  margin-right: 0.2vw;
}
.descripcion {
  position: absolute;
  padding: 0.5vw;
  width: 30vw;
  left: 26vw;
}
#content {
  display: grid;
}
#final {
  height: calc(4vw - 2px);
  border-radius: 0.5vw;
  border: 1px solid;
  color: #dbdad9;
  ;
  justify-content: center;
  align-items: center;
  display: flex;
  transition: 400ms ease;
  cursor: pointer;
}
#final:hover {
  border: 1px solid #dbdad9;
  background: #dbdad9;
  color: #000;
}
#cierre {
  height: .5vw;
}
.fondo {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 9.4vw;
  background-size: cover;
  background-position: center;
}
.trabajo {
  opacity: 0;
  z-index: 0;
  position: relative;
  transition: 400ms ease;
}
.trabajo.on {
  opacity: 1;
  z-index: 99
}
#lama .fondo {
  background: url(/portfolio/img/lama.jpg) center center / cover;
}
#lamudita .fondo {
  background: url(/portfolio/img/lamudita.jpg) center center / cover;
}
#living .fondo {
  background: url(/portfolio/img/livingkultur.jpg) center center / cover;
}
#garciasalmeron .fondo {
  background: url(/portfolio/img/garciasalmeron.jpg) center center / cover;
}
#margarita .fondo {
  background: url(/portfolio/img/margarita.jpg) center center / cover;
}
#serifalaris .fondo {
  background: url(/portfolio/img/serifalaris.jpg) center center / cover;
}
#jaime .fondo {
  background: url(/portfolio/img/jaime.jpg) center center / cover;
}
#alas .fondo {
  background: url(/portfolio/img/alas.jpg) center center / cover;
}
#lodisna .fondo {
  background: url(/portfolio/img/lodisna.jpg) center center / cover;
}
#cntmns2022 .fondo {
  background: url(/portfolio/img/cntmnsazul.jpg) center center / cover;
}
#sintitulo .fondo {
  background: url(/portfolio/img/sintitulo1.jpg) center center / cover;
}
#greenbargosa .fondo {
  background: url(/portfolio/img/greenbargosa.jpg) center center / cover;
}
#nere .fondo {
  background: url(/portfolio/img/nere.jpg) center center / cover;
}
#miguel .fondo {
  background: url(/portfolio/img/miguel.jpg) center center / cover;
}
#morala .fondo {
  background: url(/portfolio/img/morala.jpg) center center / cover;
}
#jornadas .fondo{
	background: url(/portfolio/img/jornadas2.jpg) center center / cover;
}
#budget-mentor .fondo{
	background: url("/portfolio/img/budget.jpg") center center / cover;
}
#paradiso .fondo{
	background: url("/portfolio/img/paradiso.jpg") center center / cover;
}
#houselab .fondo{
	background: url("/portfolio/img/houselab.jpg") center center / cover;
}
#ppam .fondo{
	background: url("/portfolio/img/ppam.jpg") center center / cover;
}
#zaik .fondo{
	background: url("/portfolio/img/zaik.jpg") center center / cover;
}
#smarthen .fondo{
	background: url("/portfolio/img/smarthen2.jpg") center center / cover;
}
#artpill .fondo{
	background: url("/portfolio/img/artpill.jpg") center center / cover;
}
#azero .fondo{
	background: url("/portfolio/img/azero.jpg") center center / cover;
}
#filo .fondo{
	background: url("/portfolio/img/filo.jpg") center center / cover;
}
#wrapper li a {
  pointer-events: none;
}
/***************MOVIL VERTICAL***************/
@media screen and (max-width:1024px) and (orientation:portrait) {
  #wrapper li a {
    pointer-events: initial;
  }
  #selected {
    position: absolute;
    width: 96vw; /* + 2 × 2vw padding = the screen's width (100vw overflowed sideways by 4vw) */
    margin: 0;
    padding: 2vw;
    height: 100vw;
    font-size: 18vw;
    opacity: 1 !important;
  }
  #choose, #container, #bg, #titlebar {
    display: none;
  }
  #selectedtext {
    font-size: 3vw;
    width: 60vw;
    bottom: 42vw;
  }
  #selectedtext2 {
    font-size: 3vw;
    width: 31vw;
    bottom: 22vw;
    left: 2vw;
  }
  body {
    background: #000;
  }
  #wrapper {
    margin: 0;
    padding: 0;
    left: 2vw !important;
    width: 96vw !important;
    right: auto !important;
    position: absolute;
    top: 104vw;
  }
  #wrapper li, .fondo {
    height: 65.5vw;
    border-radius: 2vw;
    margin-bottom: 2vw;
    filter: brightness(1);
  }
  #works {
    margin-top: 0.5vw;
  }
  #final {
    display: none;
  }
}
/***IPAD VERTICAL***/
@media only screen and (min-width: 481px) and (max-width: 1024px) and (orientation:portrait) {}
/***IPAD HORIZONTAL***/
@media only screen and (max-width: 1400px) and (orientation:landscape) {}
/***MOVIL HORIZONTAL***/
@media screen and (max-device-width:440px) and (orientation: landscape) {}
/* Projects' names as headings (SEO) without changing how they look; the page's h1 for readers and crawlers only. */
h2.title{margin:0;font:inherit;letter-spacing:inherit}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
