:root {
  --f-size: 14px;
  --ff-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  --ff-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier,
    monospace;
  --ff-system: system-ui, sans-serif;
  --f-size: 14px;
  --f-line-height: 1.6;
  --f-weight: normal;

  --outer-padding: 1rem;
  --color-text: #fff;
  --color-background: #1f1f1f;

  font-family: var(--ff-sans);
  font-size: var(--f-size);
  font-weight: var(--f-weight);
  line-height: var(--f-line-height);

  color: var(--color-text);
  background: var(--color-background);
}

@media (min-width: 900px) {
  :root {
    --outer-padding: 1.7rem;
  }
}

/*--------------------------------------------------*/
/*     GLOBAL STYLES */
/*--------------------------------------------------*/

*,
::after,
::before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  /* font: inherit; */
}

html {
  box-sizing: border-box;
  height: 100%;
}

html:focus-within {
  scroll-behavior: smooth;
}

/*----------------------*/
/*   01 Body            */
/*----------------------*/

body {
  max-width: 100%;
  min-height: 100%;
  margin: 0;

  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

/* ----------------------------------------------- */
/*     Themes      */
/* ----------------------------------------------- */

[theme-light] {
  background-color: #292929;
}

[theme-dark] {
  background-color: #1f1f1f;
}

/* ----------------------------------------------- */
/*     BASE ELEMENTS      */
/* ----------------------------------------------- */

ul {
  padding-left: 0;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

hr {
  background-color: #2d2d2d2e;
  border-top: 1px solid rgba(255, 255, 255, 0.111);
}

/*------------------------------------*\
   # Input resets
\*------------------------------------*/

/* Change Autocomplete styles in Chrome*/
input:-webkit-autofill::first-line,
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  /* font-size: 16px;
  line-height: 1.5; */
  border: none;
  color: #242a33;
  caret-color: #242a33;
  -webkit-text-fill-color: #242a33;
  -webkit-box-shadow: 0 0 0px 1000px #ffffff inset;
  transition: background-color 5000s ease-in-out 0s;
}

.input-reset::-webkit-search-decoration,
.input-reset::-webkit-search-cancel-button,
.input-reset::-webkit-search-results-button,
.input-reset::-webkit-search-results-decoration {
  display: none;
}

.input-reset {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  border-radius: 0;
  background-color: #fff;
}

.input-reset::-webkit-search-cancel-button,
.input-reset::-webkit-search-decoration,
.input-reset::-webkit-search-results-button,
.input-reset::-webkit-search-results-decoration {
  display: none;
}

.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;
}

[hidden] {
  display: none !important;
}

.nobar {
  scrollbar-width: none !important;
}

.nobar::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none;
}

/* ----------------------------------------------- */
/*     Container      */
/* ----------------------------------------------- */

.container {
  width: 100%;
  /* max-width: 700px; */
  padding: 120px 1.5rem;
  margin-inline: auto;
}

/* ----------------------------------------------- */
/*     Main      */
/* ----------------------------------------------- */

main {
  position: relative;
  margin-left: unset;
  max-width: unset;
  width: 100%;
}

/* main on Desktop  */
@media (min-width: 900px) {
  main {
    max-width: calc(100% - 300px);
    margin-left: auto;
  }
}

/* ----------------------------------------------- */
/*     Sections        */
/* ----------------------------------------------- */
section {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;

}
.no-js section{
  visibility: visible;
}


/* UNMASK SECTIONS  DESKTOP */
section{
  position: absolute;
  /* clip: rect(0, auto, auto, 0); */
  /* clip-path: polygon(0 0, auto auto, auto auto, 0 0); */
    -webkit-clip-path: inset(0 0);
  clip-path: inset(0 0);
  top: calc(100vh * (var(--i) - 1));
  z-index: calc(10 - var(--i));
  height: 100vh;
  width: 100%;
}

/* Section on small screen */
section .fixed {
    position: fixed;
    top: 0;
    height: 100%;
 
    width: 100%;
    place-items: center;
    display: -ms-grid;
    display: grid;
   height:100lvh;
}

