/*
Theme Name: grauwerk2021
Author: Patrik Budenz
Author URI: http://grauwerk.de
*/
@font-face {
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 201;
  src: local(""), url("fonts/josefin-sans-v16-latin-200.woff2") format("woff2"), url("fonts/josefin-sans-v16-latin-200.woff") format("woff");
}

@font-face {
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 700;
  src: local(""), url("fonts/josefin-sans-v16-latin-700.woff2") format("woff2"), url("fonts/josefin-sans-v16-latin-700.woff") format("woff");
}

@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 100;
  src: local(""), url("fonts/raleway-v18-latin-100.woff2") format("woff2"), url("fonts/raleway-v18-latin-100.woff") format("woff");
}

@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 300;
  src: local(""), url("fonts/raleway-v18-latin-300.woff2") format("woff2"), url("fonts/raleway-v18-latin-300.woff") format("woff");
}

@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  src: local(""), url("fonts/lato-v17-latin-300.woff2") format("woff2"), url("fonts/lato-v17-latin-300.woff") format("woff");
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  width: 100%;
  height: 100%;
  scrollbar-width: none;
  overflow: -moz-scrollbars-none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-smooth: antialiased;
}

html.nopointer * {
  cursor: none !important;
}

.noselect {
  user-select: none;
}

body {
  font-size: 10px;
  font-weight: 300;
  background-color: white;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.5s ease-in-out;
  -webkit-overflow-scrolling: touch;
  overflow: -moz-scrollbars-none;
  -ms-overflow-style: none;
  text-rendering: geometricPrecision;
  will-change: background-color;
}

body::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
}

@media screen and (max-width: 239px) {
  body > * {
    display: none !important;
  }
  body:after {
    content: "do you really want to visit a website of a photographer in such a small browser window? sorry, nothing so tiny can be found here. so, if you want to see something, please enlarge your browser window...";
    opacity: 1;
    color: black;
    position: fixed;
    top: 0;
    left: 0;
    padding: 20px;
    font-size: 20px;
  }
}

body.nobounce {
  overscroll-behavior: none;
}

a {
  cursor: pointer;
  text-decoration: none;
  transition: color 0.5s ease-in-out, background 0.5s ease-in-out;
}

img {
  image-rendering: -moz-crisp-edges;
  image-rendering: -o-crisp-edges;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  -ms-interpolation-mode: nearest-neighbor;
}

img.alignleft {
  margin-bottom: 30px;
}

@media screen and (min-width: 571px) {
  img.alignleft {
    margin-right: 30px;
    margin-left: -50px;
    float: left;
  }
}

@media screen and (max-width: 570px) {
  img.alignleft {
    display: block;
  }
}

noscript {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: white;
  z-index: 999;
  font-size: 20px;
  padding: 40px;
}

noscript:after {
  content: "please enable javascript to use this page...";
}

header {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 80px;
  font-family: 'Raleway';
  font-weight: 300;
  z-index: 1000;
  -ms-user-select: none;
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -o-user-select: none;
  user-select: none;
}

@supports (position: absolute) {
  header:after {
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), transparent);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.7s linear;
  }
}

header #fade {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150px;
  pointer-events: none;
  background: white;
  mask: linear-gradient(to bottom, black, rgba(0, 0, 0, 0.95) 15%, rgba(0, 0, 0, 0.8) 39%, rgba(0, 0, 0, 0.3) 68%, transparent 100%);
  -webkit-mask: linear-gradient(to bottom, black, rgba(0, 0, 0, 0.95) 15%, rgba(0, 0, 0, 0.8) 39%, rgba(0, 0, 0, 0.3) 68%, transparent 100%);
  transition: opacity 1s ease-in-out, height 0.3s linear 0.7s;
  transition: background-color 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

header #fade div.after {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.2) 0%, transparent 75%, transparent 100%);
  transition: opacity 1s ease-in-out;
  opacity: 0;
}

header #fade img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  will-change: opacity;
}

header #fade img.visible {
  opacity: 0.08;
}

header nav {
  position: absolute;
  top: 30px;
  left: 40px;
  right: 40px;
  height: 26px;
  line-height: 26px;
  text-align: right;
  transition: top 0.2s linear, right 0.2s linear;
  will-change: top, right;
}

@media screen and (min-width: 500px) and (max-width: 650px) {
  header nav {
    right: calc(10px + 1px * 30 * (var(--w) - 500) / 150);
  }
}

@media screen and (max-width: 499px) {
  header nav {
    right: 10px;
    height: 20px;
    line-height: 20px;
  }
}

header nav > div {
  display: inline-block;
}

