@font-face {
 font-family: "TWK Everest";
 src: url("font/TWKEverett-Light-web.woff") format("woff"),
        url("font/TWKEverett-Light-web.woff") format("woff");
}

@font-face {
 font-family: "TWK Everest Bold";
 src: url("font/TWKEverett-Regular-web.woff") format("woff"),
        url("font/TWKEverett-Regular-web.woff") format("woff");
}

body, html {
  margin: 0;
  padding: 0;
}

body {
  font-family: "TWK Everest", sans-serif;
  font-weight: 200 !important;
  font-style: normal;
  letter-spacing: 0.1em;
  background: #fff;
  transition: background 1s ease-in-out;
}

* {
  font-family: "TWK Everest", sans-serif;
  font-weight: 200 !important;
}

body.dark {
  background: #ddd;
}

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

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

.icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  vertical-align: middle;
}

.icon.arrow-left {
  background: url('img/icon-arrow-left.svg') center center / 100% auto no-repeat;
}

.icon.arrow-right {
  background: url('img/icon-arrow-right.svg') center center / 100% auto no-repeat;
}

.icon.instagram {
  background: url('img/icon-instagram.svg') center center / 100% auto no-repeat;	
}

#header {
  position: fixed;
  width: 100vw;
  left: 0;
  right: 0;
  top: 0;
  z-index: 9999;
}

body.white {
  background: #fff;
}

#header .row.flex {
  justify-content: space-between;
  align-items: center;
}

#header h1,
#header ul,
#project-list nav {
  padding: 0;
}

#header ul {
  margin: 0;
}

ul li,
nav li {
  list-style: none;
}

#header ul li {
  display: inline-block;
}

#header h1,
#header h1 a,
#header ul li a {
  font-weight: normal;
  font-family: "TWK Everest", sans-serif;
  text-transform: uppercase;
  text-decoration: none;
}

#header ul li a {
  color: #aaa;
  transition: color .4s ease-in-out;
}

#header ul li a:hover {
  color: #000;
}

#header ul li a .icon {
  opacity: 0.5;
  transition: .4s ease-in-out;
}

#header ul li a:hover .icon {
  opacity: 1;
}

#header h1,
#header h1 a,
#header ul li.selected a {
  color: #000;
}

#mobile-button {
  color: #000;
  text-decoration: none;
  font-size: 16pt;
  line-height: 4pt;
  text-align: left;
}

main.index {
  min-height: 100vh;
}

#project-list {
  position: absolute;
  top: 0;
  width: 100vw;
  z-index: 9998;
  padding-top: 80px;
}

#project-list nav {
  line-height: 7vh;
}

#project-list nav li {
  display: block;
  opacity: 0;
  margin-left: 10px;
}

#project-list nav li a {
  font-family: "TWK Everest", sans-serif;
  text-transform: uppercase;
  color: #000;
  text-decoration: none;
  display: inline-block;
  margin-left: 0;
  font-size: 7vh;
  transition: text-shadow .4s ease-in-out, margin-left .4s ease-in-out;
}

#project-list nav li:hover a {
  text-shadow: 1px 1px 1px #000, 0 0 1px #000, 0 0 1px #000;
  margin-left: 10px;
}

#project-thumbnails {
  padding: 0;
  margin: 0;
}

#project-thumbnails li a {
  text-decoration: none;
  color: #000;
  height: 100%;
}

#project-info #project-info-content {
  width: 100%;
  height: 100%;
  position: relative;
}

#project-info #project-info-title {
  text-transform: uppercase;
}

#project-info div h1,
#project-info div p {
  margin: 0;
  padding: 0;
  text-align: justify;
}

#project-info #project-info-text {
  line-height: 16pt;
  font-size: 11pt;
  margin: 0 !important;
}

#project-info-title,
#project-info-text {
  opacity: 1;
  transition: opacity .4s ease-in-out;
  position: relative;
  z-index: 9995;
}

#project-info-title .location {
  display: block;
  margin-top: 15px;
  padding-left: 2px;
}

#project-info-title .location sup {
  font-size: .6em;
}

#project-info-title.hide,
#project-info-text.hide {
  opacity: 0;
}

#project-info-text {
  opacity: 1;
  transition: opacity .4s ease-in-out;
}

#project-pictures ul {
  margin: 0;
  padding: 0;
}

#project-pictures {
  padding-top: 80px;
}

#project-pictures li {
  margin-bottom: 80px;
}

#project-pictures li img {
  display: inline-block;
}

#project-pictures li.portrait {
  text-align: left;
  width: 100%;
}

#project-pictures li:first-child.portrait {
  text-align: center !important;
}

#project-pictures li.landscape {
  position: relative;
  z-index: 9995;
}

