@font-face {
  font-family: "GT-Pressura";
  src: url("/css/fonts/GT-Pressura-Regular.otf") format("opentype");
}
@font-face {
  font-family: "GT-Pressura-Italic";
  src: url("/css/fonts/GT-Pressura-Regular-Italic.otf") format("opentype");
}
@font-face {
  font-family: "GT-Pressura-Mono";
  src: url("/css/fonts/GT-Pressura-Mono-Regular.otf") format("opentype");
}
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: #000000;
  color: #dddddd;
  font-family: "GT-Pressura", "Helvetica", sans-serif;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: 0.1ex;
}

* {
  font-size: inherit;
  line-height: inherit;
}

.anchor {
  position: relative;
  top: -2.9rem;
}
.anchor#project_previews {
  top: -2.4rem;
}

a {
  text-decoration: none;
  color: #aaaaaa;
  transition: color 0.3s ease-in-out;
}
a:hover, a.active {
  color: #dddddd;
}

h1, h2, h3, h4, h5 {
  font-weight: normal;
}

p {
  margin: 0.5rem 0;
}

.grey {
  color: #cccccc;
}

table {
  border: none;
  border-collapse: collapse;
  border-spacing: 0;
}
table tr td {
  border: none;
  padding: 0 0.5rem 0 0;
}
table tr td:last-child {
  padding-right: 0;
}
table tr td:first-child {
  font-variant-numeric: tabular-nums;
}

header#header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
}
header#header nav#nav_top {
  position: fixed;
  z-index: 11;
  top: 0;
  left: 0;
  right: 0;
  height: 2.4rem;
  background-color: #222222;
  color: #dddddd;
  border-bottom: 2px solid #dddddd;
}
header#header nav#nav_top a {
  display: table;
  margin: 0 auto;
  color: #cccccc;
}
header#header nav#nav_top a:hover {
  color: #ffffff;
}
header#header nav#nav_top h1 {
  margin: 0;
  font-size: 1rem;
  display: table-cell;
  height: 2.4rem;
  vertical-align: middle;
  display: none;
}
header#header nav#nav_top div.site-title {
  margin: 0;
  font-size: 1rem;
  height: 2.4rem;
  vertical-align: middle;
  display: none;
}
header#header nav#nav_top div.site-title#site_title_full {
  display: table-cell;
}
header#header div#nav_burger,
header#header a#nav_grid,
header#header a#nav_prev,
header#header a#nav_next {
  position: fixed;
  top: 0;
  width: 2.4rem;
  height: 2.4rem;
  background-size: 1.8rem 1.8rem;
  background-position: center;
  background-repeat: no-repeat;
  filter: invert(0.9);
}
header#header div#nav_burger:hover,
header#header a#nav_grid:hover,
header#header a#nav_prev:hover,
header#header a#nav_next:hover {
  background-color: #eeeeee;
}
header#header div#nav_burger {
  z-index: 12;
  left: 0;
  background-image: url("/css/img/burger.svg");
  cursor: pointer;
}
header#header nav#nav_overlay {
  position: fixed;
  z-index: 10;
  top: 2.4rem;
  bottom: 0;
  left: -15rem;
  width: 248px;
  min-width: none;
  overflow-y: auto;
  background-color: #444444;
  color: #dddddd;
  box-shadow: 0 0 10px #000000, 0 0 10px #000000;
  transition: left 0.3s ease-in-out;
}
header#header nav#nav_overlay div#site_menu {
  margin-top: 0.6rem;
}
header#header nav#nav_overlay div#site_menu div.section {
  margin: 0.5rem 0 1rem 0;
}
header#header nav#nav_overlay div#site_menu div.section a {
  display: block;
  padding: 0.1rem 1rem;
}
header#header nav#nav_overlay div#latest_posts {
  margin: 0.5rem 0 1rem 0;
}
header#header nav#nav_overlay div#latest_posts p {
  margin: 0.5rem 1rem 1rem 1rem;
}
header#header nav#nav_overlay div#latest_posts a {
  display: block;
  padding: 0.1rem 1rem;
  margin-bottom: 1rem;
}
header#header nav#nav_overlay div#latest_posts a img {
  max-width: 208px;
  max-height: 208px;
}
header#header nav#nav_overlay.show, header#header nav#nav_overlay:hover {
  left: 0;
}
header#header a#nav_grid {
  z-index: 14;
  left: 2.4rem;
  background-image: url("/css/img/grid.svg");
}
header#header a#nav_prev {
  z-index: 14;
  left: 4.8rem;
  width: 1.8rem;
  background-image: url("/css/img/arrow-left.svg");
}
header#header a#nav_next {
  z-index: 14;
  left: 6.6rem;
  width: 1.8rem;
  background-image: url("/css/img/arrow-right.svg");
}

body:not(.js-ready) div#nav_burger:focus + nav#nav_overlay {
  left: 0;
}