header nav #name_top a {
  color: black;
  text-shadow: none;
  padding: 2px 10px;
  display: inline-block;
  transition: color 0.25s ease-in-out 0s, background 0.4s ease-in-out 0s;
  font-size: 1.8em;
  -ms-user-select: none;
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -o-user-select: none;
  user-select: none;
}

header nav #name_top a span {
  display: inline-block;
  transition: all 0.7s ease-in-out;
}

header nav #name_top a span:nth-last-of-type(2) {
  color: #7691c6;
  text-shadow: 0 0 1px #7691c6;
}

header nav #name_top a span:nth-of-type(1) {
  transition-delay: 0.0132461011s;
  transition-duration: 0.8957294048s;
}

header nav #name_top a span:nth-of-type(2) {
  transition-delay: 0.0703692306s;
  transition-duration: 0.6337337792s;
}

header nav #name_top a span:nth-of-type(3) {
  transition-delay: 0.0418377131s;
  transition-duration: 0.6865810139s;
}

header nav #menu a {
  color: black;
  text-shadow: none;
  padding: 2px 10px;
  display: inline-block;
  transition: color 0.25s ease-in-out 0s, background 0.4s ease-in-out 0s;
  font-size: 1.8em;
  -ms-user-select: none;
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -o-user-select: none;
  user-select: none;
}

header nav #menu a:hover {
  background: rgba(0, 0, 0, 0.8);
  color: #efe102 !important;
  text-shadow: 0 0 1px #efe102;
}

header nav #menu a span {
  display: inline-block;
}

header nav #menu a:nth-of-type(1) span {
  transition: transform 1.0871756674s cubic-bezier(0.22, 1, 0.36, 1) 0.0345586422s, opacity 1.0871756674s cubic-bezier(0.22, 1, 0.36, 1) 0.0345586422s;
}

header nav #menu a:nth-of-type(2) span {
  transition: transform 0.5741463512s cubic-bezier(0.22, 1, 0.36, 1) 0.0303718227s, opacity 0.5741463512s cubic-bezier(0.22, 1, 0.36, 1) 0.0303718227s;
}

header nav #menu a:nth-of-type(3) span {
  transition: transform 0.28803146s cubic-bezier(0.22, 1, 0.36, 1) 0.0998498117s, opacity 0.28803146s cubic-bezier(0.22, 1, 0.36, 1) 0.0998498117s;
}

header nav #menu a:nth-of-type(4) span {
  transition: transform 0.2570216866s cubic-bezier(0.22, 1, 0.36, 1) 0.0581712179s, opacity 0.2570216866s cubic-bezier(0.22, 1, 0.36, 1) 0.0581712179s;
}

header nav #menu a:nth-of-type(5) span {
  transition: transform 0.5059502238s cubic-bezier(0.22, 1, 0.36, 1) 0.1755247985s, opacity 0.5059502238s cubic-bezier(0.22, 1, 0.36, 1) 0.1755247985s;
}

header nav #menu a:nth-of-type(6) span {
  transition: transform 1.1517284102s cubic-bezier(0.22, 1, 0.36, 1) 0.1083747167s, opacity 1.1517284102s cubic-bezier(0.22, 1, 0.36, 1) 0.1083747167s;
}

header nav #menu a:nth-of-type(7) span {
  transition: transform 0.9775374074s cubic-bezier(0.22, 1, 0.36, 1) 0.1483466739s, opacity 0.9775374074s cubic-bezier(0.22, 1, 0.36, 1) 0.1483466739s;
}

header nav #menuicon {
  display: none;
  position: absolute;
  top: 0px;
  right: 15px;
  width: 30px;
  position: relative;
  height: 100%;
  cursor: pointer;
}

header nav #menuicon > div {
  position: absolute;
  width: 100%;
  height: 2px;
  left: 0px;
  background: black;
  transition: all 0.7s ease-in-out;
}

header nav #menuicon > div:nth-of-type(1) {
  transition-duration: 0.3s;
}

header nav #menuicon > div:nth-of-type(2), header nav #menuicon > div:nth-of-type(3) {
  top: calc(50% - 1px);
  transition-duration: 0.15s;
}

header nav #menuicon > div:nth-of-type(4) {
  bottom: 0px;
  transition-duration: 0.5s;
}

@media screen and (max-width: 1000px) {
  header nav #name_top {
    position: absolute;
    right: 60px;
    top: -2px;
    z-index: 2;
  }
}

@media screen and (max-width: 1000px) and (max-width: 500px) {
  header nav #name_top {
    right: 50px;
  }
}

@media screen and (max-width: 1000px) {
  header nav #menu {
    position: fixed;
    top: 0;
    right: 0;
    left: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1;
    padding-top: 100px;
    padding-right: 0px;
    overflow: hidden;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.7s ease-in-out, left 0.5s linear 0.7s;
  }
}