#project-pictures li:first-child.landscape {
  z-index: 9985 !important;
}

#project-pictures li.landscape img {
  width: 100%;
  height: auto;
}

#project-pictures li.landscape::before,
#project-pictures li.landscape::after {
  content: '';
  height: 75px;
  width: 100%;
  left: 0;
  right: 0;
  position: absolute;
}

#project-pictures li.landscape:first-child::before,
#project-pictures li.landscape:first-child::after {
  display: none;
}

#project-pictures li.landscape::before {
  top: -75px;
  background-image: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
}

#project-pictures li.landscape::after {
  bottom: -75px;
  background-image: linear-gradient(to top, rgba(255,255,255,0), rgba(255,255,255,1));
}

#project-nav {
  position: relative;
  z-index: 9999;
  margin-bottom: 50px;
}

#project-nav .col a {
  text-transform: uppercase;
  color: #000;
  text-decoration: none;
}

#project-nav .col a .icon {
  margin-right: 10px;
}

#project-nav .col.align-right a .icon {
  margin-right: 0;
  margin-left: 10px;
}

#project-nav .col a .icon {
  opacity: 0.2;
  transition: opacity .4s ease-in-out;
}

#project-nav .col a:hover .icon {
  opacity: 1;
}
 
#more-info {
  color: #000;
  text-decoration: none;
}

#more-info,
#more-info span {
  display: inline-block;
  vertical-align: middle;
}

#more-info span {
  opacity: 0;
  visibility: hidden;
  transition: .4s ease-in-out;
}

#more-info:hover span {
  opacity: 1;
  visibility: visible;
}

.readmore {
  overflow: hidden;
  transition: height .4s ease-in-out;
  max-height: 45px;
}

#readmore-button {
  color: #000;
  text-decoration: none;
}

.info .row.col-1 {
  margin-top: 20vh;
} 

.info h1 {
  padding-bottom: 10vh;
  font-weight: normal;
  text-transform: uppercase;
}

.info p {
  text-align: justify;
}

.info a,
.info p a {
  text-decoration: none;
  color: #aaa;
  transition: .4s ease-in-out;
}

.info a:hover,
.info p a:hover {
  color: #000; 
}

/* responsive */

@media screen and (max-width: 800px) {
  /* .row.col-2 .col,
  .row.col-3 .col,
  .row.col-3 .col.double {
    width: calc(100% - 10px);
  } */
  #header .flex {
  	display: flex;
  }
  .row {
    width: calc(100vw - 40px);
    margin: 0 20px;
  }
  .hide-mobile {
    display: none;
  }
  #header h1 a,
  #mobile-button {
    display: block;
    z-index: 9995;
    position: relative;
  }
  body.open #header h1 a,
  body.open #mobile-button {
    color: #aaa !important;
  }
  #header {
    background: rgba(255, 255, 255, 0.8);
  }
  body.dark #header {
	background: rgba(221, 221, 221, 0.8);
    transition: background 1s ease-in-out;
  }
  #header h1,
  #header h1 a,
  #header ul li a {
    font-size: 15pt;
  }
  #header .row.flex {
  	position: relative;
  }
  #menu {
    position: fixed;
    left: -100vw;
    width: calc(100vw - 40px);
    height: calc(100vh - 200px);
    top: 0;
    padding: 100px 20px !important;
    background: #fff;
    opacity: 0;
    line-height: 34pt;
    z-index: 9990;
    transition: .4s ease-in-out;
  }
  #header ul li.selected a {
    color: #fff !important;
  }
  body.open #menu {
    left: 0;
    background: #333;
    opacity: 1;
  }
  #header ul li {
    display: block !important;
  }
  #header ul li a {
    font-size: 24pt !important;
  }
  #project-thumbnails {
    width: calc(100vw - 40px);
  }
  #project-thumbnails li,
  #project-thumbnails li img {
  	width: 100%;
  }
  #project-thumbnails li img {
    display: block;
  }
  #project-thumbnails,
  .furniture {
    padding: 60px 0;
    margin: 0 20px;
  }
  #project-thumbnails li,
  .furniture li {
    padding: 60px 0;
  }
  #project-thumbnails li a,
  #project-thumbnails.furniture li a,
  #project-thumbnails.furniture li .caption {
    position: relative;
  }
  #project-thumbnails.furniture li a,
  #project-thumbnails.furniture li .caption {
    position: static;
    margin-top: 20px;
  }
  #project-thumbnails li .caption,
  .row.furniture .col a span {
    font-size: 30pt;
    display: block;
    width: 100%;
    text-align: left;
    text-transform: uppercase;
    position: absolute;
    bottom: -26px;
  }
  .row.furniture .col a span {
    position: static !important;
    text-align: center !important; 
  }
  #project-info {
    padding-top: 100px;
  }
  #project-info,
  #project-info-text {
    width: calc(100vw - 40px) !important;
  }
  #project-info-text {
    font-size: 10pt;
    line-height: 12pt;
  }
  #project-info-text.hide {
  	opacity: 1 !important;
  }
  #project-pictures li img {
    width: 100%;
    height: auto;
  }  
  #project-info #project-info-title {
    font-size: 3vh !important;
    width: 100%;
    display: block;
  }
  #project-pictures {
    padding-top: 40px !important;
  }
  #project-info .col.double span {
  	margin: 3px 0 24px 0;
  	display: block;
  	width: 100%;
  }
  #project-nav {
    flex-direction: column;
  }
  #project-nav .col {
  	width: 100% !important;
  	text-align: left !important;
  	padding: 5px 0;
  }
  #project-nav .col i {
    display: none;
  }
  #info h1 {
    font-size: 22pt;
  }
  .info h1 {
    font-size: 2.5vh; 
    line-height: 3.5vh;
  }
  .row.furniture .col a {
    display: block;
    color: #000;
    text-align: center;
    text-decoration: none;
  }
  .row.furniture .col a img {
    width: 80%;
    height: auto;
    display: inline-block;
    margin-bottom: 20px;
  }
  .info .col.email {
    padding: 10vh 0 50vh 0;
  }
}