/* Section inner on Desktop  */
@media (min-width: 900px) {
  /* section {
    width: 100%;
  } */

  section .fixed {
    position: fixed;
    top: 0;
    height: 100%;
    max-width: calc(100% - 300px);
    place-items: center;
    display: -ms-grid;
    display: grid;

  }
}

/* @supports (--css: variables) {
  section {
    position: absolute;
    clip: rect(0, auto, auto, 0);
    top: calc(100vh * (var(--i) - 1));
    z-index: calc(10 - var(--i));
    width: 100%;
  }

  section .fixed {
    position: fixed;
    top: 0;
    height: 100%;
    width: 100%;
    place-items: center;
    display: -ms-grid;
    display: grid;

    height: 100vh;
    min-height: 100lvh;
    height: -webkit-fill-available;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
  }
} */





.fixed-inner {
  width: 100%;
  padding: 4rem calc(var(--outer-padding) * 1.5);
  position: relative;

}

/* Fixed inner on Desktop  */
@media (min-width: 900px) {
  .fixed-inner {
    max-width: calc(100% - var(--outer-padding) * 1);
  }
}
@media (min-width: 1200px) {
  .fixed-inner {
    max-width: calc(100% - var(--outer-padding) * 8);
  }
}

/* ----------------------------------------------- */
/*     Images and placeholders      */
/* ----------------------------------------------- */

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

.video,
.img {
  position: relative;
  display: block;
  --w: 1;
  --h: 1;
  padding-bottom: calc(100% / var(--w) * var(--h));
  background: #000;
}
.img img,
.video iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.img[data-contain] img {
  object-fit: contain;
}
.img-caption,
.video-caption {
  padding-top: .75rem;
  line-height: 1.5em;
}


/* .img-placeholder {
  position: relative;
  overflow: hidden;
  width: var(--w, 100%);
  height: var(--h, 600px);
  max-width: var(--mw, 100%);
  background-color: #272727;
} */

/* .placeholder img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
} */

/* figure {
  position: relative;
  overflow: hidden;
  width: var(--w, 100%);
  height: var(--h, 300px);
  max-width: var(--mw, 100%);
  background-color: #757575;
  display: flex;
  justify-content: center;
  align-items: center;
} */


.cover {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  border: 0;
}
.fixed > .cover{
  height: 100lvh;
}





[data-ratio]{
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1/1;
  background-color: #000;
}

[data-ratio="16/9"]{
  aspect-ratio: 16/9;
}
[data-ratio="10/8"]{
  aspect-ratio: 10/8;
}
[data-ratio="21/9"]{
  aspect-ratio: 21/9;
}
[data-ratio="7/5"]{
  aspect-ratio: 7/5;
}
[data-ratio="4/3"]{
  aspect-ratio: 4/3;
}
[data-ratio="5/3"]{
  aspect-ratio: 5/3;
}
[data-ratio="3/2"]{
  aspect-ratio: 3/2;
}
[data-ratio="3/1"]{
  aspect-ratio: 3/1;
}



figure img {
  object-fit: cover;
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}







/* ----------------------------------------------- */
/*     GRID         */
/* ----------------------------------------------- */

.grid {
  --columns: 12;
  --gutter: var(--step-3, 1rem);
  display: -ms-grid;
  display: grid;
  grid-gap: var(--gutter);
  gap: var(--gutter);
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;

  max-width: 1240px;
  margin-inline: auto;
}

.grid > .column > * + * {
  margin-top: var(--flow-space, 1rem);
}

