@font-face {
  font-family: 'Liberation Sans';
  src: url('../fonts/LiberationSans-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Liberation Sans';
  src: url('../fonts/LiberationSans-Italic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: 'Liberation Sans';
  src: url('../fonts/LiberationSans-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Liberation Sans';
  src: url('../fonts/LiberationSans-BoldItalic.ttf') format('truetype');
  font-weight: bold;
  font-style: italic;
}

* {
  margin: 0;
  padding: 0;
}

body {
  background-color: #fff;
  color: #000;
  font-family: 'Liberation Sans', sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: .85em;
  max-width: 1600px;
  margin: 0 auto;
}

p {
  margin-bottom: 20px;
}

a {
  color: #000;
}

a:hover {
  text-decoration: none;
}

section {
  padding-bottom: 15em;
}

#intro {
  min-height: calc(100dvh - 40px);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gif {
  padding: 20px;
  box-sizing: border-box;
}

.carousel {
  cursor: pointer;
}

.container {
  max-width: 100%;
}

@media only screen and (max-width: 925px) {
  .container {
    max-width: 100vw;
  }
}

.left-pane {
  position: fixed;
  width: min(50vw, 800px);
  height: 100vh;
  padding: 20px;
  box-sizing: border-box;
  overflow-y: auto;
}

.right-pane {
  margin-left: min(50vw, 800px);
  width: min(50vw, 800px);
  padding: 20px;
  box-sizing: border-box;
}

@media only screen and (max-width: 1600px) {
  .left-pane,
  .right-pane {
    width: 50vw;
  }

  .right-pane {
    margin-left: 50vw;
  }
}

@media only screen and (max-width: 925px) {
  .left-pane {
    display: none;
  }

  .right-pane {
    margin-left: 0;
    width: 100vw;
  }
}

table {
  border-collapse: collapse;
  z-index: 3;
}

.left-pane--projects-list {
  width: 100%;
}

@media only screen and (max-width: 925px) {
  .left-pane--projects-list {
    position: fixed;
    top: 15vh;
    width: 100%;
    height: 80vh !important;
    overflow-y: auto;
    z-index: 10;
    display: none;
  }
}

.left-pane--projects-list--row {
  border-bottom: 1px solid rgba(255, 255, 255, 0);
}

.left-pane--projects-list--row.project:hover {
  cursor: pointer;
}

.left-pane--projects-list--year {
  width: 10%;
}

.left-pane--projects-list--title {
  width: 60%;
  padding-top: .1rem;
}

.left-pane--projects-list--category {
  width: 20%;
}

@media only screen and (max-width: 925px) {
  .left-pane--projects-list--year {
    width: 14%;
  }

  .left-pane--projects-list--title {
    width: 55%;
    padding-bottom: .15rem;
  }

  .left-pane--projects-list--category {
    display: none;
  }
}

.right-pane--img-project {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
  pointer-events: auto;
}

.vimeo-player {
  margin-bottom: 20px;
}

audio {
  width: 100%;
  max-width: 100%;
  margin-bottom: 20px;
}

@media only screen and (max-width: 925px) {
  li {
    margin-left: 2em;
  }
}

.project-infos {
  width: 100%;
  margin-bottom: 20px;
}

.project-infos--with-download {
  margin-bottom: 0;
}

.project-infos > tbody > tr > td {
  width: 50%;
  vertical-align: top;
  padding-right: 20px;
}

.project-infos td p {
  margin-bottom: 0;
}

.project-download-link {
  margin: 20px 0;
}

.indent,
.project-description p,
.intro-text p {
  text-indent: 40px;
}

.preview-image {
  cursor: pointer;
  transition: transform 0.3s;
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.preview-image:hover {
  transform: scale(0.95);
}

@media (max-width: 768px) {
  .preview-image {
    transition: none !important;
  }

  .preview-image:hover {
    transform: none !important;
  }
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  overflow-y: auto;
  z-index: 1000;
  padding: 40px 20px;
  box-sizing: border-box;
}

.modal.is-open {
  display: block;
}

.modal-video.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  max-width: 800px;
  margin: 0 auto;
  box-sizing: border-box;
  pointer-events: none;
}

.modal-video-content {
  max-width: 800px;
  margin: 0 auto;
  box-sizing: border-box;
}

.modal-content img {
  display: block;
  margin: 0 auto 3em auto;
  object-fit: contain;
  max-width: 100%;
}

.modal-content img.landscape {
  width: 100%;
  height: auto;
  max-width: 800px;
}

.modal-content img.portrait {
  width: auto;
  max-width: 100%;
  max-height: 800px;
}

@media (max-width: 768px) {
  .modal-content img.portrait {
    max-height: 80vh;
  }
}

#toggleBtn {
  float: right;
  background-color: transparent;
  border: 1px black;
  margin-top: 100vh;
  margin-bottom: 20px;
}

#languageGate {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #fff;
  z-index: 1200;
}

#languageGate.is-open {
  display: flex;
}

#languageGate a {
  color: #000;
}

.last {
  margin-bottom: 70dvh;
}