@media screen and (max-width: 1000px) and (min-height: 500px) {
  header nav #menu {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }
}

@media screen and (max-width: 1000px) {
  header nav #menu a {
    margin-bottom: 25px;
    color: black !important;
    margin-right: -200px;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    clear: both;
  }
}

@media screen and (max-width: 1000px) and (min-height: 500px) {
  header nav #menu a {
    display: block;
  }
}

@media screen and (max-width: 1000px) and (max-height: 499px) {
  header nav #menu a {
    float: none;
    clear: none;
  }
}

@media screen and (max-width: 1000px) {
  header nav #menu a:nth-of-type(1) {
    transition-duration: 1.0471305517s;
  }
  header nav #menu a:nth-of-type(2) {
    transition-duration: 0.5719067167s;
  }
  header nav #menu a:nth-of-type(3) {
    transition-duration: 0.5536255706s;
  }
  header nav #menu a:nth-of-type(4) {
    transition-duration: 0.2005386678s;
  }
  header nav #menu a:nth-of-type(5) {
    transition-duration: 1.115588471s;
  }
  header nav #menu a:nth-of-type(6) {
    transition-duration: 1.4574463845s;
  }
  header nav #menu a:nth-of-type(7) {
    transition-duration: 1.7241393704s;
  }
  header nav #menuicon {
    display: inline-block;
    z-index: 2;
  }
  header nav.open #name_top {
    opacity: 1 !important;
  }
  header nav.open #name_top a span {
    opacity: 1 !important;
    color: black;
  }
  header nav.open #name_top a span:nth-of-type(2) {
    color: #7691c6 !important;
  }
  header nav.open #menu {
    left: 0px;
    padding-right: 100px;
    opacity: 1;
    transition: opacity 0.7s ease-in-out, left 0.01s linear;
  }
}

@media screen and (max-width: 1000px) and (max-width: 500px) {
  header nav.open #menu {
    padding-right: 60px;
  }
}

@media screen and (max-width: 1000px) and (min-width: 500px) and (max-width: 650px) {
  header nav.open #menu {
    padding-right: calc(60px + 1px * 40 * (var(--w) - 500) / 150);
  }
}

@media screen and (max-width: 1000px) {
  header nav.open #menu a {
    margin-right: 0px;
  }
  header nav.open #menuicon > div > div {
    background: black;
  }
  header nav.open #menuicon > div:nth-of-type(1) {
    transform: scale(0) translate3d(0, 26px, 0);
    background: black;
    opacity: 0;
  }
  header nav.open #menuicon > div:nth-of-type(2) {
    background: black;
    transform: rotate(45deg);
  }
  header nav.open #menuicon > div:nth-of-type(3) {
    background: black;
    transform: rotate(-45deg);
  }
  header nav.open #menuicon > div:nth-of-type(4) {
    transform: scale(0) translate3d(0, -26px, 0);
    background: black;
    opacity: 0;
  }
}

header #top {
  position: absolute;
  left: -30px;
  top: 30px;
  width: 25px;
  height: 25px;
  background-image: url("images/top.svg");
  opacity: 0;
  pointer-events: none;
  transition: all 0.7s ease-in-out;
  cursor: pointer;
}

header #top.visible {
  opacity: 1;
  pointer-events: all;
  left: 20px;
}

header.intro:after {
  opacity: 0;
}

header.intro #fade, header.intro #top {
  opacity: 0 !important;
}

header.intro #menuicon div {
  opacity: 0;
  transform: translate3d(100px, 0, 0) scaleX(4);
}

header.intro #name_top a, header.intro #menu a {
  pointer-events: none;
}

header.intro #name_top a span, header.intro #menu a span {
  transform: translate3d(0, -100px, 0);
  opacity: 0 !important;
}

@media screen and (min-width: 571px) {
  header.hidden #fade {
    opacity: 0 !important;
  }
  header.hidden #menuicon, header.hidden a {
    pointer-events: none;
  }
  header.hidden #menu a span, header.hidden #name_top span {
    opacity: 0;
    transform: translate3d(0, -40px, 0);
  }
  header.hidden #menuicon div {
    opacity: 0;
    transform: translate3d(100px, 0, 0) scaleX(4);
  }
  header.hidden #top {
    left: -30px;
    opacity: 0;
    pointer-events: none;
  }
}

@media screen and (max-width: 570px) {
  header.hidden {
    height: 40px;
  }
  header.hidden #fade {
    -webkit-mask: none;
    mask: none;
    height: 40px;
    overflow: hidden;
  }
  header.hidden nav {
    top: 10px;
    right: 0px;
  }
  header.hidden #top {
    top: 8px;
    left: 10px;
  }
}

