@font-face {
  font-family: Inter;
  src: url(Inter_18pt-Regular.ttf);
}
*{
  margin: 0;
  padding: 0;
  font-size: 1em;
  line-height: 1.4;
  font-family: "Inter", sans-serif;
  letter-spacing: 0.6px;
}
p{
  max-width: 45ch;
  margin-bottom: 24px;
}
h2{
  margin-bottom: 24px;
  max-width: 45ch;
}
a{
  color: black;
}
h1{width: 200px;font-weight: 400;}
#JB{display: block;}
#Home{display: none;}
h1:hover #JB{
  display: none;
}
h1:hover #Home{
  display: block;
}
header{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 24px 48px;
  height: 32px;
  position: fixed;
  top: 0;
  left: 0;
  width: calc(100vw - 96px);
}
nav{
  display: flex;
  flex-direction: row;
  gap: 24px;
  justify-content: end;
}
header a{
  color: black;
  text-decoration: none;
  font-size: 1.4em;
}
nav a:hover{
  border-bottom: 1.6px solid black;
}
#imprint-link{
  position: fixed;
  bottom: 12px;
  right: 48px;
  font-size: .8em;
  text-decoration: none;
}
.current-page{
  border-bottom: 1.6px solid black;
}
main{
  margin-left: 272px;
  margin-top: 144px;
  margin-bottom: 48px;
  width: calc(100vw - (200px + 48px + 48px + 24px));
}
.info-list-element{
  display: flex;
  flex-direction: row;
  margin-bottom: 48px;
}
.first{
  width: 240px;
}
.second p{
  margin-bottom: 0;
}
#works{
  position: absolute;
  top: 144px;
  left: 48px;
  width: 200px;
  padding-bottom: 48px;
}
.works-list-heading{
  list-style: none;
  line-height: 2;
  display: none;
}
.works-list-item a{
  color: black;
  text-decoration: none;
}
.works-list-item{
  transition: padding 500ms;
  list-style: none;
  padding-left: 0px;
  line-height: 2;
}
.works-list-item:hover{
  padding-left: 12px;
}
.active{
  padding-left: 12px;
}
.project-container{
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: 24px;
}
.project-text{
  width: 60vw
}
.project-images {
  width: calc(60vw - 264px);
  height: calc(100vh - (144px + 48px));
}

.project-images .landscape {
  width: 100%;
  height: auto;
  /* height: calc(((100vh - (144px + 48px)) / 2) - 6px); */
  float: right;
  margin-bottom: 12px;
}
.project-images .portrait {
  width: auto;
  height: calc(100vh - (144px + 48px));
  float: right;
}
.project-images .width100{
  width: 100%;
}
@media screen and (max-width: 850px) {
  main{
      margin-left: 48px;
      width: calc(100vw - 96px);
  }
  .project-text{
      width: 50%
  }
  .project-images{
      width: 50%;
  }
  .project-images .landscape {
      width: 100%;
      height: auto;
      float: right;
      margin-bottom: 12px;
    }
    .project-images .portrait {
      width: 100%;
      height: auto;
      float: right;
    }
    .project-images .width100{
      width: 100%;
    }
  #works{
      position: relative;
      left: 48px;
      top: 96px;
      width: calc(100% - 48px);
  }
  
}
@media screen and (max-width: 600px) {
  *,p,h2,a{
      font-size: 1em;
  }
  h1{
      width: fit-content;
  }
  main{
      margin-left: 12px;
      width: calc(100vw - 24px);
  }
  .project-container{
      flex-direction: column;
  }
  .project-text, .project-images{
      width: 100%
  }
  .project-images img{
      width: 100%;
  }
  .project-images .portrait {
      width: auto;
      height: 70vh;
      float: left;
    }
  header{
      padding: 12px;
      width: calc(100vw - 24px);
      height: 1.4em;
  }
  header a{
      font-size: 1em;
  }
  .current-page{
      padding-bottom: -2px;
  }
  nav{
      gap: 12px;
  }
  #works{
      position: relative;
      left: 12px;
  }
  .works-list-heading, .works-list-item a{
      font-size: 1em;
  }
  .first{
      width: 30%;
  }
  .second{
      width: 70%;
  }
  #imprint-link{
      position: relative;
      width: 100%;
      top: 96px;
      right: 12px;
      text-align: right;
      display: block;
      padding-bottom: 12px;
  }
}