@media all and (max-width: 700px) {
  header#header nav#nav_top div.site-title#site_title_full {
    display: none;
  }
  header#header nav#nav_top div.site-title#site_title_700 {
    display: table-cell;
  }
}
@media all and (max-width: 560px) {
  header#header nav#nav_top div.site-title#site_title_700 {
    display: none;
  }
  header#header nav#nav_top div.site-title#site_title_560 {
    display: table-cell;
  }
}
@media all and (max-width: 400px) {
  header#header nav#nav_top div.site-title#site_title_560 {
    display: none;
  }
  header#header nav#nav_top div.site-title#site_title_short {
    display: table-cell;
  }
}
@media all and (max-width: 360px) {
  header#header nav#nav_top a {
    margin: 0 1rem 0 auto;
  }
}
main {
  margin-top: 2.4rem;
  background-color: #222222;
}
main div.page-content {
  padding-bottom: 2.5rem;
}
main div#overlay_wrap div#overlay_content {
  display: none;
  position: fixed;
  z-index: 5;
  top: calc(2.4rem + 2px);
  bottom: 0;
  left: 0;
  right: 0;
  overflow-x: hidden;
  overflow-y: auto;
  background-color: #222222;
}
main div#overlay_wrap div#overlay_content.show {
  display: block;
}
main div#overlay_wrap a#overlay_close {
  display: none;
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  width: 2.4rem;
  height: 2.4rem;
  background-size: 1.8rem 1.8rem;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url("/css/img/grid.svg");
  filter: invert(0.9);
}
main div#overlay_wrap a#overlay_close.show {
  display: block;
}

div.project-previews {
  background-color: #333333;
  padding: 0.25rem;
  padding-bottom: 2.5rem;
}
div.project-previews div.preview {
  position: relative;
  display: inline-block;
  margin: 0.25rem;
  vertical-align: top;
  user-select: none;
  -webkit-user-select: none;
  min-height: 300px;
  max-width: 100%;
}
div.project-previews div.preview a {
  display: block;
}
div.project-previews div.preview img {
  height: 300px;
  width: auto;
  vertical-align: top;
}
div.project-previews div.preview a > img {
  opacity: 0;
  display: none;
}
div.project-previews div.preview.lazy a > img {
  height: 16px;
  width: 16px;
}
div.project-previews div.preview div.project-title {
  padding: 0.25rem 0 0 0;
  position: absolute;
  bottom: 0.25rem;
  left: 0.2rem;
  width: calc(100% - 0.2rem);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
div.project-previews.with-titles div.preview {
  padding-bottom: 1.75rem;
}

@media all and (max-width: 560px) {
  div.project-previews div.preview {
    display: block;
    margin: 0.25rem 0.25rem 0.5rem 0.25rem;
    min-height: initial;
    width: calc(100% - 0.5rem);
  }
  div.project-previews div.preview img {
    width: 100%;
    height: auto;
  }
}
div.content-padding {
  padding: 1.2rem 2.4rem;
  border-bottom: solid 1px #dddddd;
}
div.content-padding:last-child {
  border-bottom: none;
}
div.content-padding h3 {
  margin-top: 0;
}
div.content-padding div.content-text:first-child p:first-child {
  margin-top: 0;
}
div.content-padding div.content-text:last-child p:last-child {
  margin-bottom: 0;
}
div.content-padding div.images div.image img {
  display: block;
}
div.content-padding div.images div.image div.image-caption {
  margin: 8px 0 0 0;
}
div.content-padding div.images div.image div.image-caption *:first-child {
  margin-top: 0;
}
div.content-padding div.images div.image div.image-caption *:first-child {
  margin-bottom: 0;
}

@media all and (max-width: 920px) {
  div.content-padding {
    padding: 1.2rem 0.6rem;
  }
}
div.project-info > div {
  margin-bottom: 1rem;
}
div.project-info > div p {
  margin: 0;
}

div.slideshow {
  position: relative;
  display: table;
  width: auto;
}
div.slideshow div.slides-wrap {
  position: relative;
  display: inline-block;
}
div.slideshow div.slides-wrap div.slides {
  position: relative;
  display: inline-block;
  width: auto;
  margin: 0 auto 0 0;
}
div.slideshow div.slides-wrap div.slides img {
  max-width: 100%;
  max-height: calc(100vh - 144px);
}
div.slideshow div.slides-wrap div.overlay {
  position: absolute;
  top: 2.4rem;
  bottom: 0;
  left: 0;
  right: 0;
}
div.slideshow div.slides-wrap div.overlay div.left {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 50%;
  cursor: url("/css/img/cursor-prev.png") 18 18, w-resize;
}
div.slideshow div.slides-wrap div.overlay div.right {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  right: 0;
  cursor: url("/css/img/cursor-next.png") 18 18, e-resize;
}
div.slideshow div.footer {
  position: relative;
  margin-top: 0.33rem;
}
div.slideshow div.footer div.number {
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
}
div.slideshow div.captions {
  max-width: 900px;
}
div.slideshow div.captions > div {
  padding: 0.05px;
}
div.slideshow div.captions > div h5 {
  margin: 0;
}
div.slideshow div.captions > div p {
  margin-top: 0;
}

div.project {
  background-color: #222222;
  color: #ffffff;
}
div.project a {
  color: #bbbbbb;
}
div.project a:hover {
  color: #eeeeee;
}
div.project div.slideshow div.footer {
  color: #bbbbbb;
}
div.project div.slideshow div.footer span.grey {
  color: #bbbbbb;
}

body.js-ready div.project-previews div.preview a > img {
  opacity: 0;
  display: inline-block;
}

iframe {
  width: 100%;
  aspect-ratio: 16/9;
}

#preview_hint {
  position: fixed;
  z-index: 99;
  top: 56px;
  right: 6px;
  display: table;
  padding: 5px 10px 8px 10px;
  background-color: #ff7272;
  border: solid 1px #a40000;
  color: #000000;
  letter-spacing: 0.2ex;
  text-align: center;
}
#preview_hint div {
  font-size: 15px;
  color: #000000;
  text-align: center;
}