@media (pointer: fine) {
  header.hidden:hover #fade {
    opacity: 1 !important;
    mask: linear-gradient(to bottom, transparent -50px, rgba(0, 0, 0, 0.8) 20px, rgba(0, 0, 0, 0.95) 45px, rgba(0, 0, 0, 0.8) 57px, transparent 65%);
    -webkit-mask: linear-gradient(to bottom, transparent -50px, rgba(0, 0, 0, 0.8) 20px, rgba(0, 0, 0, 0.95) 45px, rgba(0, 0, 0, 0.8) 57px, transparent 65%);
  }
  header.hidden:hover #menuicon, header.hidden:hover a {
    pointer-events: all;
  }
  header.hidden:hover #menu a span, header.hidden:hover #name_top a span {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
  header.hidden:hover #menuicon div {
    opacity: 1;
    transform: translate3d(0px, 0, 0) scaleX(1);
  }
  header.hidden:hover #top {
    opacity: 1;
    left: 20px;
    pointer-events: all;
  }
}

@supports (-webkit-touch-callout: none) {
  @media screen and (min-width: 571px) {
    header.hidden {
      pointer-events: none;
    }
  }
}

body.black {
  background-color: black;
}

body.black header #fade {
  background-color: black;
}

body.black header #fade img {
  opacity: 0 !important;
}

body.black header nav:not(.open) #name_top a,
body.black header nav:not(.open) #menu a {
  color: white;
}

body.black header nav #menuicon > div {
  background: white;
}

body.black #background img {
  opacity: 0 !important;
}

#background {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

#background.hidden {
  opacity: 0;
}

#background img {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  transition: opacity 1s ease-in-out;
  opacity: 0;
  will-change: opacity;
}

#background img.visible {
  opacity: 0.08;
}

section {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  -ms-user-select: none;
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -o-user-select: none;
  user-select: none;
  pointer-events: none;
  transition: opacity 1s ease-in-out;
  opacity: 0;
  display: none;
  pointer-events: none;
  will-change: display, opacity;
  height: 0;
  overflow-y: hidden;
  overflow-x: hidden;
  overscroll-behavior: none;
  scrollbar-width: none;
}

section::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
}

@media screen and (max-height: 400px) {
  section {
    font-size: 8px;
  }
}

section h1 {
  position: fixed;
  width: 30%;
  font-family: 'Josefin Sans';
  font-size: 4.8em;
  font-weight: 100;
  text-transform: uppercase;
  color: #7691c6;
  margin-top: 180px;
  padding-left: 40px;
  padding-right: 40px;
  text-align: right;
  transition: opacity 0.7s ease-in-out, transform 0.7s ease-in-out;
  opacity: 0;
  -webkit-transform: translate3d(-200px, 0px, 0px);
  transform: translate3d(-200px, 0px, 0px);
  will-change: opacity, transform;
}

section article {
  margin-top: 230px;
  margin-left: 30%;
  width: 70%;
  max-width: 1500px;
  padding-left: 20px;
  padding-right: 150px;
  font-family: "Lato";
  padding-bottom: 100px;
}

section article div.shadow {
  width: 100%;
  font-family: 'Josefin Sans';
  font-size: 10em;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.02);
  text-align: right;
  height: 0;
  transform: translate(140px, -10px);
  white-space: nowrap;
  margin: 0;
  padding: 0 !important;
  overflow: visible;
  transform-origin: calc(50% + 70px) center;
  transition: opacity 0.9s ease-in-out, transform 0.9s ease-in-out;
  opacity: 0;
  -webkit-transform: translate(140px, -10px) scale(10);
  transform: translate(140px, -10px) scale(10);
  will-change: opacity, transform;
}

section article p + div.shadow {
  margin: 80px 0 0 0 !important;
}

section article h2 {
  text-transform: uppercase;
  color: #7691c6;
  font-weight: 100;
  font-size: 2.5em;
  text-align: right;
  padding-right: 80px;
  margin-bottom: 10px;
  margin-top: 0px;
  line-height: 1.6em;
}

section article h2 + p,
section article h4 + p {
  margin-top: 40px;
}

section article h3 {
  text-transform: uppercase;
  color: #7691c6;
  font-weight: 100;
  font-size: 2.5em;
  line-height: 1.6em;
  margin-left: -30px;
  margin-bottom: 5px;
  display: inline-block;
  transform-origin: 30px center;
  transition: opacity 1s ease-in-out, margin-left 1s ease-in-out;
  opacity: 0;
  margin-left: -130px;
  will-change: opacity, margin-left;
}

section article h3 + p {
  margin-top: 5px;
}

section article h4 {
  text-transform: uppercase;
  color: #7691c6;
  font-weight: 100;
  font-size: 2em;
  text-align: right;
  padding-right: 80px;
  margin-bottom: 20px;
  margin-top: 0px;
}

