@font-face {
  font-family: "Theinhardt";
  src: url("../fonts/Theinhardt-Regular.eot");
  src: url("../fonts/Theinhardt-Regular.eot?#iefix") format("embedded-opentype"), url("../fonts/Theinhardt-Regular.woff2") format("woff2"), url("../fonts/Theinhardt-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}
*,
*:after,
*:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  outline: 0;
}

body,
html {
  height: 100%;
  width: 100vw;
  font-family: "Theinhardt", "Helvetica Neue", "Helvetica", Arial, sans-serif;
  font-size: 16px;
  line-height: 22px;
  font-smooth: always;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -ms-text-size-adjust: 100%;
  -webkit-touch-callout: none;
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  overflow: hidden;
  background-color: #f8f8f8;
  color: #14110e;
}

body.scroll,
body[ndx--target-view=legal] {
  overflow: auto;
}

body.noscroll {
  overflow: hidden;
}

*:active,
*:focus {
  outline: 0;
}

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

u {
  text-underline-offset: 0.3rem;
}

li {
  list-style: none;
}

p {
  font-size: 1.8rem;
  line-height: 2.2rem;
  text-indent: 2.9rem;
  letter-spacing: -0.02rem;
}
@media screen and (max-width: 600px) {
  p {
    font-size: 1.2rem;
    line-height: 1.45rem;
    text-indent: 1.9rem;
  }
}

a,
a:visited {
  color: #808080;
  text-decoration: none;
}
a:hover, a.active,
a:visited:hover,
a:visited.active {
  color: #14110e;
}

nav {
  position: fixed;
  z-index: 10;
  font-size: 1.8rem;
  line-height: 2.2rem;
  width: 40vw;
  height: calc(100vh - 2rem);
  right: 1.5rem;
  pointer-events: none;
}
@media screen and (max-width: 600px) {
  nav {
    background-color: #f8f8f8;
    width: 100vw;
    height: auto;
    top: 0;
    left: 0;
    right: initial;
    padding: 5vw 5vw 2.5vw 5vw;
    font-size: 1.2rem;
    line-height: 1.7rem;
  }
}
nav .language,
nav .contact {
  font-size: 0.81rem;
  line-height: 1.04rem;
  letter-spacing: -0.01rem;
}
@media screen and (max-width: 600px) {
  nav .language,
  nav .contact {
    font-size: 1.2rem;
    line-height: 1.7rem;
    display: inline-block;
  }
}
nav .language {
  text-transform: uppercase;
  text-decoration: none;
}
nav .contact {
  margin-top: 1.04rem;
  color: #808080;
  text-decoration: none;
}
@media screen and (max-width: 600px) {
  nav .contact {
    margin-top: 0;
  }
}
nav .menu,
nav .footer {
  cursor: pointer;
  font-weight: normal;
  text-align: right;
  z-index: 10;
}
@media screen and (max-width: 600px) {
  nav .menu,
  nav .footer {
    text-align: left;
  }
}
nav .menu {
  position: absolute;
  top: 0;
  right: 0;
  pointer-events: initial;
}
@media screen and (max-width: 600px) {
  nav .menu {
    position: relative;
    margin-bottom: 1vw;
  }
}
nav .footer {
  position: absolute;
  bottom: 0.1rem;
  right: 0;
  pointer-events: initial;
  padding-bottom: 0.1rem;
}
@media screen and (max-width: 600px) {
  nav .footer {
    position: relative;
    bottom: initial;
    right: initial;
  }
}
nav .menu li {
  display: block;
  margin-left: initial;
}
@media screen and (max-width: 600px) {
  nav .menu li {
    display: inline-block;
  }
}

.wrap {
  padding: 1rem 1.5rem;
  z-index: 10;
  position: relative;
  width: 100vw;
}
@media screen and (max-width: 600px) {
  .wrap {
    padding: 5vw 5vw;
  }
}

.more {
  transition: all 0.4s linear;
}

main[ndx--template=overview] {
  width: 66%;
}
main[ndx--template=overview] .intro {
  margin-bottom: 2rem;
}
main[ndx--template=overview] .intro p:first-of-type {
  text-indent: 0;
}
main[ndx--template=overview] .more {
  margin-top: 100rem;
}
@media screen and (max-width: 600px) {
  main[ndx--template=overview] {
    width: 100%;
    margin-top: 5rem;
  }
}
main[ndx--template=overview] a[href^="/@/file/"],
main[ndx--template=overview] a[href^="/@/file/"]:hover {
  color: #14110e;
  text-decoration: underline;
}
main[ndx--template=overview] .preview {
  display: none;
  position: fixed;
  left: 20vw;
  top: 10vw;
  cursor: pointer;
  pointer-events: none;
  width: 25vw;
}
@media screen and (max-width: 600px) {
  main[ndx--template=overview] .preview {
    width: 0;
    display: none;
  }
}
main[ndx--template=overview] .preview.show {
  display: block;
}
@media screen and (max-width: 600px) {
  main[ndx--template=overview] .preview.show {
    display: none;
  }
}
main[ndx--template=overview] .preview img {
  width: 100%;
}

main[ndx--template=samples-of-work] #content {
  padding: 0;
}
main[ndx--template=samples-of-work] .gallery {
  height: 100vh;
  height: 100dvh;
  width: calc(100% - 3rem);
  margin: 0 1.5rem;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
main[ndx--template=samples-of-work] .gallery .next,
main[ndx--template=samples-of-work] .gallery .prev {
  position: absolute;
  top: 15vh;
  height: 70vh;
  width: 50vw;
  z-index: 20;
  user-select: none;
}
@media screen and (max-width: 600px) {
  main[ndx--template=samples-of-work] .gallery .next,
  main[ndx--template=samples-of-work] .gallery .prev {
    top: 25vh;
    height: 50vh;
  }
}
main[ndx--template=samples-of-work] .gallery .prev {
  left: 0;
  cursor: w-resize;
}
main[ndx--template=samples-of-work] .gallery .next {
  right: 0;
  cursor: e-resize;
}
main[ndx--template=samples-of-work] .gallery .wrapi {
  height: 70vmin;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media screen and (max-width: 600px) {
  main[ndx--template=samples-of-work] .gallery .wrapi {
    height: 70vmax;
  }
}
main[ndx--template=samples-of-work] .gallery .slide {
  width: 100%;
  opacity: 0;
  transition: opacity 0.2s linear;
  position: absolute;
  pointer-events: none;
}
main[ndx--template=samples-of-work] .gallery .slide.new-project {
  transition-delay: 0.4s;
}
main[ndx--template=samples-of-work] .gallery .slide.new-project.no-effect {
  transition-delay: 0s;
}
main[ndx--template=samples-of-work] .gallery .slide.end-project {
  transition-delay: 0.4s;
}
main[ndx--template=samples-of-work] .gallery .slide.end-project.no-effect {
  transition-delay: 0s;
}
@media screen and (max-width: 600px) {
  main[ndx--template=samples-of-work] .gallery .slide {
    width: 90vw;
    height: initial;
  }
}
main[ndx--template=samples-of-work] .gallery .slide.active {
  opacity: 1;
  pointer-events: initial;
}
main[ndx--template=samples-of-work] .gallery .slide img {
  max-width: 100%;
  max-height: 100%;
}
main[ndx--template=samples-of-work] .gallery .caption {
  width: 100%;
  position: fixed;
  left: 0;
  bottom: 1.2rem;
  text-align: center;
  padding: 0 14vw;
  z-index: 30;
}
@media screen and (max-width: 600px) {
  main[ndx--template=samples-of-work] .gallery .caption {
    padding: 0 1rem;
  }
}
main[ndx--template=samples-of-work] .gallery .caption p {
  font-size: 0.81rem;
  line-height: 1.05rem;
  text-indent: 0;
  letter-spacing: -0.01rem;
}
main[ndx--template=samples-of-work] .gallery .caption .count {
  margin-top: 1.04rem;
  font-feature-settings: "tnum";
}

body[ndx--target-lang=en],
body[ndx--target-lang=fr] {
  background: #14110e;
}
body[ndx--target-lang=en] p,
body[ndx--target-lang=fr] p {
  color: #f8f8f8;
}
body[ndx--target-lang=en] a,
body[ndx--target-lang=en] a:visited,
body[ndx--target-lang=fr] a,
body[ndx--target-lang=fr] a:visited {
  color: #808080;
  text-decoration: none;
}
body[ndx--target-lang=en] a:hover, body[ndx--target-lang=en] a.active,
body[ndx--target-lang=en] a:visited:hover,
body[ndx--target-lang=en] a:visited.active,
body[ndx--target-lang=fr] a:hover,
body[ndx--target-lang=fr] a.active,
body[ndx--target-lang=fr] a:visited:hover,
body[ndx--target-lang=fr] a:visited.active {
  color: #f8f8f8;
}
body[ndx--target-lang=en] main[ndx--template=overview] a[href^="/@/file/"],
body[ndx--target-lang=en] main[ndx--template=overview] a[href^="/@/file/"]:hover,
body[ndx--target-lang=fr] main[ndx--template=overview] a[href^="/@/file/"],
body[ndx--target-lang=fr] main[ndx--template=overview] a[href^="/@/file/"]:hover {
  color: #f8f8f8;
  text-decoration: underline;
}
@media screen and (max-width: 600px) {
  body[ndx--target-lang=en] nav,
  body[ndx--target-lang=fr] nav {
    background-color: #14110e;
  }
}

body[ndx--target-lang=fr] {
  background: #5a0729;
}
@media screen and (max-width: 600px) {
  body[ndx--target-lang=fr] nav {
    background-color: #5a0729;
  }
}

.textimage {
  cursor: pointer;
}

.noindent p,
.legal p {
  text-indent: 0;
}

.legal p {
  margin-top: 1rem;
}
.legal p:first-of-type {
  margin-top: 0;
}