/* ibm-plex-sans-300 - latin */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/ibm-plex-sans-v14-latin-300.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/ibm-plex-sans-v14-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/ibm-plex-sans-v14-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/ibm-plex-sans-v14-latin-300.woff') format('woff'), /* Modern Browsers */
       url('../fonts/ibm-plex-sans-v14-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/ibm-plex-sans-v14-latin-300.svg#IBMPlexSans') format('svg'); /* Legacy iOS */
}
/* ibm-plex-sans-300italic - latin */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/ibm-plex-sans-v14-latin-300italic.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/ibm-plex-sans-v14-latin-300italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/ibm-plex-sans-v14-latin-300italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/ibm-plex-sans-v14-latin-300italic.woff') format('woff'), /* Modern Browsers */
       url('../fonts/ibm-plex-sans-v14-latin-300italic.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/ibm-plex-sans-v14-latin-300italic.svg#IBMPlexSans') format('svg'); /* Legacy iOS */
}
/* ibm-plex-sans-500 - latin */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/ibm-plex-sans-v14-latin-500.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/ibm-plex-sans-v14-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/ibm-plex-sans-v14-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/ibm-plex-sans-v14-latin-500.woff') format('woff'), /* Modern Browsers */
       url('../fonts/ibm-plex-sans-v14-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/ibm-plex-sans-v14-latin-500.svg#IBMPlexSans') format('svg'); /* Legacy iOS */
}
/* ibm-plex-sans-500italic - latin */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/ibm-plex-sans-v14-latin-500italic.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/ibm-plex-sans-v14-latin-500italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/ibm-plex-sans-v14-latin-500italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/ibm-plex-sans-v14-latin-500italic.woff') format('woff'), /* Modern Browsers */
       url('../fonts/ibm-plex-sans-v14-latin-500italic.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/ibm-plex-sans-v14-latin-500italic.svg#IBMPlexSans') format('svg'); /* Legacy iOS */
}

/* general */
:root {
  --main-padding: 1.2rem;
}
html, body {
  color: black;
  /* font-family: 'Jost', sans-serif; */
  /* font-family: 'Helvetica', Arial, sans-serif; */
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.4em;
}
html, * {
  /* box-sizing: border-box; */
}
body {
  padding: var(--main-padding);
  padding-top: 7rem;
}
#content {
  min-height: calc(100vh - 7rem - 84px);
}
a:link, a:visited, a:active, a:focus {
  color: black;
}

/* general typography */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.3em;
}

#content ul {
  padding-left: 1em;
}

#content ol {
  padding-left: 1.5em;
}

/* navigation */
#navigation {
  position: relative;
  display: flex;
  flex-direction: row;
  margin-bottom: 20px;
  padding: var(--main-padding);
  /* position: fixed; */
  z-index: 10;
  
  /* background-color: rgba(255,255,255,0.7); */
}
.bk-logo {
  font-size: 1.7rem;
  /* margin-left: 1.2rem; */
  padding: 0 var(--main-padding);
  box-sizing: border-box;
  margin-right: 0.4rem;
}
@media ( min-width: 768px ) {
  .bk-logo { width: 33.33333333333%; }
}
@media ( min-width: 1200px ) {
  .bk-logo { width: 25%; }
}
@media ( min-width: 1500px ) {
  .bk-logo { width: 20%; }
}

.bk-logo .logo-img {
  width: 213px;
  height: auto;
  margin-top: -1px;
}
.bk-logo .bold {
  font-weight: 500;
}
.bk-logo a {
  text-decoration: none;
}
.bk-logo a:hover, .bk-logo a:focus, .bk-logo a:active  {
  opacity: 0.6;
}
.navigation-background {
  background-color: rgba(255,255,255,0.6);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4rem;
  z-index: 10; 
  -webkit-backdrop-filter: blur(2px);
  -moz-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.menu {
  list-style-type: none;
  display: flex;
  flex-direction: row;
  margin: 0;
  padding: 0;
  /* margin-left: 68px; */
  margin-top: -0.8rem;
  /* margin-top: -4px; */
  /* backdrop-filter: blur(8px); */
}
.menu:before {
  position: absolute;
  width: 100;
  height: 1.5rem;
  background-color: blue;
}
.menu a {
  display: block;
  text-decoration: none;
  padding-top: 0.8rem;
  padding-bottom: 0.3rem;
  margin-left: 0.8rem;
  margin-right: 0.8rem;
  font-weight: 500;
  font-size: 1.5rem;
  height: auto;
  /* text-transform: uppercase; */
}
.menu a.active {
  /* font-weight: 300; */
  /* border-bottom: 0.2rem solid currentColor; */
  /* text-decoration: underline; */
  /* margin-top: 1rem; */
}
.menu a:hover {
  color: rgba(0,0,0,0.6);
}
#nav-icon-container {
  position: fixed;
  padding: 1rem;
  right: 0;
  top: 0;
  z-index: 11;
  display: none;
}
#nav-icon {
  width: 40px;
  height: 28px;
  position: relative;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
}