section article h2, section article h4 {
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
  opacity: 0;
  -webkit-transform: translate3d(30%, 0, 0);
  transform: translate3d(30%, 0, 0);
  will-change: opacity, transform;
}

section article p, section article ul {
  font-size: 1.8em;
  line-height: 1.6em;
  opacity: 0;
  transition-property: transform, opacity;
  transform: translate3d(0, 100px, 0);
  will-change: opacity, transform;
}

@supports (-webkit-touch-callout: none) {
  section article p, section article ul {
    transform: none;
  }
}

section article a {
  color: #5274b7;
  position: relative;
}

section article a:after {
  content: " ";
  display: inline-block;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #9aaed5;
  opacity: 0;
  transform-origin: left;
  transform: scaleX(0);
  transition: all 0.5s ease-in-out;
}

section article a:hover:after {
  transform-origin: right;
  opacity: 1;
  transform: scaleX(1);
}

section article a.book:after {
  content: "look inside";
  position: absolute;
  transform: scale(1);
  transition: none;
  opacity: 1;
  left: -50px;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  height: 30px;
  padding: 5px 10px;
  width: 230px;
  color: #efe102;
}

@media screen and (max-width: 570px) {
  section article a.book:after {
    left: 0px;
    bottom: 50px;
  }
}

section article a.book {
  width: 250px;
  height: 250px;
  position: relative;
  float: left;
}

@media screen and (max-width: 570px) {
  section article a.book {
    float: none;
  }
}

section.fadein {
  display: block !important;
  opacity: 0;
}

section.fadeout {
  height: auto !important;
  display: block !important;
}

section.current {
  display: block;
  height: auto;
  z-index: 20;
  pointer-events: all;
  opacity: 1;
}

section.current h1 {
  opacity: 1;
  transform: translate3d(0px, 0px, 0px);
}

section.current article h2, section.current article h4 {
  opacity: 1;
  transform: translate3d(0px, 0, 0);
}

section.current article h3 {
  opacity: 1;
  margin-left: -30px;
}

@media screen and (max-width: 899px) {
  section.current article h3 {
    margin-left: -10px;
  }
}

section.current article div.shadow {
  opacity: 1;
  transform: translate(140px, -10px) scale(1);
}

section.current article p, section.current ul {
  opacity: 1;
  transform: translate3d(0, 0px, 0);
}

section.hidden {
  opacity: 0;
}

section.hidden h1 {
  opacity: 0;
  transform: translate3d(200px, 0px, 0px);
}

section.hidden article h2, section.hidden article h4 {
  opacity: 0;
  transform: translate3d(-30%, 0, 0);
}

section.hidden article h3 {
  opacity: 0;
  margin-left: -130px;
}

section.hidden article div.shadow {
  opacity: 0;
  transform: translate(140px, -10px) scale(0);
}

section.hidden article p, section.hidden ul {
  opacity: 0;
  transform: translate3d(0, -100px, 0);
}

@supports (-webkit-touch-callout: none) {
  section.hidden article p, section.hidden ul {
    transform: none;
  }
}

@media screen and (min-width: 900px) and (max-width: 980px) {
  section article h3 {
    margin-left: calc(-10px + 1px * -20 * (var(--w) - 900) / 80);
  }
}

@media screen and (min-width: 800px) and (max-width: 999px) {
  section article {
    margin-left: calc(20% + 1% * 10 * (var(--w) - 800) / 200);
    width: calc(80% + 1% * -20 * (var(--w) - 800) / 200);
  }
}

@media screen and (max-width: 899px) {
  section h1 {
    position: relative;
    font-size: 4em;
    text-align: left;
    width: 100%;
    margin-top: 150px;
    margin-left: 50px;
  }
  section article {
    width: 100%;
    margin-top: 50px;
    margin-left: 0px;
    padding-left: calc(20px + 1px * 40 * (var(--w) - 300) / 500);
    padding-right: calc(20px + 1px * 40 * (var(--w) - 300) / 500);
  }
  section article h2 {
    font-size: 3em;
    padding-right: 30px;
  }
  section article h3 {
    font-size: 2.5em;
    margin-left: -10px;
  }
  section article h4 {
    font-size: 1.5em;
    padding-right: 30px;
  }
}

@media screen and (min-width: 900px) and (max-width: 1400px) {
  section h1 {
    font-size: calc(3em + 1em * 1.8 * (var(--w) - 900) / 500);
  }
  section article {
    padding-right: calc(60px + 1px * 90 * (var(--w) - 900) / 500);
  }
}

@media screen and (min-width: 900px) and (max-width: 2400px) {
  section h1 {
    font-size: calc(3em + 1em * 1.8 * (var(--w) - 900) / 1500);
  }
}