@media screen and (min-width: 801px) {
  .row.flex {
    display: flex;
    flex-direction: row;
  }
  .row.col-2 .col {
    width: calc(50% - 40px);
  }
  .row.col-2 .col:nth-child(odd) {
    margin-right: 40px;
  }
  .row.col-2 .col:nth-child(even) {
    margin-left: 40px;
  }
  .row .col.offset {
    padding-top: 300px;
  } 
  .row.col-2 .col:last-child {
    margin-left: 20px;
  }
  .row.col-3 .col {
    width: calc(33.33% - 40px);
  }
  .row.col-3 .col {
    margin-right: 40px;
  }
  .row.col-3 .col:last-child {
    margin-right: 0;
    width: 33.33%;
  }
  .row.col-3 .col.double {
    width: calc(66.66% - 10px);
  }
  .row.col-4 .col {
    width: calc(25% - 10px);
  }
  .row {
    width: 80vw;
    max-width: 1400px;
    margin: 0 auto;
  }
  .show-mobile {
    display: none;
  }
  p {
    font-size: 10pt;
    line-height: 16pt;
    text-align: justify;
  }
  #header {
    padding: 20px 0;
  }
  #header h1,
  #header h1 a,
  #header ul li a,
  #project-info-title .location {
    font-size: 11pt;
    line-height: 16pt;
  }
  #project-info div h1,
  #readmore-button,
  .info h1 {
    font-size: 3.5vh;
    line-height: 5vh;
  }
  #header ul li {
    margin-left: 10px;
  }
  #project-info .col.double {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
  }
  #project-info #project-info-title {
    font-size: 7vh !important;
  }
  #project-thumbnails {
    padding: 0;
    height: 100vh;
    position: fixed;
    width: 100vw;  
  }
  #project-info .col.double span {
    position: absolute;
    bottom: 0;
    left: 0;
  }
  #project-thumbnails li {
    width: 100%;
    text-align: center;
    height: 100vh;
  }
  #project-thumbnails li a {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  .row.furniture {
    padding: 100px 0 0 0;
  }
  .row.furniture .col {
    margin-bottom: 30px;
    float: left;
  }
  .row.furniture .col a {
    display: block;
    color: #000;
    text-decoration: none;
  }
  .row.furniture .col a img {
    height: 150px;
    padding: 50px 0;
    width: auto;
    display: block;
  }
  .row.furniture .col a {
    text-transform: uppercase;
    font-size: 16pt;
  }
  #project-thumbnails li img {
    height: calc(100vh - 160px);
    width: auto;
    transition: .4s ease-in-out;
  }
  .row.furniture .col a img {
  	transition: transform .4s ease-in-out;
  }
  .row.furniture .col a:hover img {
    opacity: 0.8;
    transform: scale(1.1);
  }
  #project-thumbnails.furniture li img {
    height: calc(60vh - 160px);
    width: auto;
  }
  #project #more-info {
    font-size: 20pt;
  }
  #project-info {
    position: fixed;
    height: calc(100vh - 100px);
    top: 80px;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    z-index: 9990;
  }
  #project-pictures li.portrait img,
  #project-pictures li.square img {
    height: calc(100vh - 100px);
    width: auto;
  }
}
  