#nav-icon span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: black;
  /* border-radius: 9px; */
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

#nav-icon span:nth-child(1) {
  top: 0px;
}

#nav-icon span:nth-child(2),#nav-icon span:nth-child(3) {
  top: 12px;
}

#nav-icon span:nth-child(4) {
  top: 24px;
}

#nav-icon.open span:nth-child(1) {
  top: 12px;
  width: 0%;
  left: 50%;
}

#nav-icon.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

#nav-icon.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#nav-icon.open span:nth-child(4) {
  top: 16px;
  width: 0%;
  left: 50%;
}

@media screen and (max-width:767px){
  #nav-icon-container {
    display: block;
  }
  #navigation {
    margin-bottom: 0;
    flex-direction: column;
  }
  .navigation-background {
    /* transition: all 0.5s linear; */
  }
  .navigation-background.open {
    height: auto;
    /* bottom: auto; */
    backdrop-filter: blur(4px);
  }
  .menu {
    flex-direction: column;
    margin-top: 4rem;
    margin-left: calc(1.2rem - 0.8rem);
    display: none;
  }
  .navigation-background.open .menu {
    display: flex;
  }
  .menu li {
    box-sizing: border-box;
    display: block;
    height: auto;
  }
  .menu a {
    box-sizing: border-box;
    font-size: 10vw;
    margin-left: 0.4rem;
    line-height: 1.2em;
    /* filter: blur(4px); */
  }
}

/* footer */

.footer-links {
  text-align: right;
  margin-top: 30px;
  margin-bottom: var(--main-padding);
}

.footer-links a {
  font-weight: 500;
  text-decoration: none;
  padding: var(--main-padding);
}

.footer-links a:hover {
  color: rgba(0,0,0,0.6);
}

.footer-address {
  padding: var(--main-padding);
  display: flex;
  flex-direction: row;
  margin-top: 1rem;
  font-size: 1rem;
}
.footer-address .col:last-of-type {
  margin-left: 2rem;
}

/* project overview */
.project-grid {
  display: block;
  /* display: grid;
  grid-gap: var(--main-padding);
  grid-template-columns: repeat(auto-fill, minmax(min(18rem, 100%), 1fr)); */
}


/* start salvattore */

/* .clear:before, .clear:after {
  clear: both;
}

.clear:before, .clear:after {
  content: "\0020";
  display: block;
  height: 0;
  visibility: hidden;
}

#grid {
  position: relative;
  box-sizing: border-box;
}

@media screen and (max-width: 500px){
	#grid[data-columns]::before {
		content: '1 .column.size-1of1';
	}
}

@media screen and (min-width: 501px) and (max-width: 750px) {
	#grid[data-columns]::before {
		content: '2 .column.size-1of2';
	}
}
@media screen and (min-width: 751px) and (max-width: 1000px) {
	#grid[data-columns]::before {
		content: '3 .column.size-1of3';
	}
}
@media screen and (min-width: 1001px) and (max-width: 1250px) {
	#grid[data-columns]::before {
		content: '4 .column.size-1of4';
	}
}
@media screen and (min-width: 1251px) {
	#grid[data-columns]::before {
		content: '5 .column.size-1of5';
	}
}

.column { float: left; }
.size-1of1 { width: 100%; }
.size-1of2 { width: 50%; }
.size-1of3 { width: 33.333%; }
.size-1of4 { width: 25%; }
.size-1of5 { width: 20%; } 

*/

/* end salvattore */


.project-teaser {
  box-sizing: border-box;
  position: relative;
  display: block;
  /* width: calc(100% / 6); */
  width: 100%;
  height: auto;
  text-decoration: none;
  filter: grayscale(1);
  transition: all 0.3s ease-in-out;
  /* background-color: white; */
  padding: var(--main-padding);
  opacity: 0.8;
  z-index: 0;
}

/* start masonry */

/* @media screen and (max-width: 500px){.masonry .project-teaser { width: 100%; }}
@media screen and (min-width: 501px) and (max-width: 650px){.masonry .project-teaser { width: 50%; }}
@media screen and (min-width: 651px) and (max-width: 900px){.masonry .project-teaser { width:33.3333%; }}
@media screen and (min-width: 901px) and (max-width: 1200px){.masonry .project-teaser { width:25%; }}
@media screen and (min-width: 1201px) and (max-width: 9000px){.masonry .project-teaser { width:20%; }} */

/* end masonry */