div.container {
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  overscroll-behavior: none;
}

@media screen and (max-width: 570px) {
  div.container {
    height: auto;
    overflow: auto;
  }
}

@media screen and (min-width: 571px) {
  div.container.black {
    background-color: black;
  }
}

div.container div.image {
  position: relative;
  -ms-user-select: none;
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -o-user-select: none;
  user-select: none;
  transition: opacity 0.2s ease-in-out;
  width: 100%;
  position: relative;
  margin-bottom: 20px;
}

div.container div.image:last-of-type {
  margin-bottom: 0;
}

div.container div.image img:not([src]) {
  background: url("images/loader.svg") no-repeat center center;
}

@media (min-width: 571px) {
  div.container div.image {
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
  }
}

@media (max-width: 570px) {
  div.container div.image {
    height: auto !important;
  }
  div.container div.image:last-child {
    padding-bottom: calc(var(--vh, 1vh) * 50 - 50%);
  }
}

div.container div.image.up {
  cursor: url("images/up.svg") 8 8, n-resize;
}

div.container div.image.down {
  cursor: url("images/down.svg") 8 8, s-resize;
}

div.container div.image img {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  object-fit: contain;
  transition: object-position 0.7s ease;
}

@media (max-width: 570px) {
  div.container div.image img {
    padding: 0 0 10px 0;
    max-height: 98vh;
  }
}

@media (min-aspect-ratio: 5/4) and (max-aspect-ratio: 29/20) {
  div.container div.image img.ls {
    object-fit: cover;
  }
}

div.container.horizontal {
  white-space: nowrap;
}

div.container.horizontal div.image {
  display: inline-block;
  margin-right: 20px;
  margin-bottom: 0px;
}

#intro {
  display: block;
  opacity: 1;
  height: 100%;
}

#intro #loader {
  position: absolute;
  top: calc(45% - 40px);
  left: calc(50% - 40px);
}

#intro #loader circle {
  animation: loaderShow 2s ease-in-out;
}

#intro #name {
  position: absolute;
  display: inline-block;
  right: 50px;
  bottom: 30px;
  color: black;
  font-family: 'Raleway';
  font-size: 8em;
  font-stretch: condensed;
  font-weight: 100;
  text-align: right;
  max-width: 85%;
}

@media screen and (min-width: 500px) and (max-width: 650px) {
  #intro #name {
    right: calc(20px + 1px * 30 * (var(--w) - 500) / 150);
  }
}

@media screen and (max-width: 499px) {
  #intro #name {
    right: 20px;
    bottom: 15px;
  }
}

@media screen and (max-width: 299px) {
  #intro #name {
    font-size: 3em;
  }
}

@media screen and (min-width: 300px) and (max-width: 1400px) {
  #intro #name {
    font-size: calc(3em + 1em * 5 * (var(--w) - 300) / 1100);
    text-shadow: 0 0 1px white;
  }
}

#intro #name span:nth-child(1) {
  display: inline-block;
  animation: nameFadeIn1 1.5s ease-in-out;
}

#intro #name span:nth-child(2) {
  display: inline-block;
  animation: nameFadeIn2 1.5s ease-in-out;
  color: #7691c6;
}

#intro #name span:nth-child(3) {
  display: inline-block;
  animation: nameFadeIn3 2s ease-in-out;
}

#intro.hidden {
  opacity: 0;
  pointer-events: none;
}

#intro.hidden #loader {
  transform: scale(0);
  transition: all 0.5s ease-in-out;
}

@keyframes nameFadeIn1 {
  0% {
    opacity: 0;
    transform: translate3d(0, -20px, 0);
  }
  80% {
    opacity: 1;
  }
  100% {
    transform: translate3d(0, 0px, 0);
  }
}

@keyframes nameFadeIn2 {
  0% {
    opacity: 0;
    transform: translate3d(0, -20px, 0);
  }
  20% {
    opacity: 0;
    transform: translate3d(0, -20px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0px, 0);
  }
}

@keyframes nameFadeIn3 {
  0% {
    opacity: 0;
    transform: translate3d(0, -20px, 0);
  }
  30% {
    opacity: 0;
    transform: translate3d(0, -20px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0px, 0);
  }
}

@keyframes loaderShow {
  0% {
    opacity: 0;
    stroke-dasharray: 0 141.3717;
  }
  50% {
    opacity: 1;
    stroke-dasharray: 20 121.3717;
  }
  100% {
    stroke-dasharray: 100 41.3717;
  }
}

#portfolio {
  position: fixed;
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 75%, rgba(0, 0, 0, 0) 100%);
  overflow-x: hidden;
  min-height: 100% !important;
}