.grid.vertical > .column {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media screen and (min-width: 900px) {
  .grid {
    -ms-grid-columns: (1fr);
    grid-template-columns: repeat(12, 1fr);
  }

  .grid > .column {
    grid-column: span var(--columns);
  }
}

/* ----------------------------------------------- */
/*     Pages grid  inside sections                 */
/* ----------------------------------------------- */
.pages-grid {
  /* --gutter: var(--step-3, 1rem); */
  padding: 0;
  display: -ms-grid;
  display: grid;
  grid-gap: 1rem;
  gap: 1rem;
  -ms-grid-columns: 1fr 1fr;
  grid-template-columns: 1fr 1fr;
}

.pages-grid .item {
  position: relative;
  padding: 0;
  margin: 0;
  height: 100%;
  width: 100%;
  aspect-ratio: 2 / 1;

  overflow: hidden;
  cursor: pointer;
  background-color: rgb(50, 50, 50);
  border: 4px solid #fff;
}

.pswp img {
  border: 4px solid #fff;
}

.pages-grid .item > * {
  pointer-events: none;
}

.pages-grid .item img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

@media (min-width: 600px) {
  .pages-grid {
    -ms-grid-columns: 1fr 1fr 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  .pages-grid .item {
    aspect-ratio: 1 / 1;
  }
}

/* ----------------------------------------------- */
/*    Gallery        */
/* ----------------------------------------------- */

#carousel-container {
  /* height: 40vh; */
  /* width: 600px; */
  padding: 0;
  overflow-x: scroll;
  --slide-count: 5;

  overflow-y: auto;
  overscroll-behavior-x: contain;
  -ms-scroll-snap-type: x mandatory;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-snap-align: center;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.slides {
  --ratio: calc(100vw / 100vh);
  display: grid;
  display: -ms-grid;
  grid-auto-flow: column;
  gap: 1rem;
  padding: 0;

  /* width: calc(100% * var(--slide-count)); */
  width: calc(100% * var(--slide-count) + (var(--slide-count) - 1) * 1rem);
}

.slide {
  scroll-snap-align: start;
  scroll-snap-align: start;
}

.slides::-webkit-scrollbar {
  display: none;
}

.slide-controls {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

@media (min-width: 900px) {
  .slide {
    scroll-snap-align: start;
  }
}

/* ----------------------------------------------- */
/*     Hide Column utils      */
/* ----------------------------------------------- */

.hide-col-mobile-1 .column:first-child,
.hide-col-mobile-2 .column:nth-child(2) {
  display: none !important;
}

@media (min-width: 900px) {
  .hide-col-mobile-1 .column:first-child,
  .hide-col-mobile-2 .column:nth-child(2) {
    display: flex !important;
  }
}

/* ----------------------------------------------- */
/*     Typography basic      */
/* ----------------------------------------------- */
section h1,
section h2,
section h3 {
  font-weight: 400;
  font-size: 2.5rem;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  line-height: 1;
}

section p {
  font-weight: 400;
}

/* ----------------------------------------------- */
/*     Typography basic  2    */
/* ----------------------------------------------- */

.text > * + * {
  margin-top: 1.5em;
}

.text h1,
.text h2,
.text h3 {
  font-weight: 300;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  line-height: 1;
}

.text p {
  line-height: 1.7;
  max-width: 60ch;
}

/* ----------------------------------------------- */
/*     Divider       */
/* ----------------------------------------------- */

.divider {
  display: block;
  width: 100%;
  max-width: 250px;
  height: 10px;
  background-color: #757575;
  margin-top: -0.6em !important;
  /* margin-bottom: 1rem; */
}

.divider:last-child {
  margin-bottom: 1rem !important;
}

/* ----------------------------------------------- */
/*     Map block      */
/* ----------------------------------------------- */
.map {
  position: relative;
  width: 100%;
  padding-bottom: 300px;
  display: block;
  overflow: hidden;
  object-fit: contain;
  display: grid;
  place-items: center;
}

.map img {
  position: absolute;
  object-fit: cover;
  width: 100%;
  height: 100%;
}
a.map::before,
a.map::after {
  display: none !important;
}

/* ----------------------------------------------- */
/*     Align title      */
/* ----------------------------------------------- */

.align-right {
  text-align: right;
}

.align-right + .divider {
  margin-left: auto;
}

/* ----------------------------------------------- */
/*     BTN       */
/* ----------------------------------------------- */

.btn {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  color: #fff;
  background-color: #757575;
  border: 1px #757575;
  border-radius: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  cursor: pointer;
  display: inline-block;

  font-size: inherit;
  text-transform: uppercase;
  letter-spacing: 0.1px;
  line-height: 1;
  overflow: hidden;
  padding: 1.2em 1.7em;
  position: relative;
  text-align: center;
  text-decoration: none;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  transition: 0.3s;
  user-select: none;
  touch-action: manipulation;
  vertical-align: top;
  white-space: nowrap;
}

/* ----------------------------------------------- */
/*     SLIDER BTN       */
/* ----------------------------------------------- */
.slider-btn {
  color: #fff;
  background: transparent;
  border: none;
  height: 40px;
  width: 40px;
  cursor: pointer;
  /* font-size: 1.5rem; */
  vertical-align: middle;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ----------------------------------------------- */
/*     LINK      */
/* ----------------------------------------------- */
.text a,
.link {
  list-style: none;
  display: inline-block;
  margin-left: 2px;
  margin-right: 2px;

  text-decoration: none;
  position: relative;
  cursor: pointer;
  transition: color 0.2s ease;
}

.text a:after,
.link::after {
  content: "";
  width: 100%;
  height: 1px;
  background-color: #757575;
  position: absolute;
  left: 0;
  bottom: 0;
  transform-origin: left;
  transition: transform 0.25s ease;
  /* transform: scaleX(0); */
}

/* ----------------------------------------------- */
/*     FOOTER      */
/* ----------------------------------------------- */

.footer-links {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 100%;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  /* padding: 0 calc(var(--outer-padding) * 1.5) calc(var(--outer-padding) * 1.5); */
  padding: calc(var(--outer-padding) * 1.5);
  font-size: 11px;
  text-transform: uppercase;

  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
  transform: translateY(10px);
  will-change: transform;
}

/* Fixed inner on Desktop  */
@media (min-width: 900px) {
  .footer-links {
    max-width: calc(100% - 300px);
    margin-left: auto;
    padding:0  calc(var(--outer-padding) * 1.5) calc(var(--outer-padding) * 1.5);
  }
}

.is-bottom .footer-links {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

/* ----------------------------------------------- */
/*     HOVER STYLES       */
/* ----------------------------------------------- */

@media (any-hover: hover) {
  /* PAGES GRID THUMBNAIL  */
  .pages-grid .item {
    transition: opacity 0.3s;
  }
  .pages-grid .item:hover img {
    transition: opacity 0.3s;
    opacity: 0.8;
  }

  .pages-grid .item::after {
    content: "";
    /* background-color: rgba(0, 0, 0, 0.468); */
    background-image: url("../img//cursor.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 50%;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transform: translateY(10px);
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
  }

  .pages-grid .item:hover::after {
    transform: translateY(0);
    opacity: 1;
  }

  /* BTN HOVER  */

  .btn:hover {
    background-color: #ebebeb;
    color: #000;
    opacity: 1;
  }

  .btn:hover:after {
    opacity: 0.5;
  }

  /* .btn:active {
  -webkit-box-shadow: rgba(0,0,0,.1) 0 3px 6px 0,rgba(0,0,0,.1) 0 0 10px 0,rgba(0,0,0,.1) 0 1px 4px -1px;
  box-shadow: rgba(0,0,0,.1) 0 3px 6px 0,rgba(0,0,0,.1) 0 0
  10px 0,rgba(0,0,0,.1) 0 1px 4px -1px;
  -webkit-transition-duration: .35s;
  -o-transition-duration: .35s;
  transition-duration: .35s
} */

  /* LINK HOVER   */

  .link:hover {
    /* // color: var(--clr-accent-active);
    // color: var(--c-text-alt); */
  }

  .text a:hover::after,
  .link:hover::after {
    transform: scaleX(1);
    /* // background-color: var(--c-acent); */
    background-color: #ebebeb;
    animation: 0.3s showLink;
  }

  .link[data-active]::after {
    transform: scaleX(1);
  }

  @keyframes showLink {
    0% {
      transform: scaleX(0);
    }

    100% {
      transform: scaleX(1);
    }
  }
}





.op-50 {
  opacity: 50%;
}



@supports (-webkit-touch-callout: none) {
  /* CSS specific to iOS devices */
  section{
      /* border:10px solid red; */
  }

}