/* start colcade */

  .grid-col {
    display: none;
  }

  .colcade .grid-col {
    display: block;
  }

  .project-grid.colcade:after {
    display: block;
    content: '';
    clear: both;
  }

  .colcade .grid-col {
    float: left;
    width: 100%;
  }

  /* hide three middle */
  .colcade .grid-col--2, .colcade .grid-col--3, .colcade .grid-col--4, .colcade .grid-col--5 { display: none; }

  @media ( min-width: 580px ) {
    .colcade .grid-col { width: 50%; }
    .colcade .grid-col--5 { display: block; }
  }

  @media ( min-width: 768px ) {
    .colcade .grid-col { width: 33.33333333333%; }
    .colcade .grid-col--2 { display: block; }
  }

  @media ( min-width: 1200px ) {
    .colcade .grid-col { width: 25%; }
    .colcade .grid-col--2, .colcade .grid-col--3 { display: block; }
  }

  @media ( min-width: 1500px ) {
    .colcade .grid-col { width: 20%; }
    .colcade .grid-col--2, .colcade .grid-col--3, .colcade .grid-col--4 { display: block; }
  }

/* end colcade */

.placeholder {
  /* display: none; */
}
.project-teaser .container {

}
.project-date {
  display: inline-block;
  position: absolute;
  top: 1.6rem;
  left: -1.1rem;
  font-weight: 500;
  /* transform-origin: bottom left; */
  transform: rotate(-90deg);
}
.project-teaser .title {
  font-size: 1.5rem;
  font-weight: 500;
  margin-top: -0.3rem;
  margin-bottom: 0.6rem;
  /* padding-left: 0.8rem; */
}
.project-teaser .teaser {
  hyphens: auto;
  line-height: 1.3em;
  margin-bottom: 1rem;
  /* padding-left: 0.8rem; */
}
.project-teaser:hover .container {
  /* top: -10rem; */
}
.project-teaser:hover, .project-teaser:active {
  filter:grayscale(0);
  opacity: 1;
  transform: scale(1.03);
  transform-origin: center;
  z-index: 3;
}
.nozoom .project-teaser:hover, .nozoom .project-teaser:active {
  transform: scale(1);
}
.project-teaser .teaser-img.proportional {
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

.project-teaser .teaser-img.square {
  display: none;
}

/* project page */
.project-page {
  display: flex;
  flex-direction: row;
  padding-left: var(--main-padding);
  padding-right: var(--main-padding);
}
.show-mobile {
  display: none;
}
@media screen and (max-width: 1023px){
  .project-page {
    display: block;
  }
  .show-mobile {
    display: block;
  }
  .hide-mobile {
    display: none;
  }
  .project-facts {
    margin-left: -0.8rem;
  }
  .project-facts:first-of-type {
    margin-bottom: 4rem;
  }
}
.project-facts {
  position: relative;
  max-width: 600px;
  min-width: 380px;
  width: 60%;
  padding-left: calc(var(--main-padding) * 3);
  padding-right: calc(4% - var(--main-padding));
}

.project-facts .project-date {
  margin-left: 1rem;
  margin-top: -0.7rem;
  font-size: 1.2rem;
}

.project-title {
  margin-top: 0;
  font-weight: 500;
  line-height: 1.3em;
}
.project-body p, .project-body li, .project-body h3 {
  font-size: 1.2rem;
  line-height: 1.4em;
}
.project-body p {
  margin-top: 0.7em;
  margin-bottom: 0.7em;
}
.project-body h3 {
  font-weight: 500;
  margin-top: 1.4em;
  line-height: 1.3em;
  margin-bottom: 0;
}
.project-gallery {
  width: 100%;
  margin-right: 4%;
}
.project-gallery-figure {
  width: 100%;
  margin: 0;
  margin-bottom: 4rem;
}
.project-gallery-img {
  max-width: 100%;
  width: 100%;
  height: auto;
}

@media (max-width: 480px){
  .project-facts {
    margin: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 0;
  }
  .project-facts .project-date {
    display: inline-block;
    font-size: 1rem;
    position: absolute;
    top: 1.4rem;
    left: -3.3rem;
    font-weight: 500;
    /* transform-origin: bottom left; */
    transform: rotate(-90deg);
  }
  .project-body p, .project-body li, .project-body h3 {
    font-size: 1rem;
    line-height: 1.4em;
  }
  .project-gallery {
    margin-left: calc(-2 * var(--main-padding));
    margin-right: calc(-2 * var(--main-padding));
    width: calc(4 * var(--main-padding) + 100%);
  }
  .project-gallery figcaption {
    padding-left: calc(2 * var(--main-padding));
    padding-right: calc(-2 * var(--main-padding));
  }
}
.intro-text {
  font-weight:bold;
}
.intro-text:hover {
  color:#3394D3;
}