@media screen and (max-width: 500px) {
  #portfolio {
    background: linear-gradient(270deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 100%);
  }
}

#portfolio nav {
  position: absolute;
  right: 40px;
  left: 80px;
  top: 95px;
  text-align: right;
  font-family: 'Josefin Sans';
  font-size: 4em;
  text-shadow: 0 0 1px white;
  text-transform: uppercase;
  padding-bottom: 40px;
  overflow: show;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

@media screen and (min-width: 300px) and (max-width: 799px) {
  #portfolio nav {
    font-size: calc(2.5em + 1em * 1.5 * (var(--w) - 300) / 499);
  }
}

@media screen and (max-height: 479px) {
  #portfolio nav {
    display: block;
    font-size: 2.5em !important;
  }
}

@media screen and (min-height: 480px) and (max-height: 614px) {
  #portfolio nav {
    top: 75px;
  }
}

@media screen and (min-height: 615px) and (max-height: 699px) {
  #portfolio nav {
    top: calc(75px + 1px * 20 * (var(--h) - 400) / 299);
  }
}

@media screen and (min-height: 480px) and (max-height: 699px) and (max-width: 399px) {
  #portfolio nav {
    font-size: 2.5em;
  }
}

@media screen and (min-height: 480px) and (max-height: 699px) and (min-width: 400px) and (max-width: 799px) {
  #portfolio nav {
    font-size: calc(2.5em + 1em * 1.5 * (var(--w) - 400) / 399 * (var(--h) - 480) / 219);
  }
}

@media screen and (min-height: 480px) and (max-height: 699px) and (min-width: 800px) {
  #portfolio nav {
    font-size: calc(2.5em + 1em * 1.5 * (var(--h) - 400) / 399);
  }
}

@media screen and (min-width: 500px) and (max-width: 650px) {
  #portfolio nav {
    right: calc(10px + 1px * 30 * (var(--w) - 500) / 150);
  }
}

@media screen and (max-width: 499px) {
  #portfolio nav {
    text-shadow: 1px 0 1px white;
    right: 10px;
  }
}

#portfolio nav a {
  display: inline-block;
  margin-bottom: 5px;
  z-index: 12;
  -webkit-transform: translate3d(120%, 0, 0);
  transform: translate3d(120%, 0, 0);
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

@media screen and (max-height: 479px) {
  #portfolio nav a {
    margin-bottom: 15px;
  }
}

@media screen and (min-height: 480px) {
  #portfolio nav a.space {
    margin-top: 20px;
  }
}

#portfolio nav a span {
  display: inline-block;
  padding: 10px 10px 0px 10px;
  color: white;
  background-color: rgba(0, 0, 0, 0);
  transition: color 0.5s ease-in-out, background-color 0.5s ease-in-out;
}

#portfolio nav a:hover span {
  background-color: rgba(0, 0, 0, 0.8);
  color: #efe102;
  text-shadow: 0 0 1px #efe102;
}

@media screen and (max-height: 614px) {
  #portfolio #logo {
    display: none;
  }
}

@media screen and (min-height: 615px) {
  #portfolio #logo {
    position: absolute;
    display: inline-block;
    right: 50px;
    bottom: 0px;
    padding-bottom: 30px;
    overflow: hidden;
    color: white;
    font-family: 'Raleway';
    font-size: 8em;
    font-stretch: condensed;
    font-weight: 100;
    text-align: right;
    max-width: 85%;
    text-shadow: 0 0 1px white;
  }
}

@media screen and (min-height: 615px) and (min-width: 500px) and (max-width: 650px) {
  #portfolio #logo {
    right: calc(20px + 1px * 30 * (var(--w) - 500) / 150);
  }
}

@media screen and (min-height: 615px) and (max-width: 499px) {
  #portfolio #logo {
    right: 20px;
    bottom: -15px;
  }
}

@media screen and (min-height: 615px) and (max-width: 299px) {
  #portfolio #logo {
    font-size: 3em;
  }
}

@media screen and (min-height: 615px) and (min-width: 300px) and (max-width: 1400px) {
  #portfolio #logo {
    font-size: calc(3em + 1em * 5 * (var(--w) - 300) / 1100);
    text-shadow: 0 0 1px white;
  }
}

@media screen and (min-height: 615px) {
  #portfolio #logo span:nth-child(1) {
    display: inline-block;
  }
  #portfolio #logo span:nth-child(2) {
    display: inline-block;
    color: #efe102;
    text-shadow: 0 0 1px #efe102;
  }
  #portfolio #logo span:nth-child(3) {
    display: inline-block;
  }
}

#portfolio.current {
  height: 100%;
}

#portfolio.current nav a {
  transform: translate3d(0%, 0, 0);
}

