
::selection { background: #000000; color: #ffffff;}
::-moz-selection { background: #000000; color: #ffffff;}

/* Font loader ------------------*/

@font-face {
    font-family: 'Rather';
    src: url('../fonts/Rather-SemiBold.woff') format('woff'),
         url('../fonts/Rather-SemiBold.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Rather';
    src: url('../fonts/Rather-Regular.woff') format('woff'),
         url('../fonts/Rather-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}


:root {
  --base:       24px;
  --gutter:     12px;
  --font-size-body: 12px;
  --aside-width:    0;
  --block-width:    240px;
  --columns:      1;
  --gray:       rgba(0,0,0,0.1);
}

/* general */

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

* {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  -webkit-tap-highlight-color: transparent;
  -webkit-overflow-scrolling: touch;
}

.noscroll {
  overflow: hidden !important;
  pointer-events: none;
}

html,
body {
  margin:0;
  padding:0;
  font-family: 'Times';
  font-family: 'Rather', roboto;
  font-size: 14.5px;
}

body {
  line-height:var(--base);
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  overflow: hidden;
}

strong, b {
  font-weight: 400;
}

em {
  font-style: normal;
}

a {
  pointer-events: all !important;
}

main,
aside {
  box-sizing:border-box;
  padding:0;
}

main {
  opacity: 1;
  position:relative;
  width: 100vw;
}

main.fade_in {
  opacity: 1;
  transition: opacity 0.6s;
}

html:not(.show-images) img {
  display:block;
}

aside {
  position:fixed;
  height:100%;
  border-right:1px solid var(--gray);
}

h1 {
  font-size: 0.9rem;
  font-family: Arial, sans;
  margin: 0;
  height: 1em;
}

p {
  line-height: 1.35em;
}

a {
  font-family: 'Rather', roboto;
  color: #000;
  font-weight: 400;
  text-decoration: none;
  border-bottom: 0px dashed #000;
  display: inline-block;
  color: #4caf50;
}

.nav_index a {
  color: #000;
  display: block;
  font-weight: normal;
  border-bottom: 0px dashed #000;
}

a:hover {
  color: #000;
}

img {
  width:100%;
  display:block;
}

.loader {
  position: fixed;
  font-size: 1rem;
  top: calc(50vh - 1.8em);
  left: 14px;
  z-index: 1;
  opacity: 1;
  transition: opacity 0s;
  transition-delay: 0s;
}

.loader.hide {
  opacity: 0;
  transition-delay: 1.2s;
}

/* nav */

.arrow {
  opacity: 1;
  transition: opacity 0.12s linear;
}

.arrow.transparent {
  opacity: 0.12;
  transition: opacity 0.12s linear;
}

.nav_right, .nav_left, .nav_down, .nav_up {
  opacity: 1;
  transition: opacity 0.1s;
}

.nav_right:hover, .nav_left:hover, .nav_down:hover, .nav_up:hover {
  cursor: pointer;
}

*.bye {
  opacity: 0;
  transition: opacity 0.08s;
}

.up {
  position: fixed;
  left: 50vw;
  top: 0;
  margin-top: 15px;
  z-index: 10;
  width: 1px;
  background: #000;
  height: calc(50vh - 15px);
}

.first_state .up:after {
  display: none;
}

.up:after {
  content: '';
  background-image: url("../images/triangle.png");
  background-repeat: no-repeat;
  width: 13px;
  position: absolute;
  height: 13px;
  top: -5px;
  background-size: 100%;
  margin-left: -6px;
  transform: translateY(60%);
  transform: rotate(180deg);
}

.down {
  position: fixed;
  left: 50vw;
  bottom: 0;
  margin-bottom: 15px;
  z-index: 10;
  width: 1px;
  background: #000;
  height: calc(50vh - 15px);
}

.last_state .down, .last_state .nav_down, .first_state .up, .first_state .nav_up {
  pointer-events: none;
  cursor: default;
}

.last_state .down:after {
  display: none;
}

.down:after {
  content: '';
  background-image: url("../images/triangle.png");
  background-repeat: no-repeat;
  width: 13px;
  position: absolute;
  height: 13px;
  bottom: 0;
  background-size: 100%;
  margin-left: -6px;
  transform: translateY(60%);
}

.right {
  position: fixed;
  left: 50vw;
  top: 50vh;
  margin-right: 15px;
  z-index: 10;
  background: #000;
  width: calc(50vw - 15px);
  height: 1px;
  pointer-events: none;
}

.right:after {
  content: '';
  background-image: url("../images/triangle.png");
  background-repeat: no-repeat;
  width: 13px;
  position: absolute;
  height: 13px;
  right: -5px;
  background-size: 100%;
  margin-top: -6px;
  transform: translateY(60%);
  transform: rotate(-90deg);
}

.left {
  position: fixed;
  left: 0;
  top: 50vh;
  margin-left: 15px;
  z-index: 10;
  background: #000;
  width: calc(50vw - 15px);
  height: 1px;
  pointer-events: none;
}

.nav_up {
  position: fixed;
  width: 10vw;
  height: 45vh;
  top: 0;
  float: left;
  transform: translateX(-50%);
  z-index: 9999;
}

.nav_down {
  position: fixed;
  width: 10vw;
  height: 45vh;
  top: 55vh;
  float: left;
  transform: translateX(-50%);
  z-index: 9999;
}

.text_state .nav_down, .text_state .nav_up {
  width: 2.5vw;
}

.nav_right {
  position: absolute;
  height: 10vh;
  width: 45vw;
  top: 50vh;
  left: 55vw;
  float: left;
  transform: translateY(-50%);
  z-index: 9999;
  pointer-events: all;
}

.nav_left {
  position: absolute;
  height: 10vh;
  width: 45vw;
  top: 50vh;
  left: 0;
  float: left;
  transform: translateY(-50%);
  z-index: 9999;
  pointer-events: all;
}

.text_state .right, .text_state .left {
  display: none;
}

/*index */

.index_button {
  position: fixed;
  bottom: 3px;
  padding: 0 14px;
  right: 0;
  text-align: right;
  z-index: 90;
}

.nav_button_mobile {
  display: none;
  position: fixed;
  bottom: 8px;
  left: 0;
  padding: 0 14px;
  text-align: left;
  z-index: 90;
  pointer-events: all;
  cursor:pointer;
}

.text_state .index_button {
  z-index: 4;
}

.index_close {
  position: absolute;
  top: 0px;
  padding: 10px 15px;
  right: 0;
  text-align: right;
}

.index_button:hover, .nav_button_mobile:hover {
  cursor: pointer;
  color: #4caf50;
}

.index_close:hover {
  cursor: pointer;
  color: #fff;
}

.index_container {
  position: fixed;
  width: 100vw;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  top: 100vh;
  left: 0;
  overflow-x: hidden;
  overflow-y: scroll;
  background: #efefef;
  background: #56d45b;
  z-index: 9999;
  transition: top .1s ease-in;
}

.index .index_container {
  top: 28px;
  transition: top .2s ease-out;
}

.index_about_info {
  width: calc(100vw - 30px);
  margin: 0 15px;
  float: left;
  height: 1.8em;
  border-top: 0px solid;
}

.index_about_info:first-child {
  margin-top: 2.5em;
}

.index_about_info:nth-child(2) {
  border-bottom: 0px solid #404040;
  margin-bottom: 2em;
}

.index_link {
  width: calc(100vw - 30px);
  margin: 0;
  padding: 0 15px;
  float: left;
  height: 1.8em;
}

.index_link:last-child {
  margin-bottom: 3em;
}

.index_link.hide {
  display: none;
}

.index_link:hover, .index_about_info:hover {
  /* background-color: #ffa671; */
  cursor: pointer;
  font-weight: normal;
  color: #4caf50;
  color: #fff;
}

.index_about_info > div, .index_link div {
  height: 2em;
  width: 22%;
  float: left;
  padding-right: 1em;
  overflow-x: hidden;
}

.index_about_info > .index_see, .index_link > .index_see {
  float: right;
  text-align: right;
  padding-right: 0;
}

.index_link .index_title, .index_about_info .index_title {
  width: calc(50% - 15px);
}

.index_media {
  text-transform: lowercase;
}

/* blocks */

.blocks {
  visibility: visible;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  width: 100vw;
  transition: transform 0.25s ease-out;
  overflow-y: hidden;
  background-color: none;
  z-index: 2;
  pointer-events: none;
}

.blocks.text {
  pointer-events: all;
}

.draggable {
  height: calc(100vh - 28px);
  pointer-events: all;
}

.blocks img {
  height: calc(100vh - 28px);
  width: auto;
  opacity: 0;
  transition: opacity .25s;
  transition-delay: 0.1s;
}

/*.block {
  background: #ffffff;
} */

.extra_slide {
  width: 50vw;
}

.small .slick-list {
  top: 21vh;
}

.small img {
  height: 48vh;
}

.blocks.swoop {
  transform: translateY(calc(-50vh + 28px));
  transition: transform 0.25s ease-out;
  pointer-events: none;
}

.block {
  margin-right: 28px;
}

.block span {
  display:block;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
}

.blocks:after,
.block:after {
  display:block;
  content:"";
  clear:both;
}

/* text blocks */

.text {
  pointer-events: none;
  z-index: 3;
}

.text .description_wrapper {
  height: auto;
  column-count: 2;
  -webkit-column-count: 2;
  -moz-column-count: 2;
}

.text + .nav_description {
  width: 100%;
  height: calc(100vh - 10px);
  overflow-y: scroll;
  margin-top: calc(-100vh + 10px);
  font-size: 1.6rem;
  pointer-events: all;
  background: #fff;
  z-index: 3;
}

.text + .nav_description:hover {
  cursor: default;
  font-weight: normal;
  transform: translateY(0);
  color: #000;
}

.text_title, #bio + .nav_description .text_title {
  display: none;
}

.text + .nav_description .text_title {
  display: block;
}


/* intro */

.block_title {
  display: none;
}

.nav_description {
  position: absolute;
  line-height: 1.25em;
  width: calc(50vw);
  height: calc(50vh - 20px);
  height: 20px;
  margin-top: -24px;
  overflow: hidden;
  transform: translateY(0);
  transition: all 0.2s ease-out;
  z-index: 2;
  pointer-events: all;
}

.nav_description p:first-child:after {
  content: '';
  width: 1.5em;
  display: inline-block;
  height: 0.9em;
  transform: translateY(1px);
  margin-left: 8px;
  background-image: url(../images/dotdotdot.svg);
  background-size: contain;
  background-repeat: no-repeat;
}

.nav_description:hover p:first-child:after {
  content: '...read more';
  width: 100%;
  position: absolute;
  background: none;
  line-height: 1.15em;
}

.nav_description.swoop p:after {
  opacity: 0;
  display: none;
  color: #4caf50;
}

.nav_description.text p:after {
  display: none;
}

.description_wrapper {
  height: 100%;
  padding: 0 15px 0 15px;
  position: static
}

.nav_description p {
  margin-top: 0;
  margin-bottom: 1.35em;
}

.nav_description:hover {
  cursor: pointer;
  transform: translateY(0);
  transition: all 0.2s;
  color: #4caf50;
}

.nav_description .dotdotdot {
  display: inline-block;
  height: 0.9em;
  padding: 0.2em 0.5em 0.1em 0;
  width: auto;
  float: left;
}

.nav_description.swoop {
  margin-top: calc(-50vh + 10px);
  height: calc(50vh - 10px);
  transition: all 0.2s;
}

.nav_description.swoop:hover {
  transform: translateY(0);
  cursor: s-resize;
  color: #000;
}

.current {
  z-index: 20;
  float: left;
}

.slick-slider .slick-track {
  margin-left: 0px;
  transition: margin-left 0.3s ease-out;
} 

.slick-slider .slick-track.bump {
  margin-left: -10px;
  transition: margin-left 0.35s ease-out;
}

/* responsive */

@media (min-width:400px) {
  :root {
    --columns:1;
  }
}

@media (max-width:699px) {
  aside {
    display:none;
  }
}

@media (min-width:700px) {
  :root {
    --columns:1;
  }
  main {
    left:var(--aside-width);
    width:calc(100% - var(--aside-width));
  }
  aside {
    width:var(--aside-width);
  }
}

@media (min-width:1000px) {
  :root {
    --columns:1;
  }
}

@media (min-width:1300px) {
  :root {
    --columns:1;
  }
}

@media (min-width:1600px) {
  :root {
    --columns:1;
  }
}

/* Media Queries ------------------*/

/* general retina */
@media 
(-webkit-min-device-pixel-ratio: 2), 
(min-resolution: 192dpi) { 
  .slick-track {
    margin-top: -0.2px !important;
  }
}

@media screen and (min-width: 1500px) {

  body, html { 
    font-size: 13px;
  }

}

@media screen and (min-width: 2000px) {

  body, html { 
    font-size: 16.5px;
  }
}

@media screen and (min-width: 2400px) {

  body, html { 
    font-size: 18.5px;
  }

  .text + .nav_description {
    width: 75vw;
  }

  .text .description_wrapper {
    column-count: 3;
    -webkit-column-count: 3;
    -moz-column-count: 3;
  }

}

@media screen and (max-width: 1100px) {
  body, html { 
    font-size: 13px;
  }

  .nav_description p:first-child:after {
    height: 1em;
    transform: translateY(2px);
    margin-left: 4px;
  }

}

/* ipad landscape */
@media only screen 

and (max-device-width : 1024px) 
and (orientation : landscape) {
  .blocks img {
    height: calc(100vh - 70px);
  }

  *.bye {
    opacity: 1;
    transition: 0;
  }

  .right, .left, .nav_right, .nav_left {
    visibility: hidden;
  }

  .nav_button_mobile {
    display: block;
  }

  .nav_button_mobile .mobile_open {
    display: block;
  }

  .nav_button_mobile .mobile_close {
    display: none;
  }

  .nav_button_mobile.opened .mobile_open {
    display: none;
  }

  .nav_button_mobile.opened .mobile_close {
    display: block;
  }

  .nav_down {
    height: 45vh;
    top: auto;
    bottom: 0;
  }

  .nav_up {
    height: 45vh;
    top: 0;
  }

  .index_button {
    bottom: 8px;
  }

  .nav_description {
    opacity: 0;
    pointer-events: none;
    transition: 0s;
    overflow: scroll;
  }

  .text + .nav_description {
    height: calc(var(--vh, 1vh) * 100);
    margin-top: calc(var(--vh, 1vh) * -100 + 10px);
  }

  .nav_description.text {
    opacity: 1;
  }

  .text_state .nav_button_mobile {
    display: none;
  }

  .nav_description.swoop {
    position: fixed;
    opacity: 1;
    height: calc(100vh - 10px);
    height: calc(var(--vh, 1vh) * 100);
    width: 100%;
    margin-top: 10px;
    top: 0;
    pointer-events: all;
    transition: opacity 0.3s;
    transition-delay: 0s;
    z-index: 9999;
    background: white;
  }

  .blocks.swoop {
    visibility: hidden;
  } 
}

@media screen and (max-aspect-ratio: 1/1) {

  .slick-slide {
    height: auto;
  }

  .blocks img {
      height: auto;
      width: calc(100vw - 16vw);
  }

  .block {
    margin-right: 30px;
  }

  .text .description_wrapper {
    column-count: 1;
    -webkit-column-count: 1;
    -moz-column-count: 1;
  }

  *.bye {
    opacity: 1;
    transition: 0;
  }

  .right, .left, .nav_right, .nav_left {
    visibility: hidden;
  }

  .nav_button_mobile {
    display: block;
  }

  .nav_button_mobile .mobile_open {
    display: block;
  }

  .nav_button_mobile .mobile_close {
    display: none;
  }

  .nav_button_mobile.opened .mobile_open {
    display: none;
  }

  .nav_button_mobile.opened .mobile_close {
    display: block;
    background: #fff;
    border: 1px solid #4caf50;
    border-radius: 5em;
    padding: 0.2em 0.6em;
    color: #000;
  }

  .index_button {
    bottom: 8px;
  }

  .nav_description {
    opacity: 0;
    pointer-events: none;
    transition: 0s;
  }

  .text + .nav_description {
    height: calc(var(--vh, 1vh) * 100 - 10px);
    margin-top: calc(var(--vh, 1vh) * -100 + 10px);
  }

  .nav_description.text {
    opacity: 1;
  }

  .text_state .nav_button_mobile {
    display: none;
  }

  .nav_down {
    top: auto;
    bottom: 0;
  }

  .nav_up {
    top: 0;
  }

  .nav_description.swoop {
    position: fixed;
    opacity: 1;
    height: calc(100vh - 10px);
    height: calc(var(--vh, 1vh) * 100);
    width: 100vw;
    margin-top: 0px;
    top: 0;
    pointer-events: all;
    transition: opacity 0.3s;
    transition-delay: 0s;
    overflow: scroll;
    background: white;
  }

  .blocks.swoop {
    visibility: hidden;
  } 

  * {
    font-size: 1.5rem;
  } 

}

@media screen and (max-width: 850px) {

  .loader {
    top: calc(1.8em);
  }

  .index .index_container {
    top: 0;
  }

  .index_about_info:first-child {
    margin-top: 3em;
  }

  .index_about_info:nth-child(2) .index_media {
    display: none;
  }

  .index_about_info > div, .index_link div {
    height: 2.1em;
  }

  .index_media, .index_see {
    display: none;
  }

  .index_about_info .index_media {
    display: block;
    text-align: right;
    float: right;
    padding-right: 0;
  }

  .index_link > .index_title  {
    width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }

  .index_about_info > .index_title {
    width: 64%;
  }

}

@media screen and (max-width: 400px) {
  body, html { 
    font-size: 11px;
  }

  *, .loader {
    font-size: 1.4rem;
  } 
}

/* Chrome 29+ */
@media screen and (-webkit-min-device-pixel-ratio:0)
  and (min-resolution:.001dpcm) {

}

/* Chrome 22-28 */
@media screen and(-webkit-min-device-pixel-ratio:0) {

}

/* screen retina low height */
@media 
(max-height: 800px) and (-webkit-min-device-pixel-ratio: 2), 
(max-height: 800px) and (min-resolution: 192dpi) { 

}

/* screen 13" retina */
@media 
(max-width: 1400px) and (-webkit-min-device-pixel-ratio: 2), 
(max-width: 1400px) and (min-resolution: 192dpi) { 

}

/* ipad Pro retina landscape */
@media 
(max-width: 1400px) and (min-height: 800px) and (-webkit-min-device-pixel-ratio: 2), 
(max-width: 1400px) and (min-height: 800px) and (min-resolution: 192dpi) { 

} 

/* ipad retina landscape */
@media 
(max-width: 1024px) and (max-height: 750px) and (-webkit-min-device-pixel-ratio: 2), 
(max-width: 1024px) and (max-height: 750px) and (min-resolution: 192dpi) { 

}

/* phones retina */
@media 
(max-width: 600px) and (-webkit-min-device-pixel-ratio: 2), 
(max-width: 600px) and (min-resolution: 192dpi) { 

}