#portfolio.current #logo span:nth-child(1) {
  animation: logoFadeIn1 0.5s ease-in-out;
}

#portfolio.current #logo span:nth-child(2) {
  animation: logoFadeIn2 0.5s ease-in-out;
}

#portfolio.current #logo span:nth-child(3) {
  animation: logoFadeIn3 0.7s ease-in-out;
}

#portfolio.intro {
  display: block;
}

#portfolio.intro #logo span {
  animation: none !important;
}

#portfolio.hidden nav a {
  transform: translate3d(120%, 0, 0);
}

#portfolio.hidden #logo span:nth-child(1) {
  animation: logoFadeOut 0.7s ease-in-out;
}

#portfolio.hidden #logo span:nth-child(2) {
  animation: logoFadeOut 0.55s ease-in-out 0.15s;
}

#portfolio.hidden #logo span:nth-child(3) {
  animation: logoFadeOut 0.4s ease-in-out 0.3s;
}

body.portfolio header:after {
  opacity: 1;
}

body.portfolio header #fade {
  height: 120px;
}

body.portfolio header #fade div.after {
  opacity: 1;
}

body.portfolio header #menu a {
  color: white;
  text-shadow: 0 0 1px white;
}

@media screen and (min-height: 650px) {
  body.portfolio header #name_top a {
    pointer-events: none;
  }
  body.portfolio header #name_top a span {
    opacity: 0;
  }
}

@media screen and (max-height: 649px) {
  body.portfolio header #name_top a {
    color: white;
    text-shadow: 0 0 1px white;
  }
  body.portfolio header #name_top a span:nth-last-of-type(2) {
    color: white;
    text-shadow: 0 0 1px white;
  }
}

body.portfolio header #menuicon > div {
  background: white;
}

body.portfolio #background img.visible, body.portfolio #fade img.visible {
  opacity: 1 !important;
}

@media screen and (max-height: 480px) {
  body.portfolio #background img, body.portfolio #fade img {
    filter: brightness(0.8);
  }
}

@keyframes logoFadeIn1 {
  0% {
    opacity: 0;
    transform: translate3d(0, 100px, 0);
  }
  80% {
    opacity: 1;
  }
  100% {
    transform: translate3d(0, 0px, 0);
  }
}

@keyframes logoFadeIn2 {
  0% {
    opacity: 0;
    transform: translate3d(0, 100px, 0);
  }
  20% {
    opacity: 0;
    transform: translate3d(0, 100px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0px, 0);
  }
}

@keyframes logoFadeIn3 {
  0% {
    opacity: 0;
    transform: translate3d(0, 100px, 0);
  }
  30% {
    opacity: 0;
    transform: translate3d(0, 100px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0px, 0);
  }
}

@keyframes logoFadeOut {
  0% {
    opacity: 1;
    transform: translate3d(0, 0px, 0);
  }
  100% {
    opacity: 0;
    transform: translate3d(0, 100px, 0);
  }
}

.flexBar {
  position: fixed;
  cursor: pointer;
  border-right: solid 4px transparent;
  z-index: 99999;
  right: 0;
  top: 0;
  height: 100%;
  width: 12px;
  margin-left: 7px;
  transition: all 0.2s ease-in;
  -ms-user-select: none;
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -o-user-select: none;
  user-select: none;
}

.flexBar .indicator {
  position: absolute;
  top: 0px;
  right: -3px;
  background-color: #7691c6;
  transition: width 0.2s ease-in, right 0.2s ease-in;
  width: 2px;
  height: 30px;
}

.flexBar:hover, .flexBar.full {
  border-right-width: 12px;
  margin-left: 0px;
}

.flexBar:hover .indicator, .flexBar.full .indicator {
  width: 10px;
  right: -11px;
}

.ie_image {
  position: absolute;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
}

img.ie_image {
  background-size: cover;
}

@media screen and (min-width: 0\0) {
  header {
    transition: background-color 0.7s ease-in-out;
    overflow: hidden;
    background: white;
  }
  header.hidden {
    background-color: transparent;
  }
  header.hidden:hover {
    background-color: white;
  }
  header.hidden:hover #menu a span, header.hidden:hover #name_top span {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    pointer-events: all;
  }
  header.hidden:hover #top {
    left: 20px;
    opacity: 1;
    pointer-events: all;
  }
  header #fade {
    overflow: hidden;
  }
  header #fade img.visible {
    opacity: 0;
  }
  #background img.visible {
    opacity: 0;
  }
  body.portfolio header {
    background: transparent;
  }
  body.portfolio header #fade {
    background: transparent;
  }
  body.portfolio header #fade img.visible {
    opacity: 1;
  }
  body.portfolio #background img.visible {
    opacity: 1;
  }
}

/*# sourceMappingURL=style.css.map */